-
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
PoC with LangChain wrapper and a webapp to chat with vector store #216
base: main
Are you sure you want to change the base?
Conversation
Added a proof of concept LangChain wrapper for ChatGLM model. Added a streamlit based interface to chat with a vector store. ( in this case, OpenAI related wiki pages within two degree of separation, stored in FAISS)
- Add front end for Climate book - dynamic bot description -
虽然可以联网了,这很好,但是我要是有买openaiapikey的钱也不至于用chatglm还得int4 |
后续可不可以出在百度 or bing这种不要key的上面检索 |
@zx2021 langchain是可以用huggingface model作embedding的 |
好活! |
@zx2021 需要基于全开源模型的实现可以看一下这个 imClumsyPanda/langchain-ChatGLM 受这个 pull request 启发搞出来的 |
基于这个思路实现的平台:https://github.com/l15y/wenda |
可以不可以爬一下github或者gitee,充实模型的代码能力,作为代码辅助工具可以更强? |
很好 |
新的webapp demo! 稍微功能复杂些的版本.
增加了一个实验版的ChatGLM LangChain wrapper. (用custom llm让ChatGLM能用在各类LangChain里)
增加了一个用Streamlit写的vectorstore based Chat. (搜索和选取wiki article作为context来chat)
运行后如图
(提供两个模式, 正常聊天的 Chat 和 与wiki source聊天的 AI Wikipedia Agent)