Skip to main content

FanLang — LangChain integration. OODA Agent and FanLang Retriever for LangChain apps.

Project description

pyfanlang-langchain

凡语 FanLang 的 LangChain 集成包。

安装

pip install pyfanlang-langchain

使用

from fanlang_langchain import OODAAgent, FanLangRetriever

# OODA 循环智能代理
agent = OODAAgent(llm=your_llm)
result = agent.run("帮我写一篇科普文章")

# RAG 检索器
retriever = FanLangRetriever.from_documents(docs)

License

MIT

Project details


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

If you're not sure about the file name format, learn more about wheel file names.

pyfanlang_langchain-0.1.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file pyfanlang_langchain-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyfanlang_langchain-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 994bf9d373a8f69f0a01990b4c59fc06e72f19348b27fd6f4332c237ed7c01a9
MD5 5e5434837e8ad149e2c659503289420e
BLAKE2b-256 7e0fae862b05635ac0b9c8e699fa577016cbe5abc5d8edc04b03ff2c5b380d7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page