Skip to content

langchain-moorcheh is a Python package that enables seamless integration between LangChain and Moorcheh.

License

Notifications You must be signed in to change notification settings

moorcheh-ai/langchain-moorcheh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦜️🔗 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.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •