outputparser

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FencedCodeBlock added in v0.0.11

type FencedCodeBlock struct {
	// contains filtered or unexported fields
}

func NewFencedCodeBlock added in v0.0.11

func NewFencedCodeBlock(fence string) *FencedCodeBlock

func (*FencedCodeBlock) GetFormatInstructions added in v0.0.11

func (p *FencedCodeBlock) GetFormatInstructions() (string, error)

func (*FencedCodeBlock) Parse added in v0.0.11

func (p *FencedCodeBlock) Parse(text string) (any, error)

func (*FencedCodeBlock) ParseWithPrompt added in v0.0.11

func (p *FencedCodeBlock) ParseWithPrompt(text string, prompt schema.PromptValue) (any, error)

func (*FencedCodeBlock) Type added in v0.0.11

func (p *FencedCodeBlock) Type() string

Jump to

Keyboard shortcuts

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