已解决-使用copilot时,使用zhipu的免费chat和embedding,但是chat沟通没啥效果

在copilot中,已经添加了glm-4-flash做chat,embedding-3做embedding,provider都是选的”openai format“,test都通了,打开了Semantic Search,生成了index。只是放一篇2000字左右的菜品清单MD,在vaultQA模式下,问某个特定菜品信息,回复”It looks like you might have sent a message without including any specific query or context. If you have a question or need assistance with Obsidian or any other topic, please provide the details, and I’ll be happy to help!“或者这种回答”It seems like your message got cut off. If you have any further questions or need assistance with anything else, please feel free to provide more details, and I’ll be happy to help!“。还尝试用BAAI/bge-m3做索引,也是同样的问题。但是换用deepseek的chat就没问题,能正常回答并且给出sources。

感觉只能是开插件的 debug 看看具体发生了啥

文档 问题也许是, 智谱的对话和嵌入都是 https://open.bigmodel.cn/api/paas/v4/ 开头, 跟一般的端点不太一样, 这 url 得准确填进去

另外还发现, 现在只有 glm-4.5-flash, glm-4-flash-250414
没有 glm-4-flash 这个模型了

改成4.5可以了!之前首页看免费的名字是4就忽略这个问题了没去关注更新:XD

1 个赞