Skip to content

Rag poc #1666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open

Conversation

PoojasreeDwarakanath
Copy link

@PoojasreeDwarakanath PoojasreeDwarakanath commented Apr 21, 2025

Description

This change adds RAG functionality to mito-ai's chat completion. Based on the chat prompt, a query is formulated and google search is performed. Information from this search is passed as additional context to the LLM, thereby enabling it to incorporate real-time data into its answers.

Mito.chat.completion.with.RAG.mp4

Testing

Please provide a list of the ways you can "access" or use the functionality. Please try and be exhaustive here, and make sure that you test everything you list.

  • I have tested this on real data that is reasonable and large
  • If I changed the interaction with JupyterLab, I tested that it does not break other programs (like VS Code), and tested that it works "multiple times" in the same notebook.

Note

  • This change is currently applicable to all chat prompts. The feature could be made available based on a user input using a toggle button on the UI.
  • Unit tests are yet to be added and will be done after the code is reviewed.

Copy link

vercel bot commented Apr 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
monorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2025 5:07am

@aarondr77
Copy link
Member

Hey @PoojasreeDwarakanath thanks so much for opening up this PR. I'll give it a review this week! In the meantime, since this is your first contribution to this codebase, can you check out our CLA here: https://github.com/mito-ds/monorepo/blob/dev/CLA.md

If you agree, just hit me back with "I have read the CLA Document and I hereby sign the CLA"

@PoojasreeDwarakanath
Copy link
Author

PoojasreeDwarakanath commented Apr 22, 2025 via email

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.

2 participants