Skip to content

Add LLM RAG exploration notebook (experimental)#282

Open
kevke-edu wants to merge 1 commit into
DataBytes-Organisation:mainfrom
kevke-edu:feature/LLMRAG_explore
Open

Add LLM RAG exploration notebook (experimental)#282
kevke-edu wants to merge 1 commit into
DataBytes-Organisation:mainfrom
kevke-edu:feature/LLMRAG_explore

Conversation

@kevke-edu
Copy link
Copy Markdown
Contributor

This PR is completely isolated to the new experimental/ folder. It strictly contains additive changes and does not modify any existing frontend or backend code, so it should merge cleanly

Note: The complete end-to-end feature is already deployed across the stack (frontend .tsx files, Node/Express gateway, and Flask backend). Please refer to PR #274 for the production implementation. This PR strictly contains the original exploratory Jupyter notebook.

This notebook documents the initial prototyping of the LLM RAG architecture. The notebook starts by evaluating the Gemini API for both embeddings and text generation. However, strict rate limits during testing made it unviable for sustained development. Following this, a second round of experiments transitioned to using local sentence-transformers to embed the recipe data and explored free Nvidia models via OpenRouter for the generation step. HuggingFace models are also explored as a potential fall back in case rate limits were observed for the OpenRouter provider.

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