Documentation ¶
Index ¶
- func ChatModelGenerate(ctx context.Context, cm schema.ChatModel, messages [][]schema.ChatMessage, ...) (*schema.LLMResult, error)
- func GeneratePrompt(ctx context.Context, model schema.Model, promptValues []schema.PromptValue, ...) (*schema.LLMResult, error)
- func LLMGenerate(ctx context.Context, model schema.LLM, prompts []string, ...) (*schema.LLMResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChatModelGenerate ¶
func GeneratePrompt ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.