softcall

package
v0.0.0-...-32d557d Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SoftCallConfig

type SoftCallConfig struct {
	PreserveReasoning bool
}

type YAMLSoftCallLLM

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

func NewYAMLSoftCallLLM

func NewYAMLSoftCallLLM(upstream llm.Model, config *SoftCallConfig) *YAMLSoftCallLLM

func (*YAMLSoftCallLLM) Close

func (g *YAMLSoftCallLLM) Close() error

func (*YAMLSoftCallLLM) GenerateStream

func (g *YAMLSoftCallLLM) GenerateStream(ctx context.Context, chat *llm.ChatContext, input *llm.Content) *llm.StreamContent

func (*YAMLSoftCallLLM) Name

func (g *YAMLSoftCallLLM) Name() string

Jump to

Keyboard shortcuts

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