query

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package query provides natural-language plan search powered by an AI provider. It serialises the current plan into a compact context block and submits the user's question to the provider, returning a plain-text answer.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Query

func Query(ctx context.Context, p provider.Provider, model string, plan *pm.Plan, question string) (string, error)

Query answers a natural-language question about the given plan. plan must not be nil. question is the free-form user query. model may be empty (the provider will use its default). The raw provider response is returned as-is (trimmed of leading/trailing whitespace).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL