eino

package
v0.0.0-...-271e206 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IEinoChatModel

type IEinoChatModel interface {
	einoModel.ToolCallingChatModel
}

type LLM

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

func NewLLM

func NewLLM(ctx context.Context, model *entity.Model, opts ...entity.Option) (*LLM, error)

func (*LLM) Generate

func (l *LLM) Generate(ctx context.Context, input []*entity.Message, opts ...entity.Option) (*entity.Message, error)

func (*LLM) Stream

func (l *LLM) Stream(ctx context.Context, input []*entity.Message, opts ...entity.Option) (
	entity.IStreamReader, error,
)

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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