Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MoondanceZ opened this issue Jan 6, 2025 · 0 comments
Open

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

MoondanceZ opened this issue Jan 6, 2025 · 0 comments

Comments

@MoondanceZ
Copy link

我使用的是 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>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant