models

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProvider

func CreateProvider(ctx context.Context, config *ProviderConfig) (model.ToolCallingChatModel, error)

CreateProvider creates an eino ToolCallingChatModel based on the provider configuration

Types

type ProviderConfig

type ProviderConfig struct {
	ModelString      string
	SystemPrompt     string
	AnthropicAPIKey  string
	AnthropicBaseURL string
	OpenAIAPIKey     string
	OpenAIBaseURL    string
	GoogleAPIKey     string
}

ProviderConfig holds configuration for creating LLM providers

Jump to

Keyboard shortcuts

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