Mini projects on semantic search using ChromaDB — includes a RAG pipeline and a knowledge graph with query answering.
This repository contains two mini projects focused on semantic search using ChromaDB and sentence-transformers. These assignments demonstrate basic implementations of:
- Retrieval-Augmented Generation (RAG) Pipeline
- Knowledge Graph Construction with Semantic Query Answering
- Preprocesses short hardcoded documents (lowercase + no punctuation)
- Uses
sentence-transformersto embed documents - Stores embeddings in ChromaDB
- Accepts a user query and retrieves the most relevant document
Technologies used:
sentence-transformers, chromadb, scikit-learn
- Builds a simple RDF knowledge graph using
rdflib - Converts RDF triples into human-readable sentences
- Embeds the sentences using
sentence-transformers - Stores and queries them using ChromaDB
- Accepts natural language questions and returns relevant facts
Technologies used:
rdflib, sentence-transformers, chromadb