Documentation
¶
Index ¶
- Constants
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiAnthropicConfig
- func (o *ApiAnthropicConfig) GetApiKey() string
- func (o *ApiAnthropicConfig) GetApiKeyOk() (*string, bool)
- func (o *ApiAnthropicConfig) GetBaseUrl() string
- func (o *ApiAnthropicConfig) GetBaseUrlOk() (*string, bool)
- func (o *ApiAnthropicConfig) GetModel() string
- func (o *ApiAnthropicConfig) GetModelOk() (*string, bool)
- func (o *ApiAnthropicConfig) GetProvider() string
- func (o *ApiAnthropicConfig) GetProviderOk() (*string, bool)
- func (o *ApiAnthropicConfig) HasBaseUrl() bool
- func (o *ApiAnthropicConfig) HasModel() bool
- func (o ApiAnthropicConfig) MarshalJSON() ([]byte, error)
- func (o *ApiAnthropicConfig) SetApiKey(v string)
- func (o *ApiAnthropicConfig) SetBaseUrl(v string)
- func (o *ApiAnthropicConfig) SetBaseUrlNil()
- func (o *ApiAnthropicConfig) SetModel(v string)
- func (o *ApiAnthropicConfig) SetModelNil()
- func (o *ApiAnthropicConfig) SetProvider(v string)
- func (o ApiAnthropicConfig) ToMap() (map[string]interface{}, error)
- func (o *ApiAnthropicConfig) UnmarshalJSON(data []byte) (err error)
- func (o *ApiAnthropicConfig) UnsetBaseUrl()
- func (o *ApiAnthropicConfig) UnsetModel()
- type ApiExecuteProgramExecuteProgramPostRequest
- type ApiOpenAIConfig
- func (o *ApiOpenAIConfig) GetApiKey() string
- func (o *ApiOpenAIConfig) GetApiKeyOk() (*string, bool)
- func (o *ApiOpenAIConfig) GetBaseUrl() string
- func (o *ApiOpenAIConfig) GetBaseUrlOk() (*string, bool)
- func (o *ApiOpenAIConfig) GetModel() string
- func (o *ApiOpenAIConfig) GetModelOk() (*string, bool)
- func (o *ApiOpenAIConfig) GetProvider() string
- func (o *ApiOpenAIConfig) GetProviderOk() (*string, bool)
- func (o *ApiOpenAIConfig) HasBaseUrl() bool
- func (o *ApiOpenAIConfig) HasModel() bool
- func (o ApiOpenAIConfig) MarshalJSON() ([]byte, error)
- func (o *ApiOpenAIConfig) SetApiKey(v string)
- func (o *ApiOpenAIConfig) SetBaseUrl(v string)
- func (o *ApiOpenAIConfig) SetBaseUrlNil()
- func (o *ApiOpenAIConfig) SetModel(v string)
- func (o *ApiOpenAIConfig) SetModelNil()
- func (o *ApiOpenAIConfig) SetProvider(v string)
- func (o ApiOpenAIConfig) ToMap() (map[string]interface{}, error)
- func (o *ApiOpenAIConfig) UnmarshalJSON(data []byte) (err error)
- func (o *ApiOpenAIConfig) UnsetBaseUrl()
- func (o *ApiOpenAIConfig) UnsetModel()
- type ApiQueryQueryPostRequest
- type ApiThreadAssistantAction
- func (o *ApiThreadAssistantAction) GetCode() string
- func (o *ApiThreadAssistantAction) GetCodeError() string
- func (o *ApiThreadAssistantAction) GetCodeErrorOk() (*string, bool)
- func (o *ApiThreadAssistantAction) GetCodeOk() (*string, bool)
- func (o *ApiThreadAssistantAction) GetCodeOutput() string
- func (o *ApiThreadAssistantAction) GetCodeOutputOk() (*string, bool)
- func (o *ApiThreadAssistantAction) GetMessage() string
- func (o *ApiThreadAssistantAction) GetMessageOk() (*string, bool)
- func (o *ApiThreadAssistantAction) GetPlan() string
- func (o *ApiThreadAssistantAction) GetPlanOk() (*string, bool)
- func (o *ApiThreadAssistantAction) HasCode() bool
- func (o *ApiThreadAssistantAction) HasCodeError() bool
- func (o *ApiThreadAssistantAction) HasCodeOutput() bool
- func (o *ApiThreadAssistantAction) HasMessage() bool
- func (o *ApiThreadAssistantAction) HasPlan() bool
- func (o ApiThreadAssistantAction) MarshalJSON() ([]byte, error)
- func (o *ApiThreadAssistantAction) SetCode(v string)
- func (o *ApiThreadAssistantAction) SetCodeError(v string)
- func (o *ApiThreadAssistantAction) SetCodeErrorNil()
- func (o *ApiThreadAssistantAction) SetCodeNil()
- func (o *ApiThreadAssistantAction) SetCodeOutput(v string)
- func (o *ApiThreadAssistantAction) SetCodeOutputNil()
- func (o *ApiThreadAssistantAction) SetMessage(v string)
- func (o *ApiThreadAssistantAction) SetMessageNil()
- func (o *ApiThreadAssistantAction) SetPlan(v string)
- func (o *ApiThreadAssistantAction) SetPlanNil()
- func (o ApiThreadAssistantAction) ToMap() (map[string]interface{}, error)
- func (o *ApiThreadAssistantAction) UnsetCode()
- func (o *ApiThreadAssistantAction) UnsetCodeError()
- func (o *ApiThreadAssistantAction) UnsetCodeOutput()
- func (o *ApiThreadAssistantAction) UnsetMessage()
- func (o *ApiThreadAssistantAction) UnsetPlan()
- type ApiThreadInteraction
- func (o *ApiThreadInteraction) GetAssistantActions() []ApiThreadAssistantAction
- func (o *ApiThreadInteraction) GetAssistantActionsOk() ([]ApiThreadAssistantAction, bool)
- func (o *ApiThreadInteraction) GetUserMessage() ApiThreadUserMessage
- func (o *ApiThreadInteraction) GetUserMessageOk() (*ApiThreadUserMessage, bool)
- func (o *ApiThreadInteraction) HasAssistantActions() bool
- func (o ApiThreadInteraction) MarshalJSON() ([]byte, error)
- func (o *ApiThreadInteraction) SetAssistantActions(v []ApiThreadAssistantAction)
- func (o *ApiThreadInteraction) SetUserMessage(v ApiThreadUserMessage)
- func (o ApiThreadInteraction) ToMap() (map[string]interface{}, error)
- func (o *ApiThreadInteraction) UnmarshalJSON(data []byte) (err error)
- type ApiThreadUserMessage
- func (o *ApiThreadUserMessage) GetText() string
- func (o *ApiThreadUserMessage) GetTextOk() (*string, bool)
- func (o ApiThreadUserMessage) MarshalJSON() ([]byte, error)
- func (o *ApiThreadUserMessage) SetText(v string)
- func (o ApiThreadUserMessage) ToMap() (map[string]interface{}, error)
- func (o *ApiThreadUserMessage) UnmarshalJSON(data []byte) (err error)
- type Artifact
- func (src Artifact) AsTable() *TableArtifact
- func (src Artifact) AsText() *TextArtifact
- func (src Artifact) AsVisualization() *VisualizationArtifact
- func (src Artifact) GetArtifactType() ArtifactType
- func (src Artifact) GetIdentifier() string
- func (src Artifact) Interface() ArtifactInterface
- func (src Artifact) IsNil() bool
- func (src Artifact) MarshalJSON() ([]byte, error)
- func (src Artifact) String() string
- func (dst *Artifact) UnmarshalJSON(data []byte) error
- type ArtifactInterface
- type ArtifactType
- type ArtifactUpdateChunk
- func (o *ArtifactUpdateChunk) GetArtifact() Artifact
- func (o *ArtifactUpdateChunk) GetArtifactOk() (*Artifact, bool)
- func (o *ArtifactUpdateChunk) GetType() string
- func (o *ArtifactUpdateChunk) GetTypeOk() (*string, bool)
- func (o ArtifactUpdateChunk) MarshalJSON() ([]byte, error)
- func (o *ArtifactUpdateChunk) SetArtifact(v Artifact)
- func (o *ArtifactUpdateChunk) SetType(v string)
- func (o ArtifactUpdateChunk) ToMap() (map[string]interface{}, error)
- func (o *ArtifactUpdateChunk) UnmarshalJSON(data []byte) (err error)
- type AssistantActionChunk
- func (o *AssistantActionChunk) GetCode() string
- func (o *AssistantActionChunk) GetCodeError() string
- func (o *AssistantActionChunk) GetCodeErrorOk() (*string, bool)
- func (o *AssistantActionChunk) GetCodeOk() (*string, bool)
- func (o *AssistantActionChunk) GetCodeOutput() string
- func (o *AssistantActionChunk) GetCodeOutputOk() (*string, bool)
- func (o *AssistantActionChunk) GetIndex() int32
- func (o *AssistantActionChunk) GetIndexOk() (*int32, bool)
- func (o *AssistantActionChunk) GetMessage() string
- func (o *AssistantActionChunk) GetMessageOk() (*string, bool)
- func (o *AssistantActionChunk) GetPlan() string
- func (o *AssistantActionChunk) GetPlanOk() (*string, bool)
- func (o *AssistantActionChunk) GetType() string
- func (o *AssistantActionChunk) GetTypeOk() (*string, bool)
- func (o *AssistantActionChunk) HasCode() bool
- func (o *AssistantActionChunk) HasCodeError() bool
- func (o *AssistantActionChunk) HasCodeOutput() bool
- func (o *AssistantActionChunk) HasMessage() bool
- func (o *AssistantActionChunk) HasPlan() bool
- func (o AssistantActionChunk) MarshalJSON() ([]byte, error)
- func (o *AssistantActionChunk) SetCode(v string)
- func (o *AssistantActionChunk) SetCodeError(v string)
- func (o *AssistantActionChunk) SetCodeErrorNil()
- func (o *AssistantActionChunk) SetCodeNil()
- func (o *AssistantActionChunk) SetCodeOutput(v string)
- func (o *AssistantActionChunk) SetCodeOutputNil()
- func (o *AssistantActionChunk) SetIndex(v int32)
- func (o *AssistantActionChunk) SetMessage(v string)
- func (o *AssistantActionChunk) SetMessageNil()
- func (o *AssistantActionChunk) SetPlan(v string)
- func (o *AssistantActionChunk) SetPlanNil()
- func (o *AssistantActionChunk) SetType(v string)
- func (o AssistantActionChunk) ToMap() (map[string]interface{}, error)
- func (o *AssistantActionChunk) UnmarshalJSON(data []byte) (err error)
- func (o *AssistantActionChunk) UnsetCode()
- func (o *AssistantActionChunk) UnsetCodeError()
- func (o *AssistantActionChunk) UnsetCodeOutput()
- func (o *AssistantActionChunk) UnsetMessage()
- func (o *AssistantActionChunk) UnsetPlan()
- type BasicAuth
- type Configuration
- type DdnConfig
- func (o *DdnConfig) GetHeaders() map[string]string
- func (o *DdnConfig) GetHeadersOk() (map[string]string, bool)
- func (o *DdnConfig) GetUrl() string
- func (o *DdnConfig) GetUrlOk() (*string, bool)
- func (o *DdnConfig) HasHeaders() bool
- func (o DdnConfig) MarshalJSON() ([]byte, error)
- func (o *DdnConfig) SetHeaders(v map[string]string)
- func (o *DdnConfig) SetUrl(v string)
- func (o DdnConfig) ToMap() (map[string]interface{}, error)
- func (o *DdnConfig) UnmarshalJSON(data []byte) (err error)
- type DefaultAPIService
- func (a *DefaultAPIService) ExecuteProgramExecuteProgramPost(ctx context.Context) ApiExecuteProgramExecuteProgramPostRequest
- func (a *DefaultAPIService) ExecuteProgramExecuteProgramPostExecute(r ApiExecuteProgramExecuteProgramPostRequest) (*PromptQlExecutionResult, *http.Response, error)
- func (a *DefaultAPIService) ExecuteProgramExecuteProgramPostExecuteRequest(req *http.Request) (*http.Response, error)
- func (a *DefaultAPIService) ExecuteProgramExecuteProgramPostRequest(r ApiExecuteProgramExecuteProgramPostRequest) (*http.Request, error)
- func (a *DefaultAPIService) QueryQueryPost(ctx context.Context) ApiQueryQueryPostRequest
- func (a *DefaultAPIService) QueryQueryPostExecute(r ApiQueryQueryPostRequest) (*QueryResponse, *http.Response, error)
- func (a *DefaultAPIService) QueryQueryPostExecuteRequest(req *http.Request) (*http.Response, error)
- func (a *DefaultAPIService) QueryQueryPostRequest(r ApiQueryQueryPostRequest) (*http.Request, error)
- type Doer
- type ErrorChunk
- func (o *ErrorChunk) GetError() string
- func (o *ErrorChunk) GetErrorOk() (*string, bool)
- func (o *ErrorChunk) GetType() string
- func (o *ErrorChunk) GetTypeOk() (*string, bool)
- func (o ErrorChunk) MarshalJSON() ([]byte, error)
- func (o *ErrorChunk) SetError(v string)
- func (o *ErrorChunk) SetType(v string)
- func (o ErrorChunk) ToMap() (map[string]interface{}, error)
- func (o *ErrorChunk) UnmarshalJSON(data []byte) (err error)
- type ExecuteRequest
- func (o *ExecuteRequest) GetAiPrimitivesLlm() ExecuteRequestAiPrimitivesLlm
- func (o *ExecuteRequest) GetAiPrimitivesLlmOk() (*ExecuteRequestAiPrimitivesLlm, bool)
- func (o *ExecuteRequest) GetArtifacts() []ExecuteRequestArtifactsInner
- func (o *ExecuteRequest) GetArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)
- func (o *ExecuteRequest) GetCode() string
- func (o *ExecuteRequest) GetCodeOk() (*string, bool)
- func (o *ExecuteRequest) GetDdn() DdnConfig
- func (o *ExecuteRequest) GetDdnOk() (*DdnConfig, bool)
- func (o *ExecuteRequest) GetPromptqlApiKey() string
- func (o *ExecuteRequest) GetPromptqlApiKeyOk() (*string, bool)
- func (o *ExecuteRequest) HasPromptqlApiKey() bool
- func (o ExecuteRequest) MarshalJSON() ([]byte, error)
- func (o *ExecuteRequest) SetAiPrimitivesLlm(v ExecuteRequestAiPrimitivesLlm)
- func (o *ExecuteRequest) SetArtifacts(v []ExecuteRequestArtifactsInner)
- func (o *ExecuteRequest) SetCode(v string)
- func (o *ExecuteRequest) SetDdn(v DdnConfig)
- func (o *ExecuteRequest) SetPromptqlApiKey(v string)
- func (o *ExecuteRequest) SetPromptqlApiKeyNil()
- func (o ExecuteRequest) ToMap() (map[string]interface{}, error)
- func (o *ExecuteRequest) UnmarshalJSON(data []byte) (err error)
- func (o *ExecuteRequest) UnsetPromptqlApiKey()
- type ExecuteRequestAiPrimitivesLlm
- func ApiAnthropicConfigAsExecuteRequestAiPrimitivesLlm(v *ApiAnthropicConfig) ExecuteRequestAiPrimitivesLlm
- func ApiOpenAIConfigAsExecuteRequestAiPrimitivesLlm(v *ApiOpenAIConfig) ExecuteRequestAiPrimitivesLlm
- func HasuraLlmConfigAsExecuteRequestAiPrimitivesLlm(v *HasuraLlmConfig) ExecuteRequestAiPrimitivesLlm
- func NewExecuteRequestAiPrimitivesLlm(inner LlmInterface) ExecuteRequestAiPrimitivesLlm
- type ExecuteRequestArtifactsInner
- func TableArtifactAsExecuteRequestArtifactsInner(v *TableArtifact) ExecuteRequestArtifactsInner
- func TextArtifactAsExecuteRequestArtifactsInner(v *TextArtifact) ExecuteRequestArtifactsInner
- func VisualizationArtifactAsExecuteRequestArtifactsInner(v *VisualizationArtifact) ExecuteRequestArtifactsInner
- func (src ExecuteRequestArtifactsInner) AsTable() *TableArtifact
- func (src ExecuteRequestArtifactsInner) AsText() *TextArtifact
- func (src ExecuteRequestArtifactsInner) AsVisualization() *VisualizationArtifact
- func (src ExecuteRequestArtifactsInner) GetArtifactType() ArtifactType
- func (src ExecuteRequestArtifactsInner) GetIdentifier() string
- func (src ExecuteRequestArtifactsInner) Interface() ArtifactInterface
- func (src ExecuteRequestArtifactsInner) IsNil() bool
- func (src ExecuteRequestArtifactsInner) MarshalJSON() ([]byte, error)
- func (dst *ExecuteRequestArtifactsInner) UnmarshalJSON(data []byte) error
- type GenericOpenAPIError
- type HTTPValidationError
- func (o *HTTPValidationError) GetDetail() []ValidationError
- func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)
- func (o *HTTPValidationError) HasDetail() bool
- func (o HTTPValidationError) MarshalJSON() ([]byte, error)
- func (o *HTTPValidationError) SetDetail(v []ValidationError)
- func (o HTTPValidationError) ToMap() (map[string]interface{}, error)
- type HasuraLlmConfig
- func (o *HasuraLlmConfig) GetProvider() string
- func (o *HasuraLlmConfig) GetProviderOk() (*string, bool)
- func (o HasuraLlmConfig) MarshalJSON() ([]byte, error)
- func (o *HasuraLlmConfig) SetProvider(v string)
- func (o HasuraLlmConfig) ToMap() (map[string]interface{}, error)
- func (o *HasuraLlmConfig) UnmarshalJSON(data []byte) (err error)
- type Llm
- func (src Llm) AsAnthropic() *ApiAnthropicConfig
- func (src Llm) AsHasura() *HasuraLlmConfig
- func (src Llm) AsOpenAI() *ApiOpenAIConfig
- func (src Llm) Interface() LlmInterface
- func (src Llm) IsNil() bool
- func (src Llm) MarshalJSON() ([]byte, error)
- func (src Llm) String() string
- func (dst *Llm) UnmarshalJSON(data []byte) error
- type LlmInterface
- type LlmProviderType
- type LlmUsage
- func (o *LlmUsage) GetInputTokens() int32
- func (o *LlmUsage) GetInputTokensOk() (*int32, bool)
- func (o *LlmUsage) GetModel() string
- func (o *LlmUsage) GetModelOk() (*string, bool)
- func (o *LlmUsage) GetOutputTokens() int32
- func (o *LlmUsage) GetOutputTokensOk() (*int32, bool)
- func (o *LlmUsage) GetProvider() string
- func (o *LlmUsage) GetProviderOk() (*string, bool)
- func (o *LlmUsage) HasInputTokens() bool
- func (o *LlmUsage) HasModel() bool
- func (o *LlmUsage) HasOutputTokens() bool
- func (o *LlmUsage) HasProvider() bool
- func (o LlmUsage) MarshalJSON() ([]byte, error)
- func (o *LlmUsage) SetInputTokens(v int32)
- func (o *LlmUsage) SetModel(v string)
- func (o *LlmUsage) SetOutputTokens(v int32)
- func (o *LlmUsage) SetProvider(v string)
- func (o LlmUsage) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type NullableApiAnthropicConfig
- func (v NullableApiAnthropicConfig) Get() *ApiAnthropicConfig
- func (v NullableApiAnthropicConfig) IsSet() bool
- func (v NullableApiAnthropicConfig) MarshalJSON() ([]byte, error)
- func (v *NullableApiAnthropicConfig) Set(val *ApiAnthropicConfig)
- func (v *NullableApiAnthropicConfig) UnmarshalJSON(src []byte) error
- func (v *NullableApiAnthropicConfig) Unset()
- type NullableApiOpenAIConfig
- func (v NullableApiOpenAIConfig) Get() *ApiOpenAIConfig
- func (v NullableApiOpenAIConfig) IsSet() bool
- func (v NullableApiOpenAIConfig) MarshalJSON() ([]byte, error)
- func (v *NullableApiOpenAIConfig) Set(val *ApiOpenAIConfig)
- func (v *NullableApiOpenAIConfig) UnmarshalJSON(src []byte) error
- func (v *NullableApiOpenAIConfig) Unset()
- type NullableApiThreadAssistantAction
- func (v NullableApiThreadAssistantAction) Get() *ApiThreadAssistantAction
- func (v NullableApiThreadAssistantAction) IsSet() bool
- func (v NullableApiThreadAssistantAction) MarshalJSON() ([]byte, error)
- func (v *NullableApiThreadAssistantAction) Set(val *ApiThreadAssistantAction)
- func (v *NullableApiThreadAssistantAction) UnmarshalJSON(src []byte) error
- func (v *NullableApiThreadAssistantAction) Unset()
- type NullableApiThreadInteraction
- func (v NullableApiThreadInteraction) Get() *ApiThreadInteraction
- func (v NullableApiThreadInteraction) IsSet() bool
- func (v NullableApiThreadInteraction) MarshalJSON() ([]byte, error)
- func (v *NullableApiThreadInteraction) Set(val *ApiThreadInteraction)
- func (v *NullableApiThreadInteraction) UnmarshalJSON(src []byte) error
- func (v *NullableApiThreadInteraction) Unset()
- type NullableApiThreadUserMessage
- func (v NullableApiThreadUserMessage) Get() *ApiThreadUserMessage
- func (v NullableApiThreadUserMessage) IsSet() bool
- func (v NullableApiThreadUserMessage) MarshalJSON() ([]byte, error)
- func (v *NullableApiThreadUserMessage) Set(val *ApiThreadUserMessage)
- func (v *NullableApiThreadUserMessage) UnmarshalJSON(src []byte) error
- func (v *NullableApiThreadUserMessage) Unset()
- type NullableArtifactUpdateChunk
- func (v NullableArtifactUpdateChunk) Get() *ArtifactUpdateChunk
- func (v NullableArtifactUpdateChunk) IsSet() bool
- func (v NullableArtifactUpdateChunk) MarshalJSON() ([]byte, error)
- func (v *NullableArtifactUpdateChunk) Set(val *ArtifactUpdateChunk)
- func (v *NullableArtifactUpdateChunk) UnmarshalJSON(src []byte) error
- func (v *NullableArtifactUpdateChunk) Unset()
- type NullableAssistantActionChunk
- func (v NullableAssistantActionChunk) Get() *AssistantActionChunk
- func (v NullableAssistantActionChunk) IsSet() bool
- func (v NullableAssistantActionChunk) MarshalJSON() ([]byte, error)
- func (v *NullableAssistantActionChunk) Set(val *AssistantActionChunk)
- func (v *NullableAssistantActionChunk) UnmarshalJSON(src []byte) error
- func (v *NullableAssistantActionChunk) Unset()
- type NullableBool
- type NullableDdnConfig
- type NullableErrorChunk
- type NullableExecuteRequest
- func (v NullableExecuteRequest) Get() *ExecuteRequest
- func (v NullableExecuteRequest) IsSet() bool
- func (v NullableExecuteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableExecuteRequest) Set(val *ExecuteRequest)
- func (v *NullableExecuteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableExecuteRequest) Unset()
- type NullableExecuteRequestAiPrimitivesLlm
- func (v NullableExecuteRequestAiPrimitivesLlm) Get() *ExecuteRequestAiPrimitivesLlm
- func (v NullableExecuteRequestAiPrimitivesLlm) IsSet() bool
- func (v NullableExecuteRequestAiPrimitivesLlm) MarshalJSON() ([]byte, error)
- func (v *NullableExecuteRequestAiPrimitivesLlm) Set(val *ExecuteRequestAiPrimitivesLlm)
- func (v *NullableExecuteRequestAiPrimitivesLlm) UnmarshalJSON(src []byte) error
- func (v *NullableExecuteRequestAiPrimitivesLlm) Unset()
- type NullableExecuteRequestArtifactsInner
- func (v NullableExecuteRequestArtifactsInner) Get() *ExecuteRequestArtifactsInner
- func (v NullableExecuteRequestArtifactsInner) IsSet() bool
- func (v NullableExecuteRequestArtifactsInner) MarshalJSON() ([]byte, error)
- func (v *NullableExecuteRequestArtifactsInner) Set(val *ExecuteRequestArtifactsInner)
- func (v *NullableExecuteRequestArtifactsInner) UnmarshalJSON(src []byte) error
- func (v *NullableExecuteRequestArtifactsInner) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableHTTPValidationError
- func (v NullableHTTPValidationError) Get() *HTTPValidationError
- func (v NullableHTTPValidationError) IsSet() bool
- func (v NullableHTTPValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableHTTPValidationError) Set(val *HTTPValidationError)
- func (v *NullableHTTPValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableHTTPValidationError) Unset()
- type NullableHasuraLlmConfig
- func (v NullableHasuraLlmConfig) Get() *HasuraLlmConfig
- func (v NullableHasuraLlmConfig) IsSet() bool
- func (v NullableHasuraLlmConfig) MarshalJSON() ([]byte, error)
- func (v *NullableHasuraLlmConfig) Set(val *HasuraLlmConfig)
- func (v *NullableHasuraLlmConfig) UnmarshalJSON(src []byte) error
- func (v *NullableHasuraLlmConfig) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLlmUsage
- type NullablePromptQlExecutionResult
- func (v NullablePromptQlExecutionResult) Get() *PromptQlExecutionResult
- func (v NullablePromptQlExecutionResult) IsSet() bool
- func (v NullablePromptQlExecutionResult) MarshalJSON() ([]byte, error)
- func (v *NullablePromptQlExecutionResult) Set(val *PromptQlExecutionResult)
- func (v *NullablePromptQlExecutionResult) UnmarshalJSON(src []byte) error
- func (v *NullablePromptQlExecutionResult) Unset()
- type NullableQueryRequest
- func (v NullableQueryRequest) Get() *QueryRequest
- func (v NullableQueryRequest) IsSet() bool
- func (v NullableQueryRequest) MarshalJSON() ([]byte, error)
- func (v *NullableQueryRequest) Set(val *QueryRequest)
- func (v *NullableQueryRequest) UnmarshalJSON(src []byte) error
- func (v *NullableQueryRequest) Unset()
- type NullableQueryResponse
- func (v NullableQueryResponse) Get() *QueryResponse
- func (v NullableQueryResponse) IsSet() bool
- func (v NullableQueryResponse) MarshalJSON() ([]byte, error)
- func (v *NullableQueryResponse) Set(val *QueryResponse)
- func (v *NullableQueryResponse) UnmarshalJSON(src []byte) error
- func (v *NullableQueryResponse) Unset()
- type NullableQueryResponseChunk
- func (v NullableQueryResponseChunk) Get() *QueryResponseChunk
- func (v NullableQueryResponseChunk) IsSet() bool
- func (v NullableQueryResponseChunk) MarshalJSON() ([]byte, error)
- func (v *NullableQueryResponseChunk) Set(val *QueryResponseChunk)
- func (v *NullableQueryResponseChunk) UnmarshalJSON(src []byte) error
- func (v *NullableQueryResponseChunk) Unset()
- type NullableString
- type NullableTableArtifact
- func (v NullableTableArtifact) Get() *TableArtifact
- func (v NullableTableArtifact) IsSet() bool
- func (v NullableTableArtifact) MarshalJSON() ([]byte, error)
- func (v *NullableTableArtifact) Set(val *TableArtifact)
- func (v *NullableTableArtifact) UnmarshalJSON(src []byte) error
- func (v *NullableTableArtifact) Unset()
- type NullableTextArtifact
- func (v NullableTextArtifact) Get() *TextArtifact
- func (v NullableTextArtifact) IsSet() bool
- func (v NullableTextArtifact) MarshalJSON() ([]byte, error)
- func (v *NullableTextArtifact) Set(val *TextArtifact)
- func (v *NullableTextArtifact) UnmarshalJSON(src []byte) error
- func (v *NullableTextArtifact) Unset()
- type NullableThreadMetadataChunk
- func (v NullableThreadMetadataChunk) Get() *ThreadMetadataChunk
- func (v NullableThreadMetadataChunk) IsSet() bool
- func (v NullableThreadMetadataChunk) MarshalJSON() ([]byte, error)
- func (v *NullableThreadMetadataChunk) Set(val *ThreadMetadataChunk)
- func (v *NullableThreadMetadataChunk) UnmarshalJSON(src []byte) error
- func (v *NullableThreadMetadataChunk) Unset()
- type NullableTime
- type NullableValidationError
- func (v NullableValidationError) Get() *ValidationError
- func (v NullableValidationError) IsSet() bool
- func (v NullableValidationError) MarshalJSON() ([]byte, error)
- func (v *NullableValidationError) Set(val *ValidationError)
- func (v *NullableValidationError) UnmarshalJSON(src []byte) error
- func (v *NullableValidationError) Unset()
- type NullableValidationErrorLocInner
- func (v NullableValidationErrorLocInner) Get() *ValidationErrorLocInner
- func (v NullableValidationErrorLocInner) IsSet() bool
- func (v NullableValidationErrorLocInner) MarshalJSON() ([]byte, error)
- func (v *NullableValidationErrorLocInner) Set(val *ValidationErrorLocInner)
- func (v *NullableValidationErrorLocInner) UnmarshalJSON(src []byte) error
- func (v *NullableValidationErrorLocInner) Unset()
- type NullableVisualizationArtifact
- func (v NullableVisualizationArtifact) Get() *VisualizationArtifact
- func (v NullableVisualizationArtifact) IsSet() bool
- func (v NullableVisualizationArtifact) MarshalJSON() ([]byte, error)
- func (v *NullableVisualizationArtifact) Set(val *VisualizationArtifact)
- func (v *NullableVisualizationArtifact) UnmarshalJSON(src []byte) error
- func (v *NullableVisualizationArtifact) Unset()
- type NullableVisualizationArtifactData
- func (v NullableVisualizationArtifactData) Get() *VisualizationArtifactData
- func (v NullableVisualizationArtifactData) IsSet() bool
- func (v NullableVisualizationArtifactData) MarshalJSON() ([]byte, error)
- func (v *NullableVisualizationArtifactData) Set(val *VisualizationArtifactData)
- func (v *NullableVisualizationArtifactData) UnmarshalJSON(src []byte) error
- func (v *NullableVisualizationArtifactData) Unset()
- type PromptQlExecutionResult
- func (o *PromptQlExecutionResult) GetAccessedArtifactIds() []string
- func (o *PromptQlExecutionResult) GetAccessedArtifactIdsOk() ([]string, bool)
- func (o *PromptQlExecutionResult) GetError() string
- func (o *PromptQlExecutionResult) GetErrorOk() (*string, bool)
- func (o *PromptQlExecutionResult) GetLlmUsages() []LlmUsage
- func (o *PromptQlExecutionResult) GetLlmUsagesOk() ([]LlmUsage, bool)
- func (o *PromptQlExecutionResult) GetModifiedArtifacts() []ExecuteRequestArtifactsInner
- func (o *PromptQlExecutionResult) GetModifiedArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)
- func (o *PromptQlExecutionResult) GetOutput() string
- func (o *PromptQlExecutionResult) GetOutputOk() (*string, bool)
- func (o PromptQlExecutionResult) MarshalJSON() ([]byte, error)
- func (o *PromptQlExecutionResult) SetAccessedArtifactIds(v []string)
- func (o *PromptQlExecutionResult) SetError(v string)
- func (o *PromptQlExecutionResult) SetLlmUsages(v []LlmUsage)
- func (o *PromptQlExecutionResult) SetModifiedArtifacts(v []ExecuteRequestArtifactsInner)
- func (o *PromptQlExecutionResult) SetOutput(v string)
- func (o PromptQlExecutionResult) ToMap() (map[string]interface{}, error)
- func (o *PromptQlExecutionResult) UnmarshalJSON(data []byte) (err error)
- type QueryRequest
- func (o *QueryRequest) GetAiPrimitivesLlm() ExecuteRequestAiPrimitivesLlm
- func (o *QueryRequest) GetAiPrimitivesLlmOk() (*ExecuteRequestAiPrimitivesLlm, bool)
- func (o *QueryRequest) GetArtifacts() []ExecuteRequestArtifactsInner
- func (o *QueryRequest) GetArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)
- func (o *QueryRequest) GetDdn() DdnConfig
- func (o *QueryRequest) GetDdnOk() (*DdnConfig, bool)
- func (o *QueryRequest) GetInteractions() []ApiThreadInteraction
- func (o *QueryRequest) GetInteractionsOk() ([]ApiThreadInteraction, bool)
- func (o *QueryRequest) GetLlm() Llm
- func (o *QueryRequest) GetLlmOk() (*Llm, bool)
- func (o *QueryRequest) GetPromptqlApiKey() string
- func (o *QueryRequest) GetPromptqlApiKeyOk() (*string, bool)
- func (o *QueryRequest) GetStream() bool
- func (o *QueryRequest) GetStreamOk() (*bool, bool)
- func (o *QueryRequest) GetSystemInstructions() string
- func (o *QueryRequest) GetSystemInstructionsOk() (*string, bool)
- func (o *QueryRequest) GetTimezone() string
- func (o *QueryRequest) GetTimezoneOk() (*string, bool)
- func (o *QueryRequest) GetVersion() string
- func (o *QueryRequest) GetVersionOk() (*string, bool)
- func (o *QueryRequest) HasAiPrimitivesLlm() bool
- func (o *QueryRequest) HasArtifacts() bool
- func (o *QueryRequest) HasLlm() bool
- func (o *QueryRequest) HasPromptqlApiKey() bool
- func (o *QueryRequest) HasSystemInstructions() bool
- func (o QueryRequest) MarshalJSON() ([]byte, error)
- func (o *QueryRequest) SetAiPrimitivesLlm(v ExecuteRequestAiPrimitivesLlm)
- func (o *QueryRequest) SetAiPrimitivesLlmNil()
- func (o *QueryRequest) SetArtifacts(v []ExecuteRequestArtifactsInner)
- func (o *QueryRequest) SetDdn(v DdnConfig)
- func (o *QueryRequest) SetInteractions(v []ApiThreadInteraction)
- func (o *QueryRequest) SetLlm(v Llm)
- func (o *QueryRequest) SetPromptqlApiKey(v string)
- func (o *QueryRequest) SetPromptqlApiKeyNil()
- func (o *QueryRequest) SetStream(v bool)
- func (o *QueryRequest) SetSystemInstructions(v string)
- func (o *QueryRequest) SetSystemInstructionsNil()
- func (o *QueryRequest) SetTimezone(v string)
- func (o *QueryRequest) SetVersion(v string)
- func (o QueryRequest) ToMap() (map[string]interface{}, error)
- func (o *QueryRequest) UnmarshalJSON(data []byte) (err error)
- func (o *QueryRequest) UnsetAiPrimitivesLlm()
- func (o *QueryRequest) UnsetPromptqlApiKey()
- func (o *QueryRequest) UnsetSystemInstructions()
- type QueryResponse
- func (o *QueryResponse) GetAssistantActions() []ApiThreadAssistantAction
- func (o *QueryResponse) GetAssistantActionsOk() ([]ApiThreadAssistantAction, bool)
- func (o *QueryResponse) GetModifiedArtifacts() []ExecuteRequestArtifactsInner
- func (o *QueryResponse) GetModifiedArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)
- func (o *QueryResponse) GetThreadId() string
- func (o *QueryResponse) GetThreadIdOk() (*string, bool)
- func (o QueryResponse) MarshalJSON() ([]byte, error)
- func (o *QueryResponse) SetAssistantActions(v []ApiThreadAssistantAction)
- func (o *QueryResponse) SetModifiedArtifacts(v []ExecuteRequestArtifactsInner)
- func (o *QueryResponse) SetThreadId(v string)
- func (o QueryResponse) ToMap() (map[string]interface{}, error)
- func (o *QueryResponse) UnmarshalJSON(data []byte) (err error)
- type QueryResponseChunk
- func ArtifactUpdateChunkAsQueryResponseChunk(v *ArtifactUpdateChunk) QueryResponseChunk
- func AssistantActionChunkAsQueryResponseChunk(v *AssistantActionChunk) QueryResponseChunk
- func ErrorChunkAsQueryResponseChunk(v *ErrorChunk) QueryResponseChunk
- func ThreadMetadataChunkAsQueryResponseChunk(v *ThreadMetadataChunk) QueryResponseChunk
- func (src QueryResponseChunk) AsArtifactUpdateChunk() *ArtifactUpdateChunk
- func (src QueryResponseChunk) AsAssistantActionChunk() *AssistantActionChunk
- func (src QueryResponseChunk) AsErrorChunk() *ErrorChunk
- func (src QueryResponseChunk) AsThreadMetadataChunk() *ThreadMetadataChunk
- func (src QueryResponseChunk) Interface() QueryResponseChunkInterface
- func (src QueryResponseChunk) IsNil() bool
- func (src QueryResponseChunk) MarshalJSON() ([]byte, error)
- func (src QueryResponseChunk) String() string
- func (dst *QueryResponseChunk) UnmarshalJSON(data []byte) error
- type QueryResponseChunkInterface
- type QueryResponseChunkType
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type TableArtifact
- func (o *TableArtifact) GetArtifactType() string
- func (o *TableArtifact) GetArtifactTypeOk() (*string, bool)
- func (o *TableArtifact) GetData() []map[string]interface{}
- func (o *TableArtifact) GetDataOk() ([]map[string]interface{}, bool)
- func (o *TableArtifact) GetIdentifier() string
- func (o *TableArtifact) GetIdentifierOk() (*string, bool)
- func (o *TableArtifact) GetTitle() string
- func (o *TableArtifact) GetTitleOk() (*string, bool)
- func (o TableArtifact) MarshalJSON() ([]byte, error)
- func (o *TableArtifact) SetArtifactType(v string)
- func (o *TableArtifact) SetData(v []map[string]interface{})
- func (o *TableArtifact) SetIdentifier(v string)
- func (o *TableArtifact) SetTitle(v string)
- func (o TableArtifact) ToMap() (map[string]interface{}, error)
- func (o *TableArtifact) UnmarshalJSON(data []byte) (err error)
- type TextArtifact
- func (o *TextArtifact) GetArtifactType() string
- func (o *TextArtifact) GetArtifactTypeOk() (*string, bool)
- func (o *TextArtifact) GetData() string
- func (o *TextArtifact) GetDataOk() (*string, bool)
- func (o *TextArtifact) GetIdentifier() string
- func (o *TextArtifact) GetIdentifierOk() (*string, bool)
- func (o *TextArtifact) GetTitle() string
- func (o *TextArtifact) GetTitleOk() (*string, bool)
- func (o TextArtifact) MarshalJSON() ([]byte, error)
- func (o *TextArtifact) SetArtifactType(v string)
- func (o *TextArtifact) SetData(v string)
- func (o *TextArtifact) SetIdentifier(v string)
- func (o *TextArtifact) SetTitle(v string)
- func (o TextArtifact) ToMap() (map[string]interface{}, error)
- func (o *TextArtifact) UnmarshalJSON(data []byte) (err error)
- type ThreadMetadataChunk
- func (o *ThreadMetadataChunk) GetThreadId() string
- func (o *ThreadMetadataChunk) GetThreadIdOk() (*string, bool)
- func (o *ThreadMetadataChunk) GetType() string
- func (o *ThreadMetadataChunk) GetTypeOk() (*string, bool)
- func (o ThreadMetadataChunk) MarshalJSON() ([]byte, error)
- func (o *ThreadMetadataChunk) SetThreadId(v string)
- func (o *ThreadMetadataChunk) SetType(v string)
- func (o ThreadMetadataChunk) ToMap() (map[string]interface{}, error)
- func (o *ThreadMetadataChunk) UnmarshalJSON(data []byte) (err error)
- type ValidationError
- func (o *ValidationError) GetLoc() []ValidationErrorLocInner
- func (o *ValidationError) GetLocOk() ([]ValidationErrorLocInner, bool)
- func (o *ValidationError) GetMsg() string
- func (o *ValidationError) GetMsgOk() (*string, bool)
- func (o *ValidationError) GetType() string
- func (o *ValidationError) GetTypeOk() (*string, bool)
- func (o ValidationError) MarshalJSON() ([]byte, error)
- func (o *ValidationError) SetLoc(v []ValidationErrorLocInner)
- func (o *ValidationError) SetMsg(v string)
- func (o *ValidationError) SetType(v string)
- func (o ValidationError) ToMap() (map[string]interface{}, error)
- func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
- type ValidationErrorLocInner
- type VisualizationArtifact
- func (o *VisualizationArtifact) GetArtifactType() string
- func (o *VisualizationArtifact) GetArtifactTypeOk() (*string, bool)
- func (o *VisualizationArtifact) GetData() VisualizationArtifactData
- func (o *VisualizationArtifact) GetDataOk() (*VisualizationArtifactData, bool)
- func (o *VisualizationArtifact) GetIdentifier() string
- func (o *VisualizationArtifact) GetIdentifierOk() (*string, bool)
- func (o *VisualizationArtifact) GetTitle() string
- func (o *VisualizationArtifact) GetTitleOk() (*string, bool)
- func (o VisualizationArtifact) MarshalJSON() ([]byte, error)
- func (o *VisualizationArtifact) SetArtifactType(v string)
- func (o *VisualizationArtifact) SetData(v VisualizationArtifactData)
- func (o *VisualizationArtifact) SetIdentifier(v string)
- func (o *VisualizationArtifact) SetTitle(v string)
- func (o VisualizationArtifact) ToMap() (map[string]interface{}, error)
- func (o *VisualizationArtifact) UnmarshalJSON(data []byte) (err error)
- type VisualizationArtifactData
- func (o *VisualizationArtifactData) GetHtml() string
- func (o *VisualizationArtifactData) GetHtmlOk() (*string, bool)
- func (o *VisualizationArtifactData) GetVisualizationData() interface{}
- func (o *VisualizationArtifactData) GetVisualizationDataOk() (*interface{}, bool)
- func (o VisualizationArtifactData) MarshalJSON() ([]byte, error)
- func (o *VisualizationArtifactData) SetHtml(v string)
- func (o *VisualizationArtifactData) SetVisualizationData(v interface{})
- func (o VisualizationArtifactData) ToMap() (map[string]interface{}, error)
- func (o *VisualizationArtifactData) UnmarshalJSON(data []byte) (err error)
Constants ¶
const ( LlmProviderAnthropic = "anthropic" LlmProviderHasura = "hasura" LlmProviderOpenAI = "openai" )
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
var ( // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DefaultAPI *DefaultAPIService // contains filtered or unexported fields }
APIClient manages communication with the PromptQL API API v0.0.1 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiAnthropicConfig ¶
type ApiAnthropicConfig struct { Provider string `json:"provider"` Model NullableString `json:"model,omitempty"` BaseUrl NullableString `json:"base_url,omitempty"` ApiKey string `json:"api_key"` }
ApiAnthropicConfig struct for ApiAnthropicConfig
func NewApiAnthropicConfig ¶
func NewApiAnthropicConfig(provider string, apiKey string) *ApiAnthropicConfig
NewApiAnthropicConfig instantiates a new ApiAnthropicConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiAnthropicConfigWithDefaults ¶
func NewApiAnthropicConfigWithDefaults() *ApiAnthropicConfig
NewApiAnthropicConfigWithDefaults instantiates a new ApiAnthropicConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiAnthropicConfig) GetApiKey ¶
func (o *ApiAnthropicConfig) GetApiKey() string
GetApiKey returns the ApiKey field value
func (*ApiAnthropicConfig) GetApiKeyOk ¶
func (o *ApiAnthropicConfig) GetApiKeyOk() (*string, bool)
GetApiKeyOk returns a tuple with the ApiKey field value and a boolean to check if the value has been set.
func (*ApiAnthropicConfig) GetBaseUrl ¶
func (o *ApiAnthropicConfig) GetBaseUrl() string
GetBaseUrl returns the BaseUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiAnthropicConfig) GetBaseUrlOk ¶
func (o *ApiAnthropicConfig) GetBaseUrlOk() (*string, bool)
GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiAnthropicConfig) GetModel ¶
func (o *ApiAnthropicConfig) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiAnthropicConfig) GetModelOk ¶
func (o *ApiAnthropicConfig) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiAnthropicConfig) GetProvider ¶
func (o *ApiAnthropicConfig) GetProvider() string
GetProvider returns the Provider field value
func (*ApiAnthropicConfig) GetProviderOk ¶
func (o *ApiAnthropicConfig) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*ApiAnthropicConfig) HasBaseUrl ¶
func (o *ApiAnthropicConfig) HasBaseUrl() bool
HasBaseUrl returns a boolean if a field has been set.
func (*ApiAnthropicConfig) HasModel ¶
func (o *ApiAnthropicConfig) HasModel() bool
HasModel returns a boolean if a field has been set.
func (ApiAnthropicConfig) MarshalJSON ¶
func (o ApiAnthropicConfig) MarshalJSON() ([]byte, error)
func (*ApiAnthropicConfig) SetApiKey ¶
func (o *ApiAnthropicConfig) SetApiKey(v string)
SetApiKey sets field value
func (*ApiAnthropicConfig) SetBaseUrl ¶
func (o *ApiAnthropicConfig) SetBaseUrl(v string)
SetBaseUrl gets a reference to the given NullableString and assigns it to the BaseUrl field.
func (*ApiAnthropicConfig) SetBaseUrlNil ¶
func (o *ApiAnthropicConfig) SetBaseUrlNil()
SetBaseUrlNil sets the value for BaseUrl to be an explicit nil
func (*ApiAnthropicConfig) SetModel ¶
func (o *ApiAnthropicConfig) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*ApiAnthropicConfig) SetModelNil ¶
func (o *ApiAnthropicConfig) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*ApiAnthropicConfig) SetProvider ¶
func (o *ApiAnthropicConfig) SetProvider(v string)
SetProvider sets field value
func (ApiAnthropicConfig) ToMap ¶
func (o ApiAnthropicConfig) ToMap() (map[string]interface{}, error)
func (*ApiAnthropicConfig) UnmarshalJSON ¶
func (o *ApiAnthropicConfig) UnmarshalJSON(data []byte) (err error)
func (*ApiAnthropicConfig) UnsetBaseUrl ¶
func (o *ApiAnthropicConfig) UnsetBaseUrl()
UnsetBaseUrl ensures that no value is present for BaseUrl, not even an explicit nil
func (*ApiAnthropicConfig) UnsetModel ¶
func (o *ApiAnthropicConfig) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
type ApiExecuteProgramExecuteProgramPostRequest ¶
type ApiExecuteProgramExecuteProgramPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiExecuteProgramExecuteProgramPostRequest) Execute ¶
func (r ApiExecuteProgramExecuteProgramPostRequest) Execute() (*PromptQlExecutionResult, *http.Response, error)
func (ApiExecuteProgramExecuteProgramPostRequest) ExecuteRequest ¶
func (r ApiExecuteProgramExecuteProgramPostRequest) ExecuteRequest(executeRequest ExecuteRequest) ApiExecuteProgramExecuteProgramPostRequest
type ApiOpenAIConfig ¶
type ApiOpenAIConfig struct { Provider string `json:"provider"` Model NullableString `json:"model,omitempty"` BaseUrl NullableString `json:"base_url,omitempty"` ApiKey string `json:"api_key"` }
ApiOpenAIConfig struct for ApiOpenAIConfig
func NewApiOpenAIConfig ¶
func NewApiOpenAIConfig(provider string, apiKey string) *ApiOpenAIConfig
NewApiOpenAIConfig instantiates a new ApiOpenAIConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiOpenAIConfigWithDefaults ¶
func NewApiOpenAIConfigWithDefaults() *ApiOpenAIConfig
NewApiOpenAIConfigWithDefaults instantiates a new ApiOpenAIConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiOpenAIConfig) GetApiKey ¶
func (o *ApiOpenAIConfig) GetApiKey() string
GetApiKey returns the ApiKey field value
func (*ApiOpenAIConfig) GetApiKeyOk ¶
func (o *ApiOpenAIConfig) GetApiKeyOk() (*string, bool)
GetApiKeyOk returns a tuple with the ApiKey field value and a boolean to check if the value has been set.
func (*ApiOpenAIConfig) GetBaseUrl ¶
func (o *ApiOpenAIConfig) GetBaseUrl() string
GetBaseUrl returns the BaseUrl field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiOpenAIConfig) GetBaseUrlOk ¶
func (o *ApiOpenAIConfig) GetBaseUrlOk() (*string, bool)
GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiOpenAIConfig) GetModel ¶
func (o *ApiOpenAIConfig) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiOpenAIConfig) GetModelOk ¶
func (o *ApiOpenAIConfig) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiOpenAIConfig) GetProvider ¶
func (o *ApiOpenAIConfig) GetProvider() string
GetProvider returns the Provider field value
func (*ApiOpenAIConfig) GetProviderOk ¶
func (o *ApiOpenAIConfig) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (*ApiOpenAIConfig) HasBaseUrl ¶
func (o *ApiOpenAIConfig) HasBaseUrl() bool
HasBaseUrl returns a boolean if a field has been set.
func (*ApiOpenAIConfig) HasModel ¶
func (o *ApiOpenAIConfig) HasModel() bool
HasModel returns a boolean if a field has been set.
func (ApiOpenAIConfig) MarshalJSON ¶
func (o ApiOpenAIConfig) MarshalJSON() ([]byte, error)
func (*ApiOpenAIConfig) SetApiKey ¶
func (o *ApiOpenAIConfig) SetApiKey(v string)
SetApiKey sets field value
func (*ApiOpenAIConfig) SetBaseUrl ¶
func (o *ApiOpenAIConfig) SetBaseUrl(v string)
SetBaseUrl gets a reference to the given NullableString and assigns it to the BaseUrl field.
func (*ApiOpenAIConfig) SetBaseUrlNil ¶
func (o *ApiOpenAIConfig) SetBaseUrlNil()
SetBaseUrlNil sets the value for BaseUrl to be an explicit nil
func (*ApiOpenAIConfig) SetModel ¶
func (o *ApiOpenAIConfig) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*ApiOpenAIConfig) SetModelNil ¶
func (o *ApiOpenAIConfig) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*ApiOpenAIConfig) SetProvider ¶
func (o *ApiOpenAIConfig) SetProvider(v string)
SetProvider sets field value
func (ApiOpenAIConfig) ToMap ¶
func (o ApiOpenAIConfig) ToMap() (map[string]interface{}, error)
func (*ApiOpenAIConfig) UnmarshalJSON ¶
func (o *ApiOpenAIConfig) UnmarshalJSON(data []byte) (err error)
func (*ApiOpenAIConfig) UnsetBaseUrl ¶
func (o *ApiOpenAIConfig) UnsetBaseUrl()
UnsetBaseUrl ensures that no value is present for BaseUrl, not even an explicit nil
func (*ApiOpenAIConfig) UnsetModel ¶
func (o *ApiOpenAIConfig) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
type ApiQueryQueryPostRequest ¶
type ApiQueryQueryPostRequest struct { ApiService *DefaultAPIService // contains filtered or unexported fields }
func (ApiQueryQueryPostRequest) Execute ¶
func (r ApiQueryQueryPostRequest) Execute() (*QueryResponse, *http.Response, error)
func (ApiQueryQueryPostRequest) QueryRequest ¶
func (r ApiQueryQueryPostRequest) QueryRequest(queryRequest QueryRequest) ApiQueryQueryPostRequest
type ApiThreadAssistantAction ¶ added in v0.2.0
type ApiThreadAssistantAction struct { Message NullableString `json:"message,omitempty"` Plan NullableString `json:"plan,omitempty"` Code NullableString `json:"code,omitempty"` CodeOutput NullableString `json:"code_output,omitempty"` CodeError NullableString `json:"code_error,omitempty"` }
ApiThreadAssistantAction struct for ApiThreadAssistantAction
func NewApiThreadAssistantAction ¶ added in v0.2.0
func NewApiThreadAssistantAction() *ApiThreadAssistantAction
NewApiThreadAssistantAction instantiates a new ApiThreadAssistantAction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiThreadAssistantActionWithDefaults ¶ added in v0.2.0
func NewApiThreadAssistantActionWithDefaults() *ApiThreadAssistantAction
NewApiThreadAssistantActionWithDefaults instantiates a new ApiThreadAssistantAction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiThreadAssistantAction) GetCode ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetCode() string
GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiThreadAssistantAction) GetCodeError ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetCodeError() string
GetCodeError returns the CodeError field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiThreadAssistantAction) GetCodeErrorOk ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetCodeErrorOk() (*string, bool)
GetCodeErrorOk returns a tuple with the CodeError field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiThreadAssistantAction) GetCodeOk ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiThreadAssistantAction) GetCodeOutput ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetCodeOutput() string
GetCodeOutput returns the CodeOutput field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiThreadAssistantAction) GetCodeOutputOk ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetCodeOutputOk() (*string, bool)
GetCodeOutputOk returns a tuple with the CodeOutput field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiThreadAssistantAction) GetMessage ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiThreadAssistantAction) GetMessageOk ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiThreadAssistantAction) GetPlan ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetPlan() string
GetPlan returns the Plan field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ApiThreadAssistantAction) GetPlanOk ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) GetPlanOk() (*string, bool)
GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ApiThreadAssistantAction) HasCode ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*ApiThreadAssistantAction) HasCodeError ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) HasCodeError() bool
HasCodeError returns a boolean if a field has been set.
func (*ApiThreadAssistantAction) HasCodeOutput ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) HasCodeOutput() bool
HasCodeOutput returns a boolean if a field has been set.
func (*ApiThreadAssistantAction) HasMessage ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*ApiThreadAssistantAction) HasPlan ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) HasPlan() bool
HasPlan returns a boolean if a field has been set.
func (ApiThreadAssistantAction) MarshalJSON ¶ added in v0.2.0
func (o ApiThreadAssistantAction) MarshalJSON() ([]byte, error)
func (*ApiThreadAssistantAction) SetCode ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetCode(v string)
SetCode gets a reference to the given NullableString and assigns it to the Code field.
func (*ApiThreadAssistantAction) SetCodeError ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetCodeError(v string)
SetCodeError gets a reference to the given NullableString and assigns it to the CodeError field.
func (*ApiThreadAssistantAction) SetCodeErrorNil ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetCodeErrorNil()
SetCodeErrorNil sets the value for CodeError to be an explicit nil
func (*ApiThreadAssistantAction) SetCodeNil ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetCodeNil()
SetCodeNil sets the value for Code to be an explicit nil
func (*ApiThreadAssistantAction) SetCodeOutput ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetCodeOutput(v string)
SetCodeOutput gets a reference to the given NullableString and assigns it to the CodeOutput field.
func (*ApiThreadAssistantAction) SetCodeOutputNil ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetCodeOutputNil()
SetCodeOutputNil sets the value for CodeOutput to be an explicit nil
func (*ApiThreadAssistantAction) SetMessage ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetMessage(v string)
SetMessage gets a reference to the given NullableString and assigns it to the Message field.
func (*ApiThreadAssistantAction) SetMessageNil ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetMessageNil()
SetMessageNil sets the value for Message to be an explicit nil
func (*ApiThreadAssistantAction) SetPlan ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetPlan(v string)
SetPlan gets a reference to the given NullableString and assigns it to the Plan field.
func (*ApiThreadAssistantAction) SetPlanNil ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) SetPlanNil()
SetPlanNil sets the value for Plan to be an explicit nil
func (ApiThreadAssistantAction) ToMap ¶ added in v0.2.0
func (o ApiThreadAssistantAction) ToMap() (map[string]interface{}, error)
func (*ApiThreadAssistantAction) UnsetCode ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) UnsetCode()
UnsetCode ensures that no value is present for Code, not even an explicit nil
func (*ApiThreadAssistantAction) UnsetCodeError ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) UnsetCodeError()
UnsetCodeError ensures that no value is present for CodeError, not even an explicit nil
func (*ApiThreadAssistantAction) UnsetCodeOutput ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) UnsetCodeOutput()
UnsetCodeOutput ensures that no value is present for CodeOutput, not even an explicit nil
func (*ApiThreadAssistantAction) UnsetMessage ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) UnsetMessage()
UnsetMessage ensures that no value is present for Message, not even an explicit nil
func (*ApiThreadAssistantAction) UnsetPlan ¶ added in v0.2.0
func (o *ApiThreadAssistantAction) UnsetPlan()
UnsetPlan ensures that no value is present for Plan, not even an explicit nil
type ApiThreadInteraction ¶ added in v0.2.0
type ApiThreadInteraction struct { UserMessage ApiThreadUserMessage `json:"user_message"` AssistantActions []ApiThreadAssistantAction `json:"assistant_actions,omitempty"` }
ApiThreadInteraction struct for ApiThreadInteraction
func NewApiThreadInteraction ¶ added in v0.2.0
func NewApiThreadInteraction(userMessage ApiThreadUserMessage) *ApiThreadInteraction
NewApiThreadInteraction instantiates a new ApiThreadInteraction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiThreadInteractionWithDefaults ¶ added in v0.2.0
func NewApiThreadInteractionWithDefaults() *ApiThreadInteraction
NewApiThreadInteractionWithDefaults instantiates a new ApiThreadInteraction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiThreadInteraction) GetAssistantActions ¶ added in v0.2.0
func (o *ApiThreadInteraction) GetAssistantActions() []ApiThreadAssistantAction
GetAssistantActions returns the AssistantActions field value if set, zero value otherwise.
func (*ApiThreadInteraction) GetAssistantActionsOk ¶ added in v0.2.0
func (o *ApiThreadInteraction) GetAssistantActionsOk() ([]ApiThreadAssistantAction, bool)
GetAssistantActionsOk returns a tuple with the AssistantActions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ApiThreadInteraction) GetUserMessage ¶ added in v0.2.0
func (o *ApiThreadInteraction) GetUserMessage() ApiThreadUserMessage
GetUserMessage returns the UserMessage field value
func (*ApiThreadInteraction) GetUserMessageOk ¶ added in v0.2.0
func (o *ApiThreadInteraction) GetUserMessageOk() (*ApiThreadUserMessage, bool)
GetUserMessageOk returns a tuple with the UserMessage field value and a boolean to check if the value has been set.
func (*ApiThreadInteraction) HasAssistantActions ¶ added in v0.2.0
func (o *ApiThreadInteraction) HasAssistantActions() bool
HasAssistantActions returns a boolean if a field has been set.
func (ApiThreadInteraction) MarshalJSON ¶ added in v0.2.0
func (o ApiThreadInteraction) MarshalJSON() ([]byte, error)
func (*ApiThreadInteraction) SetAssistantActions ¶ added in v0.2.0
func (o *ApiThreadInteraction) SetAssistantActions(v []ApiThreadAssistantAction)
SetAssistantActions gets a reference to the given []ApiThreadAssistantAction and assigns it to the AssistantActions field.
func (*ApiThreadInteraction) SetUserMessage ¶ added in v0.2.0
func (o *ApiThreadInteraction) SetUserMessage(v ApiThreadUserMessage)
SetUserMessage sets field value
func (ApiThreadInteraction) ToMap ¶ added in v0.2.0
func (o ApiThreadInteraction) ToMap() (map[string]interface{}, error)
func (*ApiThreadInteraction) UnmarshalJSON ¶ added in v0.2.0
func (o *ApiThreadInteraction) UnmarshalJSON(data []byte) (err error)
type ApiThreadUserMessage ¶ added in v0.2.0
type ApiThreadUserMessage struct {
Text string `json:"text"`
}
ApiThreadUserMessage struct for ApiThreadUserMessage
func NewApiThreadUserMessage ¶ added in v0.2.0
func NewApiThreadUserMessage(text string) *ApiThreadUserMessage
NewApiThreadUserMessage instantiates a new ApiThreadUserMessage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiThreadUserMessageWithDefaults ¶ added in v0.2.0
func NewApiThreadUserMessageWithDefaults() *ApiThreadUserMessage
NewApiThreadUserMessageWithDefaults instantiates a new ApiThreadUserMessage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiThreadUserMessage) GetText ¶ added in v0.2.0
func (o *ApiThreadUserMessage) GetText() string
GetText returns the Text field value
func (*ApiThreadUserMessage) GetTextOk ¶ added in v0.2.0
func (o *ApiThreadUserMessage) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (ApiThreadUserMessage) MarshalJSON ¶ added in v0.2.0
func (o ApiThreadUserMessage) MarshalJSON() ([]byte, error)
func (*ApiThreadUserMessage) SetText ¶ added in v0.2.0
func (o *ApiThreadUserMessage) SetText(v string)
SetText sets field value
func (ApiThreadUserMessage) ToMap ¶ added in v0.2.0
func (o ApiThreadUserMessage) ToMap() (map[string]interface{}, error)
func (*ApiThreadUserMessage) UnmarshalJSON ¶ added in v0.2.0
func (o *ApiThreadUserMessage) UnmarshalJSON(data []byte) (err error)
type Artifact ¶
type Artifact struct {
// contains filtered or unexported fields
}
Artifact represents a artifact response item that is one of table, table or visualization artifact.
func NewArtifact ¶
func NewArtifact[A ArtifactInterface](v A) Artifact
NewArtifact creates a general Artifact.
func TableArtifactAsArtifact ¶
func TableArtifactAsArtifact(v *TableArtifact) Artifact
TableArtifactAsArtifact is a convenience function that returns TableArtifact wrapped in Artifact.
func TextArtifactAsArtifact ¶
func TextArtifactAsArtifact(v *TextArtifact) Artifact
TextArtifactAsArtifact is a convenience function that returns TextArtifact wrapped in Artifact.
func VisualizationArtifactAsArtifact ¶
func VisualizationArtifactAsArtifact(v *VisualizationArtifact) Artifact
VisualizationArtifactAsArtifact is a convenience function that returns VisualizationArtifact wrapped in Artifact.
func (Artifact) AsTable ¶
func (src Artifact) AsTable() *TableArtifact
AsText converts the instance to a nullable TableArtifact.
func (Artifact) AsText ¶
func (src Artifact) AsText() *TextArtifact
AsText returns the instance as a nullable TextArtifact.
func (Artifact) AsVisualization ¶
func (src Artifact) AsVisualization() *VisualizationArtifact
AsText converts the instance to a nullable VisualizationArtifact.
func (Artifact) GetArtifactType ¶
func (src Artifact) GetArtifactType() ArtifactType
GetArtifactType returns the artifact type of the underlying type.
func (Artifact) GetIdentifier ¶
GetIdentifier returns the identifier of the underlying type.
func (Artifact) Interface ¶
func (src Artifact) Interface() ArtifactInterface
Interface returns the inner interface.
func (Artifact) MarshalJSON ¶
MarshalJSON Marshal data from the first non-nil pointers in the struct to JSON.
func (*Artifact) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct.
type ArtifactInterface ¶
ArtifactInterface abstracts the inner artifact object.
type ArtifactType ¶
type ArtifactType string
ArtifactType represents an artifact type enum.
const ( ArtifactTypeText ArtifactType = "text" ArtifactTypeTable ArtifactType = "table" ArtifactTypeVisualization ArtifactType = "visualization" )
func ParseArtifactType ¶
func ParseArtifactType(input string) (ArtifactType, error)
ParseArtifactType parses the artifact type enum from string.
func (*ArtifactType) UnmarshalJSON ¶
func (dst *ArtifactType) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the enum.
type ArtifactUpdateChunk ¶
ArtifactUpdateChunk struct for ArtifactUpdateChunk
func NewArtifactUpdateChunk ¶
func NewArtifactUpdateChunk(type_ string, artifact Artifact) *ArtifactUpdateChunk
NewArtifactUpdateChunk instantiates a new ArtifactUpdateChunk object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewArtifactUpdateChunkWithDefaults ¶
func NewArtifactUpdateChunkWithDefaults() *ArtifactUpdateChunk
NewArtifactUpdateChunkWithDefaults instantiates a new ArtifactUpdateChunk object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ArtifactUpdateChunk) GetArtifact ¶
func (o *ArtifactUpdateChunk) GetArtifact() Artifact
GetArtifact returns the Artifact field value
func (*ArtifactUpdateChunk) GetArtifactOk ¶
func (o *ArtifactUpdateChunk) GetArtifactOk() (*Artifact, bool)
GetArtifactOk returns a tuple with the Artifact field value and a boolean to check if the value has been set.
func (*ArtifactUpdateChunk) GetType ¶
func (o *ArtifactUpdateChunk) GetType() string
GetType returns the Type field value
func (*ArtifactUpdateChunk) GetTypeOk ¶
func (o *ArtifactUpdateChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ArtifactUpdateChunk) MarshalJSON ¶
func (o ArtifactUpdateChunk) MarshalJSON() ([]byte, error)
func (*ArtifactUpdateChunk) SetArtifact ¶
func (o *ArtifactUpdateChunk) SetArtifact(v Artifact)
SetArtifact sets field value
func (*ArtifactUpdateChunk) SetType ¶
func (o *ArtifactUpdateChunk) SetType(v string)
SetType sets field value
func (ArtifactUpdateChunk) ToMap ¶
func (o ArtifactUpdateChunk) ToMap() (map[string]interface{}, error)
func (*ArtifactUpdateChunk) UnmarshalJSON ¶
func (o *ArtifactUpdateChunk) UnmarshalJSON(data []byte) (err error)
type AssistantActionChunk ¶
type AssistantActionChunk struct { Message NullableString `json:"message,omitempty"` Plan NullableString `json:"plan,omitempty"` Code NullableString `json:"code,omitempty"` CodeOutput NullableString `json:"code_output,omitempty"` CodeError NullableString `json:"code_error,omitempty"` Type string `json:"type"` Index int32 `json:"index"` }
AssistantActionChunk struct for AssistantActionChunk
func NewAssistantActionChunk ¶
func NewAssistantActionChunk(type_ string, index int32) *AssistantActionChunk
NewAssistantActionChunk instantiates a new AssistantActionChunk object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAssistantActionChunkWithDefaults ¶
func NewAssistantActionChunkWithDefaults() *AssistantActionChunk
NewAssistantActionChunkWithDefaults instantiates a new AssistantActionChunk object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AssistantActionChunk) GetCode ¶
func (o *AssistantActionChunk) GetCode() string
GetCode returns the Code field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssistantActionChunk) GetCodeError ¶
func (o *AssistantActionChunk) GetCodeError() string
GetCodeError returns the CodeError field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssistantActionChunk) GetCodeErrorOk ¶
func (o *AssistantActionChunk) GetCodeErrorOk() (*string, bool)
GetCodeErrorOk returns a tuple with the CodeError field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssistantActionChunk) GetCodeOk ¶
func (o *AssistantActionChunk) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssistantActionChunk) GetCodeOutput ¶
func (o *AssistantActionChunk) GetCodeOutput() string
GetCodeOutput returns the CodeOutput field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssistantActionChunk) GetCodeOutputOk ¶
func (o *AssistantActionChunk) GetCodeOutputOk() (*string, bool)
GetCodeOutputOk returns a tuple with the CodeOutput field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssistantActionChunk) GetIndex ¶
func (o *AssistantActionChunk) GetIndex() int32
GetIndex returns the Index field value
func (*AssistantActionChunk) GetIndexOk ¶
func (o *AssistantActionChunk) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*AssistantActionChunk) GetMessage ¶
func (o *AssistantActionChunk) GetMessage() string
GetMessage returns the Message field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssistantActionChunk) GetMessageOk ¶
func (o *AssistantActionChunk) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssistantActionChunk) GetPlan ¶
func (o *AssistantActionChunk) GetPlan() string
GetPlan returns the Plan field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssistantActionChunk) GetPlanOk ¶
func (o *AssistantActionChunk) GetPlanOk() (*string, bool)
GetPlanOk returns a tuple with the Plan field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*AssistantActionChunk) GetType ¶
func (o *AssistantActionChunk) GetType() string
GetType returns the Type field value
func (*AssistantActionChunk) GetTypeOk ¶
func (o *AssistantActionChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*AssistantActionChunk) HasCode ¶
func (o *AssistantActionChunk) HasCode() bool
HasCode returns a boolean if a field has been set.
func (*AssistantActionChunk) HasCodeError ¶
func (o *AssistantActionChunk) HasCodeError() bool
HasCodeError returns a boolean if a field has been set.
func (*AssistantActionChunk) HasCodeOutput ¶
func (o *AssistantActionChunk) HasCodeOutput() bool
HasCodeOutput returns a boolean if a field has been set.
func (*AssistantActionChunk) HasMessage ¶
func (o *AssistantActionChunk) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (*AssistantActionChunk) HasPlan ¶
func (o *AssistantActionChunk) HasPlan() bool
HasPlan returns a boolean if a field has been set.
func (AssistantActionChunk) MarshalJSON ¶
func (o AssistantActionChunk) MarshalJSON() ([]byte, error)
func (*AssistantActionChunk) SetCode ¶
func (o *AssistantActionChunk) SetCode(v string)
SetCode gets a reference to the given NullableString and assigns it to the Code field.
func (*AssistantActionChunk) SetCodeError ¶
func (o *AssistantActionChunk) SetCodeError(v string)
SetCodeError gets a reference to the given NullableString and assigns it to the CodeError field.
func (*AssistantActionChunk) SetCodeErrorNil ¶
func (o *AssistantActionChunk) SetCodeErrorNil()
SetCodeErrorNil sets the value for CodeError to be an explicit nil
func (*AssistantActionChunk) SetCodeNil ¶
func (o *AssistantActionChunk) SetCodeNil()
SetCodeNil sets the value for Code to be an explicit nil
func (*AssistantActionChunk) SetCodeOutput ¶
func (o *AssistantActionChunk) SetCodeOutput(v string)
SetCodeOutput gets a reference to the given NullableString and assigns it to the CodeOutput field.
func (*AssistantActionChunk) SetCodeOutputNil ¶
func (o *AssistantActionChunk) SetCodeOutputNil()
SetCodeOutputNil sets the value for CodeOutput to be an explicit nil
func (*AssistantActionChunk) SetIndex ¶
func (o *AssistantActionChunk) SetIndex(v int32)
SetIndex sets field value
func (*AssistantActionChunk) SetMessage ¶
func (o *AssistantActionChunk) SetMessage(v string)
SetMessage gets a reference to the given NullableString and assigns it to the Message field.
func (*AssistantActionChunk) SetMessageNil ¶
func (o *AssistantActionChunk) SetMessageNil()
SetMessageNil sets the value for Message to be an explicit nil
func (*AssistantActionChunk) SetPlan ¶
func (o *AssistantActionChunk) SetPlan(v string)
SetPlan gets a reference to the given NullableString and assigns it to the Plan field.
func (*AssistantActionChunk) SetPlanNil ¶
func (o *AssistantActionChunk) SetPlanNil()
SetPlanNil sets the value for Plan to be an explicit nil
func (*AssistantActionChunk) SetType ¶
func (o *AssistantActionChunk) SetType(v string)
SetType sets field value
func (AssistantActionChunk) ToMap ¶
func (o AssistantActionChunk) ToMap() (map[string]interface{}, error)
func (*AssistantActionChunk) UnmarshalJSON ¶
func (o *AssistantActionChunk) UnmarshalJSON(data []byte) (err error)
func (*AssistantActionChunk) UnsetCode ¶
func (o *AssistantActionChunk) UnsetCode()
UnsetCode ensures that no value is present for Code, not even an explicit nil
func (*AssistantActionChunk) UnsetCodeError ¶
func (o *AssistantActionChunk) UnsetCodeError()
UnsetCodeError ensures that no value is present for CodeError, not even an explicit nil
func (*AssistantActionChunk) UnsetCodeOutput ¶
func (o *AssistantActionChunk) UnsetCodeOutput()
UnsetCodeOutput ensures that no value is present for CodeOutput, not even an explicit nil
func (*AssistantActionChunk) UnsetMessage ¶
func (o *AssistantActionChunk) UnsetMessage()
UnsetMessage ensures that no value is present for Message, not even an explicit nil
func (*AssistantActionChunk) UnsetPlan ¶
func (o *AssistantActionChunk) UnsetPlan()
UnsetPlan ensures that no value is present for Plan, not even an explicit nil
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient Doer }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DdnConfig ¶
type DdnConfig struct { // URL of the /sql endpoint on Hasura DDN Url string `json:"url"` // HTTP headers that should be forwarded to DDN Headers map[string]string `json:"headers,omitempty"` }
DdnConfig struct for DdnConfig
func NewDdnConfig ¶
NewDdnConfig instantiates a new DdnConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDdnConfigWithDefaults ¶
func NewDdnConfigWithDefaults() *DdnConfig
NewDdnConfigWithDefaults instantiates a new DdnConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DdnConfig) GetHeaders ¶
GetHeaders returns the Headers field value if set, zero value otherwise.
func (*DdnConfig) GetHeadersOk ¶
GetHeadersOk returns a tuple with the Headers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DdnConfig) GetUrlOk ¶
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*DdnConfig) HasHeaders ¶
HasHeaders returns a boolean if a field has been set.
func (DdnConfig) MarshalJSON ¶
func (*DdnConfig) SetHeaders ¶
SetHeaders gets a reference to the given map[string]string and assigns it to the Headers field.
func (*DdnConfig) UnmarshalJSON ¶
type DefaultAPIService ¶
type DefaultAPIService service
DefaultAPIService DefaultAPI service
func (*DefaultAPIService) ExecuteProgramExecuteProgramPost ¶
func (a *DefaultAPIService) ExecuteProgramExecuteProgramPost(ctx context.Context) ApiExecuteProgramExecuteProgramPostRequest
ExecuteProgramExecuteProgramPost Execute Program
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiExecuteProgramExecuteProgramPostRequest
func (*DefaultAPIService) ExecuteProgramExecuteProgramPostExecute ¶
func (a *DefaultAPIService) ExecuteProgramExecuteProgramPostExecute(r ApiExecuteProgramExecuteProgramPostRequest) (*PromptQlExecutionResult, *http.Response, error)
Execute executes the request
@return PromptQlExecutionResult
func (*DefaultAPIService) ExecuteProgramExecuteProgramPostExecuteRequest ¶
func (a *DefaultAPIService) ExecuteProgramExecuteProgramPostExecuteRequest(req *http.Request) (*http.Response, error)
ExecuteProgramExecuteProgramPostExecuteRequest executes the http request. Returns the http response.
func (*DefaultAPIService) ExecuteProgramExecuteProgramPostRequest ¶
func (a *DefaultAPIService) ExecuteProgramExecuteProgramPostRequest(r ApiExecuteProgramExecuteProgramPostRequest) (*http.Request, error)
ExecuteProgramExecuteProgramPostRequest creates an http request. @return PromptQlExecutionResult
func (*DefaultAPIService) QueryQueryPost ¶
func (a *DefaultAPIService) QueryQueryPost(ctx context.Context) ApiQueryQueryPostRequest
QueryQueryPost Query
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiQueryQueryPostRequest
func (*DefaultAPIService) QueryQueryPostExecute ¶
func (a *DefaultAPIService) QueryQueryPostExecute(r ApiQueryQueryPostRequest) (*QueryResponse, *http.Response, error)
Execute executes the request
@return QueryResponse
func (*DefaultAPIService) QueryQueryPostExecuteRequest ¶
QueryQueryPostExecuteRequest executes the http request. Returns the http response.
func (*DefaultAPIService) QueryQueryPostRequest ¶
func (a *DefaultAPIService) QueryQueryPostRequest(r ApiQueryQueryPostRequest) (*http.Request, error)
QueryQueryPostRequest creates an http request. @return QueryResponse
type Doer ¶
Doer interface has the method required to use a type as custom http client. The net/*http.Client type satisfies this interface.
type ErrorChunk ¶
ErrorChunk struct for ErrorChunk
func NewErrorChunk ¶
func NewErrorChunk(type_ string, error_ string) *ErrorChunk
NewErrorChunk instantiates a new ErrorChunk object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorChunkWithDefaults ¶
func NewErrorChunkWithDefaults() *ErrorChunk
NewErrorChunkWithDefaults instantiates a new ErrorChunk object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ErrorChunk) GetError ¶
func (o *ErrorChunk) GetError() string
GetError returns the Error field value
func (*ErrorChunk) GetErrorOk ¶
func (o *ErrorChunk) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.
func (*ErrorChunk) GetType ¶
func (o *ErrorChunk) GetType() string
GetType returns the Type field value
func (*ErrorChunk) GetTypeOk ¶
func (o *ErrorChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ErrorChunk) MarshalJSON ¶
func (o ErrorChunk) MarshalJSON() ([]byte, error)
func (ErrorChunk) ToMap ¶
func (o ErrorChunk) ToMap() (map[string]interface{}, error)
func (*ErrorChunk) UnmarshalJSON ¶
func (o *ErrorChunk) UnmarshalJSON(data []byte) (err error)
type ExecuteRequest ¶
type ExecuteRequest struct { Code string `json:"code"` PromptqlApiKey NullableString `json:"promptql_api_key,omitempty"` AiPrimitivesLlm NullableExecuteRequestAiPrimitivesLlm `json:"ai_primitives_llm"` Ddn NullableDdnConfig `json:"ddn"` Artifacts []ExecuteRequestArtifactsInner `json:"artifacts"` }
ExecuteRequest struct for ExecuteRequest
func NewExecuteRequest ¶
func NewExecuteRequest(code string, aiPrimitivesLlm NullableExecuteRequestAiPrimitivesLlm, ddn NullableDdnConfig, artifacts []ExecuteRequestArtifactsInner) *ExecuteRequest
NewExecuteRequest instantiates a new ExecuteRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExecuteRequestWithDefaults ¶
func NewExecuteRequestWithDefaults() *ExecuteRequest
NewExecuteRequestWithDefaults instantiates a new ExecuteRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExecuteRequest) GetAiPrimitivesLlm ¶
func (o *ExecuteRequest) GetAiPrimitivesLlm() ExecuteRequestAiPrimitivesLlm
GetAiPrimitivesLlm returns the AiPrimitivesLlm field value If the value is explicit nil, the zero value for ExecuteRequestAiPrimitivesLlm will be returned
func (*ExecuteRequest) GetAiPrimitivesLlmOk ¶
func (o *ExecuteRequest) GetAiPrimitivesLlmOk() (*ExecuteRequestAiPrimitivesLlm, bool)
GetAiPrimitivesLlmOk returns a tuple with the AiPrimitivesLlm field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExecuteRequest) GetArtifacts ¶
func (o *ExecuteRequest) GetArtifacts() []ExecuteRequestArtifactsInner
GetArtifacts returns the Artifacts field value
func (*ExecuteRequest) GetArtifactsOk ¶
func (o *ExecuteRequest) GetArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)
GetArtifactsOk returns a tuple with the Artifacts field value and a boolean to check if the value has been set.
func (*ExecuteRequest) GetCode ¶
func (o *ExecuteRequest) GetCode() string
GetCode returns the Code field value
func (*ExecuteRequest) GetCodeOk ¶
func (o *ExecuteRequest) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ExecuteRequest) GetDdn ¶
func (o *ExecuteRequest) GetDdn() DdnConfig
GetDdn returns the Ddn field value If the value is explicit nil, the zero value for DdnConfig will be returned
func (*ExecuteRequest) GetDdnOk ¶
func (o *ExecuteRequest) GetDdnOk() (*DdnConfig, bool)
GetDdnOk returns a tuple with the Ddn field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExecuteRequest) GetPromptqlApiKey ¶
func (o *ExecuteRequest) GetPromptqlApiKey() string
GetPromptqlApiKey returns the PromptqlApiKey field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ExecuteRequest) GetPromptqlApiKeyOk ¶
func (o *ExecuteRequest) GetPromptqlApiKeyOk() (*string, bool)
GetPromptqlApiKeyOk returns a tuple with the PromptqlApiKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ExecuteRequest) HasPromptqlApiKey ¶
func (o *ExecuteRequest) HasPromptqlApiKey() bool
HasPromptqlApiKey returns a boolean if a field has been set.
func (ExecuteRequest) MarshalJSON ¶
func (o ExecuteRequest) MarshalJSON() ([]byte, error)
func (*ExecuteRequest) SetAiPrimitivesLlm ¶
func (o *ExecuteRequest) SetAiPrimitivesLlm(v ExecuteRequestAiPrimitivesLlm)
SetAiPrimitivesLlm sets field value
func (*ExecuteRequest) SetArtifacts ¶
func (o *ExecuteRequest) SetArtifacts(v []ExecuteRequestArtifactsInner)
SetArtifacts sets field value
func (*ExecuteRequest) SetCode ¶
func (o *ExecuteRequest) SetCode(v string)
SetCode sets field value
func (*ExecuteRequest) SetDdn ¶
func (o *ExecuteRequest) SetDdn(v DdnConfig)
SetDdn sets field value
func (*ExecuteRequest) SetPromptqlApiKey ¶
func (o *ExecuteRequest) SetPromptqlApiKey(v string)
SetPromptqlApiKey gets a reference to the given NullableString and assigns it to the PromptqlApiKey field.
func (*ExecuteRequest) SetPromptqlApiKeyNil ¶
func (o *ExecuteRequest) SetPromptqlApiKeyNil()
SetPromptqlApiKeyNil sets the value for PromptqlApiKey to be an explicit nil
func (ExecuteRequest) ToMap ¶
func (o ExecuteRequest) ToMap() (map[string]interface{}, error)
func (*ExecuteRequest) UnmarshalJSON ¶
func (o *ExecuteRequest) UnmarshalJSON(data []byte) (err error)
func (*ExecuteRequest) UnsetPromptqlApiKey ¶
func (o *ExecuteRequest) UnsetPromptqlApiKey()
UnsetPromptqlApiKey ensures that no value is present for PromptqlApiKey, not even an explicit nil
type ExecuteRequestAiPrimitivesLlm ¶
type ExecuteRequestAiPrimitivesLlm Llm
ExecuteRequestAiPrimitivesLlm - struct for ExecuteRequestAiPrimitivesLlm.
func ApiAnthropicConfigAsExecuteRequestAiPrimitivesLlm ¶
func ApiAnthropicConfigAsExecuteRequestAiPrimitivesLlm( v *ApiAnthropicConfig, ) ExecuteRequestAiPrimitivesLlm
ApiAnthropicConfigAsExecuteRequestAiPrimitivesLlm is a convenience function that returns ApiAnthropicConfig wrapped in ExecuteRequestAiPrimitivesLlm.
func ApiOpenAIConfigAsExecuteRequestAiPrimitivesLlm ¶
func ApiOpenAIConfigAsExecuteRequestAiPrimitivesLlm( v *ApiOpenAIConfig, ) ExecuteRequestAiPrimitivesLlm
ApiOpenAIConfigAsExecuteRequestAiPrimitivesLlm is a convenience function that returns ApiOpenAIConfig wrapped in ExecuteRequestAiPrimitivesLlm.
func HasuraLlmConfigAsExecuteRequestAiPrimitivesLlm ¶
func HasuraLlmConfigAsExecuteRequestAiPrimitivesLlm( v *HasuraLlmConfig, ) ExecuteRequestAiPrimitivesLlm
HasuraLlmConfigAsExecuteRequestAiPrimitivesLlm is a convenience function that returns HasuraLlmConfig wrapped in ExecuteRequestAiPrimitivesLlm.
func NewExecuteRequestAiPrimitivesLlm ¶
func NewExecuteRequestAiPrimitivesLlm(inner LlmInterface) ExecuteRequestAiPrimitivesLlm
NewExecuteRequestAiPrimitivesLlm creates a generic ExecuteRequestAiPrimitivesLlm instance.
func (ExecuteRequestAiPrimitivesLlm) IsNil ¶
func (src ExecuteRequestAiPrimitivesLlm) IsNil() bool
IsNil checks if the instance is empty.
func (ExecuteRequestAiPrimitivesLlm) MarshalJSON ¶
func (src ExecuteRequestAiPrimitivesLlm) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON.
func (*ExecuteRequestAiPrimitivesLlm) UnmarshalJSON ¶
func (dst *ExecuteRequestAiPrimitivesLlm) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct.
type ExecuteRequestArtifactsInner ¶
type ExecuteRequestArtifactsInner Artifact
ExecuteRequestArtifactsInner - struct for ExecuteRequestArtifactsInner.
func TableArtifactAsExecuteRequestArtifactsInner ¶
func TableArtifactAsExecuteRequestArtifactsInner(v *TableArtifact) ExecuteRequestArtifactsInner
TableArtifactAsExecuteRequestArtifactsInner is a convenience function that returns TableArtifact wrapped in ExecuteRequestArtifactsInner.
func TextArtifactAsExecuteRequestArtifactsInner ¶
func TextArtifactAsExecuteRequestArtifactsInner(v *TextArtifact) ExecuteRequestArtifactsInner
TextArtifactAsExecuteRequestArtifactsInner is a convenience function that returns TextArtifact wrapped in ExecuteRequestArtifactsInner.
func VisualizationArtifactAsExecuteRequestArtifactsInner ¶
func VisualizationArtifactAsExecuteRequestArtifactsInner( v *VisualizationArtifact, ) ExecuteRequestArtifactsInner
VisualizationArtifactAsExecuteRequestArtifactsInner is a convenience function that returns VisualizationArtifact wrapped in ExecuteRequestArtifactsInner.
func (ExecuteRequestArtifactsInner) AsTable ¶
func (src ExecuteRequestArtifactsInner) AsTable() *TableArtifact
AsText converts the instance to a nullable TableArtifact.
func (ExecuteRequestArtifactsInner) AsText ¶
func (src ExecuteRequestArtifactsInner) AsText() *TextArtifact
AsText returns the instance as a nullable TextArtifact.
func (ExecuteRequestArtifactsInner) AsVisualization ¶
func (src ExecuteRequestArtifactsInner) AsVisualization() *VisualizationArtifact
AsText converts the instance to a nullable VisualizationArtifact.
func (ExecuteRequestArtifactsInner) GetArtifactType ¶
func (src ExecuteRequestArtifactsInner) GetArtifactType() ArtifactType
GetArtifactType returns the artifact type of the underlying type.
func (ExecuteRequestArtifactsInner) GetIdentifier ¶
func (src ExecuteRequestArtifactsInner) GetIdentifier() string
GetIdentifier returns the identifier of the underlying type.
func (ExecuteRequestArtifactsInner) Interface ¶
func (src ExecuteRequestArtifactsInner) Interface() ArtifactInterface
Interface returns the inner interface.
func (ExecuteRequestArtifactsInner) IsNil ¶
func (src ExecuteRequestArtifactsInner) IsNil() bool
IsNil checks if the instance is empty.
func (ExecuteRequestArtifactsInner) MarshalJSON ¶
func (src ExecuteRequestArtifactsInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON.
func (*ExecuteRequestArtifactsInner) UnmarshalJSON ¶
func (dst *ExecuteRequestArtifactsInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct.
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail []ValidationError `json:"detail,omitempty"`
}
HTTPValidationError struct for HTTPValidationError
func NewHTTPValidationError ¶
func NewHTTPValidationError() *HTTPValidationError
NewHTTPValidationError instantiates a new HTTPValidationError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHTTPValidationErrorWithDefaults ¶
func NewHTTPValidationErrorWithDefaults() *HTTPValidationError
NewHTTPValidationErrorWithDefaults instantiates a new HTTPValidationError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HTTPValidationError) GetDetail ¶
func (o *HTTPValidationError) GetDetail() []ValidationError
GetDetail returns the Detail field value if set, zero value otherwise.
func (*HTTPValidationError) GetDetailOk ¶
func (o *HTTPValidationError) GetDetailOk() ([]ValidationError, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HTTPValidationError) HasDetail ¶
func (o *HTTPValidationError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (HTTPValidationError) MarshalJSON ¶
func (o HTTPValidationError) MarshalJSON() ([]byte, error)
func (*HTTPValidationError) SetDetail ¶
func (o *HTTPValidationError) SetDetail(v []ValidationError)
SetDetail gets a reference to the given []ValidationError and assigns it to the Detail field.
func (HTTPValidationError) ToMap ¶
func (o HTTPValidationError) ToMap() (map[string]interface{}, error)
type HasuraLlmConfig ¶
type HasuraLlmConfig struct {
Provider string `json:"provider"`
}
HasuraLlmConfig struct for HasuraLlmConfig
func NewHasuraLlmConfig ¶
func NewHasuraLlmConfig(provider string) *HasuraLlmConfig
NewHasuraLlmConfig instantiates a new HasuraLlmConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHasuraLlmConfigWithDefaults ¶
func NewHasuraLlmConfigWithDefaults() *HasuraLlmConfig
NewHasuraLlmConfigWithDefaults instantiates a new HasuraLlmConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HasuraLlmConfig) GetProvider ¶
func (o *HasuraLlmConfig) GetProvider() string
GetProvider returns the Provider field value
func (*HasuraLlmConfig) GetProviderOk ¶
func (o *HasuraLlmConfig) GetProviderOk() (*string, bool)
GetProviderOk returns a tuple with the Provider field value and a boolean to check if the value has been set.
func (HasuraLlmConfig) MarshalJSON ¶
func (o HasuraLlmConfig) MarshalJSON() ([]byte, error)
func (*HasuraLlmConfig) SetProvider ¶
func (o *HasuraLlmConfig) SetProvider(v string)
SetProvider sets field value
func (HasuraLlmConfig) ToMap ¶
func (o HasuraLlmConfig) ToMap() (map[string]interface{}, error)
func (*HasuraLlmConfig) UnmarshalJSON ¶
func (o *HasuraLlmConfig) UnmarshalJSON(data []byte) (err error)
type Llm ¶
type Llm struct {
// contains filtered or unexported fields
}
Llm - struct for Llm.
func ApiAnthropicConfigAsLlm ¶
func ApiAnthropicConfigAsLlm(v *ApiAnthropicConfig) Llm
ApiAnthropicConfigAsLlm is a convenience function that returns ApiAnthropicConfig wrapped in Llm.
func ApiOpenAIConfigAsLlm ¶
func ApiOpenAIConfigAsLlm(v *ApiOpenAIConfig) Llm
ApiOpenAIConfigAsLlm is a convenience function that returns ApiOpenAIConfig wrapped in Llm.
func HasuraLlmConfigAsLlm ¶
func HasuraLlmConfigAsLlm(v *HasuraLlmConfig) Llm
HasuraLlmConfigAsLlm is a convenience function that returns HasuraLlmConfig wrapped in Llm.
func (Llm) AsAnthropic ¶
func (src Llm) AsAnthropic() *ApiAnthropicConfig
AsAnthropic returns the instance as a nullable ApiAnthropicConfig.
func (Llm) AsHasura ¶
func (src Llm) AsHasura() *HasuraLlmConfig
AsHasura returns the instance as a nullable HasuraLlmConfig.
func (Llm) AsOpenAI ¶
func (src Llm) AsOpenAI() *ApiOpenAIConfig
AsOpenAI returns the instance as a nullable ApiOpenAIConfig.
func (Llm) Interface ¶
func (src Llm) Interface() LlmInterface
Interface returns the inner interface.
func (Llm) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON.
func (*Llm) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct.
type LlmInterface ¶
type LlmInterface interface {
GetProvider() string
}
LlmInterface abstracts the LLM model as an interface.
type LlmProviderType ¶
type LlmProviderType string
LlmProviderType represents a LLM provider type enum.
func ParseLlmProviderType ¶
func ParseLlmProviderType(input string) (LlmProviderType, error)
ParseLlmProviderType parses the LLM provider type enum from string.
func (*LlmProviderType) UnmarshalJSON ¶
func (dst *LlmProviderType) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the enum.
type LlmUsage ¶
type LlmUsage struct { Provider *string `json:"provider,omitempty"` Model *string `json:"model,omitempty"` InputTokens *int32 `json:"input_tokens,omitempty"` OutputTokens *int32 `json:"output_tokens,omitempty"` }
LlmUsage struct for LlmUsage
func NewLlmUsage ¶
func NewLlmUsage() *LlmUsage
NewLlmUsage instantiates a new LlmUsage object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLlmUsageWithDefaults ¶
func NewLlmUsageWithDefaults() *LlmUsage
NewLlmUsageWithDefaults instantiates a new LlmUsage object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LlmUsage) GetInputTokens ¶
GetInputTokens returns the InputTokens field value if set, zero value otherwise.
func (*LlmUsage) GetInputTokensOk ¶
GetInputTokensOk returns a tuple with the InputTokens field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LlmUsage) GetModelOk ¶
GetModelOk returns a tuple with the Model field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LlmUsage) GetOutputTokens ¶
GetOutputTokens returns the OutputTokens field value if set, zero value otherwise.
func (*LlmUsage) GetOutputTokensOk ¶
GetOutputTokensOk returns a tuple with the OutputTokens field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LlmUsage) GetProvider ¶
GetProvider returns the Provider field value if set, zero value otherwise.
func (*LlmUsage) GetProviderOk ¶
GetProviderOk returns a tuple with the Provider field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LlmUsage) HasInputTokens ¶
HasInputTokens returns a boolean if a field has been set.
func (*LlmUsage) HasOutputTokens ¶
HasOutputTokens returns a boolean if a field has been set.
func (*LlmUsage) HasProvider ¶
HasProvider returns a boolean if a field has been set.
func (LlmUsage) MarshalJSON ¶
func (*LlmUsage) SetInputTokens ¶
SetInputTokens gets a reference to the given int32 and assigns it to the InputTokens field.
func (*LlmUsage) SetModel ¶
SetModel gets a reference to the given string and assigns it to the Model field.
func (*LlmUsage) SetOutputTokens ¶
SetOutputTokens gets a reference to the given int32 and assigns it to the OutputTokens field.
func (*LlmUsage) SetProvider ¶
SetProvider gets a reference to the given string and assigns it to the Provider field.
type MappedNullable ¶
type NullableApiAnthropicConfig ¶
type NullableApiAnthropicConfig struct {
// contains filtered or unexported fields
}
func NewNullableApiAnthropicConfig ¶
func NewNullableApiAnthropicConfig(val *ApiAnthropicConfig) *NullableApiAnthropicConfig
func (NullableApiAnthropicConfig) Get ¶
func (v NullableApiAnthropicConfig) Get() *ApiAnthropicConfig
func (NullableApiAnthropicConfig) IsSet ¶
func (v NullableApiAnthropicConfig) IsSet() bool
func (NullableApiAnthropicConfig) MarshalJSON ¶
func (v NullableApiAnthropicConfig) MarshalJSON() ([]byte, error)
func (*NullableApiAnthropicConfig) Set ¶
func (v *NullableApiAnthropicConfig) Set(val *ApiAnthropicConfig)
func (*NullableApiAnthropicConfig) UnmarshalJSON ¶
func (v *NullableApiAnthropicConfig) UnmarshalJSON(src []byte) error
func (*NullableApiAnthropicConfig) Unset ¶
func (v *NullableApiAnthropicConfig) Unset()
type NullableApiOpenAIConfig ¶
type NullableApiOpenAIConfig struct {
// contains filtered or unexported fields
}
func NewNullableApiOpenAIConfig ¶
func NewNullableApiOpenAIConfig(val *ApiOpenAIConfig) *NullableApiOpenAIConfig
func (NullableApiOpenAIConfig) Get ¶
func (v NullableApiOpenAIConfig) Get() *ApiOpenAIConfig
func (NullableApiOpenAIConfig) IsSet ¶
func (v NullableApiOpenAIConfig) IsSet() bool
func (NullableApiOpenAIConfig) MarshalJSON ¶
func (v NullableApiOpenAIConfig) MarshalJSON() ([]byte, error)
func (*NullableApiOpenAIConfig) Set ¶
func (v *NullableApiOpenAIConfig) Set(val *ApiOpenAIConfig)
func (*NullableApiOpenAIConfig) UnmarshalJSON ¶
func (v *NullableApiOpenAIConfig) UnmarshalJSON(src []byte) error
func (*NullableApiOpenAIConfig) Unset ¶
func (v *NullableApiOpenAIConfig) Unset()
type NullableApiThreadAssistantAction ¶ added in v0.2.0
type NullableApiThreadAssistantAction struct {
// contains filtered or unexported fields
}
func NewNullableApiThreadAssistantAction ¶ added in v0.2.0
func NewNullableApiThreadAssistantAction(val *ApiThreadAssistantAction) *NullableApiThreadAssistantAction
func (NullableApiThreadAssistantAction) Get ¶ added in v0.2.0
func (v NullableApiThreadAssistantAction) Get() *ApiThreadAssistantAction
func (NullableApiThreadAssistantAction) IsSet ¶ added in v0.2.0
func (v NullableApiThreadAssistantAction) IsSet() bool
func (NullableApiThreadAssistantAction) MarshalJSON ¶ added in v0.2.0
func (v NullableApiThreadAssistantAction) MarshalJSON() ([]byte, error)
func (*NullableApiThreadAssistantAction) Set ¶ added in v0.2.0
func (v *NullableApiThreadAssistantAction) Set(val *ApiThreadAssistantAction)
func (*NullableApiThreadAssistantAction) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableApiThreadAssistantAction) UnmarshalJSON(src []byte) error
func (*NullableApiThreadAssistantAction) Unset ¶ added in v0.2.0
func (v *NullableApiThreadAssistantAction) Unset()
type NullableApiThreadInteraction ¶ added in v0.2.0
type NullableApiThreadInteraction struct {
// contains filtered or unexported fields
}
func NewNullableApiThreadInteraction ¶ added in v0.2.0
func NewNullableApiThreadInteraction(val *ApiThreadInteraction) *NullableApiThreadInteraction
func (NullableApiThreadInteraction) Get ¶ added in v0.2.0
func (v NullableApiThreadInteraction) Get() *ApiThreadInteraction
func (NullableApiThreadInteraction) IsSet ¶ added in v0.2.0
func (v NullableApiThreadInteraction) IsSet() bool
func (NullableApiThreadInteraction) MarshalJSON ¶ added in v0.2.0
func (v NullableApiThreadInteraction) MarshalJSON() ([]byte, error)
func (*NullableApiThreadInteraction) Set ¶ added in v0.2.0
func (v *NullableApiThreadInteraction) Set(val *ApiThreadInteraction)
func (*NullableApiThreadInteraction) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableApiThreadInteraction) UnmarshalJSON(src []byte) error
func (*NullableApiThreadInteraction) Unset ¶ added in v0.2.0
func (v *NullableApiThreadInteraction) Unset()
type NullableApiThreadUserMessage ¶ added in v0.2.0
type NullableApiThreadUserMessage struct {
// contains filtered or unexported fields
}
func NewNullableApiThreadUserMessage ¶ added in v0.2.0
func NewNullableApiThreadUserMessage(val *ApiThreadUserMessage) *NullableApiThreadUserMessage
func (NullableApiThreadUserMessage) Get ¶ added in v0.2.0
func (v NullableApiThreadUserMessage) Get() *ApiThreadUserMessage
func (NullableApiThreadUserMessage) IsSet ¶ added in v0.2.0
func (v NullableApiThreadUserMessage) IsSet() bool
func (NullableApiThreadUserMessage) MarshalJSON ¶ added in v0.2.0
func (v NullableApiThreadUserMessage) MarshalJSON() ([]byte, error)
func (*NullableApiThreadUserMessage) Set ¶ added in v0.2.0
func (v *NullableApiThreadUserMessage) Set(val *ApiThreadUserMessage)
func (*NullableApiThreadUserMessage) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableApiThreadUserMessage) UnmarshalJSON(src []byte) error
func (*NullableApiThreadUserMessage) Unset ¶ added in v0.2.0
func (v *NullableApiThreadUserMessage) Unset()
type NullableArtifactUpdateChunk ¶
type NullableArtifactUpdateChunk struct {
// contains filtered or unexported fields
}
func NewNullableArtifactUpdateChunk ¶
func NewNullableArtifactUpdateChunk(val *ArtifactUpdateChunk) *NullableArtifactUpdateChunk
func (NullableArtifactUpdateChunk) Get ¶
func (v NullableArtifactUpdateChunk) Get() *ArtifactUpdateChunk
func (NullableArtifactUpdateChunk) IsSet ¶
func (v NullableArtifactUpdateChunk) IsSet() bool
func (NullableArtifactUpdateChunk) MarshalJSON ¶
func (v NullableArtifactUpdateChunk) MarshalJSON() ([]byte, error)
func (*NullableArtifactUpdateChunk) Set ¶
func (v *NullableArtifactUpdateChunk) Set(val *ArtifactUpdateChunk)
func (*NullableArtifactUpdateChunk) UnmarshalJSON ¶
func (v *NullableArtifactUpdateChunk) UnmarshalJSON(src []byte) error
func (*NullableArtifactUpdateChunk) Unset ¶
func (v *NullableArtifactUpdateChunk) Unset()
type NullableAssistantActionChunk ¶
type NullableAssistantActionChunk struct {
// contains filtered or unexported fields
}
func NewNullableAssistantActionChunk ¶
func NewNullableAssistantActionChunk(val *AssistantActionChunk) *NullableAssistantActionChunk
func (NullableAssistantActionChunk) Get ¶
func (v NullableAssistantActionChunk) Get() *AssistantActionChunk
func (NullableAssistantActionChunk) IsSet ¶
func (v NullableAssistantActionChunk) IsSet() bool
func (NullableAssistantActionChunk) MarshalJSON ¶
func (v NullableAssistantActionChunk) MarshalJSON() ([]byte, error)
func (*NullableAssistantActionChunk) Set ¶
func (v *NullableAssistantActionChunk) Set(val *AssistantActionChunk)
func (*NullableAssistantActionChunk) UnmarshalJSON ¶
func (v *NullableAssistantActionChunk) UnmarshalJSON(src []byte) error
func (*NullableAssistantActionChunk) Unset ¶
func (v *NullableAssistantActionChunk) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableDdnConfig ¶
type NullableDdnConfig struct {
// contains filtered or unexported fields
}
func NewNullableDdnConfig ¶
func NewNullableDdnConfig(val *DdnConfig) *NullableDdnConfig
func (NullableDdnConfig) Get ¶
func (v NullableDdnConfig) Get() *DdnConfig
func (NullableDdnConfig) IsSet ¶
func (v NullableDdnConfig) IsSet() bool
func (NullableDdnConfig) MarshalJSON ¶
func (v NullableDdnConfig) MarshalJSON() ([]byte, error)
func (*NullableDdnConfig) Set ¶
func (v *NullableDdnConfig) Set(val *DdnConfig)
func (*NullableDdnConfig) UnmarshalJSON ¶
func (v *NullableDdnConfig) UnmarshalJSON(src []byte) error
func (*NullableDdnConfig) Unset ¶
func (v *NullableDdnConfig) Unset()
type NullableErrorChunk ¶
type NullableErrorChunk struct {
// contains filtered or unexported fields
}
func NewNullableErrorChunk ¶
func NewNullableErrorChunk(val *ErrorChunk) *NullableErrorChunk
func (NullableErrorChunk) Get ¶
func (v NullableErrorChunk) Get() *ErrorChunk
func (NullableErrorChunk) IsSet ¶
func (v NullableErrorChunk) IsSet() bool
func (NullableErrorChunk) MarshalJSON ¶
func (v NullableErrorChunk) MarshalJSON() ([]byte, error)
func (*NullableErrorChunk) Set ¶
func (v *NullableErrorChunk) Set(val *ErrorChunk)
func (*NullableErrorChunk) UnmarshalJSON ¶
func (v *NullableErrorChunk) UnmarshalJSON(src []byte) error
func (*NullableErrorChunk) Unset ¶
func (v *NullableErrorChunk) Unset()
type NullableExecuteRequest ¶
type NullableExecuteRequest struct {
// contains filtered or unexported fields
}
func NewNullableExecuteRequest ¶
func NewNullableExecuteRequest(val *ExecuteRequest) *NullableExecuteRequest
func (NullableExecuteRequest) Get ¶
func (v NullableExecuteRequest) Get() *ExecuteRequest
func (NullableExecuteRequest) IsSet ¶
func (v NullableExecuteRequest) IsSet() bool
func (NullableExecuteRequest) MarshalJSON ¶
func (v NullableExecuteRequest) MarshalJSON() ([]byte, error)
func (*NullableExecuteRequest) Set ¶
func (v *NullableExecuteRequest) Set(val *ExecuteRequest)
func (*NullableExecuteRequest) UnmarshalJSON ¶
func (v *NullableExecuteRequest) UnmarshalJSON(src []byte) error
func (*NullableExecuteRequest) Unset ¶
func (v *NullableExecuteRequest) Unset()
type NullableExecuteRequestAiPrimitivesLlm ¶
type NullableExecuteRequestAiPrimitivesLlm struct {
// contains filtered or unexported fields
}
func NewNullableExecuteRequestAiPrimitivesLlm ¶
func NewNullableExecuteRequestAiPrimitivesLlm( val *ExecuteRequestAiPrimitivesLlm, ) *NullableExecuteRequestAiPrimitivesLlm
func (NullableExecuteRequestAiPrimitivesLlm) Get ¶
func (v NullableExecuteRequestAiPrimitivesLlm) Get() *ExecuteRequestAiPrimitivesLlm
func (NullableExecuteRequestAiPrimitivesLlm) IsSet ¶
func (v NullableExecuteRequestAiPrimitivesLlm) IsSet() bool
func (NullableExecuteRequestAiPrimitivesLlm) MarshalJSON ¶
func (v NullableExecuteRequestAiPrimitivesLlm) MarshalJSON() ([]byte, error)
func (*NullableExecuteRequestAiPrimitivesLlm) Set ¶
func (v *NullableExecuteRequestAiPrimitivesLlm) Set(val *ExecuteRequestAiPrimitivesLlm)
func (*NullableExecuteRequestAiPrimitivesLlm) UnmarshalJSON ¶
func (v *NullableExecuteRequestAiPrimitivesLlm) UnmarshalJSON(src []byte) error
func (*NullableExecuteRequestAiPrimitivesLlm) Unset ¶
func (v *NullableExecuteRequestAiPrimitivesLlm) Unset()
type NullableExecuteRequestArtifactsInner ¶
type NullableExecuteRequestArtifactsInner struct {
// contains filtered or unexported fields
}
func NewNullableExecuteRequestArtifactsInner ¶
func NewNullableExecuteRequestArtifactsInner( val *ExecuteRequestArtifactsInner, ) *NullableExecuteRequestArtifactsInner
func (NullableExecuteRequestArtifactsInner) Get ¶
func (v NullableExecuteRequestArtifactsInner) Get() *ExecuteRequestArtifactsInner
func (NullableExecuteRequestArtifactsInner) IsSet ¶
func (v NullableExecuteRequestArtifactsInner) IsSet() bool
func (NullableExecuteRequestArtifactsInner) MarshalJSON ¶
func (v NullableExecuteRequestArtifactsInner) MarshalJSON() ([]byte, error)
func (*NullableExecuteRequestArtifactsInner) Set ¶
func (v *NullableExecuteRequestArtifactsInner) Set(val *ExecuteRequestArtifactsInner)
func (*NullableExecuteRequestArtifactsInner) UnmarshalJSON ¶
func (v *NullableExecuteRequestArtifactsInner) UnmarshalJSON(src []byte) error
func (*NullableExecuteRequestArtifactsInner) Unset ¶
func (v *NullableExecuteRequestArtifactsInner) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableHTTPValidationError ¶
type NullableHTTPValidationError struct {
// contains filtered or unexported fields
}
func NewNullableHTTPValidationError ¶
func NewNullableHTTPValidationError(val *HTTPValidationError) *NullableHTTPValidationError
func (NullableHTTPValidationError) Get ¶
func (v NullableHTTPValidationError) Get() *HTTPValidationError
func (NullableHTTPValidationError) IsSet ¶
func (v NullableHTTPValidationError) IsSet() bool
func (NullableHTTPValidationError) MarshalJSON ¶
func (v NullableHTTPValidationError) MarshalJSON() ([]byte, error)
func (*NullableHTTPValidationError) Set ¶
func (v *NullableHTTPValidationError) Set(val *HTTPValidationError)
func (*NullableHTTPValidationError) UnmarshalJSON ¶
func (v *NullableHTTPValidationError) UnmarshalJSON(src []byte) error
func (*NullableHTTPValidationError) Unset ¶
func (v *NullableHTTPValidationError) Unset()
type NullableHasuraLlmConfig ¶
type NullableHasuraLlmConfig struct {
// contains filtered or unexported fields
}
func NewNullableHasuraLlmConfig ¶
func NewNullableHasuraLlmConfig(val *HasuraLlmConfig) *NullableHasuraLlmConfig
func (NullableHasuraLlmConfig) Get ¶
func (v NullableHasuraLlmConfig) Get() *HasuraLlmConfig
func (NullableHasuraLlmConfig) IsSet ¶
func (v NullableHasuraLlmConfig) IsSet() bool
func (NullableHasuraLlmConfig) MarshalJSON ¶
func (v NullableHasuraLlmConfig) MarshalJSON() ([]byte, error)
func (*NullableHasuraLlmConfig) Set ¶
func (v *NullableHasuraLlmConfig) Set(val *HasuraLlmConfig)
func (*NullableHasuraLlmConfig) UnmarshalJSON ¶
func (v *NullableHasuraLlmConfig) UnmarshalJSON(src []byte) error
func (*NullableHasuraLlmConfig) Unset ¶
func (v *NullableHasuraLlmConfig) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLlmUsage ¶
type NullableLlmUsage struct {
// contains filtered or unexported fields
}
func NewNullableLlmUsage ¶
func NewNullableLlmUsage(val *LlmUsage) *NullableLlmUsage
func (NullableLlmUsage) Get ¶
func (v NullableLlmUsage) Get() *LlmUsage
func (NullableLlmUsage) IsSet ¶
func (v NullableLlmUsage) IsSet() bool
func (NullableLlmUsage) MarshalJSON ¶
func (v NullableLlmUsage) MarshalJSON() ([]byte, error)
func (*NullableLlmUsage) Set ¶
func (v *NullableLlmUsage) Set(val *LlmUsage)
func (*NullableLlmUsage) UnmarshalJSON ¶
func (v *NullableLlmUsage) UnmarshalJSON(src []byte) error
func (*NullableLlmUsage) Unset ¶
func (v *NullableLlmUsage) Unset()
type NullablePromptQlExecutionResult ¶
type NullablePromptQlExecutionResult struct {
// contains filtered or unexported fields
}
func NewNullablePromptQlExecutionResult ¶
func NewNullablePromptQlExecutionResult(val *PromptQlExecutionResult) *NullablePromptQlExecutionResult
func (NullablePromptQlExecutionResult) Get ¶
func (v NullablePromptQlExecutionResult) Get() *PromptQlExecutionResult
func (NullablePromptQlExecutionResult) IsSet ¶
func (v NullablePromptQlExecutionResult) IsSet() bool
func (NullablePromptQlExecutionResult) MarshalJSON ¶
func (v NullablePromptQlExecutionResult) MarshalJSON() ([]byte, error)
func (*NullablePromptQlExecutionResult) Set ¶
func (v *NullablePromptQlExecutionResult) Set(val *PromptQlExecutionResult)
func (*NullablePromptQlExecutionResult) UnmarshalJSON ¶
func (v *NullablePromptQlExecutionResult) UnmarshalJSON(src []byte) error
func (*NullablePromptQlExecutionResult) Unset ¶
func (v *NullablePromptQlExecutionResult) Unset()
type NullableQueryRequest ¶
type NullableQueryRequest struct {
// contains filtered or unexported fields
}
func NewNullableQueryRequest ¶
func NewNullableQueryRequest(val *QueryRequest) *NullableQueryRequest
func (NullableQueryRequest) Get ¶
func (v NullableQueryRequest) Get() *QueryRequest
func (NullableQueryRequest) IsSet ¶
func (v NullableQueryRequest) IsSet() bool
func (NullableQueryRequest) MarshalJSON ¶
func (v NullableQueryRequest) MarshalJSON() ([]byte, error)
func (*NullableQueryRequest) Set ¶
func (v *NullableQueryRequest) Set(val *QueryRequest)
func (*NullableQueryRequest) UnmarshalJSON ¶
func (v *NullableQueryRequest) UnmarshalJSON(src []byte) error
func (*NullableQueryRequest) Unset ¶
func (v *NullableQueryRequest) Unset()
type NullableQueryResponse ¶
type NullableQueryResponse struct {
// contains filtered or unexported fields
}
func NewNullableQueryResponse ¶
func NewNullableQueryResponse(val *QueryResponse) *NullableQueryResponse
func (NullableQueryResponse) Get ¶
func (v NullableQueryResponse) Get() *QueryResponse
func (NullableQueryResponse) IsSet ¶
func (v NullableQueryResponse) IsSet() bool
func (NullableQueryResponse) MarshalJSON ¶
func (v NullableQueryResponse) MarshalJSON() ([]byte, error)
func (*NullableQueryResponse) Set ¶
func (v *NullableQueryResponse) Set(val *QueryResponse)
func (*NullableQueryResponse) UnmarshalJSON ¶
func (v *NullableQueryResponse) UnmarshalJSON(src []byte) error
func (*NullableQueryResponse) Unset ¶
func (v *NullableQueryResponse) Unset()
type NullableQueryResponseChunk ¶ added in v0.2.0
type NullableQueryResponseChunk struct {
// contains filtered or unexported fields
}
func NewNullableQueryResponseChunk ¶ added in v0.2.0
func NewNullableQueryResponseChunk(val *QueryResponseChunk) *NullableQueryResponseChunk
func (NullableQueryResponseChunk) Get ¶ added in v0.2.0
func (v NullableQueryResponseChunk) Get() *QueryResponseChunk
func (NullableQueryResponseChunk) IsSet ¶ added in v0.2.0
func (v NullableQueryResponseChunk) IsSet() bool
func (NullableQueryResponseChunk) MarshalJSON ¶ added in v0.2.0
func (v NullableQueryResponseChunk) MarshalJSON() ([]byte, error)
func (*NullableQueryResponseChunk) Set ¶ added in v0.2.0
func (v *NullableQueryResponseChunk) Set(val *QueryResponseChunk)
func (*NullableQueryResponseChunk) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableQueryResponseChunk) UnmarshalJSON(src []byte) error
func (*NullableQueryResponseChunk) Unset ¶ added in v0.2.0
func (v *NullableQueryResponseChunk) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTableArtifact ¶
type NullableTableArtifact struct {
// contains filtered or unexported fields
}
func NewNullableTableArtifact ¶
func NewNullableTableArtifact(val *TableArtifact) *NullableTableArtifact
func (NullableTableArtifact) Get ¶
func (v NullableTableArtifact) Get() *TableArtifact
func (NullableTableArtifact) IsSet ¶
func (v NullableTableArtifact) IsSet() bool
func (NullableTableArtifact) MarshalJSON ¶
func (v NullableTableArtifact) MarshalJSON() ([]byte, error)
func (*NullableTableArtifact) Set ¶
func (v *NullableTableArtifact) Set(val *TableArtifact)
func (*NullableTableArtifact) UnmarshalJSON ¶
func (v *NullableTableArtifact) UnmarshalJSON(src []byte) error
func (*NullableTableArtifact) Unset ¶
func (v *NullableTableArtifact) Unset()
type NullableTextArtifact ¶
type NullableTextArtifact struct {
// contains filtered or unexported fields
}
func NewNullableTextArtifact ¶
func NewNullableTextArtifact(val *TextArtifact) *NullableTextArtifact
func (NullableTextArtifact) Get ¶
func (v NullableTextArtifact) Get() *TextArtifact
func (NullableTextArtifact) IsSet ¶
func (v NullableTextArtifact) IsSet() bool
func (NullableTextArtifact) MarshalJSON ¶
func (v NullableTextArtifact) MarshalJSON() ([]byte, error)
func (*NullableTextArtifact) Set ¶
func (v *NullableTextArtifact) Set(val *TextArtifact)
func (*NullableTextArtifact) UnmarshalJSON ¶
func (v *NullableTextArtifact) UnmarshalJSON(src []byte) error
func (*NullableTextArtifact) Unset ¶
func (v *NullableTextArtifact) Unset()
type NullableThreadMetadataChunk ¶ added in v0.2.0
type NullableThreadMetadataChunk struct {
// contains filtered or unexported fields
}
func NewNullableThreadMetadataChunk ¶ added in v0.2.0
func NewNullableThreadMetadataChunk(val *ThreadMetadataChunk) *NullableThreadMetadataChunk
func (NullableThreadMetadataChunk) Get ¶ added in v0.2.0
func (v NullableThreadMetadataChunk) Get() *ThreadMetadataChunk
func (NullableThreadMetadataChunk) IsSet ¶ added in v0.2.0
func (v NullableThreadMetadataChunk) IsSet() bool
func (NullableThreadMetadataChunk) MarshalJSON ¶ added in v0.2.0
func (v NullableThreadMetadataChunk) MarshalJSON() ([]byte, error)
func (*NullableThreadMetadataChunk) Set ¶ added in v0.2.0
func (v *NullableThreadMetadataChunk) Set(val *ThreadMetadataChunk)
func (*NullableThreadMetadataChunk) UnmarshalJSON ¶ added in v0.2.0
func (v *NullableThreadMetadataChunk) UnmarshalJSON(src []byte) error
func (*NullableThreadMetadataChunk) Unset ¶ added in v0.2.0
func (v *NullableThreadMetadataChunk) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableValidationError ¶
type NullableValidationError struct {
// contains filtered or unexported fields
}
func NewNullableValidationError ¶
func NewNullableValidationError(val *ValidationError) *NullableValidationError
func (NullableValidationError) Get ¶
func (v NullableValidationError) Get() *ValidationError
func (NullableValidationError) IsSet ¶
func (v NullableValidationError) IsSet() bool
func (NullableValidationError) MarshalJSON ¶
func (v NullableValidationError) MarshalJSON() ([]byte, error)
func (*NullableValidationError) Set ¶
func (v *NullableValidationError) Set(val *ValidationError)
func (*NullableValidationError) UnmarshalJSON ¶
func (v *NullableValidationError) UnmarshalJSON(src []byte) error
func (*NullableValidationError) Unset ¶
func (v *NullableValidationError) Unset()
type NullableValidationErrorLocInner ¶
type NullableValidationErrorLocInner struct {
// contains filtered or unexported fields
}
func NewNullableValidationErrorLocInner ¶
func NewNullableValidationErrorLocInner(val *ValidationErrorLocInner) *NullableValidationErrorLocInner
func (NullableValidationErrorLocInner) Get ¶
func (v NullableValidationErrorLocInner) Get() *ValidationErrorLocInner
func (NullableValidationErrorLocInner) IsSet ¶
func (v NullableValidationErrorLocInner) IsSet() bool
func (NullableValidationErrorLocInner) MarshalJSON ¶
func (v NullableValidationErrorLocInner) MarshalJSON() ([]byte, error)
func (*NullableValidationErrorLocInner) Set ¶
func (v *NullableValidationErrorLocInner) Set(val *ValidationErrorLocInner)
func (*NullableValidationErrorLocInner) UnmarshalJSON ¶
func (v *NullableValidationErrorLocInner) UnmarshalJSON(src []byte) error
func (*NullableValidationErrorLocInner) Unset ¶
func (v *NullableValidationErrorLocInner) Unset()
type NullableVisualizationArtifact ¶
type NullableVisualizationArtifact struct {
// contains filtered or unexported fields
}
func NewNullableVisualizationArtifact ¶
func NewNullableVisualizationArtifact(val *VisualizationArtifact) *NullableVisualizationArtifact
func (NullableVisualizationArtifact) Get ¶
func (v NullableVisualizationArtifact) Get() *VisualizationArtifact
func (NullableVisualizationArtifact) IsSet ¶
func (v NullableVisualizationArtifact) IsSet() bool
func (NullableVisualizationArtifact) MarshalJSON ¶
func (v NullableVisualizationArtifact) MarshalJSON() ([]byte, error)
func (*NullableVisualizationArtifact) Set ¶
func (v *NullableVisualizationArtifact) Set(val *VisualizationArtifact)
func (*NullableVisualizationArtifact) UnmarshalJSON ¶
func (v *NullableVisualizationArtifact) UnmarshalJSON(src []byte) error
func (*NullableVisualizationArtifact) Unset ¶
func (v *NullableVisualizationArtifact) Unset()
type NullableVisualizationArtifactData ¶
type NullableVisualizationArtifactData struct {
// contains filtered or unexported fields
}
func NewNullableVisualizationArtifactData ¶
func NewNullableVisualizationArtifactData(val *VisualizationArtifactData) *NullableVisualizationArtifactData
func (NullableVisualizationArtifactData) Get ¶
func (v NullableVisualizationArtifactData) Get() *VisualizationArtifactData
func (NullableVisualizationArtifactData) IsSet ¶
func (v NullableVisualizationArtifactData) IsSet() bool
func (NullableVisualizationArtifactData) MarshalJSON ¶
func (v NullableVisualizationArtifactData) MarshalJSON() ([]byte, error)
func (*NullableVisualizationArtifactData) Set ¶
func (v *NullableVisualizationArtifactData) Set(val *VisualizationArtifactData)
func (*NullableVisualizationArtifactData) UnmarshalJSON ¶
func (v *NullableVisualizationArtifactData) UnmarshalJSON(src []byte) error
func (*NullableVisualizationArtifactData) Unset ¶
func (v *NullableVisualizationArtifactData) Unset()
type PromptQlExecutionResult ¶
type PromptQlExecutionResult struct { Output string `json:"output"` Error NullableString `json:"error"` AccessedArtifactIds []string `json:"accessed_artifact_ids"` ModifiedArtifacts []ExecuteRequestArtifactsInner `json:"modified_artifacts"` LlmUsages []LlmUsage `json:"llm_usages"` }
PromptQlExecutionResult struct for PromptQlExecutionResult
func NewPromptQlExecutionResult ¶
func NewPromptQlExecutionResult(output string, error_ NullableString, accessedArtifactIds []string, modifiedArtifacts []ExecuteRequestArtifactsInner, llmUsages []LlmUsage) *PromptQlExecutionResult
NewPromptQlExecutionResult instantiates a new PromptQlExecutionResult object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPromptQlExecutionResultWithDefaults ¶
func NewPromptQlExecutionResultWithDefaults() *PromptQlExecutionResult
NewPromptQlExecutionResultWithDefaults instantiates a new PromptQlExecutionResult object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PromptQlExecutionResult) GetAccessedArtifactIds ¶
func (o *PromptQlExecutionResult) GetAccessedArtifactIds() []string
GetAccessedArtifactIds returns the AccessedArtifactIds field value
func (*PromptQlExecutionResult) GetAccessedArtifactIdsOk ¶
func (o *PromptQlExecutionResult) GetAccessedArtifactIdsOk() ([]string, bool)
GetAccessedArtifactIdsOk returns a tuple with the AccessedArtifactIds field value and a boolean to check if the value has been set.
func (*PromptQlExecutionResult) GetError ¶
func (o *PromptQlExecutionResult) GetError() string
GetError returns the Error field value If the value is explicit nil, the zero value for string will be returned
func (*PromptQlExecutionResult) GetErrorOk ¶
func (o *PromptQlExecutionResult) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*PromptQlExecutionResult) GetLlmUsages ¶
func (o *PromptQlExecutionResult) GetLlmUsages() []LlmUsage
GetLlmUsages returns the LlmUsages field value
func (*PromptQlExecutionResult) GetLlmUsagesOk ¶
func (o *PromptQlExecutionResult) GetLlmUsagesOk() ([]LlmUsage, bool)
GetLlmUsagesOk returns a tuple with the LlmUsages field value and a boolean to check if the value has been set.
func (*PromptQlExecutionResult) GetModifiedArtifacts ¶
func (o *PromptQlExecutionResult) GetModifiedArtifacts() []ExecuteRequestArtifactsInner
GetModifiedArtifacts returns the ModifiedArtifacts field value
func (*PromptQlExecutionResult) GetModifiedArtifactsOk ¶
func (o *PromptQlExecutionResult) GetModifiedArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)
GetModifiedArtifactsOk returns a tuple with the ModifiedArtifacts field value and a boolean to check if the value has been set.
func (*PromptQlExecutionResult) GetOutput ¶
func (o *PromptQlExecutionResult) GetOutput() string
GetOutput returns the Output field value
func (*PromptQlExecutionResult) GetOutputOk ¶
func (o *PromptQlExecutionResult) GetOutputOk() (*string, bool)
GetOutputOk returns a tuple with the Output field value and a boolean to check if the value has been set.
func (PromptQlExecutionResult) MarshalJSON ¶
func (o PromptQlExecutionResult) MarshalJSON() ([]byte, error)
func (*PromptQlExecutionResult) SetAccessedArtifactIds ¶
func (o *PromptQlExecutionResult) SetAccessedArtifactIds(v []string)
SetAccessedArtifactIds sets field value
func (*PromptQlExecutionResult) SetError ¶
func (o *PromptQlExecutionResult) SetError(v string)
SetError sets field value
func (*PromptQlExecutionResult) SetLlmUsages ¶
func (o *PromptQlExecutionResult) SetLlmUsages(v []LlmUsage)
SetLlmUsages sets field value
func (*PromptQlExecutionResult) SetModifiedArtifacts ¶
func (o *PromptQlExecutionResult) SetModifiedArtifacts(v []ExecuteRequestArtifactsInner)
SetModifiedArtifacts sets field value
func (*PromptQlExecutionResult) SetOutput ¶
func (o *PromptQlExecutionResult) SetOutput(v string)
SetOutput sets field value
func (PromptQlExecutionResult) ToMap ¶
func (o PromptQlExecutionResult) ToMap() (map[string]interface{}, error)
func (*PromptQlExecutionResult) UnmarshalJSON ¶
func (o *PromptQlExecutionResult) UnmarshalJSON(data []byte) (err error)
type QueryRequest ¶
type QueryRequest struct { Version string `json:"version"` PromptqlApiKey NullableString `json:"promptql_api_key,omitempty"` Llm *Llm `json:"llm,omitempty"` AiPrimitivesLlm NullableExecuteRequestAiPrimitivesLlm `json:"ai_primitives_llm,omitempty"` Ddn DdnConfig `json:"ddn"` Artifacts []ExecuteRequestArtifactsInner `json:"artifacts,omitempty"` SystemInstructions NullableString `json:"system_instructions,omitempty"` // An IANA timezone used to interpret queries that implicitly require timezones Timezone string `json:"timezone"` Interactions []ApiThreadInteraction `json:"interactions"` Stream bool `json:"stream"` }
QueryRequest struct for QueryRequest
func NewQueryRequest ¶
func NewQueryRequest(version string, ddn DdnConfig, timezone string, interactions []ApiThreadInteraction, stream bool) *QueryRequest
NewQueryRequest instantiates a new QueryRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQueryRequestWithDefaults ¶
func NewQueryRequestWithDefaults() *QueryRequest
NewQueryRequestWithDefaults instantiates a new QueryRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QueryRequest) GetAiPrimitivesLlm ¶
func (o *QueryRequest) GetAiPrimitivesLlm() ExecuteRequestAiPrimitivesLlm
GetAiPrimitivesLlm returns the AiPrimitivesLlm field value if set, zero value otherwise (both if not set or set to explicit null).
func (*QueryRequest) GetAiPrimitivesLlmOk ¶
func (o *QueryRequest) GetAiPrimitivesLlmOk() (*ExecuteRequestAiPrimitivesLlm, bool)
GetAiPrimitivesLlmOk returns a tuple with the AiPrimitivesLlm field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*QueryRequest) GetArtifacts ¶
func (o *QueryRequest) GetArtifacts() []ExecuteRequestArtifactsInner
GetArtifacts returns the Artifacts field value if set, zero value otherwise.
func (*QueryRequest) GetArtifactsOk ¶
func (o *QueryRequest) GetArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)
GetArtifactsOk returns a tuple with the Artifacts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryRequest) GetDdn ¶
func (o *QueryRequest) GetDdn() DdnConfig
GetDdn returns the Ddn field value
func (*QueryRequest) GetDdnOk ¶
func (o *QueryRequest) GetDdnOk() (*DdnConfig, bool)
GetDdnOk returns a tuple with the Ddn field value and a boolean to check if the value has been set.
func (*QueryRequest) GetInteractions ¶
func (o *QueryRequest) GetInteractions() []ApiThreadInteraction
GetInteractions returns the Interactions field value
func (*QueryRequest) GetInteractionsOk ¶
func (o *QueryRequest) GetInteractionsOk() ([]ApiThreadInteraction, bool)
GetInteractionsOk returns a tuple with the Interactions field value and a boolean to check if the value has been set.
func (*QueryRequest) GetLlm ¶
func (o *QueryRequest) GetLlm() Llm
GetLlm returns the Llm field value if set, zero value otherwise.
func (*QueryRequest) GetLlmOk ¶
func (o *QueryRequest) GetLlmOk() (*Llm, bool)
GetLlmOk returns a tuple with the Llm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*QueryRequest) GetPromptqlApiKey ¶
func (o *QueryRequest) GetPromptqlApiKey() string
GetPromptqlApiKey returns the PromptqlApiKey field value if set, zero value otherwise (both if not set or set to explicit null).
func (*QueryRequest) GetPromptqlApiKeyOk ¶
func (o *QueryRequest) GetPromptqlApiKeyOk() (*string, bool)
GetPromptqlApiKeyOk returns a tuple with the PromptqlApiKey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*QueryRequest) GetStream ¶
func (o *QueryRequest) GetStream() bool
GetStream returns the Stream field value
func (*QueryRequest) GetStreamOk ¶
func (o *QueryRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value and a boolean to check if the value has been set.
func (*QueryRequest) GetSystemInstructions ¶
func (o *QueryRequest) GetSystemInstructions() string
GetSystemInstructions returns the SystemInstructions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*QueryRequest) GetSystemInstructionsOk ¶
func (o *QueryRequest) GetSystemInstructionsOk() (*string, bool)
GetSystemInstructionsOk returns a tuple with the SystemInstructions field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*QueryRequest) GetTimezone ¶
func (o *QueryRequest) GetTimezone() string
GetTimezone returns the Timezone field value
func (*QueryRequest) GetTimezoneOk ¶
func (o *QueryRequest) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field value and a boolean to check if the value has been set.
func (*QueryRequest) GetVersion ¶
func (o *QueryRequest) GetVersion() string
GetVersion returns the Version field value
func (*QueryRequest) GetVersionOk ¶
func (o *QueryRequest) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*QueryRequest) HasAiPrimitivesLlm ¶
func (o *QueryRequest) HasAiPrimitivesLlm() bool
HasAiPrimitivesLlm returns a boolean if a field has been set.
func (*QueryRequest) HasArtifacts ¶
func (o *QueryRequest) HasArtifacts() bool
HasArtifacts returns a boolean if a field has been set.
func (*QueryRequest) HasLlm ¶
func (o *QueryRequest) HasLlm() bool
HasLlm returns a boolean if a field has been set.
func (*QueryRequest) HasPromptqlApiKey ¶
func (o *QueryRequest) HasPromptqlApiKey() bool
HasPromptqlApiKey returns a boolean if a field has been set.
func (*QueryRequest) HasSystemInstructions ¶
func (o *QueryRequest) HasSystemInstructions() bool
HasSystemInstructions returns a boolean if a field has been set.
func (QueryRequest) MarshalJSON ¶
func (o QueryRequest) MarshalJSON() ([]byte, error)
func (*QueryRequest) SetAiPrimitivesLlm ¶
func (o *QueryRequest) SetAiPrimitivesLlm(v ExecuteRequestAiPrimitivesLlm)
SetAiPrimitivesLlm gets a reference to the given NullableExecuteRequestAiPrimitivesLlm and assigns it to the AiPrimitivesLlm field.
func (*QueryRequest) SetAiPrimitivesLlmNil ¶
func (o *QueryRequest) SetAiPrimitivesLlmNil()
SetAiPrimitivesLlmNil sets the value for AiPrimitivesLlm to be an explicit nil
func (*QueryRequest) SetArtifacts ¶
func (o *QueryRequest) SetArtifacts(v []ExecuteRequestArtifactsInner)
SetArtifacts gets a reference to the given []ExecuteRequestArtifactsInner and assigns it to the Artifacts field.
func (*QueryRequest) SetInteractions ¶
func (o *QueryRequest) SetInteractions(v []ApiThreadInteraction)
SetInteractions sets field value
func (*QueryRequest) SetLlm ¶
func (o *QueryRequest) SetLlm(v Llm)
SetLlm gets a reference to the given Llm and assigns it to the Llm field.
func (*QueryRequest) SetPromptqlApiKey ¶
func (o *QueryRequest) SetPromptqlApiKey(v string)
SetPromptqlApiKey gets a reference to the given NullableString and assigns it to the PromptqlApiKey field.
func (*QueryRequest) SetPromptqlApiKeyNil ¶
func (o *QueryRequest) SetPromptqlApiKeyNil()
SetPromptqlApiKeyNil sets the value for PromptqlApiKey to be an explicit nil
func (*QueryRequest) SetStream ¶
func (o *QueryRequest) SetStream(v bool)
SetStream sets field value
func (*QueryRequest) SetSystemInstructions ¶
func (o *QueryRequest) SetSystemInstructions(v string)
SetSystemInstructions gets a reference to the given NullableString and assigns it to the SystemInstructions field.
func (*QueryRequest) SetSystemInstructionsNil ¶
func (o *QueryRequest) SetSystemInstructionsNil()
SetSystemInstructionsNil sets the value for SystemInstructions to be an explicit nil
func (*QueryRequest) SetTimezone ¶
func (o *QueryRequest) SetTimezone(v string)
SetTimezone sets field value
func (*QueryRequest) SetVersion ¶
func (o *QueryRequest) SetVersion(v string)
SetVersion sets field value
func (QueryRequest) ToMap ¶
func (o QueryRequest) ToMap() (map[string]interface{}, error)
func (*QueryRequest) UnmarshalJSON ¶
func (o *QueryRequest) UnmarshalJSON(data []byte) (err error)
func (*QueryRequest) UnsetAiPrimitivesLlm ¶
func (o *QueryRequest) UnsetAiPrimitivesLlm()
UnsetAiPrimitivesLlm ensures that no value is present for AiPrimitivesLlm, not even an explicit nil
func (*QueryRequest) UnsetPromptqlApiKey ¶
func (o *QueryRequest) UnsetPromptqlApiKey()
UnsetPromptqlApiKey ensures that no value is present for PromptqlApiKey, not even an explicit nil
func (*QueryRequest) UnsetSystemInstructions ¶
func (o *QueryRequest) UnsetSystemInstructions()
UnsetSystemInstructions ensures that no value is present for SystemInstructions, not even an explicit nil
type QueryResponse ¶
type QueryResponse struct { ThreadId string `json:"thread_id"` AssistantActions []ApiThreadAssistantAction `json:"assistant_actions"` // List of artifacts created or updated in this request. May contain duplicate artifact identifiers. ModifiedArtifacts []ExecuteRequestArtifactsInner `json:"modified_artifacts"` }
QueryResponse struct for QueryResponse
func NewQueryResponse ¶
func NewQueryResponse(threadId string, assistantActions []ApiThreadAssistantAction, modifiedArtifacts []ExecuteRequestArtifactsInner) *QueryResponse
NewQueryResponse instantiates a new QueryResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewQueryResponseWithDefaults ¶
func NewQueryResponseWithDefaults() *QueryResponse
NewQueryResponseWithDefaults instantiates a new QueryResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*QueryResponse) GetAssistantActions ¶
func (o *QueryResponse) GetAssistantActions() []ApiThreadAssistantAction
GetAssistantActions returns the AssistantActions field value
func (*QueryResponse) GetAssistantActionsOk ¶
func (o *QueryResponse) GetAssistantActionsOk() ([]ApiThreadAssistantAction, bool)
GetAssistantActionsOk returns a tuple with the AssistantActions field value and a boolean to check if the value has been set.
func (*QueryResponse) GetModifiedArtifacts ¶
func (o *QueryResponse) GetModifiedArtifacts() []ExecuteRequestArtifactsInner
GetModifiedArtifacts returns the ModifiedArtifacts field value
func (*QueryResponse) GetModifiedArtifactsOk ¶
func (o *QueryResponse) GetModifiedArtifactsOk() ([]ExecuteRequestArtifactsInner, bool)
GetModifiedArtifactsOk returns a tuple with the ModifiedArtifacts field value and a boolean to check if the value has been set.
func (*QueryResponse) GetThreadId ¶ added in v0.2.0
func (o *QueryResponse) GetThreadId() string
GetThreadId returns the ThreadId field value
func (*QueryResponse) GetThreadIdOk ¶ added in v0.2.0
func (o *QueryResponse) GetThreadIdOk() (*string, bool)
GetThreadIdOk returns a tuple with the ThreadId field value and a boolean to check if the value has been set.
func (QueryResponse) MarshalJSON ¶
func (o QueryResponse) MarshalJSON() ([]byte, error)
func (*QueryResponse) SetAssistantActions ¶
func (o *QueryResponse) SetAssistantActions(v []ApiThreadAssistantAction)
SetAssistantActions sets field value
func (*QueryResponse) SetModifiedArtifacts ¶
func (o *QueryResponse) SetModifiedArtifacts(v []ExecuteRequestArtifactsInner)
SetModifiedArtifacts sets field value
func (*QueryResponse) SetThreadId ¶ added in v0.2.0
func (o *QueryResponse) SetThreadId(v string)
SetThreadId sets field value
func (QueryResponse) ToMap ¶
func (o QueryResponse) ToMap() (map[string]interface{}, error)
func (*QueryResponse) UnmarshalJSON ¶
func (o *QueryResponse) UnmarshalJSON(data []byte) (err error)
type QueryResponseChunk ¶
type QueryResponseChunk struct {
// contains filtered or unexported fields
}
QueryResponseChunk the streaming response sends chunks of data in Server-Sent Events (SSE) format.
func ArtifactUpdateChunkAsQueryResponseChunk ¶
func ArtifactUpdateChunkAsQueryResponseChunk(v *ArtifactUpdateChunk) QueryResponseChunk
ArtifactUpdateChunkAsQueryResponseChunk is a convenience function that returns ArtifactUpdateChunk wrapped in QueryResponseChunk.
func AssistantActionChunkAsQueryResponseChunk ¶
func AssistantActionChunkAsQueryResponseChunk(v *AssistantActionChunk) QueryResponseChunk
AssistantActionChunkAsQueryResponseChunk is a convenience function that returns AssistantActionChunk wrapped in QueryResponseChunk.
func ErrorChunkAsQueryResponseChunk ¶
func ErrorChunkAsQueryResponseChunk(v *ErrorChunk) QueryResponseChunk
ErrorChunkAsQueryResponseChunk is a convenience function that returns ErrorChunk wrapped in QueryResponseChunk.
func ThreadMetadataChunkAsQueryResponseChunk ¶ added in v0.2.0
func ThreadMetadataChunkAsQueryResponseChunk(v *ThreadMetadataChunk) QueryResponseChunk
ThreadMetadataChunkAsQueryResponseChunk is a convenience function that returns ThreadMetadataChunk wrapped in QueryResponseChunk
func (QueryResponseChunk) AsArtifactUpdateChunk ¶
func (src QueryResponseChunk) AsArtifactUpdateChunk() *ArtifactUpdateChunk
AsArtifactUpdateChunk returns the instance as a nullable ArtifactUpdateChunk.
func (QueryResponseChunk) AsAssistantActionChunk ¶
func (src QueryResponseChunk) AsAssistantActionChunk() *AssistantActionChunk
AsAssistantActionChunk returns the instance as a nullable AssistantActionChunk.
func (QueryResponseChunk) AsErrorChunk ¶
func (src QueryResponseChunk) AsErrorChunk() *ErrorChunk
AsErrorChunk returns the instance as a nullable ErrorChunk.
func (QueryResponseChunk) AsThreadMetadataChunk ¶ added in v0.2.0
func (src QueryResponseChunk) AsThreadMetadataChunk() *ThreadMetadataChunk
AsThreadMetadataChunk returns the instance as a nullable ThreadMetadataChunk.
func (QueryResponseChunk) Interface ¶
func (src QueryResponseChunk) Interface() QueryResponseChunkInterface
Interface returns the inner interface.
func (QueryResponseChunk) IsNil ¶
func (src QueryResponseChunk) IsNil() bool
IsNil checks if the instance is empty.
func (QueryResponseChunk) MarshalJSON ¶
func (src QueryResponseChunk) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON.
func (QueryResponseChunk) String ¶
func (src QueryResponseChunk) String() string
String prints the instance to string.
func (*QueryResponseChunk) UnmarshalJSON ¶
func (dst *QueryResponseChunk) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct.
type QueryResponseChunkInterface ¶
type QueryResponseChunkInterface interface {
GetType() string
}
QueryResponseChunkInterface abstracts an underlying QueryResponseChunk struct.
type QueryResponseChunkType ¶
type QueryResponseChunkType string
QueryResponseChunkType represents a query response chunk type enum.
const ( QueryResponseTypeAssistantActionChunk QueryResponseChunkType = "assistant_action_chunk" QueryResponseTypeArtifactUpdateChunk QueryResponseChunkType = "artifact_update_chunk" QueryResponseTypeErrorChunk QueryResponseChunkType = "error_chunk" QueryResponseTypeThreadMetadataChunk QueryResponseChunkType = "thread_metadata_chunk" )
func ParseQueryResponseChunkType ¶
func ParseQueryResponseChunkType(input string) (QueryResponseChunkType, error)
ParseQueryResponseChunkType parses the QueryResponseChunk type enum from string.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type TableArtifact ¶
type TableArtifact struct { Identifier string `json:"identifier"` Title string `json:"title"` ArtifactType string `json:"artifact_type"` // Table data as a list of objects, with the object keys being column names Data []map[string]interface{} `json:"data"` }
TableArtifact struct for TableArtifact
func NewTableArtifact ¶
func NewTableArtifact(identifier string, title string, artifactType string, data []map[string]interface{}) *TableArtifact
NewTableArtifact instantiates a new TableArtifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTableArtifactWithDefaults ¶
func NewTableArtifactWithDefaults() *TableArtifact
NewTableArtifactWithDefaults instantiates a new TableArtifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TableArtifact) GetArtifactType ¶
func (o *TableArtifact) GetArtifactType() string
GetArtifactType returns the ArtifactType field value
func (*TableArtifact) GetArtifactTypeOk ¶
func (o *TableArtifact) GetArtifactTypeOk() (*string, bool)
GetArtifactTypeOk returns a tuple with the ArtifactType field value and a boolean to check if the value has been set.
func (*TableArtifact) GetData ¶
func (o *TableArtifact) GetData() []map[string]interface{}
GetData returns the Data field value
func (*TableArtifact) GetDataOk ¶
func (o *TableArtifact) GetDataOk() ([]map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TableArtifact) GetIdentifier ¶
func (o *TableArtifact) GetIdentifier() string
GetIdentifier returns the Identifier field value
func (*TableArtifact) GetIdentifierOk ¶
func (o *TableArtifact) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value and a boolean to check if the value has been set.
func (*TableArtifact) GetTitle ¶
func (o *TableArtifact) GetTitle() string
GetTitle returns the Title field value
func (*TableArtifact) GetTitleOk ¶
func (o *TableArtifact) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (TableArtifact) MarshalJSON ¶
func (o TableArtifact) MarshalJSON() ([]byte, error)
func (*TableArtifact) SetArtifactType ¶
func (o *TableArtifact) SetArtifactType(v string)
SetArtifactType sets field value
func (*TableArtifact) SetData ¶
func (o *TableArtifact) SetData(v []map[string]interface{})
SetData sets field value
func (*TableArtifact) SetIdentifier ¶
func (o *TableArtifact) SetIdentifier(v string)
SetIdentifier sets field value
func (*TableArtifact) SetTitle ¶
func (o *TableArtifact) SetTitle(v string)
SetTitle sets field value
func (TableArtifact) ToMap ¶
func (o TableArtifact) ToMap() (map[string]interface{}, error)
func (*TableArtifact) UnmarshalJSON ¶
func (o *TableArtifact) UnmarshalJSON(data []byte) (err error)
type TextArtifact ¶
type TextArtifact struct { Identifier string `json:"identifier"` Title string `json:"title"` ArtifactType string `json:"artifact_type"` Data string `json:"data"` }
TextArtifact struct for TextArtifact
func NewTextArtifact ¶
func NewTextArtifact(identifier string, title string, artifactType string, data string) *TextArtifact
NewTextArtifact instantiates a new TextArtifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTextArtifactWithDefaults ¶
func NewTextArtifactWithDefaults() *TextArtifact
NewTextArtifactWithDefaults instantiates a new TextArtifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TextArtifact) GetArtifactType ¶
func (o *TextArtifact) GetArtifactType() string
GetArtifactType returns the ArtifactType field value
func (*TextArtifact) GetArtifactTypeOk ¶
func (o *TextArtifact) GetArtifactTypeOk() (*string, bool)
GetArtifactTypeOk returns a tuple with the ArtifactType field value and a boolean to check if the value has been set.
func (*TextArtifact) GetData ¶
func (o *TextArtifact) GetData() string
GetData returns the Data field value
func (*TextArtifact) GetDataOk ¶
func (o *TextArtifact) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TextArtifact) GetIdentifier ¶
func (o *TextArtifact) GetIdentifier() string
GetIdentifier returns the Identifier field value
func (*TextArtifact) GetIdentifierOk ¶
func (o *TextArtifact) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value and a boolean to check if the value has been set.
func (*TextArtifact) GetTitle ¶
func (o *TextArtifact) GetTitle() string
GetTitle returns the Title field value
func (*TextArtifact) GetTitleOk ¶
func (o *TextArtifact) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (TextArtifact) MarshalJSON ¶
func (o TextArtifact) MarshalJSON() ([]byte, error)
func (*TextArtifact) SetArtifactType ¶
func (o *TextArtifact) SetArtifactType(v string)
SetArtifactType sets field value
func (*TextArtifact) SetIdentifier ¶
func (o *TextArtifact) SetIdentifier(v string)
SetIdentifier sets field value
func (TextArtifact) ToMap ¶
func (o TextArtifact) ToMap() (map[string]interface{}, error)
func (*TextArtifact) UnmarshalJSON ¶
func (o *TextArtifact) UnmarshalJSON(data []byte) (err error)
type ThreadMetadataChunk ¶ added in v0.2.0
ThreadMetadataChunk struct for ThreadMetadataChunk
func NewThreadMetadataChunk ¶ added in v0.2.0
func NewThreadMetadataChunk(type_ string, threadId string) *ThreadMetadataChunk
NewThreadMetadataChunk instantiates a new ThreadMetadataChunk object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewThreadMetadataChunkWithDefaults ¶ added in v0.2.0
func NewThreadMetadataChunkWithDefaults() *ThreadMetadataChunk
NewThreadMetadataChunkWithDefaults instantiates a new ThreadMetadataChunk object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ThreadMetadataChunk) GetThreadId ¶ added in v0.2.0
func (o *ThreadMetadataChunk) GetThreadId() string
GetThreadId returns the ThreadId field value
func (*ThreadMetadataChunk) GetThreadIdOk ¶ added in v0.2.0
func (o *ThreadMetadataChunk) GetThreadIdOk() (*string, bool)
GetThreadIdOk returns a tuple with the ThreadId field value and a boolean to check if the value has been set.
func (*ThreadMetadataChunk) GetType ¶ added in v0.2.0
func (o *ThreadMetadataChunk) GetType() string
GetType returns the Type field value
func (*ThreadMetadataChunk) GetTypeOk ¶ added in v0.2.0
func (o *ThreadMetadataChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ThreadMetadataChunk) MarshalJSON ¶ added in v0.2.0
func (o ThreadMetadataChunk) MarshalJSON() ([]byte, error)
func (*ThreadMetadataChunk) SetThreadId ¶ added in v0.2.0
func (o *ThreadMetadataChunk) SetThreadId(v string)
SetThreadId sets field value
func (*ThreadMetadataChunk) SetType ¶ added in v0.2.0
func (o *ThreadMetadataChunk) SetType(v string)
SetType sets field value
func (ThreadMetadataChunk) ToMap ¶ added in v0.2.0
func (o ThreadMetadataChunk) ToMap() (map[string]interface{}, error)
func (*ThreadMetadataChunk) UnmarshalJSON ¶ added in v0.2.0
func (o *ThreadMetadataChunk) UnmarshalJSON(data []byte) (err error)
type ValidationError ¶
type ValidationError struct { Loc []ValidationErrorLocInner `json:"loc"` Msg string `json:"msg"` Type string `json:"type"` }
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError(loc []ValidationErrorLocInner, msg string, type_ string) *ValidationError
NewValidationError instantiates a new ValidationError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewValidationErrorWithDefaults ¶
func NewValidationErrorWithDefaults() *ValidationError
NewValidationErrorWithDefaults instantiates a new ValidationError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ValidationError) GetLoc ¶
func (o *ValidationError) GetLoc() []ValidationErrorLocInner
GetLoc returns the Loc field value
func (*ValidationError) GetLocOk ¶
func (o *ValidationError) GetLocOk() ([]ValidationErrorLocInner, bool)
GetLocOk returns a tuple with the Loc field value and a boolean to check if the value has been set.
func (*ValidationError) GetMsg ¶
func (o *ValidationError) GetMsg() string
GetMsg returns the Msg field value
func (*ValidationError) GetMsgOk ¶
func (o *ValidationError) GetMsgOk() (*string, bool)
GetMsgOk returns a tuple with the Msg field value and a boolean to check if the value has been set.
func (*ValidationError) GetType ¶
func (o *ValidationError) GetType() string
GetType returns the Type field value
func (*ValidationError) GetTypeOk ¶
func (o *ValidationError) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (ValidationError) MarshalJSON ¶
func (o ValidationError) MarshalJSON() ([]byte, error)
func (*ValidationError) SetLoc ¶
func (o *ValidationError) SetLoc(v []ValidationErrorLocInner)
SetLoc sets field value
func (*ValidationError) SetType ¶
func (o *ValidationError) SetType(v string)
SetType sets field value
func (ValidationError) ToMap ¶
func (o ValidationError) ToMap() (map[string]interface{}, error)
func (*ValidationError) UnmarshalJSON ¶
func (o *ValidationError) UnmarshalJSON(data []byte) (err error)
type ValidationErrorLocInner ¶
ValidationErrorLocInner struct for ValidationErrorLocInner
func (ValidationErrorLocInner) MarshalJSON ¶
func (src ValidationErrorLocInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ValidationErrorLocInner) UnmarshalJSON ¶
func (dst *ValidationErrorLocInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type VisualizationArtifact ¶
type VisualizationArtifact struct { Identifier string `json:"identifier"` Title string `json:"title"` ArtifactType string `json:"artifact_type"` // Visualization data containing HTML and visualization data Data VisualizationArtifactData `json:"data"` }
VisualizationArtifact struct for VisualizationArtifact
func NewVisualizationArtifact ¶
func NewVisualizationArtifact(identifier string, title string, artifactType string, data VisualizationArtifactData) *VisualizationArtifact
NewVisualizationArtifact instantiates a new VisualizationArtifact object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVisualizationArtifactWithDefaults ¶
func NewVisualizationArtifactWithDefaults() *VisualizationArtifact
NewVisualizationArtifactWithDefaults instantiates a new VisualizationArtifact object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VisualizationArtifact) GetArtifactType ¶
func (o *VisualizationArtifact) GetArtifactType() string
GetArtifactType returns the ArtifactType field value
func (*VisualizationArtifact) GetArtifactTypeOk ¶
func (o *VisualizationArtifact) GetArtifactTypeOk() (*string, bool)
GetArtifactTypeOk returns a tuple with the ArtifactType field value and a boolean to check if the value has been set.
func (*VisualizationArtifact) GetData ¶
func (o *VisualizationArtifact) GetData() VisualizationArtifactData
GetData returns the Data field value
func (*VisualizationArtifact) GetDataOk ¶
func (o *VisualizationArtifact) GetDataOk() (*VisualizationArtifactData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*VisualizationArtifact) GetIdentifier ¶
func (o *VisualizationArtifact) GetIdentifier() string
GetIdentifier returns the Identifier field value
func (*VisualizationArtifact) GetIdentifierOk ¶
func (o *VisualizationArtifact) GetIdentifierOk() (*string, bool)
GetIdentifierOk returns a tuple with the Identifier field value and a boolean to check if the value has been set.
func (*VisualizationArtifact) GetTitle ¶
func (o *VisualizationArtifact) GetTitle() string
GetTitle returns the Title field value
func (*VisualizationArtifact) GetTitleOk ¶
func (o *VisualizationArtifact) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (VisualizationArtifact) MarshalJSON ¶
func (o VisualizationArtifact) MarshalJSON() ([]byte, error)
func (*VisualizationArtifact) SetArtifactType ¶
func (o *VisualizationArtifact) SetArtifactType(v string)
SetArtifactType sets field value
func (*VisualizationArtifact) SetData ¶
func (o *VisualizationArtifact) SetData(v VisualizationArtifactData)
SetData sets field value
func (*VisualizationArtifact) SetIdentifier ¶
func (o *VisualizationArtifact) SetIdentifier(v string)
SetIdentifier sets field value
func (*VisualizationArtifact) SetTitle ¶
func (o *VisualizationArtifact) SetTitle(v string)
SetTitle sets field value
func (VisualizationArtifact) ToMap ¶
func (o VisualizationArtifact) ToMap() (map[string]interface{}, error)
func (*VisualizationArtifact) UnmarshalJSON ¶
func (o *VisualizationArtifact) UnmarshalJSON(data []byte) (err error)
type VisualizationArtifactData ¶
type VisualizationArtifactData struct { Html string `json:"html"` VisualizationData interface{} `json:"visualization_data"` }
VisualizationArtifactData Data structure for visualization artifacts containing HTML and associated data. Attributes: html: The HTML markup for rendering the visualization visualization_data: The underlying data used to generate the visualization
func NewVisualizationArtifactData ¶
func NewVisualizationArtifactData(html string, visualizationData interface{}) *VisualizationArtifactData
NewVisualizationArtifactData instantiates a new VisualizationArtifactData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVisualizationArtifactDataWithDefaults ¶
func NewVisualizationArtifactDataWithDefaults() *VisualizationArtifactData
NewVisualizationArtifactDataWithDefaults instantiates a new VisualizationArtifactData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VisualizationArtifactData) GetHtml ¶
func (o *VisualizationArtifactData) GetHtml() string
GetHtml returns the Html field value
func (*VisualizationArtifactData) GetHtmlOk ¶
func (o *VisualizationArtifactData) GetHtmlOk() (*string, bool)
GetHtmlOk returns a tuple with the Html field value and a boolean to check if the value has been set.
func (*VisualizationArtifactData) GetVisualizationData ¶
func (o *VisualizationArtifactData) GetVisualizationData() interface{}
GetVisualizationData returns the VisualizationData field value If the value is explicit nil, the zero value for interface{} will be returned
func (*VisualizationArtifactData) GetVisualizationDataOk ¶
func (o *VisualizationArtifactData) GetVisualizationDataOk() (*interface{}, bool)
GetVisualizationDataOk returns a tuple with the VisualizationData field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (VisualizationArtifactData) MarshalJSON ¶
func (o VisualizationArtifactData) MarshalJSON() ([]byte, error)
func (*VisualizationArtifactData) SetHtml ¶
func (o *VisualizationArtifactData) SetHtml(v string)
SetHtml sets field value
func (*VisualizationArtifactData) SetVisualizationData ¶
func (o *VisualizationArtifactData) SetVisualizationData(v interface{})
SetVisualizationData sets field value
func (VisualizationArtifactData) ToMap ¶
func (o VisualizationArtifactData) ToMap() (map[string]interface{}, error)
func (*VisualizationArtifactData) UnmarshalJSON ¶
func (o *VisualizationArtifactData) UnmarshalJSON(data []byte) (err error)
Source Files
¶
- api_default.go
- client.go
- configuration.go
- model_api_anthropic_config.go
- model_api_open_ai_config.go
- model_api_thread_assistant_action.go
- model_api_thread_interaction.go
- model_api_thread_user_message.go
- model_artifact.go
- model_artifact_update_chunk.go
- model_assistant_action_chunk.go
- model_ddn_config.go
- model_error_chunk.go
- model_execute_request.go
- model_execute_request_ai_primitives_llm.go
- model_execute_request_artifacts_inner.go
- model_hasura_llm_config.go
- model_http_validation_error.go
- model_llm.go
- model_llm_usage.go
- model_prompt_ql_execution_result.go
- model_query_request.go
- model_query_response.go
- model_query_response_chunk.go
- model_table_artifact.go
- model_text_artifact.go
- model_thread_metadata_chunk.go
- model_validation_error.go
- model_validation_error_loc_inner.go
- model_visualization_artifact.go
- model_visualization_artifact_data.go
- response.go
- utils.go