feat: 完成节点改造
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Microsoft.SemanticKernel;
|
||||
using Microsoft.SemanticKernel.ChatCompletion;
|
||||
using Microsoft.SemanticKernel.Connectors.AzureOpenAI;
|
||||
using Microsoft.SemanticKernel.Connectors.OpenAI;
|
||||
using Volo.Abp.DependencyInjection;
|
||||
using Yi.Framework.ChatHub.Domain.Shared.Dtos;
|
||||
@@ -23,8 +24,10 @@ namespace Yi.Framework.ChatHub.Domain.Managers
|
||||
yield return null;
|
||||
}
|
||||
|
||||
var openSettings = new OpenAIPromptExecutionSettings()
|
||||
|
||||
var openSettings = new AzureOpenAIPromptExecutionSettings()
|
||||
{
|
||||
MaxTokens = 1000,
|
||||
//MaxTokens = 1000
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user