Skip to content

Issue W2-MT-02 β€” Embeddings and Local RetrievalΒ #62

Description

@Abdully-dev

πŸ“‹ Overview
Create the local retrieval layer used by the Artificial Teacher.
🎯 Objectives
β€’ Generate embeddings.
β€’ Store embeddings locally.
β€’ Configure vector store.
β€’ Implement similarity retrieval.
β€’ Retrieve by topic.
🎯 Scope
Retrieval only.
πŸ”— Call Chain
Processed Content
↓
Embeddings
↓
Vector Store
↓
Retrieval Query
↓
Relevant Chunks
🚫 Out of Scope
β€’ Gemma response generation
β€’ Student API
πŸ”— Dependencies
β€’ W2-MT-01
βœ… Acceptance Criteria
β€’ Vector store works offline.
β€’ Relevant chunks are retrieved.
β€’ Retrieval returns metadata.
β€’ Topic-based retrieval works.
🌿 Branch
offline-rag-retrieval
🚨 Files Concerned
model/
β”œβ”€β”€ embeddings/
β”‚ └── embedding_service.py
└── retrieval/
└── retrieval_pipeline.py

backend/
β”œβ”€β”€ data/vector_store/
└── app/ai/
└── retrieval_service.py

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions