Documentation ¶
Overview ¶
Package pipeline provides a way to chain multiple llm executions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDecoding = errors.New("decoding input error") ErrInvalidLmmMode = errors.New("invalid LLM mode") ErrLLMExecution = errors.New("llm execution error") )
View Source
var (
ErrSplitFunction = fmt.Errorf("split function error")
)
Functions ¶
func NewSplitter ¶ added in v0.0.3
func NewSplitter( name string, llm Llm, outputDecoder Decoder, memory Memory, splitterFn SplitterFn, ) *splitter
Types ¶
type Tube ¶ added in v0.0.3
type Tube struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.