Skip to content

Upgrade default search to GRAPH_COMPLETION #78

Description

@krapfj23

Summary

Switch the default search from INSIGHTS (raw triplets) to GRAPH_COMPLETION (vector + graph + LLM reasoning).

Blocked by

Blocks

Steps

  1. Open backend/app/services/knowledge_search.py
  2. Change the default SearchType from INSIGHTS to GRAPH_COMPLETION
  3. Update the search response model if GRAPH_COMPLETION returns a different format (it returns natural language answers vs raw triplets)
  4. Update tests to expect the new format

Acceptance Criteria

  • GET /documents/search?q=... returns LLM-synthesized answers with graph context
  • Response model handles GRAPH_COMPLETION format
  • Tests updated and passing
  • PR body includes Closes #78

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ontologyOntology & knowledge graph

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions