Skip to content

33tm/FRC-RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple RAG model to search real-world First Robotics codebases.


main.py

  1. Query the GitHub API for FRC codebases (searching for .wpilib/wpilib_preferences.json file)
  2. Download, extract methods with tree-sitter, and embed into SQLite database (download from releases)
  3. Start Flask server at :5000, host similarity search endpoint at GET /search?q=
embedding.mp4

page.tsx + route.ts

  • LLM frontend, hosted GPT-4o-mini with a tool that queries the API above.
generation.mov