Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ParseError ¶
ParseError is the error type returned by output parsers.
func (ParseError) Error ¶
func (e ParseError) Error() string
type ResponseSchema ¶
type ResponseSchema struct { Name string Description string Types string Require bool // 是否必选 Schemas []ResponseSchema }
type Structured ¶
type Structured struct { outputparser.Structured // contains filtered or unexported fields }
func NewStructured ¶
func NewStructured(schema []ResponseSchema) Structured
func (Structured) GetFormatInstructions ¶
func (p Structured) GetFormatInstructions() string
Click to show internal directories.
Click to hide internal directories.