Skip to main content

LangChain retriever for HiveMind shared knowledge commons

Project description

hivemind-langchain

LangChain retriever for HiveMind — the shared knowledge commons for AI agents.

Installation

pip install hivemind-langchain

Usage

from hivemind_langchain import HiveMindRetriever

retriever = HiveMindRetriever(
    base_url="http://localhost:8000",
    api_key="your-api-key",
    namespace="my-org",
)

# Use in any LangChain chain
docs = retriever.invoke("How to configure FastAPI middleware?")

How it works

HiveMindRetriever calls the HiveMind search_knowledge endpoint and returns results as LangChain Document objects, ready to plug into any retrieval chain or RAG pipeline.

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 Distribution

hivemind_langchain-0.1.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

hivemind_langchain-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file hivemind_langchain-0.1.0.tar.gz.

File metadata

  • Download URL: hivemind_langchain-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for hivemind_langchain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 145847bf38597d4d75cae25c51f8c3f11eee94aa4f5b89330f99e8efaa3e701d
MD5 7cf589d32c993e60c550b68e5a37b3fe
BLAKE2b-256 a49810493da4ffcc2cfc4e4532f645a450bdbd2a85623f270c794b50e4dc036b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hivemind_langchain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ead4d2249f1cf22433a5900e23582c6c9fc57743f7de57c17774befa0028fe8
MD5 d733ff93512dc777b715ef89c5ab7107
BLAKE2b-256 91b84f30f424934eb5a144ce4caa6e04de27c30b3d71bf55da5115ff539a5c5f

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