Skip to content

Upgrade default search to GRAPH_COMPLETION #78

@krapfj23

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

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