-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
[BUG/Help] chatGLM是否可以联网/在搜索引擎获取最新消息 #198
Comments
不行,但你可以把网页上的内容作为输入进行提问 |
可以配合Google custom search API加入到prompt里. |
可以利用llama-index和langchain实现对输入内容建立索引➡️输入问句匹配索引中内容➡️依据模版将匹配内容+问句形成新问句提出query➡️获得最终回答 |
也许可以把搜索结果简单处理后插入到prompts前面 |
这个要怎么加 |
这个要怎么加 |
你可以试试先抽取输入问题的关键词然后去搜索引擎搜一下然后把搜索到的内容喂给chatglm然后再让chatglm回答提的问题 |
|
@kunshou123 可以看一下这个#216 |
我前两天刚做了一个基于本地文本的实现,后续可以通过langchain的接口增加html的接入,可以参考一下 |
Is there an existing issue for this?
Current Behavior
我问了chatGLM,但是他的回答颠三倒四,一会谁可以一会说不行,想求证一下到底行不行
Expected Behavior
No response
Steps To Reproduce
.
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: