Skip to content

πŸ” Add Retriever Logic using FAISS Vector Store #5

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

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

Conversation

Messycodess
Copy link

πŸš€ Summary

This PR adds the retriever component responsible for searching relevant documents using FAISS vector store, based on user role and query embeddings.

πŸ› οΈ Features

  • Load FAISS index per role
  • Search top-k documents using query embeddings
  • Return role-specific documents with similarity scores
  • Preloaded vector indices for roles: HR, Marketing, Finance, Engineering, General

πŸ“ New Files

  • app/services/vector_store.py
  • app/services/retriever_service.py
  • vector_data/*.pkl and *.faiss

βœ… Next Step

Start llm-integration branch for connecting retrieved docs to LLM response generation.

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