Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidPrompt = errors.New("invalid prompt") ErrEmptyResponse = errors.New("no response") )
Functions ¶
This section is empty.
Types ¶
type LLM ¶
func (*LLM) GenerateContent ¶
func (wx *LLM) GenerateContent(ctx context.Context, messages []llms.MessageContent, options ...llms.CallOption) (*llms.ContentResponse, error)
GenerateContent implements the Model interface.
Click to show internal directories.
Click to hide internal directories.