semantic-kernel-dashscope icon indicating copy to clipboard operation
semantic-kernel-dashscope copied to clipboard

回答的内容到一半就终止了

Open MoondanceZ opened this issue 9 months ago • 0 comments

我使用的是 Cnblogs.KernelMemory.AI.DashScope, 代码如下, 需要怎么配置才能完整显示答案吗

var memory = new KernelMemoryBuilder()
.WithDashScope(new DashScopeConfig
{
    ApiKey = apiKey,
    ChatCompletionModelId = "qwen-turbo",
    TextEmbeddingModelId = "text-embedding-v3",
    TextModelMaxTokenTotal = 6000,
    EmbeddingModelMaxTokenTotal = 8192
})
.Build<MemoryServerless>();

MoondanceZ avatar Jan 06 '25 06:01 MoondanceZ