Skip to main content

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.0
  • langchain>=0.2

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.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pyfanlang_langchain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28ee37db611146f43839a005937612b9c7321bacb230c15c3827050964149ccc
MD5 11ff8ff49f4ccc13e9e8902d977ecbf7
BLAKE2b-256 35deccf333914a945ccacf8edd7dcf57c206c696aca3af13697f6bfed9878788

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