Skip to content
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

Add RAG for code, personal files, and conversations #59

Open
4 tasks
ErikBjare opened this issue Jan 20, 2024 · 1 comment
Open
4 tasks

Add RAG for code, personal files, and conversations #59

ErikBjare opened this issue Jan 20, 2024 · 1 comment

Comments

@ErikBjare
Copy link
Owner

ErikBjare commented Jan 20, 2024

Source files could be:

  • your projects folder (with code)
  • your notes (in plaintext)
  • past conversations
  • previously web-retrieved documents

Adding this feature would return gptme to its roots: an agent which has context about you and your projects, to intelligently and effectively assist in your work.

Needs

  • Configure where to look for source files
    • probably in config
    • could index the current working directory
      • would be problematic for large files, limit to git repos?
  • Exclude functionality
    • exclude binary files
    • respect git-ignores
  • Retrieval method
  • indexing?

Prompting

The model should be aware of its RAG abilities in the prompt (possibly listing source folder config), and provided a tool for using it.

Inspiration

@ErikBjare ErikBjare added enhancement New feature or request context capabilities and removed enhancement New feature or request labels Jan 20, 2024
@ErikBjare ErikBjare added the tool label Feb 21, 2024
@ErikBjare ErikBjare moved this to Todo in gptme roadmap Aug 13, 2024
@ErikBjare ErikBjare changed the title Add RAG for code and personal files Add RAG for code, personal files, and conversations Sep 23, 2024
@robingenz
Copy link

Thank you so much for this great project! I'm really looking forward to this feature. If you want you can start a pool funding (e.g. with Polar). I would be happy to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants