Skip to content

Glossary of Terms

Term Definition
Agentic RAG An advanced Retrieval-Augmented Generation pattern where an "agent" (via LangGraph) makes decisions (e.g., "Do I need more info?" or "Is this retrieval relevant?") rather than a simple linear search.
EduWallet The token-based billing system. 1 token roughly corresponds to a portion of LLM input/output cost.
LangGraph A framework for building stateful, multi-actor applications with LLMs. Used here to manage the "Teacher" reasoning loop.
Namespace A logical partition in Pinecone. In BacMR, namespaces are usually formatted as grade-{grade}-{subject}.
Pinecone The vector database used to store and query curriculum embeddings.
Reranking The process of taking the top $N$ results from a vector search and using a more powerful (and expensive) LLM to re-order them by exact relevance.
RLS (Row Level Security) A Supabase/PostgreSQL feature that limits which rows a user can see or modify based on their JWT.
SSE (Server-Sent Events) A streaming technology used to send real-time AI responses to the frontend token-by-token.
Supabase The backend-as-a-service providing PostgreSQL, Auth, and the REST API for relational data.
Tier Subscription levels (Free, Standard, Premium) that define different retrieval limits and token costs.

Back to Index