Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ AZURE_OPENAI_TEMPLATE_SYSTEM_MESSAGE="Generate a template for a document given a
AZURE_OPENAI_GENERATE_SECTION_CONTENT_PROMPT="Help the user generate content for a section in a document. The user has provided a section title and a brief description of the section. The user would like you to provide an initial draft for the content in the section. Must be less than 2000 characters. Only include the section content, not the title. Do not use markdown syntax. Whenever possible, use ingested documents to help generate the section content."
AZURE_OPENAI_TITLE_PROMPT="Summarize the conversation so far into a 4-word or less title. Do not use any quotation marks or punctuation. Respond with a json object in the format {{\"title\": string}}. Do not include any other commentary or description."
AZURE_OPENAI_PREVIEW_API_VERSION=2024-05-01-preview
AZURE_OPENAI_API_VERSION=2024-05-01-preview
AZURE_OPENAI_STREAM=True
AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_EMBEDDING_NAME=
Expand Down
73 changes: 0 additions & 73 deletions README_azd.md

This file was deleted.

1 change: 1 addition & 0 deletions infra/deploy_ai_foundry.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ resource aiServices 'Microsoft.CognitiveServices/accounts@2021-10-01' = {
}
kind: 'AIServices'
properties: {
customSubDomainName: aiServicesName
apiProperties: {
statisticsEnabled: false
}
Expand Down
4 changes: 2 additions & 2 deletions infra/deploy_app_service.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ resource Website 'Microsoft.Web/sites@2020-06-01' = {
value: azureOpenAIApiVersion
}
{
name: 'AZURE_OPENAI_DEPLOYMENT_NAME'
name: 'AZURE_OPENAI_MODEL'
value: AzureOpenAIModel
}
{
name: 'AZURE_OPENAI_ENDPOINT'
value: AzureOpenAIEndpoint
}
{
name: 'AZURE_OPENAI_API_KEY'
name: 'AZURE_OPENAI_KEY'
value: AzureOpenAIKey
}
{
Expand Down
11 changes: 6 additions & 5 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "8931514270414510226"
"templateHash": "3126173092886008904"
}
},
"parameters": {
Expand Down Expand Up @@ -380,7 +380,7 @@
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "6139170564292952532"
"templateHash": "14703493169474623961"
}
},
"parameters": {
Expand Down Expand Up @@ -563,6 +563,7 @@
},
"kind": "AIServices",
"properties": {
"customSubDomainName": "[variables('aiServicesName')]",
"apiProperties": {
"statisticsEnabled": false
}
Expand Down Expand Up @@ -1181,7 +1182,7 @@
"_generator": {
"name": "bicep",
"version": "0.33.93.31351",
"templateHash": "13134513664140996267"
"templateHash": "10772344907596853045"
}
},
"parameters": {
Expand Down Expand Up @@ -1361,15 +1362,15 @@
"value": "[parameters('azureOpenAIApiVersion')]"
},
{
"name": "AZURE_OPENAI_DEPLOYMENT_NAME",
"name": "AZURE_OPENAI_MODEL",
"value": "[parameters('AzureOpenAIModel')]"
},
{
"name": "AZURE_OPENAI_ENDPOINT",
"value": "[parameters('AzureOpenAIEndpoint')]"
},
{
"name": "AZURE_OPENAI_API_KEY",
"name": "AZURE_OPENAI_KEY",
"value": "[parameters('AzureOpenAIKey')]"
},
{
Expand Down
Loading