Skip to content

[Bug] Chat command doesn't find indexed documents + documentation gaps #207

@itomek-amd

Description

@itomek-amd

Bug Description

After successfully indexing a document with /index, the chat command fails to find the indexed content.

Steps to Reproduce

  1. Index a document:

    /index .\data\pdf
    

    Output shows success: ✅ Success: 18 chunks created

  2. Verify document is indexed:

    /list
    

    Output confirms: Oil-and-Gas-Activity-Operations-Manual-1-10.pdf with 18 chunks

  3. Query the document:

    chat "what is this document about?"
    

Expected Behavior

Chat should use the indexed document context to answer the question.

Actual Behavior

🧠 gaia: I don't see any document currently indexed. Could you please share the document you're referring to, or let me know if you'd like me to search for and index a specific file?

Documentation Gap

The CLI with RAG workflow is documented at /guides/chat#cli-with-rag but this wasn't intuitive to find. Users looking for CLI reference might expect this in the Reference section.

Acceptance Criteria

  • Fix bug: chat command should access indexed documents
  • Add test to validate the fix
  • Review and fix any documentation gaps related to CLI + RAG workflow

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationDocumentation changes

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions