Documentation ¶ Index ¶ func Read(r io.Reader) (llm.Prompt, error) func WithNamespace(namespace string, p llm.Prompt) llm.Prompt Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Read ¶ func Read(r io.Reader) (llm.Prompt, error) Read parses a markdown file with optional YAML front matter from r and returns an llm.Prompt. The name is taken from the front matter or derived from the reader's filename. The template is set from the markdown body. func WithNamespace ¶ func WithNamespace(namespace string, p llm.Prompt) llm.Prompt WithNamespace returns p with its name replaced by "namespace.p.Name()". Types ¶ This section is empty. Source Files ¶ View all Source files import.goprepare.goprompt.go Click to show internal directories. Click to hide internal directories.