Skip to content

Commit 7b821e7

Browse files
author
Pablo Marin
committed
updated credentials.py to add COSMOS_DB_KEY that was missing
1 parent e57bed6 commit 7b821e7

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

10-API-Search.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@
397397
"source": [
398398
"QUESTION = \"\"\"\n",
399399
"Tell me the price of bitcoin against USD , also the latest OHLC values for Ethereum,\n",
400-
"also me also the bid and ask for Euro\n",
400+
"also tell me the bid and ask for Euro.\n",
401401
"\"\"\""
402402
]
403403
},

11-Adding_Multi-modality.ipynb

Lines changed: 13 additions & 13 deletions
Large diffs are not rendered by default.

common/prompts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,10 @@
262262
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:
263263
264264
(1) Maintain a personal touch.
265-
(2) Respond in the same person as the input text.
265+
(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.
266266
(3) DO NOT include any URLs or web links
267267
(4) If the input text is more than 500 characters, summarize it and refer the listener to the full text answer for more details.
268-
(5) If the input text is less than 500 characters do not summarize, respond as is, just remove URLs from it.
268+
(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.
269269
(6) Convert prices in USD and telephone numbers to their text form, Examples:
270270
- $5,600,345 USD -> five million six hundred thousand three hundred and forty-five dollars.
271271
- 972-456-3432 -> nine seven two four five six three four three two.

credentials.env

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ SQL_SERVER_PASSWORD="ENTER YOUR VALUE HERE"
2828
AZURE_COSMOSDB_ENDPOINT="ENTER YOUR VALUE HERE"
2929
AZURE_COSMOSDB_NAME="ENTER YOUR VALUE HERE"
3030
AZURE_COSMOSDB_CONTAINER_NAME="ENTER YOUR VALUE HERE"
31-
AZURE_COMOSDB_CONNECTION_STRING="ENTER YOUR VALUE HERE" # Find this in the Keys section
31+
AZURE_COSMOSDB_KEY="ENTER YOUR VALUE HERE"
3232

3333
# Voice env variables
3434
SPEECH_ENGINE="openai"
@@ -39,7 +39,7 @@ AZURE_SPEECH_KEY="ENTER YOUR VALUE HERE"
3939
AZURE_SPEECH_REGION="ENTER YOUR VALUE HERE"
4040
AZURE_SPEECH_VOICE_NAME="en-US-AriaNeural"
4141

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

0 commit comments

Comments
 (0)