|
1 | | -{ |
2 | | - "ChatGPT": { |
3 | | - "Provider": "OpenAI", // Optional. Allowed values: OpenAI (default) or Azure |
4 | | - "ApiKey": "", // Required |
5 | | - //"Organization": "", // Optional, used only by OpenAI |
6 | | - "ResourceName": "", // Required when using Azure OpenAI Service |
7 | | - "ApiVersion": "2024-06-01", // Optional, used only by Azure OpenAI Service (default: 2024-06-01) |
8 | | - "AuthenticationType": "ApiKey", // Optional, used only by Azure OpenAI Service. Allowed values: ApiKey (default) or ActiveDirectory |
9 | | - |
10 | | - "DefaultModel": "my-model", |
11 | | - "DefaultEmbeddingModel": "text-embedding-ada-002", // Optional, set it if you want to use embeddings |
12 | | - "MessageLimit": 20, |
13 | | - "MessageExpiration": "00:30:00", |
14 | | - "ThrowExceptionOnError": true // Optional, default: true |
15 | | - //"User": "UserName", |
16 | | - //"DefaultParameters": { |
17 | | - // "Temperature": 0.8, |
18 | | - // "TopP": 1, |
19 | | - // "MaxTokens": 500, |
20 | | - // "PresencePenalty": 0, |
21 | | - // "FrequencyPenalty": 0, |
22 | | - // "ResponseFormat": { "Type": "text" }, // Allowed values for Type: text (default) or json_object |
23 | | - // "Seed": 42 // Optional (any integer value) |
24 | | - //}, |
25 | | - //"DefaultEmbeddingParameters": { |
26 | | - // "Dimensions": 1536 |
27 | | - //} |
28 | | - }, |
29 | | - "Logging": { |
30 | | - "LogLevel": { |
31 | | - "Default": "Error", |
32 | | - "Microsoft": "Warning" |
33 | | - } |
34 | | - } |
35 | | -} |
| 1 | +{ |
| 2 | + "ChatGPT": { |
| 3 | + "Provider": "OpenAI", // Optional. Allowed values: OpenAI (default) or Azure |
| 4 | + "ApiKey": "", // Required |
| 5 | + //"Organization": "", // Optional, used only by OpenAI |
| 6 | + "ResourceName": "", // Required when using Azure OpenAI Service |
| 7 | + "ApiVersion": "2024-07-01-preview", // Optional, used only by Azure OpenAI Service (default: 2024-07-01-preview) |
| 8 | + "AuthenticationType": "ApiKey", // Optional, used only by Azure OpenAI Service. Allowed values: ApiKey (default) or ActiveDirectory |
| 9 | + |
| 10 | + "DefaultModel": "my-model", |
| 11 | + "DefaultEmbeddingModel": "text-embedding-ada-002", // Optional, set it if you want to use embeddings |
| 12 | + "MessageLimit": 20, |
| 13 | + "MessageExpiration": "00:30:00", |
| 14 | + "ThrowExceptionOnError": true // Optional, default: true |
| 15 | + //"User": "UserName", |
| 16 | + //"DefaultParameters": { |
| 17 | + // "Temperature": 0.8, |
| 18 | + // "TopP": 1, |
| 19 | + // "MaxTokens": 500, |
| 20 | + // "PresencePenalty": 0, |
| 21 | + // "FrequencyPenalty": 0, |
| 22 | + // "ResponseFormat": { "Type": "text" }, // Allowed values for Type: text (default) or json_object |
| 23 | + // "Seed": 42 // Optional (any integer value) |
| 24 | + //}, |
| 25 | + //"DefaultEmbeddingParameters": { |
| 26 | + // "Dimensions": 1536 |
| 27 | + //} |
| 28 | + }, |
| 29 | + "Logging": { |
| 30 | + "LogLevel": { |
| 31 | + "Default": "Error", |
| 32 | + "Microsoft": "Warning" |
| 33 | + } |
| 34 | + } |
| 35 | +} |
0 commit comments