Skip to content

RAG over a local folder - 'index this folder', then ask about your docs #19

Open

Description

@Dix01

Problem: JARVIS has an embeddings stack for memory but cannot answer questions over your own documents.

Where:

  • Embeddings: jarvis/core/embeddings.py, jarvis/core/semantic_memory.py
  • New plugin: jarvis/plugins/rag_tools.py

Approach: Add index_folder(path, glob) - chunk text files (md/txt/pdf/code), embed, store in a separate table/collection. Add ask_docs(query) that retrieves top-k chunks and injects them into context. Show indexed sources in the HUD.

Acceptance:

  • index_folder ingests a folder of .md/.txt
  • Asking a question retrieves relevant chunks and answers with citations (file + chunk)
  • Falls back to keyword search if embeddings unavailable

Difficulty: large. Flagship feature.

Activity

  1. added
    enhancement
    help wanted
    on May 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions