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 and personal files #59

Open
4 tasks
ErikBjare opened this issue Jan 20, 2024 · 0 comments
Open
4 tasks

Add RAG for code and personal files #59

ErikBjare opened this issue Jan 20, 2024 · 0 comments

Comments

@ErikBjare
Copy link
Owner

ErikBjare commented Jan 20, 2024

Source files could be:

  • your projects folder (with code)
  • your notes (in plaintext)
  • 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

  • PrivateGPT
  • LocalGPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant