azure test with open ai

This commit is contained in:
moji
2023-07-01 15:52:24 +08:00
parent 5fa92f6333
commit ebcc49ef49
2 changed files with 21 additions and 0 deletions

View File

@ -47,4 +47,19 @@ public class ChatGptConfig {
* 非必填默认值为TRUE
*/
private Boolean restAiStream = Boolean.TRUE;
/**
* Get Azure OpenAI key credential from the Azure Portal
*/
private String azureApiKey;
/**
* Get Azure OpenAI endpoint from the Azure Portal
*/
private String azureEndpoint;
/**
* deploymentId of the deployed model, default gpt-3.5-turbo
*/
private String azureDeploymentId;
}