Documentation
¶
Index ¶
- Variables
- func FileTier(d model.Doc) map[string]model.Value
- func GitTier(d model.Doc, root string) map[string]model.Value
- func LLMTier(d model.Doc, s *schema.Schema, root string) map[string]model.Value
- func RunLLM(cmdline string, req LLMRequest) (map[string]model.Value, error)
- type LLMRequest
- type Result
Constants ¶
This section is empty.
Variables ¶
View Source
var LLMCmd string
LLMCmd is set by the mark command before Plan runs the llm tier.
Functions ¶
func FileTier ¶
FileTier derives id, title, and type from the path and headings. It returns only keys the doc does not already have.
Types ¶
type LLMRequest ¶
type LLMRequest struct {
Path string `json:"path"`
Title string `json:"title"`
Type string `json:"type"`
Excerpt string `json:"excerpt"`
Want []string `json:"want"`
Schema map[string]schema.Field `json:"schema"`
}
LLMRequest is the JSON written to the subprocess stdin.
Click to show internal directories.
Click to hide internal directories.