-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
96 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,40 @@ | ||
AzureWebJobsStorage=UseDevelopmentStorage=true | ||
AzureWebJobs.HttpTrigger1.Disabled=false | ||
AdminPassword=P@ssw0rd | ||
UploadPassword=P@ssw0rd | ||
OpenAiKey= | ||
OpenAiEndPoint=https://dataaioaics.openai.azure.com/ | ||
OpenAiVersion=2023-05-15 | ||
OpenAiEmbedding=text-embedding-ada-002 | ||
MaxTokens=500 | ||
Temperature=0.3 | ||
AdminPassword= | ||
UploadPassword=$ | ||
AzureWebJobsStorage= | ||
OpenAiApiKey= | ||
OpenAiChat=chat | ||
FormRecognizerEndPoint=https://.cognitiveservices.azure.com/ | ||
OpenAiChat16k=chat16k | ||
OpenAiVersion=2023-07-01-preview | ||
OpenAiEmbedding=embedding | ||
OpenAiKey= | ||
OpenAiEndPoint= | ||
FormRecognizerEndPoint=https://<>.cognitiveservices.azure.com | ||
FormRecognizerKey= | ||
PineconeKey=key | ||
PineconeEnv=env | ||
VsIndexName=oaiembed | ||
RedisPassword=Password | ||
RedisAddress= | ||
RedisPort=6379 | ||
CosmosEndpoint=https://.documents.azure.com:443/ | ||
CosmosEndpoint=https://<>.documents.azure.com:443/ | ||
CosmosKey= | ||
CosmosDatabase=aoai | ||
CosmosContainer=chatgpt | ||
OpenAiDocStorName=dataaiopenaistor | ||
WeatherEndPoint=https://<>.p.rapidapi.com/weather | ||
WeatherHost=<>.p.rapidapi.com | ||
StockEndPoint=https://<>.p.rapidapi.com/query | ||
StockHost=<>.p.rapidapi.com | ||
RapidApiKey= | ||
MaxTokens=500, | ||
Temperature=0.3, | ||
PineconeKey= | ||
PineconeEnv=https://<>.svc.gcp-starter.pinecone.io | ||
VsIndexName=oaiembed | ||
RedisPassword= | ||
RedisAddress= | ||
RedisPort=6379 | ||
OpenAiDocStorName= | ||
OpenAiDocStorConnString= | ||
OpenAiDocStorKey= | ||
OpenAiDocContainer=chatpdf | ||
KbIndexName=aoaikb | ||
SearchService=dataaioaicg | ||
SearchKey= | ||
SearchKey= | ||
BingUrl=https://api.bing.microsoft.com/v7.0/search | ||
BingKey= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,62 @@ | ||
BLOB_CONNECTION_STRING= | ||
BLOB_CONTAINER_NAME=chatpdf | ||
CHAT_URL=http://localhost:7071/api/ChatGpt?code= | ||
DOCGENERATOR_URL=http://localhost:7071/api/DocGenerator?code= | ||
INDEXMANAGEMENT_URL=http://localhost:7071/api/IndexManagement?code= | ||
KBINDEXNAME=aoaikb | ||
QA_URL=http://localhost:7071/api/QuestionAnswering?code= | ||
SEARCHSERVICE=dataaioaicg | ||
SEARCHKEY= | ||
SPEECH_KEY= | ||
SPEECH_REGION=southcentralus | ||
VERIFYPASS_URL=http://localhost:7071/api/VerifyPassword?code= | ||
COSMOSENDPOINT=https://.documents.azure.com:443/ | ||
COSMOSKEY= | ||
COSMOSDATABASE=aoai | ||
COSMOSCONTAINER=chatgpt | ||
################## | ||
#### Backend URL | ||
################## | ||
QA_URL="http://localhost:7071/api/QuestionAnswering?code=" | ||
VERIFYPASS_URL="http://localhost:7071/api/VerifyPassword?code=" | ||
INDEXMANAGEMENT_URL="http://localhost:7071/api/IndexManagement?code=" | ||
CHAT_URL="http://localhost:7071/api/ChatGpt?code=" | ||
DOCGENERATOR_URL="http://localhost:7071/api/DocGenerator?code=" | ||
CHATGPT_URL="http://localhost:7071/api/OpenChatGpt?code=" | ||
|
||
################## | ||
#### Blob Storage | ||
################## | ||
BLOB_CONNECTION_STRING="" # Name of your Blob connection string where you will upload PDF to | ||
BLOB_CONTAINER_NAME="chatpdf" # Name of your container to host uploaded files | ||
BLOB_VIDEO_CONTAINER_NAME="videos" | ||
|
||
################## | ||
#### Azure Speech | ||
################## | ||
SPEECH_REGION="" # Your speech service region | ||
SPEECH_KEY="" # Your speech service key | ||
|
||
################## | ||
#### Search Service | ||
################## | ||
SEARCHSERVICE="" | ||
SEARCHKEY="" | ||
KBINDEXNAME="aoaikb" | ||
|
||
################## | ||
#### Cosmos DB | ||
################## | ||
COSMOSENDPOINT="https://<>.documents.azure.com:443/" | ||
COSMOSKEY="" | ||
COSMOSDATABASE="aoai" | ||
COSMOSCONTAINER="chatgpt" | ||
|
||
################## | ||
#### OpenAI | ||
################## | ||
OpenAiKey="" | ||
OpenAiEndPoint="https://.openai.azure.com/" | ||
OpenAiApiKey="" | ||
OpenAiChat="chat" | ||
OpenAiChat16k="chat16k" | ||
OpenAiVersion="2023-07-01-preview" | ||
OpenAiEmbedding="embedding" | ||
|
||
################## | ||
#### Redis | ||
################## | ||
RedisPassword="" | ||
RedisAddress="" | ||
RedisPort="6379" | ||
|
||
################## | ||
#### Pinecone | ||
################## | ||
PineconeKey="" | ||
PineconeEnv="us-east-1-aws" | ||
VsIndexName="oaiembed" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ COPY . /home/site/wwwroot | |
|
||
EXPOSE 80 | ||
CMD python app.py | ||
#CMD [ "python", "-m" , "flask", "run", "--host=0.0.0.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters