mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-09-23 13:37:10 +08:00
add azure openai support
This commit is contained in:
@ -56,7 +56,7 @@ public class AzureOpenAIClient {
|
||||
public static void refresh() {
|
||||
String apikey = "";
|
||||
String apiEndpoint = "";
|
||||
String deployId = "";
|
||||
String deployId = "gpt-3.5-turbo";
|
||||
ConfigService configService = ApplicationContextUtil.getBean(ConfigService.class);
|
||||
Config apiHostConfig = configService.find(AZURE_CHATGPT_ENDPOINT).getData();
|
||||
if (apiHostConfig != null) {
|
||||
|
Reference in New Issue
Block a user