AI创想
标题:
LangChain
[打印本页]
作者:
创想小编
时间:
3 小时前
标题:
LangChain
作者:CSDN博客
LLM、AIGC、RAG 开发交流裙:377891973
文章目录
关于 LangChain安装常见用法
1、完成一次问答2、+Serpapi, 通过 Google 搜索并返回答案3、对超长文本进行总结4、文本分割器的 `chunk_overlap` 参数
**chain 的** **`chain_type`** **参数**
5、构建本地知识库问答机器人6、构建向量索引数据库构建向量索引数据库
ChromaPinecone
7、使用GPT3.5模型构建油管频道问答机器人8、OpenAI+zapier 连接万种工具
一些有意思的小Tip
1、**执行多个chain**2、结构化输出结构化输出3、自定义agent中所使用的工具4、使用Memory实现一个带记忆的对话机器人5、使用 HuggingFace 模型6、通过自然语言执行SQL命令
本文转载改编自:
https://liaokong.gitbook.io/llm-kai-fa-jiao-cheng/#yong-openai-lian-jie-wan-zhong-gong-ju
https://colab.research.google.com/drive/1ArRVMiS-YkhUlobHrU6BeS8fF57UeaPQ?usp=sharing
关于 LangChain
⚡ Building applications with LLMs through composability ⚡
github: https://github.com/hwchase17/langchain官方文档:https://python.langchain.com/en/latest/
LangChain 相关教程资料
LangChain
欢迎光临 AI创想 (http://llms-ai.com/)
Powered by Discuz! X3.4