Documentation
¶
Index ¶
- func CompileSpecFile(path string, outputDir string) (string, error)
- func GenerateHash(id string) string
- func ParseAssertionsBlock(content string) ([]types.Assertion, error)
- func ParseInputBlock(content string) ([]string, map[string]string, error)
- func ParseSpecFile(path string) (*types.CompiledPrompt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateHash ¶
func ParseInputBlock ¶
ParseInputBlock parses the inputs block from a spec file and returns the list of input variables and their default values.
func ParseSpecFile ¶
func ParseSpecFile(path string) (*types.CompiledPrompt, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.