Skip to content

Commit

Permalink
Minor comment update in copilotchat appsetting comments (microsoft#775)
Browse files Browse the repository at this point in the history
### Motivation and Context
Be consistent with examples in comments

### Description
Minor comment update in copilotchat appsetting comments
  • Loading branch information
adrianwyatt authored and codebrain committed May 16, 2023
1 parent c301f41 commit 96fd8ce
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions samples/apps/copilot-chat-app/webapi/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@
// Completions are used for generating AI responses from the user's input.
// https://platform.openai.com/docs/guides/chat
// To use Azure OpenAI as the AI completion service:
// - Set AIService to "AzureOpenAI"
// - Set DeploymentOrModelId to the name of the deployment to use (e.g., "gpt-35-turbo", "gpt-4", etc.)
// - Set Endpoint to the endpoint of your Azure OpenAI instance (e.g., "https://contoso.openai.azure.com")
// - Set Key using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Completion:Key" "MY_AZURE_OPENAI_KEY")
// - Set "AIService" to "AzureOpenAI"
// - Set "DeploymentOrModelId" to the name of the deployment to use (e.g., "gpt-35-turbo", "gpt-4", etc.)
// - Set "Endpoint" to the endpoint of your Azure OpenAI instance (e.g., "https://contoso.openai.azure.com")
// - Set "Key" using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Completion:Key" "MY_AZURE_OPENAI_KEY")
//
// To use OpenAI as the AI completion service:
// - Set AIService to "OpenAI"
// - Set DeploymentOrModelId to the name of the deployment to use (e.g., "gpt-3.5-turbo", "gpt-4", etc.)
// - Set Key using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Completion:Key" "MY_OPENAI")
// - Set "AIService" to "OpenAI"
// - Set "DeploymentOrModelId" to the name of the deployment to use (e.g., "gpt-3.5-turbo", "gpt-4", etc.)
// - Set "Key" using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Completion:Key" "MY_OPENAI_KEY")
//
"Completion": {
"Label": "Completion",
Expand All @@ -46,15 +46,15 @@
// Embeddings are used for semantically encoding memories.
// https://platform.openai.com/docs/guides/embeddings
// To use Azure OpenAI as the AI embedding service:
// - Set AIService" to "AzureOpenAI"
// - Set DeploymentOrModelId" to the name of the deployment to use (e.g., "text-embedding-ada-002")
// - Set Endpoint" to the endpoint of your Azure OpenAI instance (e.g., "https://contoso.openai.azure.com")
// - Set Key using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Embedding:Key" "MY_AZURE_OPENAI_KEY")
// - Set "AIService" to "AzureOpenAI"
// - Set "DeploymentOrModelId" to the name of the deployment to use (e.g., "text-embedding-ada-002")
// - Set "Endpoint" to the endpoint of your Azure OpenAI instance (e.g., "https://contoso.openai.azure.com")
// - Set "Key" using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Embedding:Key" "MY_AZURE_OPENAI_KEY")
//
// To use OpenAI as the AI embedding service:
// - Set AIService to "OpenAI"
// - Set DeploymentOrModelId to the name of the deployment to use (e.g., "text-embedding-ada-002" )
// - Set Key using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Embedding:Key" "MY_OPENAI")
// - Set "AIService" to "OpenAI"
// - Set "DeploymentOrModelId" to the name of the deployment to use (e.g., "text-embedding-ada-002" )
// - Set "Key" using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Embedding:Key" "MY_OPENAI_KEY")
//
"Embedding": {
"Label": "Embeddings",
Expand Down Expand Up @@ -144,15 +144,15 @@
// - Set Enabled to false to disable the planner which can save a round-trip to the AI service but will disable plug-in support.
//
// To use Azure OpenAI with the planner:
// - Set AIService" to "AzureOpenAI"
// - Set DeploymentOrModelId" to the name of the deployment to use (e.g., "gpt-35-turbo")
// - Set Endpoint" to the endpoint of your Azure OpenAI instance (e.g., "https://contoso.openai.azure.com")
// - Set Key using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Planner:AIService:Key" "MY_AZURE_OPENAI_KEY")
// - Set "AIService" to "AzureOpenAI"
// - Set "DeploymentOrModelId" to the name of the deployment to use (e.g., "gpt-35-turbo")
// - Set "Endpoint" to the endpoint of your Azure OpenAI instance (e.g., "https://contoso.openai.azure.com")
// - Set "Key" using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Planner:AIService:Key" "MY_AZURE_OPENAI_KEY")
//
// To use OpenAI with the planner:
// - Set AIService to "OpenAI"
// - Set DeploymentOrModelId to the name of the deployment to use (e.g., "gpt-3.5-turbo" )
// - Set Key using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Planner:AIService:Key" "MY_OPENAI")
// - Set "AIService" to "OpenAI"
// - Set "DeploymentOrModelId" to the name of the deployment to use (e.g., "gpt-3.5-turbo" )
// - Set "Key" using dotnet's user secrets (see above) (i.e. dotnet user-secrets set "Planner:AIService:Key" "MY_OPENAI_KEY")
//
"Planner": {
"Enabled": true,
Expand Down

0 comments on commit 96fd8ce

Please sign in to comment.