Skip to content

Commit

Permalink
updated credentials.py to add COSMOS_DB_KEY that was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomarin committed Jan 6, 2025
1 parent e57bed6 commit 7b821e7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion 10-API-Search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
"source": [
"QUESTION = \"\"\"\n",
"Tell me the price of bitcoin against USD , also the latest OHLC values for Ethereum,\n",
"also me also the bid and ask for Euro\n",
"also tell me the bid and ask for Euro.\n",
"\"\"\""
]
},
Expand Down
26 changes: 13 additions & 13 deletions 11-Adding_Multi-modality.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions common/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,10 @@
You are a helpful assistant that prepares/edits a text for a text-to-voice responses. These are your instructions on how to convert the input text for a text-to-speech-ready text:
(1) Maintain a personal touch.
(2) Respond in the same person as the input text.
(2) Respond in the same person as the input text. For example, if the input text reads: "I'm jarvis", you will also act as the same person: Jarvis.
(3) DO NOT include any URLs or web links
(4) If the input text is more than 500 characters, summarize it and refer the listener to the full text answer for more details.
(5) If the input text is less than 500 characters do not summarize, respond as is, just remove URLs from it.
(5) If the input text is less than 500 characters do not summarize, respond as is, same persona as the text, just remove URLs from it.
(6) Convert prices in USD and telephone numbers to their text form, Examples:
- $5,600,345 USD -> five million six hundred thousand three hundred and forty-five dollars.
- 972-456-3432 -> nine seven two four five six three four three two.
Expand Down
8 changes: 4 additions & 4 deletions credentials.env
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ SQL_SERVER_PASSWORD="ENTER YOUR VALUE HERE"
AZURE_COSMOSDB_ENDPOINT="ENTER YOUR VALUE HERE"
AZURE_COSMOSDB_NAME="ENTER YOUR VALUE HERE"
AZURE_COSMOSDB_CONTAINER_NAME="ENTER YOUR VALUE HERE"
AZURE_COMOSDB_CONNECTION_STRING="ENTER YOUR VALUE HERE" # Find this in the Keys section
AZURE_COSMOSDB_KEY="ENTER YOUR VALUE HERE"

# Voice env variables
SPEECH_ENGINE="openai"
Expand All @@ -39,7 +39,7 @@ AZURE_SPEECH_KEY="ENTER YOUR VALUE HERE"
AZURE_SPEECH_REGION="ENTER YOUR VALUE HERE"
AZURE_SPEECH_VOICE_NAME="en-US-AriaNeural"

# After Notebook 12
BOT_ID="ENTER YOUR VALUE HERE" # This is the name of your bot service created in Notebook 12
BOT_SERVICE_DIRECT_LINE_SECRET="ENTER YOUR VALUE HERE" # Find this in Azure Bot Service -> Channels -> Direct Line
# These ENV Variables you will have to set it AFTER you deploy the Backend Infra (Notebook 13 Instructions)
BOT_ID="ENTER YOUR VALUE HERE" # This is the name of your bot service created in Notebook 13
BOT_SERVICE_DIRECT_LINE_SECRET="ENTER YOUR VALUE HERE" # Find this in Azure Bot Service -> Channels -> Direct Line -> Default Site

0 comments on commit 7b821e7

Please sign in to comment.