Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAG_TOOLS #329

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

RAG_TOOLS #329

wants to merge 2 commits into from

Conversation

srilaasya
Copy link
Collaborator

📥 Pull Request

[RAG_TOOL] ChromaDB vector store with OpenAIEmbeddings

📘 Description
RAG (Retrieval-Augmented Generation) tool that integrates ChromaDB vector store with OpenAI embeddings for document storage and semantic search retrievals.

Features

  • Vector Store Management: Create and manage ChromaDB collections with OpenAI's text-embedding-ada-002 model
  • Document Ingestion: Add documents with metadata (content + URL) to the vector store
  • Semantic Search: Query documents using natural language, with relevance scoring
  • Persistent Storage: Collections are stored on disk for reuse across sessions

Core Functions

  1. create_collection(): Initialize a new ChromaDB collection with OpenAI embeddings
  2. add_documents(): Ingest documents with their metadata into the collection
  3. query_collection(): Perform semantic search with relevance scoring

#273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant