Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExtractCodeBlocksStep ¶
type ExtractCodeBlocksStep struct{}
func (*ExtractCodeBlocksStep) Close ¶ added in v0.2.12
func (e *ExtractCodeBlocksStep) Close(ctx context.Context) error
func (*ExtractCodeBlocksStep) Start ¶
func (e *ExtractCodeBlocksStep) Start(ctx context.Context, input string) (*steps.StepResult[[]string], error)
type ExtractJSONStep ¶
type ExtractJSONStep struct{}
ExtractJSONStep is a step that extracts JSON blocks from the given string.
func (*ExtractJSONStep) Start ¶
func (e *ExtractJSONStep) Start(ctx context.Context, input string) (*steps.StepResult[[]string], error)
type ParseMarkdownStep ¶
type ParseMarkdownStep struct{}
type QuotedText ¶
type QuotedText struct {
Text string
}
type ValidateJsonStep ¶ added in v0.2.12
type ValidateJsonStep struct {
JSONSchema string `yaml:"json_schema,omitempty"`
}
func (*ValidateJsonStep) Close ¶ added in v0.2.12
func (v *ValidateJsonStep) Close(ctx context.Context) error
func (*ValidateJsonStep) Start ¶ added in v0.2.12
func (v *ValidateJsonStep) Start(ctx context.Context, input string) (*steps.StepResult[ValidationResult], error)
type ValidationResult ¶ added in v0.2.12
Click to show internal directories.
Click to hide internal directories.