save_hyde
Store a hypothetical answer as a searchable HyDE bridge so retrieval misses become indexed hits.
Instructions
Persist a HyDE hypothetical document as a reusable type=hyde bridge.
Use after a search(query, hypothesis=...) fallback produced good grounding, so the same retrieval miss becomes an indexed hit next time (searchable via note_type="hyde" or "everything"). A hyde bridge is generated text, never a citable source. Idempotent per (doc_id, query) — re-saving updates in place.
Args: query: the user query this hypothesis answers (used for the bridge id). hypothesis: the hypothetical answer paragraph to store and embed. doc_id: optional document this bridge is about ("" = corpus-wide). title: optional label ("" = derived from the query).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| title | No | ||
| doc_id | No | ||
| hypothesis | Yes |