Versions in this module Expand all Collapse all v0 v0.1.0 Sep 18, 2025 Changes in this version + const PluginName + var BasicText = &ai.ModelSupports + var Multimodal = &ai.ModelSupports + type ModelGenerator struct + func NewModelGenerator(client *arkruntime.Client, modelName string) *ModelGenerator + func (g *ModelGenerator) Generate(ctx context.Context, ...) (*ai.ModelResponse, error) + func (g *ModelGenerator) WithConfig(config any) *ModelGenerator + func (g *ModelGenerator) WithMessages(messages []*ai.Message) *ModelGenerator + func (g *ModelGenerator) WithTools(tools []*ai.ToolDefinition) *ModelGenerator + type VolcEngine struct + func VolcEngineWithAPIKey(apiKey string) *VolcEngine + func VolcEngineWithClient(client *arkruntime.Client) *VolcEngine + func (v *VolcEngine) DefineModel(id string, opts *ai.ModelOptions) ai.Model + func (v *VolcEngine) Init(ctx context.Context) []api.Action + func (v *VolcEngine) Name() string