Versions in this module Expand all Collapse all v6 v6.9.3 Mar 25, 2026 Changes in this version + type APIHandler interface + HandlerType func() string + Models func() []map[string]any + type Content struct + Parts []Part + Role string + type ErrorMessage struct + Addon http.Header + Error error + StatusCode int + type FunctionCall struct + Args map[string]interface{} + ID string + Name string + type FunctionResponse struct + ID string + Name string + Response map[string]interface{} + type GCPProject struct + Projects []GCPProjectProjects + type GCPProjectLabels struct + GenerativeLanguage string + type GCPProjectProjects struct + CreateTime time.Time + Labels GCPProjectLabels + LifecycleState string + Name string + ProjectID string + ProjectNumber string + type GenerateContentRequest struct + Contents []Content + SystemInstruction *Content + Tools []ToolDeclaration + type GenerationConfig struct + Temperature float64 + ThinkingConfig GenerationConfigThinkingConfig + TopK float64 + TopP float64 + type GenerationConfigThinkingConfig struct + IncludeThoughts bool + type InlineData struct + Data string + MimeType string + type Part struct + FunctionCall *FunctionCall + FunctionResponse *FunctionResponse + InlineData *InlineData + Text string + Thought bool + ThoughtSignature string + type ToolDeclaration struct + FunctionDeclarations []interface{} + type TranslateRequestFunc = sdktranslator.RequestTransform + type TranslateResponse = sdktranslator.ResponseTransform + type TranslateResponseFunc = sdktranslator.ResponseStreamTransform + type TranslateResponseNonStreamFunc = sdktranslator.ResponseNonStreamTransform v6.9.2-rc1 Mar 25, 2026