Skip to main content

An integration package connecting Moorcheh and LangChain

Project description

🦜️🔗 LangChain Moorcheh

This repository contains the LangChain integration with Moorcheh, a powerful vector database for AI applications.

Installation

pip install -U langchain-moorcheh

Configuration

Set your Moorcheh API key as an environment variable:

export MOORCHEH_API_KEY="your-api-key"

Vector Stores

The MoorchehVectorStore class allows you to use Moorcheh VectorDB alongside LangChain:

from langchain_moorcheh import MoorchehVectorStore

vector_store = MoorchehVectorStore.from_texts(
    texts=texts,
    embedding=embedding_model,
    api_key=MOORCHEH_API_KEY,
    namespace=NAMESPACE_NAME,
    namespace_type=NAMESPACE_TYPE,
)

Features

  • Vector Storage: Store and retrieve embeddings with high performance
  • Namespace Management: Organize your data with flexible namespace structures
  • LangChain Integration: Seamlessly integrate with the LangChain ecosystem
  • Async Support: Full asynchronous operation support
  • Metadata Filtering: Advanced querying with metadata support

Documentation

For more detailed information, visit:

Contributing

We welcome contributions! Please see our contributing guidelines for more details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

langchain_moorcheh-0.1.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

langchain_moorcheh-0.1.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file langchain_moorcheh-0.1.1.tar.gz.

File metadata

  • Download URL: langchain_moorcheh-0.1.1.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.5 Windows/11

File hashes

Hashes for langchain_moorcheh-0.1.1.tar.gz
Algorithm Hash digest
SHA256 858a8fd01e83a290008a863d73a6426e74ae11d89d2fc295d20cfca75d45f46d
MD5 040c70c66b341e3c97a0573b4ab2a38b
BLAKE2b-256 916eb7486002bc5e43ced3908f179330734f0da0661113dad4e26d0a7672afd4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_moorcheh-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb04688604424d9630c5e657a2df26dfb74be866bc2637a37646bb40cee60716
MD5 794e6f22451f46b9ea79ad4f17bd5fc8
BLAKE2b-256 c9b01dd0f18c113a76c1e331e6e01df3d0e4a391a52759aa3cfc212c0936815c

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