internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileSpecFile

func CompileSpecFile(path string, outputDir string) (string, error)

func GenerateHash

func GenerateHash(id string) string

func ParseAssertionsBlock

func ParseAssertionsBlock(content string) ([]types.Assertion, error)

func ParseInputBlock

func ParseInputBlock(content string) ([]string, map[string]string, error)

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.

Jump to

Keyboard shortcuts

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