Tanzania-AI-Community / twiga

Twiga is a WhatsApp bot for Tanzanian educators.
https://ai.or.tz/
MIT License
12 stars 11 forks source link

Metadata filtering in RAG systems (from tool calling) #56

Open jurmy24 opened 2 weeks ago

jurmy24 commented 2 weeks ago

Create a setup in llm_service.py and the tools folder that makes tool calling well adapted to different users available classes, subjects, etc...

Also research and determine whether more tool options versus more complex tools is a better solution. I.e. should we have a tool for "summarize_chapter(chapter_number, subject...)" or should it be integrated with the search_knowledge, eg. "search_knowledge(subject, grade_level, ..., summarize=true)".