Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LLM ¶
type LLM struct {
// contains filtered or unexported fields
}
func NewFakeLLM ¶
func (*LLM) AddResponse ¶
AddResponse adds a response to the list of responses.
func (*LLM) GenerateContent ¶
func (f *LLM) GenerateContent(_ context.Context, _ []llms.MessageContent, _ ...llms.CallOption) (*llms.ContentResponse, error)
GenerateContent generate fake content.
Click to show internal directories.
Click to hide internal directories.