FanLang — LangChain integration. OODA Agent and FanLang Retriever for LangChain apps.
Project description
fanlang-langchain
凡语 FanLang 的 LangChain 集成包。
安装
pip install fanlang-langchain
使用
from fanlang_langchain import OODAAgent, FanLangRetriever
# OODA 循环智能代理
agent = OODAAgent(llm=your_llm)
result = agent.run("帮我写一篇科普文章")
# RAG 检索器
retriever = FanLangRetriever.from_documents(docs)
依赖
fanlang>=0.1.0langchain>=0.2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyfanlang_langchain-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyfanlang_langchain-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28ee37db611146f43839a005937612b9c7321bacb230c15c3827050964149ccc
|
|
| MD5 |
11ff8ff49f4ccc13e9e8902d977ecbf7
|
|
| BLAKE2b-256 |
35deccf333914a945ccacf8edd7dcf57c206c696aca3af13697f6bfed9878788
|