Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefineModel ¶ added in v0.0.2
func DefineModel(model ModelDefinition, caps *ai.ModelCapabilities) *ai.Model
Types ¶
type Config ¶
type Config struct { // Server Address of oLLama. ServerAddress string // Generative models to provide. Models []ModelDefinition }
Config provides configuration options for the Init function.
type ModelDefinition ¶
ModelDefinition represents a model with its name and type.
Click to show internal directories.
Click to hide internal directories.