Expand description
A trait and macros for powerful, type-safe prompt generation.
Enums§
- Prompt
Part - Represents a part of a multimodal prompt.
- Prompt
SetError
Traits§
- ToPrompt
- A trait for converting any type into a string suitable for an LLM prompt.
- ToPrompt
For - A trait for generating a prompt for a specific target type.
- ToPrompt
Set - A trait for types that can generate multiple named prompt targets.
Functions§
- render_
prompt - Renders a prompt from a template string and a serializable context.