Versions in this module Expand all Collapse all v0 v0.1.1 Apr 7, 2025 Changes in this version + const VSceneIntegration v0.1.0 Apr 6, 2025 Changes in this version + const CallOptions + const ESCluster + const ESIndex + const ESName + const Error + const Input + const InputTokens + const LatencyFirstResp + const ModelIdentification + const ModelName + const ModelPlatform + const ModelProvider + const Output + const OutputTokens + const PromptKey + const PromptProvider + const PromptVersion + const ReasoningDuration + const ReasoningTokens + const RetrieverProvider + const Runtime_ + const SpanType + const Stream + const TokenUsageBackup + const Tokens + const VErrDefault + const VLangGo + const VLangPython + const VLangTypeScript + const VLibEino + const VLibLangChain + const VModelSpanType + const VPromptArgSourceInput + const VPromptArgSourcePartial + const VPromptHubSpanType + const VPromptTemplateSpanType + const VRetrieverSpanType + const VRoleAssistant + const VRoleSystem + const VRoleTool + const VRoleUser + const VSceneCustom + const VScenePromptHub + const VScenePromptTemplate + const VToolChoiceAuto + const VToolChoiceFunction + const VToolChoiceNone + const VToolChoiceRequired + const VToolSpanType + const VikingDBName + const VikingDBRegion + type ModelCallOption struct + FrequencyPenalty *float32 + MaxTokens int64 + N int64 + PresencePenalty *float32 + ReasoningEffort string + Stop []string + Temperature float32 + TopK *int64 + TopP float32 + type ModelChoice struct + FinishReason string + Index int64 + Message *ModelMessage + type ModelFileURL struct + Detail string + Name string + Suffix string + URL string + type ModelImageURL struct + Detail string + Name string + URL string + type ModelInput struct + Messages []*ModelMessage + ModelToolChoice *ModelToolChoice + Tools []*ModelTool + type ModelMessage struct + Content string + Metadata map[string]string + Name string + Parts []*ModelMessagePart + ReasoningContent string + Role string + ToolCallID string + ToolCalls []*ModelToolCall + type ModelMessagePart struct + FileURL *ModelFileURL + ImageURL *ModelImageURL + Text string + Type ModelMessagePartType + type ModelMessagePartType string + var ModelMessagePartTypeFile ModelMessagePartType = "file_url" + var ModelMessagePartTypeImage ModelMessagePartType = "image_url" + var ModelMessagePartTypeText ModelMessagePartType = "text" + type ModelOutput struct + Choices []*ModelChoice + type ModelTool struct + Function *ModelToolFunction + Type string + type ModelToolCall struct + Function *ModelToolCallFunction + ID string + Type string + type ModelToolCallFunction struct + Arguments string + Name string + type ModelToolChoice struct + Function *ModelToolCallFunction + Type string + type ModelToolFunction struct + Description string + Name string + Parameters json.RawMessage + type PromptArgument struct + Key string + Source string + Value any + type PromptInput struct + Arguments []*PromptArgument + Templates []*ModelMessage + type PromptOutput struct + Prompts []*ModelMessage + type RetrieverCallOption struct + Filter string + MinScore *float64 + TopK int64 + type RetrieverDocument struct + Content string + ID string + Index string + Score float64 + Vector []float64 + type RetrieverInput struct + Query string + type RetrieverOutput struct + Documents []*RetrieverDocument + type Runtime struct + Language string + Library string + LibraryVersion string + LoopSDKVersion string + Scene string