Documentation
¶
Index ¶
- 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 Agent
- func (o *Agent) GetCompletionArgs() CompletionArgs
- func (o *Agent) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *Agent) GetCreatedAt() time.Time
- func (o *Agent) GetCreatedAtOk() (*time.Time, bool)
- func (o *Agent) GetDeploymentChat() bool
- func (o *Agent) GetDeploymentChatOk() (*bool, bool)
- func (o *Agent) GetDescription() string
- func (o *Agent) GetDescriptionOk() (*string, bool)
- func (o *Agent) GetHandoffs() []string
- func (o *Agent) GetHandoffsOk() ([]string, bool)
- func (o *Agent) GetId() string
- func (o *Agent) GetIdOk() (*string, bool)
- func (o *Agent) GetInstructions() string
- func (o *Agent) GetInstructionsOk() (*string, bool)
- func (o *Agent) GetMetadata() map[string]interface{}
- func (o *Agent) GetMetadataOk() (map[string]interface{}, bool)
- func (o *Agent) GetModel() string
- func (o *Agent) GetModelOk() (*string, bool)
- func (o *Agent) GetName() string
- func (o *Agent) GetNameOk() (*string, bool)
- func (o *Agent) GetObject() string
- func (o *Agent) GetObjectOk() (*string, bool)
- func (o *Agent) GetSource() string
- func (o *Agent) GetSourceOk() (*string, bool)
- func (o *Agent) GetTools() []ToolsInner
- func (o *Agent) GetToolsOk() ([]ToolsInner, bool)
- func (o *Agent) GetUpdatedAt() time.Time
- func (o *Agent) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Agent) GetVersion() int32
- func (o *Agent) GetVersionOk() (*int32, bool)
- func (o *Agent) GetVersions() []int32
- func (o *Agent) GetVersionsOk() ([]int32, bool)
- func (o *Agent) HasCompletionArgs() bool
- func (o *Agent) HasDescription() bool
- func (o *Agent) HasHandoffs() bool
- func (o *Agent) HasInstructions() bool
- func (o *Agent) HasMetadata() bool
- func (o *Agent) HasObject() bool
- func (o *Agent) HasTools() bool
- func (o Agent) MarshalJSON() ([]byte, error)
- func (o *Agent) SetCompletionArgs(v CompletionArgs)
- func (o *Agent) SetCreatedAt(v time.Time)
- func (o *Agent) SetDeploymentChat(v bool)
- func (o *Agent) SetDescription(v string)
- func (o *Agent) SetDescriptionNil()
- func (o *Agent) SetHandoffs(v []string)
- func (o *Agent) SetId(v string)
- func (o *Agent) SetInstructions(v string)
- func (o *Agent) SetInstructionsNil()
- func (o *Agent) SetMetadata(v map[string]interface{})
- func (o *Agent) SetModel(v string)
- func (o *Agent) SetName(v string)
- func (o *Agent) SetObject(v string)
- func (o *Agent) SetSource(v string)
- func (o *Agent) SetTools(v []ToolsInner)
- func (o *Agent) SetUpdatedAt(v time.Time)
- func (o *Agent) SetVersion(v int32)
- func (o *Agent) SetVersions(v []int32)
- func (o Agent) ToMap() (map[string]interface{}, error)
- func (o *Agent) UnmarshalJSON(data []byte) (err error)
- func (o *Agent) UnsetDescription()
- func (o *Agent) UnsetInstructions()
- type AgentAliasResponse
- func (o *AgentAliasResponse) GetAlias() string
- func (o *AgentAliasResponse) GetAliasOk() (*string, bool)
- func (o *AgentAliasResponse) GetCreatedAt() time.Time
- func (o *AgentAliasResponse) GetCreatedAtOk() (*time.Time, bool)
- func (o *AgentAliasResponse) GetUpdatedAt() time.Time
- func (o *AgentAliasResponse) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AgentAliasResponse) GetVersion() int32
- func (o *AgentAliasResponse) GetVersionOk() (*int32, bool)
- func (o AgentAliasResponse) MarshalJSON() ([]byte, error)
- func (o *AgentAliasResponse) SetAlias(v string)
- func (o *AgentAliasResponse) SetCreatedAt(v time.Time)
- func (o *AgentAliasResponse) SetUpdatedAt(v time.Time)
- func (o *AgentAliasResponse) SetVersion(v int32)
- func (o AgentAliasResponse) ToMap() (map[string]interface{}, error)
- func (o *AgentAliasResponse) UnmarshalJSON(data []byte) (err error)
- type AgentConversation
- func (o *AgentConversation) GetAgentId() string
- func (o *AgentConversation) GetAgentIdOk() (*string, bool)
- func (o *AgentConversation) GetAgentVersion() AgentVersion1
- func (o *AgentConversation) GetAgentVersionOk() (*AgentVersion1, bool)
- func (o *AgentConversation) GetCreatedAt() time.Time
- func (o *AgentConversation) GetCreatedAtOk() (*time.Time, bool)
- func (o *AgentConversation) GetDescription() string
- func (o *AgentConversation) GetDescriptionOk() (*string, bool)
- func (o *AgentConversation) GetId() string
- func (o *AgentConversation) GetIdOk() (*string, bool)
- func (o *AgentConversation) GetMetadata() map[string]interface{}
- func (o *AgentConversation) GetMetadataOk() (map[string]interface{}, bool)
- func (o *AgentConversation) GetName() string
- func (o *AgentConversation) GetNameOk() (*string, bool)
- func (o *AgentConversation) GetObject() string
- func (o *AgentConversation) GetObjectOk() (*string, bool)
- func (o *AgentConversation) GetUpdatedAt() time.Time
- func (o *AgentConversation) GetUpdatedAtOk() (*time.Time, bool)
- func (o *AgentConversation) HasAgentVersion() bool
- func (o *AgentConversation) HasDescription() bool
- func (o *AgentConversation) HasMetadata() bool
- func (o *AgentConversation) HasName() bool
- func (o *AgentConversation) HasObject() bool
- func (o AgentConversation) MarshalJSON() ([]byte, error)
- func (o *AgentConversation) SetAgentId(v string)
- func (o *AgentConversation) SetAgentVersion(v AgentVersion1)
- func (o *AgentConversation) SetAgentVersionNil()
- func (o *AgentConversation) SetCreatedAt(v time.Time)
- func (o *AgentConversation) SetDescription(v string)
- func (o *AgentConversation) SetDescriptionNil()
- func (o *AgentConversation) SetId(v string)
- func (o *AgentConversation) SetMetadata(v map[string]interface{})
- func (o *AgentConversation) SetName(v string)
- func (o *AgentConversation) SetNameNil()
- func (o *AgentConversation) SetObject(v string)
- func (o *AgentConversation) SetUpdatedAt(v time.Time)
- func (o AgentConversation) ToMap() (map[string]interface{}, error)
- func (o *AgentConversation) UnmarshalJSON(data []byte) (err error)
- func (o *AgentConversation) UnsetAgentVersion()
- func (o *AgentConversation) UnsetDescription()
- func (o *AgentConversation) UnsetName()
- type AgentCreationRequest
- func (o *AgentCreationRequest) GetCompletionArgs() CompletionArgs
- func (o *AgentCreationRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *AgentCreationRequest) GetDescription() string
- func (o *AgentCreationRequest) GetDescriptionOk() (*string, bool)
- func (o *AgentCreationRequest) GetHandoffs() []string
- func (o *AgentCreationRequest) GetHandoffsOk() ([]string, bool)
- func (o *AgentCreationRequest) GetInstructions() string
- func (o *AgentCreationRequest) GetInstructionsOk() (*string, bool)
- func (o *AgentCreationRequest) GetMetadata() map[string]interface{}
- func (o *AgentCreationRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *AgentCreationRequest) GetModel() string
- func (o *AgentCreationRequest) GetModelOk() (*string, bool)
- func (o *AgentCreationRequest) GetName() string
- func (o *AgentCreationRequest) GetNameOk() (*string, bool)
- func (o *AgentCreationRequest) GetTools() []ToolsInner
- func (o *AgentCreationRequest) GetToolsOk() ([]ToolsInner, bool)
- func (o *AgentCreationRequest) HasCompletionArgs() bool
- func (o *AgentCreationRequest) HasDescription() bool
- func (o *AgentCreationRequest) HasHandoffs() bool
- func (o *AgentCreationRequest) HasInstructions() bool
- func (o *AgentCreationRequest) HasMetadata() bool
- func (o *AgentCreationRequest) HasTools() bool
- func (o AgentCreationRequest) MarshalJSON() ([]byte, error)
- func (o *AgentCreationRequest) SetCompletionArgs(v CompletionArgs)
- func (o *AgentCreationRequest) SetDescription(v string)
- func (o *AgentCreationRequest) SetDescriptionNil()
- func (o *AgentCreationRequest) SetHandoffs(v []string)
- func (o *AgentCreationRequest) SetInstructions(v string)
- func (o *AgentCreationRequest) SetInstructionsNil()
- func (o *AgentCreationRequest) SetMetadata(v map[string]interface{})
- func (o *AgentCreationRequest) SetModel(v string)
- func (o *AgentCreationRequest) SetName(v string)
- func (o *AgentCreationRequest) SetTools(v []ToolsInner)
- func (o AgentCreationRequest) ToMap() (map[string]interface{}, error)
- func (o *AgentCreationRequest) UnmarshalJSON(data []byte) (err error)
- func (o *AgentCreationRequest) UnsetDescription()
- func (o *AgentCreationRequest) UnsetInstructions()
- type AgentHandoffDoneEvent
- func (o *AgentHandoffDoneEvent) GetCreatedAt() time.Time
- func (o *AgentHandoffDoneEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *AgentHandoffDoneEvent) GetId() string
- func (o *AgentHandoffDoneEvent) GetIdOk() (*string, bool)
- func (o *AgentHandoffDoneEvent) GetNextAgentId() string
- func (o *AgentHandoffDoneEvent) GetNextAgentIdOk() (*string, bool)
- func (o *AgentHandoffDoneEvent) GetNextAgentName() string
- func (o *AgentHandoffDoneEvent) GetNextAgentNameOk() (*string, bool)
- func (o *AgentHandoffDoneEvent) GetOutputIndex() int32
- func (o *AgentHandoffDoneEvent) GetOutputIndexOk() (*int32, bool)
- func (o *AgentHandoffDoneEvent) GetType() string
- func (o *AgentHandoffDoneEvent) GetTypeOk() (*string, bool)
- func (o *AgentHandoffDoneEvent) HasCreatedAt() bool
- func (o *AgentHandoffDoneEvent) HasOutputIndex() bool
- func (o *AgentHandoffDoneEvent) HasType() bool
- func (o AgentHandoffDoneEvent) MarshalJSON() ([]byte, error)
- func (o *AgentHandoffDoneEvent) SetCreatedAt(v time.Time)
- func (o *AgentHandoffDoneEvent) SetId(v string)
- func (o *AgentHandoffDoneEvent) SetNextAgentId(v string)
- func (o *AgentHandoffDoneEvent) SetNextAgentName(v string)
- func (o *AgentHandoffDoneEvent) SetOutputIndex(v int32)
- func (o *AgentHandoffDoneEvent) SetType(v string)
- func (o AgentHandoffDoneEvent) ToMap() (map[string]interface{}, error)
- func (o *AgentHandoffDoneEvent) UnmarshalJSON(data []byte) (err error)
- type AgentHandoffEntry
- func (o *AgentHandoffEntry) GetCompletedAt() time.Time
- func (o *AgentHandoffEntry) GetCompletedAtOk() (*time.Time, bool)
- func (o *AgentHandoffEntry) GetCreatedAt() time.Time
- func (o *AgentHandoffEntry) GetCreatedAtOk() (*time.Time, bool)
- func (o *AgentHandoffEntry) GetId() string
- func (o *AgentHandoffEntry) GetIdOk() (*string, bool)
- func (o *AgentHandoffEntry) GetNextAgentId() string
- func (o *AgentHandoffEntry) GetNextAgentIdOk() (*string, bool)
- func (o *AgentHandoffEntry) GetNextAgentName() string
- func (o *AgentHandoffEntry) GetNextAgentNameOk() (*string, bool)
- func (o *AgentHandoffEntry) GetObject() string
- func (o *AgentHandoffEntry) GetObjectOk() (*string, bool)
- func (o *AgentHandoffEntry) GetPreviousAgentId() string
- func (o *AgentHandoffEntry) GetPreviousAgentIdOk() (*string, bool)
- func (o *AgentHandoffEntry) GetPreviousAgentName() string
- func (o *AgentHandoffEntry) GetPreviousAgentNameOk() (*string, bool)
- func (o *AgentHandoffEntry) GetType() string
- func (o *AgentHandoffEntry) GetTypeOk() (*string, bool)
- func (o *AgentHandoffEntry) HasCompletedAt() bool
- func (o *AgentHandoffEntry) HasCreatedAt() bool
- func (o *AgentHandoffEntry) HasId() bool
- func (o *AgentHandoffEntry) HasObject() bool
- func (o *AgentHandoffEntry) HasType() bool
- func (o AgentHandoffEntry) MarshalJSON() ([]byte, error)
- func (o *AgentHandoffEntry) SetCompletedAt(v time.Time)
- func (o *AgentHandoffEntry) SetCompletedAtNil()
- func (o *AgentHandoffEntry) SetCreatedAt(v time.Time)
- func (o *AgentHandoffEntry) SetId(v string)
- func (o *AgentHandoffEntry) SetNextAgentId(v string)
- func (o *AgentHandoffEntry) SetNextAgentName(v string)
- func (o *AgentHandoffEntry) SetObject(v string)
- func (o *AgentHandoffEntry) SetPreviousAgentId(v string)
- func (o *AgentHandoffEntry) SetPreviousAgentName(v string)
- func (o *AgentHandoffEntry) SetType(v string)
- func (o AgentHandoffEntry) ToMap() (map[string]interface{}, error)
- func (o *AgentHandoffEntry) UnmarshalJSON(data []byte) (err error)
- func (o *AgentHandoffEntry) UnsetCompletedAt()
- type AgentHandoffStartedEvent
- func (o *AgentHandoffStartedEvent) GetCreatedAt() time.Time
- func (o *AgentHandoffStartedEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *AgentHandoffStartedEvent) GetId() string
- func (o *AgentHandoffStartedEvent) GetIdOk() (*string, bool)
- func (o *AgentHandoffStartedEvent) GetOutputIndex() int32
- func (o *AgentHandoffStartedEvent) GetOutputIndexOk() (*int32, bool)
- func (o *AgentHandoffStartedEvent) GetPreviousAgentId() string
- func (o *AgentHandoffStartedEvent) GetPreviousAgentIdOk() (*string, bool)
- func (o *AgentHandoffStartedEvent) GetPreviousAgentName() string
- func (o *AgentHandoffStartedEvent) GetPreviousAgentNameOk() (*string, bool)
- func (o *AgentHandoffStartedEvent) GetType() string
- func (o *AgentHandoffStartedEvent) GetTypeOk() (*string, bool)
- func (o *AgentHandoffStartedEvent) HasCreatedAt() bool
- func (o *AgentHandoffStartedEvent) HasOutputIndex() bool
- func (o *AgentHandoffStartedEvent) HasType() bool
- func (o AgentHandoffStartedEvent) MarshalJSON() ([]byte, error)
- func (o *AgentHandoffStartedEvent) SetCreatedAt(v time.Time)
- func (o *AgentHandoffStartedEvent) SetId(v string)
- func (o *AgentHandoffStartedEvent) SetOutputIndex(v int32)
- func (o *AgentHandoffStartedEvent) SetPreviousAgentId(v string)
- func (o *AgentHandoffStartedEvent) SetPreviousAgentName(v string)
- func (o *AgentHandoffStartedEvent) SetType(v string)
- func (o AgentHandoffStartedEvent) ToMap() (map[string]interface{}, error)
- func (o *AgentHandoffStartedEvent) UnmarshalJSON(data []byte) (err error)
- type AgentUpdateRequest
- func (o *AgentUpdateRequest) GetCompletionArgs() CompletionArgs
- func (o *AgentUpdateRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *AgentUpdateRequest) GetDeploymentChat() bool
- func (o *AgentUpdateRequest) GetDeploymentChatOk() (*bool, bool)
- func (o *AgentUpdateRequest) GetDescription() string
- func (o *AgentUpdateRequest) GetDescriptionOk() (*string, bool)
- func (o *AgentUpdateRequest) GetHandoffs() []string
- func (o *AgentUpdateRequest) GetHandoffsOk() ([]string, bool)
- func (o *AgentUpdateRequest) GetInstructions() string
- func (o *AgentUpdateRequest) GetInstructionsOk() (*string, bool)
- func (o *AgentUpdateRequest) GetMetadata() map[string]interface{}
- func (o *AgentUpdateRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *AgentUpdateRequest) GetModel() string
- func (o *AgentUpdateRequest) GetModelOk() (*string, bool)
- func (o *AgentUpdateRequest) GetName() string
- func (o *AgentUpdateRequest) GetNameOk() (*string, bool)
- func (o *AgentUpdateRequest) GetTools() []ToolsInner
- func (o *AgentUpdateRequest) GetToolsOk() ([]ToolsInner, bool)
- func (o *AgentUpdateRequest) HasCompletionArgs() bool
- func (o *AgentUpdateRequest) HasDeploymentChat() bool
- func (o *AgentUpdateRequest) HasDescription() bool
- func (o *AgentUpdateRequest) HasHandoffs() bool
- func (o *AgentUpdateRequest) HasInstructions() bool
- func (o *AgentUpdateRequest) HasMetadata() bool
- func (o *AgentUpdateRequest) HasModel() bool
- func (o *AgentUpdateRequest) HasName() bool
- func (o *AgentUpdateRequest) HasTools() bool
- func (o AgentUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *AgentUpdateRequest) SetCompletionArgs(v CompletionArgs)
- func (o *AgentUpdateRequest) SetDeploymentChat(v bool)
- func (o *AgentUpdateRequest) SetDeploymentChatNil()
- func (o *AgentUpdateRequest) SetDescription(v string)
- func (o *AgentUpdateRequest) SetDescriptionNil()
- func (o *AgentUpdateRequest) SetHandoffs(v []string)
- func (o *AgentUpdateRequest) SetInstructions(v string)
- func (o *AgentUpdateRequest) SetInstructionsNil()
- func (o *AgentUpdateRequest) SetMetadata(v map[string]interface{})
- func (o *AgentUpdateRequest) SetModel(v string)
- func (o *AgentUpdateRequest) SetModelNil()
- func (o *AgentUpdateRequest) SetName(v string)
- func (o *AgentUpdateRequest) SetNameNil()
- func (o *AgentUpdateRequest) SetTools(v []ToolsInner)
- func (o AgentUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *AgentUpdateRequest) UnsetDeploymentChat()
- func (o *AgentUpdateRequest) UnsetDescription()
- func (o *AgentUpdateRequest) UnsetInstructions()
- func (o *AgentUpdateRequest) UnsetModel()
- func (o *AgentUpdateRequest) UnsetName()
- type AgentVersion
- type AgentVersion1
- type AgentVersion2
- type AgentsAPI
- type AgentsAPIService
- func (a *AgentsAPIService) AgentsCompletionV1AgentsCompletionsPost(ctx context.Context) ApiAgentsCompletionV1AgentsCompletionsPostRequest
- func (a *AgentsAPIService) AgentsCompletionV1AgentsCompletionsPostExecute(r ApiAgentsCompletionV1AgentsCompletionsPostRequest) (*ChatCompletionResponse, *http.Response, error)
- type AgentsCompletionRequest
- func (o *AgentsCompletionRequest) GetAgentId() string
- func (o *AgentsCompletionRequest) GetAgentIdOk() (*string, bool)
- func (o *AgentsCompletionRequest) GetFrequencyPenalty() float32
- func (o *AgentsCompletionRequest) GetFrequencyPenaltyOk() (*float32, bool)
- func (o *AgentsCompletionRequest) GetMaxTokens() int32
- func (o *AgentsCompletionRequest) GetMaxTokensOk() (*int32, bool)
- func (o *AgentsCompletionRequest) GetMessages() []MessagesInner
- func (o *AgentsCompletionRequest) GetMessagesOk() ([]MessagesInner, bool)
- func (o *AgentsCompletionRequest) GetMetadata() map[string]interface{}
- func (o *AgentsCompletionRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *AgentsCompletionRequest) GetN() int32
- func (o *AgentsCompletionRequest) GetNOk() (*int32, bool)
- func (o *AgentsCompletionRequest) GetParallelToolCalls() bool
- func (o *AgentsCompletionRequest) GetParallelToolCallsOk() (*bool, bool)
- func (o *AgentsCompletionRequest) GetPrediction() Prediction
- func (o *AgentsCompletionRequest) GetPredictionOk() (*Prediction, bool)
- func (o *AgentsCompletionRequest) GetPresencePenalty() float32
- func (o *AgentsCompletionRequest) GetPresencePenaltyOk() (*float32, bool)
- func (o *AgentsCompletionRequest) GetPromptMode() MistralPromptMode
- func (o *AgentsCompletionRequest) GetPromptModeOk() (*MistralPromptMode, bool)
- func (o *AgentsCompletionRequest) GetRandomSeed() int32
- func (o *AgentsCompletionRequest) GetRandomSeedOk() (*int32, bool)
- func (o *AgentsCompletionRequest) GetResponseFormat() ResponseFormat
- func (o *AgentsCompletionRequest) GetResponseFormatOk() (*ResponseFormat, bool)
- func (o *AgentsCompletionRequest) GetStop() Stop
- func (o *AgentsCompletionRequest) GetStopOk() (*Stop, bool)
- func (o *AgentsCompletionRequest) GetStream() bool
- func (o *AgentsCompletionRequest) GetStreamOk() (*bool, bool)
- func (o *AgentsCompletionRequest) GetToolChoice() ToolChoiceEnum
- func (o *AgentsCompletionRequest) GetToolChoiceOk() (*ToolChoiceEnum, bool)
- func (o *AgentsCompletionRequest) GetTools() []Tool
- func (o *AgentsCompletionRequest) GetToolsOk() ([]Tool, bool)
- func (o *AgentsCompletionRequest) HasFrequencyPenalty() bool
- func (o *AgentsCompletionRequest) HasMaxTokens() bool
- func (o *AgentsCompletionRequest) HasMetadata() bool
- func (o *AgentsCompletionRequest) HasN() bool
- func (o *AgentsCompletionRequest) HasParallelToolCalls() bool
- func (o *AgentsCompletionRequest) HasPrediction() bool
- func (o *AgentsCompletionRequest) HasPresencePenalty() bool
- func (o *AgentsCompletionRequest) HasPromptMode() bool
- func (o *AgentsCompletionRequest) HasRandomSeed() bool
- func (o *AgentsCompletionRequest) HasResponseFormat() bool
- func (o *AgentsCompletionRequest) HasStop() bool
- func (o *AgentsCompletionRequest) HasStream() bool
- func (o *AgentsCompletionRequest) HasToolChoice() bool
- func (o *AgentsCompletionRequest) HasTools() bool
- func (o AgentsCompletionRequest) MarshalJSON() ([]byte, error)
- func (o *AgentsCompletionRequest) SetAgentId(v string)
- func (o *AgentsCompletionRequest) SetFrequencyPenalty(v float32)
- func (o *AgentsCompletionRequest) SetMaxTokens(v int32)
- func (o *AgentsCompletionRequest) SetMaxTokensNil()
- func (o *AgentsCompletionRequest) SetMessages(v []MessagesInner)
- func (o *AgentsCompletionRequest) SetMetadata(v map[string]interface{})
- func (o *AgentsCompletionRequest) SetN(v int32)
- func (o *AgentsCompletionRequest) SetNNil()
- func (o *AgentsCompletionRequest) SetParallelToolCalls(v bool)
- func (o *AgentsCompletionRequest) SetPrediction(v Prediction)
- func (o *AgentsCompletionRequest) SetPresencePenalty(v float32)
- func (o *AgentsCompletionRequest) SetPromptMode(v MistralPromptMode)
- func (o *AgentsCompletionRequest) SetPromptModeNil()
- func (o *AgentsCompletionRequest) SetRandomSeed(v int32)
- func (o *AgentsCompletionRequest) SetRandomSeedNil()
- func (o *AgentsCompletionRequest) SetResponseFormat(v ResponseFormat)
- func (o *AgentsCompletionRequest) SetStop(v Stop)
- func (o *AgentsCompletionRequest) SetStream(v bool)
- func (o *AgentsCompletionRequest) SetToolChoice(v ToolChoiceEnum)
- func (o *AgentsCompletionRequest) SetTools(v []Tool)
- func (o AgentsCompletionRequest) ToMap() (map[string]interface{}, error)
- func (o *AgentsCompletionRequest) UnmarshalJSON(data []byte) (err error)
- func (o *AgentsCompletionRequest) UnsetMaxTokens()
- func (o *AgentsCompletionRequest) UnsetN()
- func (o *AgentsCompletionRequest) UnsetPromptMode()
- func (o *AgentsCompletionRequest) UnsetRandomSeed()
- type AnyOfmapnull
- type ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest
- func (r ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) Alias(alias string) ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest
- func (r ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) Execute() (*AgentAliasResponse, *http.Response, error)
- func (r ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) Version(version int32) ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest
- type ApiAgentsApiV1AgentsCreateRequest
- type ApiAgentsApiV1AgentsDeleteRequest
- type ApiAgentsApiV1AgentsGetRequest
- type ApiAgentsApiV1AgentsGetVersionRequest
- type ApiAgentsApiV1AgentsListRequest
- func (r ApiAgentsApiV1AgentsListRequest) DeploymentChat(deploymentChat bool) ApiAgentsApiV1AgentsListRequest
- func (r ApiAgentsApiV1AgentsListRequest) Execute() ([]Agent, *http.Response, error)
- func (r ApiAgentsApiV1AgentsListRequest) Id(id string) ApiAgentsApiV1AgentsListRequest
- func (r ApiAgentsApiV1AgentsListRequest) Metadata(metadata AnyOfmapnull) ApiAgentsApiV1AgentsListRequest
- func (r ApiAgentsApiV1AgentsListRequest) Name(name string) ApiAgentsApiV1AgentsListRequest
- func (r ApiAgentsApiV1AgentsListRequest) Page(page int32) ApiAgentsApiV1AgentsListRequest
- func (r ApiAgentsApiV1AgentsListRequest) PageSize(pageSize int32) ApiAgentsApiV1AgentsListRequest
- func (r ApiAgentsApiV1AgentsListRequest) Sources(sources []RequestSource) ApiAgentsApiV1AgentsListRequest
- type ApiAgentsApiV1AgentsListVersionAliasesRequest
- type ApiAgentsApiV1AgentsListVersionsRequest
- func (r ApiAgentsApiV1AgentsListVersionsRequest) Execute() ([]Agent, *http.Response, error)
- func (r ApiAgentsApiV1AgentsListVersionsRequest) Page(page int32) ApiAgentsApiV1AgentsListVersionsRequest
- func (r ApiAgentsApiV1AgentsListVersionsRequest) PageSize(pageSize int32) ApiAgentsApiV1AgentsListVersionsRequest
- type ApiAgentsApiV1AgentsUpdateRequest
- type ApiAgentsApiV1AgentsUpdateVersionRequest
- type ApiAgentsApiV1ConversationsAppendRequest
- type ApiAgentsApiV1ConversationsAppendStreamRequest
- func (r ApiAgentsApiV1ConversationsAppendStreamRequest) ConversationAppendStreamRequest(conversationAppendStreamRequest ConversationAppendStreamRequest) ApiAgentsApiV1ConversationsAppendStreamRequest
- func (r ApiAgentsApiV1ConversationsAppendStreamRequest) Execute() (*ConversationEvents, *http.Response, error)
- type ApiAgentsApiV1ConversationsDeleteRequest
- type ApiAgentsApiV1ConversationsGetRequest
- type ApiAgentsApiV1ConversationsHistoryRequest
- type ApiAgentsApiV1ConversationsListRequest
- func (r ApiAgentsApiV1ConversationsListRequest) Execute() ([]ResponseV1ConversationsListInner, *http.Response, error)
- func (r ApiAgentsApiV1ConversationsListRequest) Metadata(metadata AnyOfmapnull) ApiAgentsApiV1ConversationsListRequest
- func (r ApiAgentsApiV1ConversationsListRequest) Page(page int32) ApiAgentsApiV1ConversationsListRequest
- func (r ApiAgentsApiV1ConversationsListRequest) PageSize(pageSize int32) ApiAgentsApiV1ConversationsListRequest
- type ApiAgentsApiV1ConversationsMessagesRequest
- type ApiAgentsApiV1ConversationsRestartRequest
- type ApiAgentsApiV1ConversationsRestartStreamRequest
- func (r ApiAgentsApiV1ConversationsRestartStreamRequest) ConversationRestartStreamRequest(conversationRestartStreamRequest ConversationRestartStreamRequest) ApiAgentsApiV1ConversationsRestartStreamRequest
- func (r ApiAgentsApiV1ConversationsRestartStreamRequest) Execute() (*ConversationEvents, *http.Response, error)
- type ApiAgentsApiV1ConversationsStartRequest
- type ApiAgentsApiV1ConversationsStartStreamRequest
- type ApiAgentsCompletionV1AgentsCompletionsPostRequest
- type ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) ContextBias(contextBias []string) ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) Diarize(diarize bool) ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) Execute() (*TranscriptionResponse, *http.Response, error)
- func (r ApiAudioApiV1TranscriptionsPostRequest) File(file *os.File) ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) FileId(fileId string) ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) FileUrl(fileUrl string) ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) Language(language string) ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) Model(model string) ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) Stream(stream bool) ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) Temperature(temperature float32) ApiAudioApiV1TranscriptionsPostRequest
- func (r ApiAudioApiV1TranscriptionsPostRequest) TimestampGranularities(timestampGranularities []TimestampGranularity) ApiAudioApiV1TranscriptionsPostRequest
- type ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) ContextBias(contextBias []string) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Diarize(diarize bool) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Execute() (*TranscriptionStreamEvents, *http.Response, error)
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) File(file *os.File) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) FileId(fileId string) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) FileUrl(fileUrl string) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Language(language string) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Model(model string) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Stream(stream bool) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Temperature(temperature float32) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (r ApiAudioApiV1TranscriptionsPostStreamRequest) TimestampGranularities(timestampGranularities []TimestampGranularity) ApiAudioApiV1TranscriptionsPostStreamRequest
- type ApiChatClassificationsV1ChatClassificationsPostRequest
- func (r ApiChatClassificationsV1ChatClassificationsPostRequest) ChatClassificationRequest(chatClassificationRequest ChatClassificationRequest) ApiChatClassificationsV1ChatClassificationsPostRequest
- func (r ApiChatClassificationsV1ChatClassificationsPostRequest) Execute() (*ClassificationResponse, *http.Response, error)
- type ApiChatCompletionV1ChatCompletionsPostRequest
- type ApiChatModerationsV1ChatModerationsPostRequest
- type ApiClassificationsV1ClassificationsPostRequest
- type ApiDeleteModelV1ModelsModelIdDeleteRequest
- type ApiEmbeddingsV1EmbeddingsPostRequest
- type ApiEndpoint
- type ApiFilesApiRoutesDeleteFileRequest
- type ApiFilesApiRoutesDownloadFileRequest
- type ApiFilesApiRoutesGetSignedUrlRequest
- type ApiFilesApiRoutesListFilesRequest
- func (r ApiFilesApiRoutesListFilesRequest) Execute() (*ListFilesOut, *http.Response, error)
- func (r ApiFilesApiRoutesListFilesRequest) IncludeTotal(includeTotal bool) ApiFilesApiRoutesListFilesRequest
- func (r ApiFilesApiRoutesListFilesRequest) Mimetypes(mimetypes []string) ApiFilesApiRoutesListFilesRequest
- func (r ApiFilesApiRoutesListFilesRequest) Page(page int32) ApiFilesApiRoutesListFilesRequest
- func (r ApiFilesApiRoutesListFilesRequest) PageSize(pageSize int32) ApiFilesApiRoutesListFilesRequest
- func (r ApiFilesApiRoutesListFilesRequest) Purpose(purpose FilePurpose) ApiFilesApiRoutesListFilesRequest
- func (r ApiFilesApiRoutesListFilesRequest) SampleType(sampleType []SampleType) ApiFilesApiRoutesListFilesRequest
- func (r ApiFilesApiRoutesListFilesRequest) Search(search string) ApiFilesApiRoutesListFilesRequest
- func (r ApiFilesApiRoutesListFilesRequest) Source(source []Source) ApiFilesApiRoutesListFilesRequest
- type ApiFilesApiRoutesRetrieveFileRequest
- type ApiFilesApiRoutesUploadFileRequest
- func (r ApiFilesApiRoutesUploadFileRequest) Execute() (*UploadFileOut, *http.Response, error)
- func (r ApiFilesApiRoutesUploadFileRequest) File(file *os.File) ApiFilesApiRoutesUploadFileRequest
- func (r ApiFilesApiRoutesUploadFileRequest) Purpose(purpose FilePurpose) ApiFilesApiRoutesUploadFileRequest
- type ApiFimCompletionV1FimCompletionsPostRequest
- type ApiJobsApiRoutesBatchCancelBatchJobRequest
- type ApiJobsApiRoutesBatchCreateBatchJobRequest
- type ApiJobsApiRoutesBatchGetBatchJobRequest
- type ApiJobsApiRoutesBatchGetBatchJobsRequest
- func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) AgentId(agentId string) ApiJobsApiRoutesBatchGetBatchJobsRequest
- func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) CreatedAfter(createdAfter time.Time) ApiJobsApiRoutesBatchGetBatchJobsRequest
- func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) CreatedByMe(createdByMe bool) ApiJobsApiRoutesBatchGetBatchJobsRequest
- func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Execute() (*BatchJobsOut, *http.Response, error)
- func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Metadata(metadata map[string]interface{}) ApiJobsApiRoutesBatchGetBatchJobsRequest
- func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Model(model string) ApiJobsApiRoutesBatchGetBatchJobsRequest
- func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Page(page int32) ApiJobsApiRoutesBatchGetBatchJobsRequest
- func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) PageSize(pageSize int32) ApiJobsApiRoutesBatchGetBatchJobsRequest
- func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Status(status []BatchJobStatus) ApiJobsApiRoutesBatchGetBatchJobsRequest
- type ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest
- type ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest
- type ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest
- func (r ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) DryRun(dryRun bool) ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest
- func (r ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) Execute() (*Response, *http.Response, error)
- func (r ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) JobIn(jobIn JobIn) ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest
- type ApiJobsApiRoutesFineTuningGetFineTuningJobRequest
- type ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) CreatedAfter(createdAfter time.Time) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) CreatedBefore(createdBefore time.Time) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) CreatedByMe(createdByMe bool) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Execute() (*JobsOut, *http.Response, error)
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Model(model string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Page(page int32) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) PageSize(pageSize int32) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Status(status string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Suffix(suffix string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) WandbName(wandbName string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) WandbProject(wandbProject string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- type ApiJobsApiRoutesFineTuningStartFineTuningJobRequest
- type ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest
- type ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest
- type ApiLibrariesCreateV1Request
- type ApiLibrariesDeleteV1Request
- type ApiLibrariesDocumentsDeleteV1Request
- type ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request
- type ApiLibrariesDocumentsGetSignedUrlV1Request
- type ApiLibrariesDocumentsGetStatusV1Request
- type ApiLibrariesDocumentsGetTextContentV1Request
- type ApiLibrariesDocumentsGetV1Request
- type ApiLibrariesDocumentsListV1Request
- func (r ApiLibrariesDocumentsListV1Request) Execute() (*ListDocumentOut, *http.Response, error)
- func (r ApiLibrariesDocumentsListV1Request) FiltersAttributes(filtersAttributes string) ApiLibrariesDocumentsListV1Request
- func (r ApiLibrariesDocumentsListV1Request) Page(page int32) ApiLibrariesDocumentsListV1Request
- func (r ApiLibrariesDocumentsListV1Request) PageSize(pageSize int32) ApiLibrariesDocumentsListV1Request
- func (r ApiLibrariesDocumentsListV1Request) Search(search string) ApiLibrariesDocumentsListV1Request
- func (r ApiLibrariesDocumentsListV1Request) SortBy(sortBy string) ApiLibrariesDocumentsListV1Request
- func (r ApiLibrariesDocumentsListV1Request) SortOrder(sortOrder string) ApiLibrariesDocumentsListV1Request
- type ApiLibrariesDocumentsReprocessV1Request
- type ApiLibrariesDocumentsUpdateV1Request
- type ApiLibrariesDocumentsUploadV1Request
- type ApiLibrariesGetV1Request
- type ApiLibrariesListV1Request
- type ApiLibrariesShareCreateV1Request
- type ApiLibrariesShareDeleteV1Request
- type ApiLibrariesShareListV1Request
- type ApiLibrariesUpdateV1Request
- type ApiListModelsV1ModelsGetRequest
- type ApiModerationsV1ModerationsPostRequest
- type ApiOcrV1OcrPostRequest
- type ApiRetrieveModelV1ModelsModelIdGetRequest
- type ArchiveFTModelOut
- func (o *ArchiveFTModelOut) GetArchived() bool
- func (o *ArchiveFTModelOut) GetArchivedOk() (*bool, bool)
- func (o *ArchiveFTModelOut) GetId() string
- func (o *ArchiveFTModelOut) GetIdOk() (*string, bool)
- func (o *ArchiveFTModelOut) GetObject() string
- func (o *ArchiveFTModelOut) GetObjectOk() (*string, bool)
- func (o *ArchiveFTModelOut) HasArchived() bool
- func (o *ArchiveFTModelOut) HasObject() bool
- func (o ArchiveFTModelOut) MarshalJSON() ([]byte, error)
- func (o *ArchiveFTModelOut) SetArchived(v bool)
- func (o *ArchiveFTModelOut) SetId(v string)
- func (o *ArchiveFTModelOut) SetObject(v string)
- func (o ArchiveFTModelOut) ToMap() (map[string]interface{}, error)
- func (o *ArchiveFTModelOut) UnmarshalJSON(data []byte) (err error)
- type Arguments
- type AssistantMessage
- func (o *AssistantMessage) GetContent() Content3
- func (o *AssistantMessage) GetContentOk() (*Content3, bool)
- func (o *AssistantMessage) GetPrefix() bool
- func (o *AssistantMessage) GetPrefixOk() (*bool, bool)
- func (o *AssistantMessage) GetRole() string
- func (o *AssistantMessage) GetRoleOk() (*string, bool)
- func (o *AssistantMessage) GetToolCalls() []ToolCall
- func (o *AssistantMessage) GetToolCallsOk() ([]ToolCall, bool)
- func (o *AssistantMessage) HasContent() bool
- func (o *AssistantMessage) HasPrefix() bool
- func (o *AssistantMessage) HasRole() bool
- func (o *AssistantMessage) HasToolCalls() bool
- func (o AssistantMessage) MarshalJSON() ([]byte, error)
- func (o *AssistantMessage) SetContent(v Content3)
- func (o *AssistantMessage) SetContentNil()
- func (o *AssistantMessage) SetPrefix(v bool)
- func (o *AssistantMessage) SetRole(v string)
- func (o *AssistantMessage) SetToolCalls(v []ToolCall)
- func (o AssistantMessage) ToMap() (map[string]interface{}, error)
- func (o *AssistantMessage) UnsetContent()
- type AudioChunk
- func (o *AudioChunk) GetInputAudio() InputAudio
- func (o *AudioChunk) GetInputAudioOk() (*InputAudio, bool)
- func (o *AudioChunk) GetType() string
- func (o *AudioChunk) GetTypeOk() (*string, bool)
- func (o *AudioChunk) HasType() bool
- func (o AudioChunk) MarshalJSON() ([]byte, error)
- func (o *AudioChunk) SetInputAudio(v InputAudio)
- func (o *AudioChunk) SetType(v string)
- func (o AudioChunk) ToMap() (map[string]interface{}, error)
- func (o *AudioChunk) UnmarshalJSON(data []byte) (err error)
- type AudioEncoding
- type AudioFormat
- func (o *AudioFormat) GetEncoding() AudioEncoding
- func (o *AudioFormat) GetEncodingOk() (*AudioEncoding, bool)
- func (o *AudioFormat) GetSampleRate() int32
- func (o *AudioFormat) GetSampleRateOk() (*int32, bool)
- func (o AudioFormat) MarshalJSON() ([]byte, error)
- func (o *AudioFormat) SetEncoding(v AudioEncoding)
- func (o *AudioFormat) SetSampleRate(v int32)
- func (o AudioFormat) ToMap() (map[string]interface{}, error)
- func (o *AudioFormat) UnmarshalJSON(data []byte) (err error)
- type AudioTranscriptionsAPI
- type AudioTranscriptionsAPIService
- func (a *AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPost(ctx context.Context) ApiAudioApiV1TranscriptionsPostRequest
- func (a *AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPostExecute(r ApiAudioApiV1TranscriptionsPostRequest) (*TranscriptionResponse, *http.Response, error)
- func (a *AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPostStream(ctx context.Context) ApiAudioApiV1TranscriptionsPostStreamRequest
- func (a *AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPostStreamExecute(r ApiAudioApiV1TranscriptionsPostStreamRequest) (*TranscriptionStreamEvents, *http.Response, error)
- type BaseModelCard
- func (o *BaseModelCard) GetAliases() []string
- func (o *BaseModelCard) GetAliasesOk() ([]string, bool)
- func (o *BaseModelCard) GetCapabilities() ModelCapabilities
- func (o *BaseModelCard) GetCapabilitiesOk() (*ModelCapabilities, bool)
- func (o *BaseModelCard) GetCreated() int32
- func (o *BaseModelCard) GetCreatedOk() (*int32, bool)
- func (o *BaseModelCard) GetDefaultModelTemperature() float32
- func (o *BaseModelCard) GetDefaultModelTemperatureOk() (*float32, bool)
- func (o *BaseModelCard) GetDeprecation() time.Time
- func (o *BaseModelCard) GetDeprecationOk() (*time.Time, bool)
- func (o *BaseModelCard) GetDeprecationReplacementModel() string
- func (o *BaseModelCard) GetDeprecationReplacementModelOk() (*string, bool)
- func (o *BaseModelCard) GetDescription() string
- func (o *BaseModelCard) GetDescriptionOk() (*string, bool)
- func (o *BaseModelCard) GetId() string
- func (o *BaseModelCard) GetIdOk() (*string, bool)
- func (o *BaseModelCard) GetMaxContextLength() int32
- func (o *BaseModelCard) GetMaxContextLengthOk() (*int32, bool)
- func (o *BaseModelCard) GetName() string
- func (o *BaseModelCard) GetNameOk() (*string, bool)
- func (o *BaseModelCard) GetObject() string
- func (o *BaseModelCard) GetObjectOk() (*string, bool)
- func (o *BaseModelCard) GetOwnedBy() string
- func (o *BaseModelCard) GetOwnedByOk() (*string, bool)
- func (o *BaseModelCard) GetType() string
- func (o *BaseModelCard) GetTypeOk() (*string, bool)
- func (o *BaseModelCard) HasAliases() bool
- func (o *BaseModelCard) HasCreated() bool
- func (o *BaseModelCard) HasDefaultModelTemperature() bool
- func (o *BaseModelCard) HasDeprecation() bool
- func (o *BaseModelCard) HasDeprecationReplacementModel() bool
- func (o *BaseModelCard) HasDescription() bool
- func (o *BaseModelCard) HasMaxContextLength() bool
- func (o *BaseModelCard) HasName() bool
- func (o *BaseModelCard) HasObject() bool
- func (o *BaseModelCard) HasOwnedBy() bool
- func (o *BaseModelCard) HasType() bool
- func (o BaseModelCard) MarshalJSON() ([]byte, error)
- func (o *BaseModelCard) SetAliases(v []string)
- func (o *BaseModelCard) SetCapabilities(v ModelCapabilities)
- func (o *BaseModelCard) SetCreated(v int32)
- func (o *BaseModelCard) SetDefaultModelTemperature(v float32)
- func (o *BaseModelCard) SetDefaultModelTemperatureNil()
- func (o *BaseModelCard) SetDeprecation(v time.Time)
- func (o *BaseModelCard) SetDeprecationNil()
- func (o *BaseModelCard) SetDeprecationReplacementModel(v string)
- func (o *BaseModelCard) SetDeprecationReplacementModelNil()
- func (o *BaseModelCard) SetDescription(v string)
- func (o *BaseModelCard) SetDescriptionNil()
- func (o *BaseModelCard) SetId(v string)
- func (o *BaseModelCard) SetMaxContextLength(v int32)
- func (o *BaseModelCard) SetName(v string)
- func (o *BaseModelCard) SetNameNil()
- func (o *BaseModelCard) SetObject(v string)
- func (o *BaseModelCard) SetOwnedBy(v string)
- func (o *BaseModelCard) SetType(v string)
- func (o BaseModelCard) ToMap() (map[string]interface{}, error)
- func (o *BaseModelCard) UnmarshalJSON(data []byte) (err error)
- func (o *BaseModelCard) UnsetDefaultModelTemperature()
- func (o *BaseModelCard) UnsetDeprecation()
- func (o *BaseModelCard) UnsetDeprecationReplacementModel()
- func (o *BaseModelCard) UnsetDescription()
- func (o *BaseModelCard) UnsetName()
- type BasicAuth
- type BatchAPI
- type BatchAPIService
- func (a *BatchAPIService) JobsApiRoutesBatchCancelBatchJob(ctx context.Context, jobId string) ApiJobsApiRoutesBatchCancelBatchJobRequest
- func (a *BatchAPIService) JobsApiRoutesBatchCancelBatchJobExecute(r ApiJobsApiRoutesBatchCancelBatchJobRequest) (*BatchJobOut, *http.Response, error)
- func (a *BatchAPIService) JobsApiRoutesBatchCreateBatchJob(ctx context.Context) ApiJobsApiRoutesBatchCreateBatchJobRequest
- func (a *BatchAPIService) JobsApiRoutesBatchCreateBatchJobExecute(r ApiJobsApiRoutesBatchCreateBatchJobRequest) (*BatchJobOut, *http.Response, error)
- func (a *BatchAPIService) JobsApiRoutesBatchGetBatchJob(ctx context.Context, jobId string) ApiJobsApiRoutesBatchGetBatchJobRequest
- func (a *BatchAPIService) JobsApiRoutesBatchGetBatchJobExecute(r ApiJobsApiRoutesBatchGetBatchJobRequest) (*BatchJobOut, *http.Response, error)
- func (a *BatchAPIService) JobsApiRoutesBatchGetBatchJobs(ctx context.Context) ApiJobsApiRoutesBatchGetBatchJobsRequest
- func (a *BatchAPIService) JobsApiRoutesBatchGetBatchJobsExecute(r ApiJobsApiRoutesBatchGetBatchJobsRequest) (*BatchJobsOut, *http.Response, error)
- type BatchError
- func (o *BatchError) GetCount() int32
- func (o *BatchError) GetCountOk() (*int32, bool)
- func (o *BatchError) GetMessage() string
- func (o *BatchError) GetMessageOk() (*string, bool)
- func (o *BatchError) HasCount() bool
- func (o BatchError) MarshalJSON() ([]byte, error)
- func (o *BatchError) SetCount(v int32)
- func (o *BatchError) SetMessage(v string)
- func (o BatchError) ToMap() (map[string]interface{}, error)
- func (o *BatchError) UnmarshalJSON(data []byte) (err error)
- type BatchJobIn
- func (o *BatchJobIn) GetAgentId() string
- func (o *BatchJobIn) GetAgentIdOk() (*string, bool)
- func (o *BatchJobIn) GetEndpoint() ApiEndpoint
- func (o *BatchJobIn) GetEndpointOk() (*ApiEndpoint, bool)
- func (o *BatchJobIn) GetInputFiles() []string
- func (o *BatchJobIn) GetInputFilesOk() ([]string, bool)
- func (o *BatchJobIn) GetMetadata() map[string]string
- func (o *BatchJobIn) GetMetadataOk() (map[string]string, bool)
- func (o *BatchJobIn) GetModel() string
- func (o *BatchJobIn) GetModelOk() (*string, bool)
- func (o *BatchJobIn) GetRequests() []BatchRequest
- func (o *BatchJobIn) GetRequestsOk() ([]BatchRequest, bool)
- func (o *BatchJobIn) GetTimeoutHours() int32
- func (o *BatchJobIn) GetTimeoutHoursOk() (*int32, bool)
- func (o *BatchJobIn) HasAgentId() bool
- func (o *BatchJobIn) HasInputFiles() bool
- func (o *BatchJobIn) HasMetadata() bool
- func (o *BatchJobIn) HasModel() bool
- func (o *BatchJobIn) HasRequests() bool
- func (o *BatchJobIn) HasTimeoutHours() bool
- func (o BatchJobIn) MarshalJSON() ([]byte, error)
- func (o *BatchJobIn) SetAgentId(v string)
- func (o *BatchJobIn) SetAgentIdNil()
- func (o *BatchJobIn) SetEndpoint(v ApiEndpoint)
- func (o *BatchJobIn) SetInputFiles(v []string)
- func (o *BatchJobIn) SetMetadata(v map[string]string)
- func (o *BatchJobIn) SetModel(v string)
- func (o *BatchJobIn) SetModelNil()
- func (o *BatchJobIn) SetRequests(v []BatchRequest)
- func (o *BatchJobIn) SetTimeoutHours(v int32)
- func (o BatchJobIn) ToMap() (map[string]interface{}, error)
- func (o *BatchJobIn) UnmarshalJSON(data []byte) (err error)
- func (o *BatchJobIn) UnsetAgentId()
- func (o *BatchJobIn) UnsetModel()
- type BatchJobOut
- func (o *BatchJobOut) GetAgentId() string
- func (o *BatchJobOut) GetAgentIdOk() (*string, bool)
- func (o *BatchJobOut) GetCompletedAt() int32
- func (o *BatchJobOut) GetCompletedAtOk() (*int32, bool)
- func (o *BatchJobOut) GetCompletedRequests() int32
- func (o *BatchJobOut) GetCompletedRequestsOk() (*int32, bool)
- func (o *BatchJobOut) GetCreatedAt() int32
- func (o *BatchJobOut) GetCreatedAtOk() (*int32, bool)
- func (o *BatchJobOut) GetEndpoint() string
- func (o *BatchJobOut) GetEndpointOk() (*string, bool)
- func (o *BatchJobOut) GetErrorFile() string
- func (o *BatchJobOut) GetErrorFileOk() (*string, bool)
- func (o *BatchJobOut) GetErrors() []BatchError
- func (o *BatchJobOut) GetErrorsOk() ([]BatchError, bool)
- func (o *BatchJobOut) GetFailedRequests() int32
- func (o *BatchJobOut) GetFailedRequestsOk() (*int32, bool)
- func (o *BatchJobOut) GetId() string
- func (o *BatchJobOut) GetIdOk() (*string, bool)
- func (o *BatchJobOut) GetInputFiles() []string
- func (o *BatchJobOut) GetInputFilesOk() ([]string, bool)
- func (o *BatchJobOut) GetMetadata() map[string]interface{}
- func (o *BatchJobOut) GetMetadataOk() (map[string]interface{}, bool)
- func (o *BatchJobOut) GetModel() string
- func (o *BatchJobOut) GetModelOk() (*string, bool)
- func (o *BatchJobOut) GetObject() string
- func (o *BatchJobOut) GetObjectOk() (*string, bool)
- func (o *BatchJobOut) GetOutputFile() string
- func (o *BatchJobOut) GetOutputFileOk() (*string, bool)
- func (o *BatchJobOut) GetOutputs() []map[string]interface{}
- func (o *BatchJobOut) GetOutputsOk() ([]map[string]interface{}, bool)
- func (o *BatchJobOut) GetStartedAt() int32
- func (o *BatchJobOut) GetStartedAtOk() (*int32, bool)
- func (o *BatchJobOut) GetStatus() BatchJobStatus
- func (o *BatchJobOut) GetStatusOk() (*BatchJobStatus, bool)
- func (o *BatchJobOut) GetSucceededRequests() int32
- func (o *BatchJobOut) GetSucceededRequestsOk() (*int32, bool)
- func (o *BatchJobOut) GetTotalRequests() int32
- func (o *BatchJobOut) GetTotalRequestsOk() (*int32, bool)
- func (o *BatchJobOut) HasAgentId() bool
- func (o *BatchJobOut) HasCompletedAt() bool
- func (o *BatchJobOut) HasErrorFile() bool
- func (o *BatchJobOut) HasMetadata() bool
- func (o *BatchJobOut) HasModel() bool
- func (o *BatchJobOut) HasObject() bool
- func (o *BatchJobOut) HasOutputFile() bool
- func (o *BatchJobOut) HasOutputs() bool
- func (o *BatchJobOut) HasStartedAt() bool
- func (o BatchJobOut) MarshalJSON() ([]byte, error)
- func (o *BatchJobOut) SetAgentId(v string)
- func (o *BatchJobOut) SetAgentIdNil()
- func (o *BatchJobOut) SetCompletedAt(v int32)
- func (o *BatchJobOut) SetCompletedAtNil()
- func (o *BatchJobOut) SetCompletedRequests(v int32)
- func (o *BatchJobOut) SetCreatedAt(v int32)
- func (o *BatchJobOut) SetEndpoint(v string)
- func (o *BatchJobOut) SetErrorFile(v string)
- func (o *BatchJobOut) SetErrorFileNil()
- func (o *BatchJobOut) SetErrors(v []BatchError)
- func (o *BatchJobOut) SetFailedRequests(v int32)
- func (o *BatchJobOut) SetId(v string)
- func (o *BatchJobOut) SetInputFiles(v []string)
- func (o *BatchJobOut) SetMetadata(v map[string]interface{})
- func (o *BatchJobOut) SetModel(v string)
- func (o *BatchJobOut) SetModelNil()
- func (o *BatchJobOut) SetObject(v string)
- func (o *BatchJobOut) SetOutputFile(v string)
- func (o *BatchJobOut) SetOutputFileNil()
- func (o *BatchJobOut) SetOutputs(v []map[string]interface{})
- func (o *BatchJobOut) SetStartedAt(v int32)
- func (o *BatchJobOut) SetStartedAtNil()
- func (o *BatchJobOut) SetStatus(v BatchJobStatus)
- func (o *BatchJobOut) SetSucceededRequests(v int32)
- func (o *BatchJobOut) SetTotalRequests(v int32)
- func (o BatchJobOut) ToMap() (map[string]interface{}, error)
- func (o *BatchJobOut) UnmarshalJSON(data []byte) (err error)
- func (o *BatchJobOut) UnsetAgentId()
- func (o *BatchJobOut) UnsetCompletedAt()
- func (o *BatchJobOut) UnsetErrorFile()
- func (o *BatchJobOut) UnsetModel()
- func (o *BatchJobOut) UnsetOutputFile()
- func (o *BatchJobOut) UnsetStartedAt()
- type BatchJobStatus
- type BatchJobsOut
- func (o *BatchJobsOut) GetData() []BatchJobOut
- func (o *BatchJobsOut) GetDataOk() ([]BatchJobOut, bool)
- func (o *BatchJobsOut) GetObject() string
- func (o *BatchJobsOut) GetObjectOk() (*string, bool)
- func (o *BatchJobsOut) GetTotal() int32
- func (o *BatchJobsOut) GetTotalOk() (*int32, bool)
- func (o *BatchJobsOut) HasData() bool
- func (o *BatchJobsOut) HasObject() bool
- func (o BatchJobsOut) MarshalJSON() ([]byte, error)
- func (o *BatchJobsOut) SetData(v []BatchJobOut)
- func (o *BatchJobsOut) SetObject(v string)
- func (o *BatchJobsOut) SetTotal(v int32)
- func (o BatchJobsOut) ToMap() (map[string]interface{}, error)
- func (o *BatchJobsOut) UnmarshalJSON(data []byte) (err error)
- type BatchRequest
- func (o *BatchRequest) GetBody() map[string]interface{}
- func (o *BatchRequest) GetBodyOk() (map[string]interface{}, bool)
- func (o *BatchRequest) GetCustomId() string
- func (o *BatchRequest) GetCustomIdOk() (*string, bool)
- func (o *BatchRequest) HasCustomId() bool
- func (o BatchRequest) MarshalJSON() ([]byte, error)
- func (o *BatchRequest) SetBody(v map[string]interface{})
- func (o *BatchRequest) SetCustomId(v string)
- func (o *BatchRequest) SetCustomIdNil()
- func (o BatchRequest) ToMap() (map[string]interface{}, error)
- func (o *BatchRequest) UnmarshalJSON(data []byte) (err error)
- func (o *BatchRequest) UnsetCustomId()
- type BetaAgentsAPI
- type BetaAgentsAPIService
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsCreate(ctx context.Context) ApiAgentsApiV1AgentsCreateRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsCreateExecute(r ApiAgentsApiV1AgentsCreateRequest) (*Agent, *http.Response, error)
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsCreateOrUpdateAlias(ctx context.Context, agentId string) ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsCreateOrUpdateAliasExecute(r ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) (*AgentAliasResponse, *http.Response, error)
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsDelete(ctx context.Context, agentId string) ApiAgentsApiV1AgentsDeleteRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsDeleteExecute(r ApiAgentsApiV1AgentsDeleteRequest) (*http.Response, error)
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsGet(ctx context.Context, agentId string) ApiAgentsApiV1AgentsGetRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsGetExecute(r ApiAgentsApiV1AgentsGetRequest) (*Agent, *http.Response, error)
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsGetVersion(ctx context.Context, agentId string, version string) ApiAgentsApiV1AgentsGetVersionRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsGetVersionExecute(r ApiAgentsApiV1AgentsGetVersionRequest) (*Agent, *http.Response, error)
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsList(ctx context.Context) ApiAgentsApiV1AgentsListRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsListExecute(r ApiAgentsApiV1AgentsListRequest) ([]Agent, *http.Response, error)
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsListVersionAliases(ctx context.Context, agentId string) ApiAgentsApiV1AgentsListVersionAliasesRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsListVersionAliasesExecute(r ApiAgentsApiV1AgentsListVersionAliasesRequest) ([]AgentAliasResponse, *http.Response, error)
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsListVersions(ctx context.Context, agentId string) ApiAgentsApiV1AgentsListVersionsRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsListVersionsExecute(r ApiAgentsApiV1AgentsListVersionsRequest) ([]Agent, *http.Response, error)
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsUpdate(ctx context.Context, agentId string) ApiAgentsApiV1AgentsUpdateRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsUpdateExecute(r ApiAgentsApiV1AgentsUpdateRequest) (*Agent, *http.Response, error)
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsUpdateVersion(ctx context.Context, agentId string) ApiAgentsApiV1AgentsUpdateVersionRequest
- func (a *BetaAgentsAPIService) AgentsApiV1AgentsUpdateVersionExecute(r ApiAgentsApiV1AgentsUpdateVersionRequest) (*Agent, *http.Response, error)
- type BetaConversationsAPI
- type BetaConversationsAPIService
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsAppend(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsAppendRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsAppendExecute(r ApiAgentsApiV1ConversationsAppendRequest) (*ConversationResponse, *http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsAppendStream(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsAppendStreamRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsAppendStreamExecute(r ApiAgentsApiV1ConversationsAppendStreamRequest) (*ConversationEvents, *http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsDelete(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsDeleteRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsDeleteExecute(r ApiAgentsApiV1ConversationsDeleteRequest) (*http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsGet(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsGetRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsGetExecute(r ApiAgentsApiV1ConversationsGetRequest) (*ResponseV1ConversationsGet, *http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsHistory(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsHistoryRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsHistoryExecute(r ApiAgentsApiV1ConversationsHistoryRequest) (*ConversationHistory, *http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsList(ctx context.Context) ApiAgentsApiV1ConversationsListRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsListExecute(r ApiAgentsApiV1ConversationsListRequest) ([]ResponseV1ConversationsListInner, *http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsMessages(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsMessagesRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsMessagesExecute(r ApiAgentsApiV1ConversationsMessagesRequest) (*ConversationMessages, *http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsRestart(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsRestartRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsRestartExecute(r ApiAgentsApiV1ConversationsRestartRequest) (*ConversationResponse, *http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsRestartStream(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsRestartStreamRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsRestartStreamExecute(r ApiAgentsApiV1ConversationsRestartStreamRequest) (*ConversationEvents, *http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsStart(ctx context.Context) ApiAgentsApiV1ConversationsStartRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsStartExecute(r ApiAgentsApiV1ConversationsStartRequest) (*ConversationResponse, *http.Response, error)
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsStartStream(ctx context.Context) ApiAgentsApiV1ConversationsStartStreamRequest
- func (a *BetaConversationsAPIService) AgentsApiV1ConversationsStartStreamExecute(r ApiAgentsApiV1ConversationsStartStreamRequest) (*ConversationEvents, *http.Response, error)
- type BetaLibrariesAPI
- type BetaLibrariesAPIService
- func (a *BetaLibrariesAPIService) LibrariesCreateV1(ctx context.Context) ApiLibrariesCreateV1Request
- func (a *BetaLibrariesAPIService) LibrariesCreateV1Execute(r ApiLibrariesCreateV1Request) (*LibraryOut, *http.Response, error)
- func (a *BetaLibrariesAPIService) LibrariesDeleteV1(ctx context.Context, libraryId string) ApiLibrariesDeleteV1Request
- func (a *BetaLibrariesAPIService) LibrariesDeleteV1Execute(r ApiLibrariesDeleteV1Request) (*LibraryOut, *http.Response, error)
- func (a *BetaLibrariesAPIService) LibrariesGetV1(ctx context.Context, libraryId string) ApiLibrariesGetV1Request
- func (a *BetaLibrariesAPIService) LibrariesGetV1Execute(r ApiLibrariesGetV1Request) (*LibraryOut, *http.Response, error)
- func (a *BetaLibrariesAPIService) LibrariesListV1(ctx context.Context) ApiLibrariesListV1Request
- func (a *BetaLibrariesAPIService) LibrariesListV1Execute(r ApiLibrariesListV1Request) (*ListLibraryOut, *http.Response, error)
- func (a *BetaLibrariesAPIService) LibrariesUpdateV1(ctx context.Context, libraryId string) ApiLibrariesUpdateV1Request
- func (a *BetaLibrariesAPIService) LibrariesUpdateV1Execute(r ApiLibrariesUpdateV1Request) (*LibraryOut, *http.Response, error)
- type BetaLibrariesAccessesAPI
- type BetaLibrariesAccessesAPIService
- func (a *BetaLibrariesAccessesAPIService) LibrariesShareCreateV1(ctx context.Context, libraryId string) ApiLibrariesShareCreateV1Request
- func (a *BetaLibrariesAccessesAPIService) LibrariesShareCreateV1Execute(r ApiLibrariesShareCreateV1Request) (*SharingOut, *http.Response, error)
- func (a *BetaLibrariesAccessesAPIService) LibrariesShareDeleteV1(ctx context.Context, libraryId string) ApiLibrariesShareDeleteV1Request
- func (a *BetaLibrariesAccessesAPIService) LibrariesShareDeleteV1Execute(r ApiLibrariesShareDeleteV1Request) (*SharingOut, *http.Response, error)
- func (a *BetaLibrariesAccessesAPIService) LibrariesShareListV1(ctx context.Context, libraryId string) ApiLibrariesShareListV1Request
- func (a *BetaLibrariesAccessesAPIService) LibrariesShareListV1Execute(r ApiLibrariesShareListV1Request) (*ListSharingOut, *http.Response, error)
- type BetaLibrariesDocumentsAPI
- type BetaLibrariesDocumentsAPIService
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsDeleteV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsDeleteV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsDeleteV1Execute(r ApiLibrariesDocumentsDeleteV1Request) (*http.Response, error)
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetExtractedTextSignedUrlV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetExtractedTextSignedUrlV1Execute(r ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request) (string, *http.Response, error)
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetSignedUrlV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetSignedUrlV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetSignedUrlV1Execute(r ApiLibrariesDocumentsGetSignedUrlV1Request) (string, *http.Response, error)
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetStatusV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetStatusV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetStatusV1Execute(r ApiLibrariesDocumentsGetStatusV1Request) (*ProcessingStatusOut, *http.Response, error)
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetTextContentV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetTextContentV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetTextContentV1Execute(r ApiLibrariesDocumentsGetTextContentV1Request) (*DocumentTextContent, *http.Response, error)
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetV1Execute(r ApiLibrariesDocumentsGetV1Request) (*DocumentOut, *http.Response, error)
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsListV1(ctx context.Context, libraryId string) ApiLibrariesDocumentsListV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsListV1Execute(r ApiLibrariesDocumentsListV1Request) (*ListDocumentOut, *http.Response, error)
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsReprocessV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsReprocessV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsReprocessV1Execute(r ApiLibrariesDocumentsReprocessV1Request) (*http.Response, error)
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsUpdateV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsUpdateV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsUpdateV1Execute(r ApiLibrariesDocumentsUpdateV1Request) (*DocumentOut, *http.Response, error)
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsUploadV1(ctx context.Context, libraryId string) ApiLibrariesDocumentsUploadV1Request
- func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsUploadV1Execute(r ApiLibrariesDocumentsUploadV1Request) (*DocumentOut, *http.Response, error)
- type BuiltInConnectors
- type ChatAPI
- type ChatAPIService
- type ChatClassificationRequest
- func (o *ChatClassificationRequest) GetInput() ChatClassificationRequestInputs
- func (o *ChatClassificationRequest) GetInputOk() (*ChatClassificationRequestInputs, bool)
- func (o *ChatClassificationRequest) GetModel() string
- func (o *ChatClassificationRequest) GetModelOk() (*string, bool)
- func (o ChatClassificationRequest) MarshalJSON() ([]byte, error)
- func (o *ChatClassificationRequest) SetInput(v ChatClassificationRequestInputs)
- func (o *ChatClassificationRequest) SetModel(v string)
- func (o ChatClassificationRequest) ToMap() (map[string]interface{}, error)
- func (o *ChatClassificationRequest) UnmarshalJSON(data []byte) (err error)
- type ChatClassificationRequestInputs
- type ChatCompletionChoice
- func (o *ChatCompletionChoice) GetFinishReason() string
- func (o *ChatCompletionChoice) GetFinishReasonOk() (*string, bool)
- func (o *ChatCompletionChoice) GetIndex() int32
- func (o *ChatCompletionChoice) GetIndexOk() (*int32, bool)
- func (o *ChatCompletionChoice) GetMessage() AssistantMessage
- func (o *ChatCompletionChoice) GetMessageOk() (*AssistantMessage, bool)
- func (o ChatCompletionChoice) MarshalJSON() ([]byte, error)
- func (o *ChatCompletionChoice) SetFinishReason(v string)
- func (o *ChatCompletionChoice) SetIndex(v int32)
- func (o *ChatCompletionChoice) SetMessage(v AssistantMessage)
- func (o ChatCompletionChoice) ToMap() (map[string]interface{}, error)
- func (o *ChatCompletionChoice) UnmarshalJSON(data []byte) (err error)
- type ChatCompletionRequest
- func (o *ChatCompletionRequest) GetFrequencyPenalty() float32
- func (o *ChatCompletionRequest) GetFrequencyPenaltyOk() (*float32, bool)
- func (o *ChatCompletionRequest) GetMaxTokens() int32
- func (o *ChatCompletionRequest) GetMaxTokensOk() (*int32, bool)
- func (o *ChatCompletionRequest) GetMessages() []MessagesInner
- func (o *ChatCompletionRequest) GetMessagesOk() ([]MessagesInner, bool)
- func (o *ChatCompletionRequest) GetMetadata() map[string]interface{}
- func (o *ChatCompletionRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ChatCompletionRequest) GetModel() string
- func (o *ChatCompletionRequest) GetModelOk() (*string, bool)
- func (o *ChatCompletionRequest) GetN() int32
- func (o *ChatCompletionRequest) GetNOk() (*int32, bool)
- func (o *ChatCompletionRequest) GetParallelToolCalls() bool
- func (o *ChatCompletionRequest) GetParallelToolCallsOk() (*bool, bool)
- func (o *ChatCompletionRequest) GetPrediction() Prediction
- func (o *ChatCompletionRequest) GetPredictionOk() (*Prediction, bool)
- func (o *ChatCompletionRequest) GetPresencePenalty() float32
- func (o *ChatCompletionRequest) GetPresencePenaltyOk() (*float32, bool)
- func (o *ChatCompletionRequest) GetPromptMode() MistralPromptMode
- func (o *ChatCompletionRequest) GetPromptModeOk() (*MistralPromptMode, bool)
- func (o *ChatCompletionRequest) GetRandomSeed() int32
- func (o *ChatCompletionRequest) GetRandomSeedOk() (*int32, bool)
- func (o *ChatCompletionRequest) GetResponseFormat() ResponseFormat
- func (o *ChatCompletionRequest) GetResponseFormatOk() (*ResponseFormat, bool)
- func (o *ChatCompletionRequest) GetSafePrompt() bool
- func (o *ChatCompletionRequest) GetSafePromptOk() (*bool, bool)
- func (o *ChatCompletionRequest) GetStop() Stop
- func (o *ChatCompletionRequest) GetStopOk() (*Stop, bool)
- func (o *ChatCompletionRequest) GetStream() bool
- func (o *ChatCompletionRequest) GetStreamOk() (*bool, bool)
- func (o *ChatCompletionRequest) GetTemperature() float32
- func (o *ChatCompletionRequest) GetTemperatureOk() (*float32, bool)
- func (o *ChatCompletionRequest) GetToolChoice() ToolChoiceEnum
- func (o *ChatCompletionRequest) GetToolChoiceOk() (*ToolChoiceEnum, bool)
- func (o *ChatCompletionRequest) GetTools() []Tool
- func (o *ChatCompletionRequest) GetToolsOk() ([]Tool, bool)
- func (o *ChatCompletionRequest) GetTopP() float32
- func (o *ChatCompletionRequest) GetTopPOk() (*float32, bool)
- func (o *ChatCompletionRequest) HasFrequencyPenalty() bool
- func (o *ChatCompletionRequest) HasMaxTokens() bool
- func (o *ChatCompletionRequest) HasMetadata() bool
- func (o *ChatCompletionRequest) HasN() bool
- func (o *ChatCompletionRequest) HasParallelToolCalls() bool
- func (o *ChatCompletionRequest) HasPrediction() bool
- func (o *ChatCompletionRequest) HasPresencePenalty() bool
- func (o *ChatCompletionRequest) HasPromptMode() bool
- func (o *ChatCompletionRequest) HasRandomSeed() bool
- func (o *ChatCompletionRequest) HasResponseFormat() bool
- func (o *ChatCompletionRequest) HasSafePrompt() bool
- func (o *ChatCompletionRequest) HasStop() bool
- func (o *ChatCompletionRequest) HasStream() bool
- func (o *ChatCompletionRequest) HasTemperature() bool
- func (o *ChatCompletionRequest) HasToolChoice() bool
- func (o *ChatCompletionRequest) HasTools() bool
- func (o *ChatCompletionRequest) HasTopP() bool
- func (o ChatCompletionRequest) MarshalJSON() ([]byte, error)
- func (o *ChatCompletionRequest) SetFrequencyPenalty(v float32)
- func (o *ChatCompletionRequest) SetMaxTokens(v int32)
- func (o *ChatCompletionRequest) SetMaxTokensNil()
- func (o *ChatCompletionRequest) SetMessages(v []MessagesInner)
- func (o *ChatCompletionRequest) SetMetadata(v map[string]interface{})
- func (o *ChatCompletionRequest) SetModel(v string)
- func (o *ChatCompletionRequest) SetN(v int32)
- func (o *ChatCompletionRequest) SetNNil()
- func (o *ChatCompletionRequest) SetParallelToolCalls(v bool)
- func (o *ChatCompletionRequest) SetPrediction(v Prediction)
- func (o *ChatCompletionRequest) SetPresencePenalty(v float32)
- func (o *ChatCompletionRequest) SetPromptMode(v MistralPromptMode)
- func (o *ChatCompletionRequest) SetPromptModeNil()
- func (o *ChatCompletionRequest) SetRandomSeed(v int32)
- func (o *ChatCompletionRequest) SetRandomSeedNil()
- func (o *ChatCompletionRequest) SetResponseFormat(v ResponseFormat)
- func (o *ChatCompletionRequest) SetSafePrompt(v bool)
- func (o *ChatCompletionRequest) SetStop(v Stop)
- func (o *ChatCompletionRequest) SetStream(v bool)
- func (o *ChatCompletionRequest) SetTemperature(v float32)
- func (o *ChatCompletionRequest) SetTemperatureNil()
- func (o *ChatCompletionRequest) SetToolChoice(v ToolChoiceEnum)
- func (o *ChatCompletionRequest) SetTools(v []Tool)
- func (o *ChatCompletionRequest) SetTopP(v float32)
- func (o ChatCompletionRequest) ToMap() (map[string]interface{}, error)
- func (o *ChatCompletionRequest) UnmarshalJSON(data []byte) (err error)
- func (o *ChatCompletionRequest) UnsetMaxTokens()
- func (o *ChatCompletionRequest) UnsetN()
- func (o *ChatCompletionRequest) UnsetPromptMode()
- func (o *ChatCompletionRequest) UnsetRandomSeed()
- func (o *ChatCompletionRequest) UnsetTemperature()
- type ChatCompletionResponse
- func (o *ChatCompletionResponse) GetChoices() []ChatCompletionChoice
- func (o *ChatCompletionResponse) GetChoicesOk() ([]ChatCompletionChoice, bool)
- func (o *ChatCompletionResponse) GetCreated() int32
- func (o *ChatCompletionResponse) GetCreatedOk() (*int32, bool)
- func (o *ChatCompletionResponse) GetId() string
- func (o *ChatCompletionResponse) GetIdOk() (*string, bool)
- func (o *ChatCompletionResponse) GetModel() string
- func (o *ChatCompletionResponse) GetModelOk() (*string, bool)
- func (o *ChatCompletionResponse) GetObject() string
- func (o *ChatCompletionResponse) GetObjectOk() (*string, bool)
- func (o *ChatCompletionResponse) GetUsage() UsageInfo
- func (o *ChatCompletionResponse) GetUsageOk() (*UsageInfo, bool)
- func (o *ChatCompletionResponse) HasCreated() bool
- func (o *ChatCompletionResponse) HasId() bool
- func (o *ChatCompletionResponse) HasModel() bool
- func (o *ChatCompletionResponse) HasObject() bool
- func (o *ChatCompletionResponse) HasUsage() bool
- func (o ChatCompletionResponse) MarshalJSON() ([]byte, error)
- func (o *ChatCompletionResponse) SetChoices(v []ChatCompletionChoice)
- func (o *ChatCompletionResponse) SetCreated(v int32)
- func (o *ChatCompletionResponse) SetId(v string)
- func (o *ChatCompletionResponse) SetModel(v string)
- func (o *ChatCompletionResponse) SetObject(v string)
- func (o *ChatCompletionResponse) SetUsage(v UsageInfo)
- func (o ChatCompletionResponse) ToMap() (map[string]interface{}, error)
- func (o *ChatCompletionResponse) UnmarshalJSON(data []byte) (err error)
- type ChatCompletionResponseBase
- func (o *ChatCompletionResponseBase) GetCreated() int32
- func (o *ChatCompletionResponseBase) GetCreatedOk() (*int32, bool)
- func (o *ChatCompletionResponseBase) GetId() string
- func (o *ChatCompletionResponseBase) GetIdOk() (*string, bool)
- func (o *ChatCompletionResponseBase) GetModel() string
- func (o *ChatCompletionResponseBase) GetModelOk() (*string, bool)
- func (o *ChatCompletionResponseBase) GetObject() string
- func (o *ChatCompletionResponseBase) GetObjectOk() (*string, bool)
- func (o *ChatCompletionResponseBase) GetUsage() UsageInfo
- func (o *ChatCompletionResponseBase) GetUsageOk() (*UsageInfo, bool)
- func (o *ChatCompletionResponseBase) HasCreated() bool
- func (o *ChatCompletionResponseBase) HasId() bool
- func (o *ChatCompletionResponseBase) HasModel() bool
- func (o *ChatCompletionResponseBase) HasObject() bool
- func (o *ChatCompletionResponseBase) HasUsage() bool
- func (o ChatCompletionResponseBase) MarshalJSON() ([]byte, error)
- func (o *ChatCompletionResponseBase) SetCreated(v int32)
- func (o *ChatCompletionResponseBase) SetId(v string)
- func (o *ChatCompletionResponseBase) SetModel(v string)
- func (o *ChatCompletionResponseBase) SetObject(v string)
- func (o *ChatCompletionResponseBase) SetUsage(v UsageInfo)
- func (o ChatCompletionResponseBase) ToMap() (map[string]interface{}, error)
- func (o *ChatCompletionResponseBase) UnmarshalJSON(data []byte) (err error)
- type ChatModerationRequest
- func (o *ChatModerationRequest) GetInput() Input
- func (o *ChatModerationRequest) GetInputOk() (*Input, bool)
- func (o *ChatModerationRequest) GetModel() string
- func (o *ChatModerationRequest) GetModelOk() (*string, bool)
- func (o ChatModerationRequest) MarshalJSON() ([]byte, error)
- func (o *ChatModerationRequest) SetInput(v Input)
- func (o *ChatModerationRequest) SetModel(v string)
- func (o ChatModerationRequest) ToMap() (map[string]interface{}, error)
- func (o *ChatModerationRequest) UnmarshalJSON(data []byte) (err error)
- type CheckpointOut
- func (o *CheckpointOut) GetCreatedAt() int32
- func (o *CheckpointOut) GetCreatedAtOk() (*int32, bool)
- func (o *CheckpointOut) GetMetrics() MetricOut
- func (o *CheckpointOut) GetMetricsOk() (*MetricOut, bool)
- func (o *CheckpointOut) GetStepNumber() int32
- func (o *CheckpointOut) GetStepNumberOk() (*int32, bool)
- func (o CheckpointOut) MarshalJSON() ([]byte, error)
- func (o *CheckpointOut) SetCreatedAt(v int32)
- func (o *CheckpointOut) SetMetrics(v MetricOut)
- func (o *CheckpointOut) SetStepNumber(v int32)
- func (o CheckpointOut) ToMap() (map[string]interface{}, error)
- func (o *CheckpointOut) UnmarshalJSON(data []byte) (err error)
- type ClassificationRequest
- func (o *ClassificationRequest) GetInput() Input1
- func (o *ClassificationRequest) GetInputOk() (*Input1, bool)
- func (o *ClassificationRequest) GetMetadata() map[string]interface{}
- func (o *ClassificationRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ClassificationRequest) GetModel() string
- func (o *ClassificationRequest) GetModelOk() (*string, bool)
- func (o *ClassificationRequest) HasMetadata() bool
- func (o ClassificationRequest) MarshalJSON() ([]byte, error)
- func (o *ClassificationRequest) SetInput(v Input1)
- func (o *ClassificationRequest) SetMetadata(v map[string]interface{})
- func (o *ClassificationRequest) SetModel(v string)
- func (o ClassificationRequest) ToMap() (map[string]interface{}, error)
- func (o *ClassificationRequest) UnmarshalJSON(data []byte) (err error)
- type ClassificationResponse
- func (o *ClassificationResponse) GetId() string
- func (o *ClassificationResponse) GetIdOk() (*string, bool)
- func (o *ClassificationResponse) GetModel() string
- func (o *ClassificationResponse) GetModelOk() (*string, bool)
- func (o *ClassificationResponse) GetResults() []map[string]ClassificationTargetResult
- func (o *ClassificationResponse) GetResultsOk() ([]map[string]ClassificationTargetResult, bool)
- func (o ClassificationResponse) MarshalJSON() ([]byte, error)
- func (o *ClassificationResponse) SetId(v string)
- func (o *ClassificationResponse) SetModel(v string)
- func (o *ClassificationResponse) SetResults(v []map[string]ClassificationTargetResult)
- func (o ClassificationResponse) ToMap() (map[string]interface{}, error)
- func (o *ClassificationResponse) UnmarshalJSON(data []byte) (err error)
- type ClassificationTargetResult
- func (o *ClassificationTargetResult) GetScores() map[string]float32
- func (o *ClassificationTargetResult) GetScoresOk() (map[string]float32, bool)
- func (o ClassificationTargetResult) MarshalJSON() ([]byte, error)
- func (o *ClassificationTargetResult) SetScores(v map[string]float32)
- func (o ClassificationTargetResult) ToMap() (map[string]interface{}, error)
- func (o *ClassificationTargetResult) UnmarshalJSON(data []byte) (err error)
- type ClassifierDetailedJobOut
- func (o *ClassifierDetailedJobOut) GetAutoStart() bool
- func (o *ClassifierDetailedJobOut) GetAutoStartOk() (*bool, bool)
- func (o *ClassifierDetailedJobOut) GetCheckpoints() []CheckpointOut
- func (o *ClassifierDetailedJobOut) GetCheckpointsOk() ([]CheckpointOut, bool)
- func (o *ClassifierDetailedJobOut) GetClassifierTargets() []ClassifierTargetOut
- func (o *ClassifierDetailedJobOut) GetClassifierTargetsOk() ([]ClassifierTargetOut, bool)
- func (o *ClassifierDetailedJobOut) GetCreatedAt() int32
- func (o *ClassifierDetailedJobOut) GetCreatedAtOk() (*int32, bool)
- func (o *ClassifierDetailedJobOut) GetEvents() []EventOut
- func (o *ClassifierDetailedJobOut) GetEventsOk() ([]EventOut, bool)
- func (o *ClassifierDetailedJobOut) GetFineTunedModel() string
- func (o *ClassifierDetailedJobOut) GetFineTunedModelOk() (*string, bool)
- func (o *ClassifierDetailedJobOut) GetHyperparameters() ClassifierTrainingParameters
- func (o *ClassifierDetailedJobOut) GetHyperparametersOk() (*ClassifierTrainingParameters, bool)
- func (o *ClassifierDetailedJobOut) GetId() string
- func (o *ClassifierDetailedJobOut) GetIdOk() (*string, bool)
- func (o *ClassifierDetailedJobOut) GetIntegrations() []WandbIntegrationOut
- func (o *ClassifierDetailedJobOut) GetIntegrationsOk() ([]WandbIntegrationOut, bool)
- func (o *ClassifierDetailedJobOut) GetJobType() string
- func (o *ClassifierDetailedJobOut) GetJobTypeOk() (*string, bool)
- func (o *ClassifierDetailedJobOut) GetMetadata() JobMetadataOut
- func (o *ClassifierDetailedJobOut) GetMetadataOk() (*JobMetadataOut, bool)
- func (o *ClassifierDetailedJobOut) GetModel() FineTuneableModel
- func (o *ClassifierDetailedJobOut) GetModelOk() (*FineTuneableModel, bool)
- func (o *ClassifierDetailedJobOut) GetModifiedAt() int32
- func (o *ClassifierDetailedJobOut) GetModifiedAtOk() (*int32, bool)
- func (o *ClassifierDetailedJobOut) GetObject() string
- func (o *ClassifierDetailedJobOut) GetObjectOk() (*string, bool)
- func (o *ClassifierDetailedJobOut) GetStatus() string
- func (o *ClassifierDetailedJobOut) GetStatusOk() (*string, bool)
- func (o *ClassifierDetailedJobOut) GetSuffix() string
- func (o *ClassifierDetailedJobOut) GetSuffixOk() (*string, bool)
- func (o *ClassifierDetailedJobOut) GetTrainedTokens() int32
- func (o *ClassifierDetailedJobOut) GetTrainedTokensOk() (*int32, bool)
- func (o *ClassifierDetailedJobOut) GetTrainingFiles() []string
- func (o *ClassifierDetailedJobOut) GetTrainingFilesOk() ([]string, bool)
- func (o *ClassifierDetailedJobOut) GetValidationFiles() []string
- func (o *ClassifierDetailedJobOut) GetValidationFilesOk() ([]string, bool)
- func (o *ClassifierDetailedJobOut) HasCheckpoints() bool
- func (o *ClassifierDetailedJobOut) HasEvents() bool
- func (o *ClassifierDetailedJobOut) HasFineTunedModel() bool
- func (o *ClassifierDetailedJobOut) HasIntegrations() bool
- func (o *ClassifierDetailedJobOut) HasJobType() bool
- func (o *ClassifierDetailedJobOut) HasMetadata() bool
- func (o *ClassifierDetailedJobOut) HasObject() bool
- func (o *ClassifierDetailedJobOut) HasSuffix() bool
- func (o *ClassifierDetailedJobOut) HasTrainedTokens() bool
- func (o *ClassifierDetailedJobOut) HasValidationFiles() bool
- func (o ClassifierDetailedJobOut) MarshalJSON() ([]byte, error)
- func (o *ClassifierDetailedJobOut) SetAutoStart(v bool)
- func (o *ClassifierDetailedJobOut) SetCheckpoints(v []CheckpointOut)
- func (o *ClassifierDetailedJobOut) SetClassifierTargets(v []ClassifierTargetOut)
- func (o *ClassifierDetailedJobOut) SetCreatedAt(v int32)
- func (o *ClassifierDetailedJobOut) SetEvents(v []EventOut)
- func (o *ClassifierDetailedJobOut) SetFineTunedModel(v string)
- func (o *ClassifierDetailedJobOut) SetFineTunedModelNil()
- func (o *ClassifierDetailedJobOut) SetHyperparameters(v ClassifierTrainingParameters)
- func (o *ClassifierDetailedJobOut) SetId(v string)
- func (o *ClassifierDetailedJobOut) SetIntegrations(v []WandbIntegrationOut)
- func (o *ClassifierDetailedJobOut) SetJobType(v string)
- func (o *ClassifierDetailedJobOut) SetMetadata(v JobMetadataOut)
- func (o *ClassifierDetailedJobOut) SetMetadataNil()
- func (o *ClassifierDetailedJobOut) SetModel(v FineTuneableModel)
- func (o *ClassifierDetailedJobOut) SetModifiedAt(v int32)
- func (o *ClassifierDetailedJobOut) SetObject(v string)
- func (o *ClassifierDetailedJobOut) SetStatus(v string)
- func (o *ClassifierDetailedJobOut) SetSuffix(v string)
- func (o *ClassifierDetailedJobOut) SetSuffixNil()
- func (o *ClassifierDetailedJobOut) SetTrainedTokens(v int32)
- func (o *ClassifierDetailedJobOut) SetTrainedTokensNil()
- func (o *ClassifierDetailedJobOut) SetTrainingFiles(v []string)
- func (o *ClassifierDetailedJobOut) SetValidationFiles(v []string)
- func (o ClassifierDetailedJobOut) ToMap() (map[string]interface{}, error)
- func (o *ClassifierDetailedJobOut) UnmarshalJSON(data []byte) (err error)
- func (o *ClassifierDetailedJobOut) UnsetFineTunedModel()
- func (o *ClassifierDetailedJobOut) UnsetMetadata()
- func (o *ClassifierDetailedJobOut) UnsetSuffix()
- func (o *ClassifierDetailedJobOut) UnsetTrainedTokens()
- type ClassifierFTModelOut
- func (o *ClassifierFTModelOut) GetAliases() []string
- func (o *ClassifierFTModelOut) GetAliasesOk() ([]string, bool)
- func (o *ClassifierFTModelOut) GetArchived() bool
- func (o *ClassifierFTModelOut) GetArchivedOk() (*bool, bool)
- func (o *ClassifierFTModelOut) GetCapabilities() FTModelCapabilitiesOut
- func (o *ClassifierFTModelOut) GetCapabilitiesOk() (*FTModelCapabilitiesOut, bool)
- func (o *ClassifierFTModelOut) GetClassifierTargets() []ClassifierTargetOut
- func (o *ClassifierFTModelOut) GetClassifierTargetsOk() ([]ClassifierTargetOut, bool)
- func (o *ClassifierFTModelOut) GetCreated() int32
- func (o *ClassifierFTModelOut) GetCreatedOk() (*int32, bool)
- func (o *ClassifierFTModelOut) GetDescription() string
- func (o *ClassifierFTModelOut) GetDescriptionOk() (*string, bool)
- func (o *ClassifierFTModelOut) GetId() string
- func (o *ClassifierFTModelOut) GetIdOk() (*string, bool)
- func (o *ClassifierFTModelOut) GetJob() string
- func (o *ClassifierFTModelOut) GetJobOk() (*string, bool)
- func (o *ClassifierFTModelOut) GetMaxContextLength() int32
- func (o *ClassifierFTModelOut) GetMaxContextLengthOk() (*int32, bool)
- func (o *ClassifierFTModelOut) GetModelType() string
- func (o *ClassifierFTModelOut) GetModelTypeOk() (*string, bool)
- func (o *ClassifierFTModelOut) GetName() string
- func (o *ClassifierFTModelOut) GetNameOk() (*string, bool)
- func (o *ClassifierFTModelOut) GetObject() string
- func (o *ClassifierFTModelOut) GetObjectOk() (*string, bool)
- func (o *ClassifierFTModelOut) GetOwnedBy() string
- func (o *ClassifierFTModelOut) GetOwnedByOk() (*string, bool)
- func (o *ClassifierFTModelOut) GetRoot() string
- func (o *ClassifierFTModelOut) GetRootOk() (*string, bool)
- func (o *ClassifierFTModelOut) GetRootVersion() string
- func (o *ClassifierFTModelOut) GetRootVersionOk() (*string, bool)
- func (o *ClassifierFTModelOut) GetWorkspaceId() string
- func (o *ClassifierFTModelOut) GetWorkspaceIdOk() (*string, bool)
- func (o *ClassifierFTModelOut) HasAliases() bool
- func (o *ClassifierFTModelOut) HasDescription() bool
- func (o *ClassifierFTModelOut) HasMaxContextLength() bool
- func (o *ClassifierFTModelOut) HasModelType() bool
- func (o *ClassifierFTModelOut) HasName() bool
- func (o *ClassifierFTModelOut) HasObject() bool
- func (o ClassifierFTModelOut) MarshalJSON() ([]byte, error)
- func (o *ClassifierFTModelOut) SetAliases(v []string)
- func (o *ClassifierFTModelOut) SetArchived(v bool)
- func (o *ClassifierFTModelOut) SetCapabilities(v FTModelCapabilitiesOut)
- func (o *ClassifierFTModelOut) SetClassifierTargets(v []ClassifierTargetOut)
- func (o *ClassifierFTModelOut) SetCreated(v int32)
- func (o *ClassifierFTModelOut) SetDescription(v string)
- func (o *ClassifierFTModelOut) SetDescriptionNil()
- func (o *ClassifierFTModelOut) SetId(v string)
- func (o *ClassifierFTModelOut) SetJob(v string)
- func (o *ClassifierFTModelOut) SetMaxContextLength(v int32)
- func (o *ClassifierFTModelOut) SetModelType(v string)
- func (o *ClassifierFTModelOut) SetName(v string)
- func (o *ClassifierFTModelOut) SetNameNil()
- func (o *ClassifierFTModelOut) SetObject(v string)
- func (o *ClassifierFTModelOut) SetOwnedBy(v string)
- func (o *ClassifierFTModelOut) SetRoot(v string)
- func (o *ClassifierFTModelOut) SetRootVersion(v string)
- func (o *ClassifierFTModelOut) SetWorkspaceId(v string)
- func (o ClassifierFTModelOut) ToMap() (map[string]interface{}, error)
- func (o *ClassifierFTModelOut) UnmarshalJSON(data []byte) (err error)
- func (o *ClassifierFTModelOut) UnsetDescription()
- func (o *ClassifierFTModelOut) UnsetName()
- type ClassifierJobOut
- func (o *ClassifierJobOut) GetAutoStart() bool
- func (o *ClassifierJobOut) GetAutoStartOk() (*bool, bool)
- func (o *ClassifierJobOut) GetCreatedAt() int32
- func (o *ClassifierJobOut) GetCreatedAtOk() (*int32, bool)
- func (o *ClassifierJobOut) GetFineTunedModel() string
- func (o *ClassifierJobOut) GetFineTunedModelOk() (*string, bool)
- func (o *ClassifierJobOut) GetHyperparameters() ClassifierTrainingParameters
- func (o *ClassifierJobOut) GetHyperparametersOk() (*ClassifierTrainingParameters, bool)
- func (o *ClassifierJobOut) GetId() string
- func (o *ClassifierJobOut) GetIdOk() (*string, bool)
- func (o *ClassifierJobOut) GetIntegrations() []WandbIntegrationOut
- func (o *ClassifierJobOut) GetIntegrationsOk() ([]WandbIntegrationOut, bool)
- func (o *ClassifierJobOut) GetJobType() string
- func (o *ClassifierJobOut) GetJobTypeOk() (*string, bool)
- func (o *ClassifierJobOut) GetMetadata() JobMetadataOut
- func (o *ClassifierJobOut) GetMetadataOk() (*JobMetadataOut, bool)
- func (o *ClassifierJobOut) GetModel() FineTuneableModel
- func (o *ClassifierJobOut) GetModelOk() (*FineTuneableModel, bool)
- func (o *ClassifierJobOut) GetModifiedAt() int32
- func (o *ClassifierJobOut) GetModifiedAtOk() (*int32, bool)
- func (o *ClassifierJobOut) GetObject() string
- func (o *ClassifierJobOut) GetObjectOk() (*string, bool)
- func (o *ClassifierJobOut) GetStatus() string
- func (o *ClassifierJobOut) GetStatusOk() (*string, bool)
- func (o *ClassifierJobOut) GetSuffix() string
- func (o *ClassifierJobOut) GetSuffixOk() (*string, bool)
- func (o *ClassifierJobOut) GetTrainedTokens() int32
- func (o *ClassifierJobOut) GetTrainedTokensOk() (*int32, bool)
- func (o *ClassifierJobOut) GetTrainingFiles() []string
- func (o *ClassifierJobOut) GetTrainingFilesOk() ([]string, bool)
- func (o *ClassifierJobOut) GetValidationFiles() []string
- func (o *ClassifierJobOut) GetValidationFilesOk() ([]string, bool)
- func (o *ClassifierJobOut) HasFineTunedModel() bool
- func (o *ClassifierJobOut) HasIntegrations() bool
- func (o *ClassifierJobOut) HasJobType() bool
- func (o *ClassifierJobOut) HasMetadata() bool
- func (o *ClassifierJobOut) HasObject() bool
- func (o *ClassifierJobOut) HasSuffix() bool
- func (o *ClassifierJobOut) HasTrainedTokens() bool
- func (o *ClassifierJobOut) HasValidationFiles() bool
- func (o ClassifierJobOut) MarshalJSON() ([]byte, error)
- func (o *ClassifierJobOut) SetAutoStart(v bool)
- func (o *ClassifierJobOut) SetCreatedAt(v int32)
- func (o *ClassifierJobOut) SetFineTunedModel(v string)
- func (o *ClassifierJobOut) SetFineTunedModelNil()
- func (o *ClassifierJobOut) SetHyperparameters(v ClassifierTrainingParameters)
- func (o *ClassifierJobOut) SetId(v string)
- func (o *ClassifierJobOut) SetIntegrations(v []WandbIntegrationOut)
- func (o *ClassifierJobOut) SetJobType(v string)
- func (o *ClassifierJobOut) SetMetadata(v JobMetadataOut)
- func (o *ClassifierJobOut) SetMetadataNil()
- func (o *ClassifierJobOut) SetModel(v FineTuneableModel)
- func (o *ClassifierJobOut) SetModifiedAt(v int32)
- func (o *ClassifierJobOut) SetObject(v string)
- func (o *ClassifierJobOut) SetStatus(v string)
- func (o *ClassifierJobOut) SetSuffix(v string)
- func (o *ClassifierJobOut) SetSuffixNil()
- func (o *ClassifierJobOut) SetTrainedTokens(v int32)
- func (o *ClassifierJobOut) SetTrainedTokensNil()
- func (o *ClassifierJobOut) SetTrainingFiles(v []string)
- func (o *ClassifierJobOut) SetValidationFiles(v []string)
- func (o ClassifierJobOut) ToMap() (map[string]interface{}, error)
- func (o *ClassifierJobOut) UnmarshalJSON(data []byte) (err error)
- func (o *ClassifierJobOut) UnsetFineTunedModel()
- func (o *ClassifierJobOut) UnsetMetadata()
- func (o *ClassifierJobOut) UnsetSuffix()
- func (o *ClassifierJobOut) UnsetTrainedTokens()
- type ClassifierTargetIn
- func (o *ClassifierTargetIn) GetLabels() []string
- func (o *ClassifierTargetIn) GetLabelsOk() ([]string, bool)
- func (o *ClassifierTargetIn) GetLossFunction() FTClassifierLossFunction
- func (o *ClassifierTargetIn) GetLossFunctionOk() (*FTClassifierLossFunction, bool)
- func (o *ClassifierTargetIn) GetName() string
- func (o *ClassifierTargetIn) GetNameOk() (*string, bool)
- func (o *ClassifierTargetIn) GetWeight() float32
- func (o *ClassifierTargetIn) GetWeightOk() (*float32, bool)
- func (o *ClassifierTargetIn) HasLossFunction() bool
- func (o *ClassifierTargetIn) HasWeight() bool
- func (o ClassifierTargetIn) MarshalJSON() ([]byte, error)
- func (o *ClassifierTargetIn) SetLabels(v []string)
- func (o *ClassifierTargetIn) SetLossFunction(v FTClassifierLossFunction)
- func (o *ClassifierTargetIn) SetLossFunctionNil()
- func (o *ClassifierTargetIn) SetName(v string)
- func (o *ClassifierTargetIn) SetWeight(v float32)
- func (o ClassifierTargetIn) ToMap() (map[string]interface{}, error)
- func (o *ClassifierTargetIn) UnmarshalJSON(data []byte) (err error)
- func (o *ClassifierTargetIn) UnsetLossFunction()
- type ClassifierTargetOut
- func (o *ClassifierTargetOut) GetLabels() []string
- func (o *ClassifierTargetOut) GetLabelsOk() ([]string, bool)
- func (o *ClassifierTargetOut) GetLossFunction() FTClassifierLossFunction
- func (o *ClassifierTargetOut) GetLossFunctionOk() (*FTClassifierLossFunction, bool)
- func (o *ClassifierTargetOut) GetName() string
- func (o *ClassifierTargetOut) GetNameOk() (*string, bool)
- func (o *ClassifierTargetOut) GetWeight() float32
- func (o *ClassifierTargetOut) GetWeightOk() (*float32, bool)
- func (o ClassifierTargetOut) MarshalJSON() ([]byte, error)
- func (o *ClassifierTargetOut) SetLabels(v []string)
- func (o *ClassifierTargetOut) SetLossFunction(v FTClassifierLossFunction)
- func (o *ClassifierTargetOut) SetName(v string)
- func (o *ClassifierTargetOut) SetWeight(v float32)
- func (o ClassifierTargetOut) ToMap() (map[string]interface{}, error)
- func (o *ClassifierTargetOut) UnmarshalJSON(data []byte) (err error)
- type ClassifierTrainingParameters
- func (o *ClassifierTrainingParameters) GetEpochs() float32
- func (o *ClassifierTrainingParameters) GetEpochsOk() (*float32, bool)
- func (o *ClassifierTrainingParameters) GetLearningRate() float32
- func (o *ClassifierTrainingParameters) GetLearningRateOk() (*float32, bool)
- func (o *ClassifierTrainingParameters) GetSeqLen() int32
- func (o *ClassifierTrainingParameters) GetSeqLenOk() (*int32, bool)
- func (o *ClassifierTrainingParameters) GetTrainingSteps() int32
- func (o *ClassifierTrainingParameters) GetTrainingStepsOk() (*int32, bool)
- func (o *ClassifierTrainingParameters) GetWarmupFraction() float32
- func (o *ClassifierTrainingParameters) GetWarmupFractionOk() (*float32, bool)
- func (o *ClassifierTrainingParameters) GetWeightDecay() float32
- func (o *ClassifierTrainingParameters) GetWeightDecayOk() (*float32, bool)
- func (o *ClassifierTrainingParameters) HasEpochs() bool
- func (o *ClassifierTrainingParameters) HasLearningRate() bool
- func (o *ClassifierTrainingParameters) HasSeqLen() bool
- func (o *ClassifierTrainingParameters) HasTrainingSteps() bool
- func (o *ClassifierTrainingParameters) HasWarmupFraction() bool
- func (o *ClassifierTrainingParameters) HasWeightDecay() bool
- func (o ClassifierTrainingParameters) MarshalJSON() ([]byte, error)
- func (o *ClassifierTrainingParameters) SetEpochs(v float32)
- func (o *ClassifierTrainingParameters) SetEpochsNil()
- func (o *ClassifierTrainingParameters) SetLearningRate(v float32)
- func (o *ClassifierTrainingParameters) SetSeqLen(v int32)
- func (o *ClassifierTrainingParameters) SetSeqLenNil()
- func (o *ClassifierTrainingParameters) SetTrainingSteps(v int32)
- func (o *ClassifierTrainingParameters) SetTrainingStepsNil()
- func (o *ClassifierTrainingParameters) SetWarmupFraction(v float32)
- func (o *ClassifierTrainingParameters) SetWarmupFractionNil()
- func (o *ClassifierTrainingParameters) SetWeightDecay(v float32)
- func (o *ClassifierTrainingParameters) SetWeightDecayNil()
- func (o ClassifierTrainingParameters) ToMap() (map[string]interface{}, error)
- func (o *ClassifierTrainingParameters) UnmarshalJSON(data []byte) (err error)
- func (o *ClassifierTrainingParameters) UnsetEpochs()
- func (o *ClassifierTrainingParameters) UnsetSeqLen()
- func (o *ClassifierTrainingParameters) UnsetTrainingSteps()
- func (o *ClassifierTrainingParameters) UnsetWarmupFraction()
- func (o *ClassifierTrainingParameters) UnsetWeightDecay()
- type ClassifierTrainingParametersIn
- func (o *ClassifierTrainingParametersIn) GetEpochs() float32
- func (o *ClassifierTrainingParametersIn) GetEpochsOk() (*float32, bool)
- func (o *ClassifierTrainingParametersIn) GetLearningRate() float32
- func (o *ClassifierTrainingParametersIn) GetLearningRateOk() (*float32, bool)
- func (o *ClassifierTrainingParametersIn) GetSeqLen() int32
- func (o *ClassifierTrainingParametersIn) GetSeqLenOk() (*int32, bool)
- func (o *ClassifierTrainingParametersIn) GetTrainingSteps() int32
- func (o *ClassifierTrainingParametersIn) GetTrainingStepsOk() (*int32, bool)
- func (o *ClassifierTrainingParametersIn) GetWarmupFraction() float32
- func (o *ClassifierTrainingParametersIn) GetWarmupFractionOk() (*float32, bool)
- func (o *ClassifierTrainingParametersIn) GetWeightDecay() float32
- func (o *ClassifierTrainingParametersIn) GetWeightDecayOk() (*float32, bool)
- func (o *ClassifierTrainingParametersIn) HasEpochs() bool
- func (o *ClassifierTrainingParametersIn) HasLearningRate() bool
- func (o *ClassifierTrainingParametersIn) HasSeqLen() bool
- func (o *ClassifierTrainingParametersIn) HasTrainingSteps() bool
- func (o *ClassifierTrainingParametersIn) HasWarmupFraction() bool
- func (o *ClassifierTrainingParametersIn) HasWeightDecay() bool
- func (o ClassifierTrainingParametersIn) MarshalJSON() ([]byte, error)
- func (o *ClassifierTrainingParametersIn) SetEpochs(v float32)
- func (o *ClassifierTrainingParametersIn) SetEpochsNil()
- func (o *ClassifierTrainingParametersIn) SetLearningRate(v float32)
- func (o *ClassifierTrainingParametersIn) SetSeqLen(v int32)
- func (o *ClassifierTrainingParametersIn) SetSeqLenNil()
- func (o *ClassifierTrainingParametersIn) SetTrainingSteps(v int32)
- func (o *ClassifierTrainingParametersIn) SetTrainingStepsNil()
- func (o *ClassifierTrainingParametersIn) SetWarmupFraction(v float32)
- func (o *ClassifierTrainingParametersIn) SetWarmupFractionNil()
- func (o *ClassifierTrainingParametersIn) SetWeightDecay(v float32)
- func (o *ClassifierTrainingParametersIn) SetWeightDecayNil()
- func (o ClassifierTrainingParametersIn) ToMap() (map[string]interface{}, error)
- func (o *ClassifierTrainingParametersIn) UnmarshalJSON(data []byte) (err error)
- func (o *ClassifierTrainingParametersIn) UnsetEpochs()
- func (o *ClassifierTrainingParametersIn) UnsetSeqLen()
- func (o *ClassifierTrainingParametersIn) UnsetTrainingSteps()
- func (o *ClassifierTrainingParametersIn) UnsetWarmupFraction()
- func (o *ClassifierTrainingParametersIn) UnsetWeightDecay()
- type ClassifiersAPI
- type ClassifiersAPIService
- func (a *ClassifiersAPIService) ChatClassificationsV1ChatClassificationsPost(ctx context.Context) ApiChatClassificationsV1ChatClassificationsPostRequest
- func (a *ClassifiersAPIService) ChatClassificationsV1ChatClassificationsPostExecute(r ApiChatClassificationsV1ChatClassificationsPostRequest) (*ClassificationResponse, *http.Response, error)
- func (a *ClassifiersAPIService) ChatModerationsV1ChatModerationsPost(ctx context.Context) ApiChatModerationsV1ChatModerationsPostRequest
- func (a *ClassifiersAPIService) ChatModerationsV1ChatModerationsPostExecute(r ApiChatModerationsV1ChatModerationsPostRequest) (*ModerationResponse, *http.Response, error)
- func (a *ClassifiersAPIService) ClassificationsV1ClassificationsPost(ctx context.Context) ApiClassificationsV1ClassificationsPostRequest
- func (a *ClassifiersAPIService) ClassificationsV1ClassificationsPostExecute(r ApiClassificationsV1ClassificationsPostRequest) (*ClassificationResponse, *http.Response, error)
- func (a *ClassifiersAPIService) ModerationsV1ModerationsPost(ctx context.Context) ApiModerationsV1ModerationsPostRequest
- func (a *ClassifiersAPIService) ModerationsV1ModerationsPostExecute(r ApiModerationsV1ModerationsPostRequest) (*ModerationResponse, *http.Response, error)
- type CodeInterpreterTool
- func (o *CodeInterpreterTool) GetType() string
- func (o *CodeInterpreterTool) GetTypeOk() (*string, bool)
- func (o *CodeInterpreterTool) HasType() bool
- func (o CodeInterpreterTool) MarshalJSON() ([]byte, error)
- func (o *CodeInterpreterTool) SetType(v string)
- func (o CodeInterpreterTool) ToMap() (map[string]interface{}, error)
- type CompletionArgs
- func (o *CompletionArgs) GetFrequencyPenalty() float32
- func (o *CompletionArgs) GetFrequencyPenaltyOk() (*float32, bool)
- func (o *CompletionArgs) GetMaxTokens() int32
- func (o *CompletionArgs) GetMaxTokensOk() (*int32, bool)
- func (o *CompletionArgs) GetPrediction() Prediction
- func (o *CompletionArgs) GetPredictionOk() (*Prediction, bool)
- func (o *CompletionArgs) GetPresencePenalty() float32
- func (o *CompletionArgs) GetPresencePenaltyOk() (*float32, bool)
- func (o *CompletionArgs) GetRandomSeed() int32
- func (o *CompletionArgs) GetRandomSeedOk() (*int32, bool)
- func (o *CompletionArgs) GetResponseFormat() ResponseFormat
- func (o *CompletionArgs) GetResponseFormatOk() (*ResponseFormat, bool)
- func (o *CompletionArgs) GetStop() CompletionArgsStop
- func (o *CompletionArgs) GetStopOk() (*CompletionArgsStop, bool)
- func (o *CompletionArgs) GetTemperature() float32
- func (o *CompletionArgs) GetTemperatureOk() (*float32, bool)
- func (o *CompletionArgs) GetToolChoice() ToolChoiceEnum
- func (o *CompletionArgs) GetToolChoiceOk() (*ToolChoiceEnum, bool)
- func (o *CompletionArgs) GetTopP() float32
- func (o *CompletionArgs) GetTopPOk() (*float32, bool)
- func (o *CompletionArgs) HasFrequencyPenalty() bool
- func (o *CompletionArgs) HasMaxTokens() bool
- func (o *CompletionArgs) HasPrediction() bool
- func (o *CompletionArgs) HasPresencePenalty() bool
- func (o *CompletionArgs) HasRandomSeed() bool
- func (o *CompletionArgs) HasResponseFormat() bool
- func (o *CompletionArgs) HasStop() bool
- func (o *CompletionArgs) HasTemperature() bool
- func (o *CompletionArgs) HasToolChoice() bool
- func (o *CompletionArgs) HasTopP() bool
- func (o CompletionArgs) MarshalJSON() ([]byte, error)
- func (o *CompletionArgs) SetFrequencyPenalty(v float32)
- func (o *CompletionArgs) SetFrequencyPenaltyNil()
- func (o *CompletionArgs) SetMaxTokens(v int32)
- func (o *CompletionArgs) SetMaxTokensNil()
- func (o *CompletionArgs) SetPrediction(v Prediction)
- func (o *CompletionArgs) SetPredictionNil()
- func (o *CompletionArgs) SetPresencePenalty(v float32)
- func (o *CompletionArgs) SetPresencePenaltyNil()
- func (o *CompletionArgs) SetRandomSeed(v int32)
- func (o *CompletionArgs) SetRandomSeedNil()
- func (o *CompletionArgs) SetResponseFormat(v ResponseFormat)
- func (o *CompletionArgs) SetResponseFormatNil()
- func (o *CompletionArgs) SetStop(v CompletionArgsStop)
- func (o *CompletionArgs) SetStopNil()
- func (o *CompletionArgs) SetTemperature(v float32)
- func (o *CompletionArgs) SetTemperatureNil()
- func (o *CompletionArgs) SetToolChoice(v ToolChoiceEnum)
- func (o *CompletionArgs) SetTopP(v float32)
- func (o *CompletionArgs) SetTopPNil()
- func (o CompletionArgs) ToMap() (map[string]interface{}, error)
- func (o *CompletionArgs) UnsetFrequencyPenalty()
- func (o *CompletionArgs) UnsetMaxTokens()
- func (o *CompletionArgs) UnsetPrediction()
- func (o *CompletionArgs) UnsetPresencePenalty()
- func (o *CompletionArgs) UnsetRandomSeed()
- func (o *CompletionArgs) UnsetResponseFormat()
- func (o *CompletionArgs) UnsetStop()
- func (o *CompletionArgs) UnsetTemperature()
- func (o *CompletionArgs) UnsetTopP()
- type CompletionArgsStop
- type CompletionChunk
- func (o *CompletionChunk) GetChoices() []CompletionResponseStreamChoice
- func (o *CompletionChunk) GetChoicesOk() ([]CompletionResponseStreamChoice, bool)
- func (o *CompletionChunk) GetCreated() int32
- func (o *CompletionChunk) GetCreatedOk() (*int32, bool)
- func (o *CompletionChunk) GetId() string
- func (o *CompletionChunk) GetIdOk() (*string, bool)
- func (o *CompletionChunk) GetModel() string
- func (o *CompletionChunk) GetModelOk() (*string, bool)
- func (o *CompletionChunk) GetObject() string
- func (o *CompletionChunk) GetObjectOk() (*string, bool)
- func (o *CompletionChunk) GetUsage() UsageInfo
- func (o *CompletionChunk) GetUsageOk() (*UsageInfo, bool)
- func (o *CompletionChunk) HasCreated() bool
- func (o *CompletionChunk) HasObject() bool
- func (o *CompletionChunk) HasUsage() bool
- func (o CompletionChunk) MarshalJSON() ([]byte, error)
- func (o *CompletionChunk) SetChoices(v []CompletionResponseStreamChoice)
- func (o *CompletionChunk) SetCreated(v int32)
- func (o *CompletionChunk) SetId(v string)
- func (o *CompletionChunk) SetModel(v string)
- func (o *CompletionChunk) SetObject(v string)
- func (o *CompletionChunk) SetUsage(v UsageInfo)
- func (o CompletionChunk) ToMap() (map[string]interface{}, error)
- func (o *CompletionChunk) UnmarshalJSON(data []byte) (err error)
- type CompletionDetailedJobOut
- func (o *CompletionDetailedJobOut) GetAutoStart() bool
- func (o *CompletionDetailedJobOut) GetAutoStartOk() (*bool, bool)
- func (o *CompletionDetailedJobOut) GetCheckpoints() []CheckpointOut
- func (o *CompletionDetailedJobOut) GetCheckpointsOk() ([]CheckpointOut, bool)
- func (o *CompletionDetailedJobOut) GetCreatedAt() int32
- func (o *CompletionDetailedJobOut) GetCreatedAtOk() (*int32, bool)
- func (o *CompletionDetailedJobOut) GetEvents() []EventOut
- func (o *CompletionDetailedJobOut) GetEventsOk() ([]EventOut, bool)
- func (o *CompletionDetailedJobOut) GetFineTunedModel() string
- func (o *CompletionDetailedJobOut) GetFineTunedModelOk() (*string, bool)
- func (o *CompletionDetailedJobOut) GetHyperparameters() CompletionTrainingParameters
- func (o *CompletionDetailedJobOut) GetHyperparametersOk() (*CompletionTrainingParameters, bool)
- func (o *CompletionDetailedJobOut) GetId() string
- func (o *CompletionDetailedJobOut) GetIdOk() (*string, bool)
- func (o *CompletionDetailedJobOut) GetIntegrations() []WandbIntegrationOut
- func (o *CompletionDetailedJobOut) GetIntegrationsOk() ([]WandbIntegrationOut, bool)
- func (o *CompletionDetailedJobOut) GetJobType() string
- func (o *CompletionDetailedJobOut) GetJobTypeOk() (*string, bool)
- func (o *CompletionDetailedJobOut) GetMetadata() JobMetadataOut
- func (o *CompletionDetailedJobOut) GetMetadataOk() (*JobMetadataOut, bool)
- func (o *CompletionDetailedJobOut) GetModel() FineTuneableModel
- func (o *CompletionDetailedJobOut) GetModelOk() (*FineTuneableModel, bool)
- func (o *CompletionDetailedJobOut) GetModifiedAt() int32
- func (o *CompletionDetailedJobOut) GetModifiedAtOk() (*int32, bool)
- func (o *CompletionDetailedJobOut) GetObject() string
- func (o *CompletionDetailedJobOut) GetObjectOk() (*string, bool)
- func (o *CompletionDetailedJobOut) GetRepositories() []GithubRepositoryOut
- func (o *CompletionDetailedJobOut) GetRepositoriesOk() ([]GithubRepositoryOut, bool)
- func (o *CompletionDetailedJobOut) GetStatus() string
- func (o *CompletionDetailedJobOut) GetStatusOk() (*string, bool)
- func (o *CompletionDetailedJobOut) GetSuffix() string
- func (o *CompletionDetailedJobOut) GetSuffixOk() (*string, bool)
- func (o *CompletionDetailedJobOut) GetTrainedTokens() int32
- func (o *CompletionDetailedJobOut) GetTrainedTokensOk() (*int32, bool)
- func (o *CompletionDetailedJobOut) GetTrainingFiles() []string
- func (o *CompletionDetailedJobOut) GetTrainingFilesOk() ([]string, bool)
- func (o *CompletionDetailedJobOut) GetValidationFiles() []string
- func (o *CompletionDetailedJobOut) GetValidationFilesOk() ([]string, bool)
- func (o *CompletionDetailedJobOut) HasCheckpoints() bool
- func (o *CompletionDetailedJobOut) HasEvents() bool
- func (o *CompletionDetailedJobOut) HasFineTunedModel() bool
- func (o *CompletionDetailedJobOut) HasIntegrations() bool
- func (o *CompletionDetailedJobOut) HasJobType() bool
- func (o *CompletionDetailedJobOut) HasMetadata() bool
- func (o *CompletionDetailedJobOut) HasObject() bool
- func (o *CompletionDetailedJobOut) HasRepositories() bool
- func (o *CompletionDetailedJobOut) HasSuffix() bool
- func (o *CompletionDetailedJobOut) HasTrainedTokens() bool
- func (o *CompletionDetailedJobOut) HasValidationFiles() bool
- func (o CompletionDetailedJobOut) MarshalJSON() ([]byte, error)
- func (o *CompletionDetailedJobOut) SetAutoStart(v bool)
- func (o *CompletionDetailedJobOut) SetCheckpoints(v []CheckpointOut)
- func (o *CompletionDetailedJobOut) SetCreatedAt(v int32)
- func (o *CompletionDetailedJobOut) SetEvents(v []EventOut)
- func (o *CompletionDetailedJobOut) SetFineTunedModel(v string)
- func (o *CompletionDetailedJobOut) SetFineTunedModelNil()
- func (o *CompletionDetailedJobOut) SetHyperparameters(v CompletionTrainingParameters)
- func (o *CompletionDetailedJobOut) SetId(v string)
- func (o *CompletionDetailedJobOut) SetIntegrations(v []WandbIntegrationOut)
- func (o *CompletionDetailedJobOut) SetJobType(v string)
- func (o *CompletionDetailedJobOut) SetMetadata(v JobMetadataOut)
- func (o *CompletionDetailedJobOut) SetMetadataNil()
- func (o *CompletionDetailedJobOut) SetModel(v FineTuneableModel)
- func (o *CompletionDetailedJobOut) SetModifiedAt(v int32)
- func (o *CompletionDetailedJobOut) SetObject(v string)
- func (o *CompletionDetailedJobOut) SetRepositories(v []GithubRepositoryOut)
- func (o *CompletionDetailedJobOut) SetStatus(v string)
- func (o *CompletionDetailedJobOut) SetSuffix(v string)
- func (o *CompletionDetailedJobOut) SetSuffixNil()
- func (o *CompletionDetailedJobOut) SetTrainedTokens(v int32)
- func (o *CompletionDetailedJobOut) SetTrainedTokensNil()
- func (o *CompletionDetailedJobOut) SetTrainingFiles(v []string)
- func (o *CompletionDetailedJobOut) SetValidationFiles(v []string)
- func (o CompletionDetailedJobOut) ToMap() (map[string]interface{}, error)
- func (o *CompletionDetailedJobOut) UnmarshalJSON(data []byte) (err error)
- func (o *CompletionDetailedJobOut) UnsetFineTunedModel()
- func (o *CompletionDetailedJobOut) UnsetMetadata()
- func (o *CompletionDetailedJobOut) UnsetSuffix()
- func (o *CompletionDetailedJobOut) UnsetTrainedTokens()
- type CompletionEvent
- func (o *CompletionEvent) GetData() CompletionChunk
- func (o *CompletionEvent) GetDataOk() (*CompletionChunk, bool)
- func (o CompletionEvent) MarshalJSON() ([]byte, error)
- func (o *CompletionEvent) SetData(v CompletionChunk)
- func (o CompletionEvent) ToMap() (map[string]interface{}, error)
- func (o *CompletionEvent) UnmarshalJSON(data []byte) (err error)
- type CompletionFTModelOut
- func (o *CompletionFTModelOut) GetAliases() []string
- func (o *CompletionFTModelOut) GetAliasesOk() ([]string, bool)
- func (o *CompletionFTModelOut) GetArchived() bool
- func (o *CompletionFTModelOut) GetArchivedOk() (*bool, bool)
- func (o *CompletionFTModelOut) GetCapabilities() FTModelCapabilitiesOut
- func (o *CompletionFTModelOut) GetCapabilitiesOk() (*FTModelCapabilitiesOut, bool)
- func (o *CompletionFTModelOut) GetCreated() int32
- func (o *CompletionFTModelOut) GetCreatedOk() (*int32, bool)
- func (o *CompletionFTModelOut) GetDescription() string
- func (o *CompletionFTModelOut) GetDescriptionOk() (*string, bool)
- func (o *CompletionFTModelOut) GetId() string
- func (o *CompletionFTModelOut) GetIdOk() (*string, bool)
- func (o *CompletionFTModelOut) GetJob() string
- func (o *CompletionFTModelOut) GetJobOk() (*string, bool)
- func (o *CompletionFTModelOut) GetMaxContextLength() int32
- func (o *CompletionFTModelOut) GetMaxContextLengthOk() (*int32, bool)
- func (o *CompletionFTModelOut) GetModelType() string
- func (o *CompletionFTModelOut) GetModelTypeOk() (*string, bool)
- func (o *CompletionFTModelOut) GetName() string
- func (o *CompletionFTModelOut) GetNameOk() (*string, bool)
- func (o *CompletionFTModelOut) GetObject() string
- func (o *CompletionFTModelOut) GetObjectOk() (*string, bool)
- func (o *CompletionFTModelOut) GetOwnedBy() string
- func (o *CompletionFTModelOut) GetOwnedByOk() (*string, bool)
- func (o *CompletionFTModelOut) GetRoot() string
- func (o *CompletionFTModelOut) GetRootOk() (*string, bool)
- func (o *CompletionFTModelOut) GetRootVersion() string
- func (o *CompletionFTModelOut) GetRootVersionOk() (*string, bool)
- func (o *CompletionFTModelOut) GetWorkspaceId() string
- func (o *CompletionFTModelOut) GetWorkspaceIdOk() (*string, bool)
- func (o *CompletionFTModelOut) HasAliases() bool
- func (o *CompletionFTModelOut) HasDescription() bool
- func (o *CompletionFTModelOut) HasMaxContextLength() bool
- func (o *CompletionFTModelOut) HasModelType() bool
- func (o *CompletionFTModelOut) HasName() bool
- func (o *CompletionFTModelOut) HasObject() bool
- func (o CompletionFTModelOut) MarshalJSON() ([]byte, error)
- func (o *CompletionFTModelOut) SetAliases(v []string)
- func (o *CompletionFTModelOut) SetArchived(v bool)
- func (o *CompletionFTModelOut) SetCapabilities(v FTModelCapabilitiesOut)
- func (o *CompletionFTModelOut) SetCreated(v int32)
- func (o *CompletionFTModelOut) SetDescription(v string)
- func (o *CompletionFTModelOut) SetDescriptionNil()
- func (o *CompletionFTModelOut) SetId(v string)
- func (o *CompletionFTModelOut) SetJob(v string)
- func (o *CompletionFTModelOut) SetMaxContextLength(v int32)
- func (o *CompletionFTModelOut) SetModelType(v string)
- func (o *CompletionFTModelOut) SetName(v string)
- func (o *CompletionFTModelOut) SetNameNil()
- func (o *CompletionFTModelOut) SetObject(v string)
- func (o *CompletionFTModelOut) SetOwnedBy(v string)
- func (o *CompletionFTModelOut) SetRoot(v string)
- func (o *CompletionFTModelOut) SetRootVersion(v string)
- func (o *CompletionFTModelOut) SetWorkspaceId(v string)
- func (o CompletionFTModelOut) ToMap() (map[string]interface{}, error)
- func (o *CompletionFTModelOut) UnmarshalJSON(data []byte) (err error)
- func (o *CompletionFTModelOut) UnsetDescription()
- func (o *CompletionFTModelOut) UnsetName()
- type CompletionJobOut
- func (o *CompletionJobOut) GetAutoStart() bool
- func (o *CompletionJobOut) GetAutoStartOk() (*bool, bool)
- func (o *CompletionJobOut) GetCreatedAt() int32
- func (o *CompletionJobOut) GetCreatedAtOk() (*int32, bool)
- func (o *CompletionJobOut) GetFineTunedModel() string
- func (o *CompletionJobOut) GetFineTunedModelOk() (*string, bool)
- func (o *CompletionJobOut) GetHyperparameters() CompletionTrainingParameters
- func (o *CompletionJobOut) GetHyperparametersOk() (*CompletionTrainingParameters, bool)
- func (o *CompletionJobOut) GetId() string
- func (o *CompletionJobOut) GetIdOk() (*string, bool)
- func (o *CompletionJobOut) GetIntegrations() []WandbIntegrationOut
- func (o *CompletionJobOut) GetIntegrationsOk() ([]WandbIntegrationOut, bool)
- func (o *CompletionJobOut) GetJobType() string
- func (o *CompletionJobOut) GetJobTypeOk() (*string, bool)
- func (o *CompletionJobOut) GetMetadata() JobMetadataOut
- func (o *CompletionJobOut) GetMetadataOk() (*JobMetadataOut, bool)
- func (o *CompletionJobOut) GetModel() FineTuneableModel
- func (o *CompletionJobOut) GetModelOk() (*FineTuneableModel, bool)
- func (o *CompletionJobOut) GetModifiedAt() int32
- func (o *CompletionJobOut) GetModifiedAtOk() (*int32, bool)
- func (o *CompletionJobOut) GetObject() string
- func (o *CompletionJobOut) GetObjectOk() (*string, bool)
- func (o *CompletionJobOut) GetRepositories() []GithubRepositoryOut
- func (o *CompletionJobOut) GetRepositoriesOk() ([]GithubRepositoryOut, bool)
- func (o *CompletionJobOut) GetStatus() string
- func (o *CompletionJobOut) GetStatusOk() (*string, bool)
- func (o *CompletionJobOut) GetSuffix() string
- func (o *CompletionJobOut) GetSuffixOk() (*string, bool)
- func (o *CompletionJobOut) GetTrainedTokens() int32
- func (o *CompletionJobOut) GetTrainedTokensOk() (*int32, bool)
- func (o *CompletionJobOut) GetTrainingFiles() []string
- func (o *CompletionJobOut) GetTrainingFilesOk() ([]string, bool)
- func (o *CompletionJobOut) GetValidationFiles() []string
- func (o *CompletionJobOut) GetValidationFilesOk() ([]string, bool)
- func (o *CompletionJobOut) HasFineTunedModel() bool
- func (o *CompletionJobOut) HasIntegrations() bool
- func (o *CompletionJobOut) HasJobType() bool
- func (o *CompletionJobOut) HasMetadata() bool
- func (o *CompletionJobOut) HasObject() bool
- func (o *CompletionJobOut) HasRepositories() bool
- func (o *CompletionJobOut) HasSuffix() bool
- func (o *CompletionJobOut) HasTrainedTokens() bool
- func (o *CompletionJobOut) HasValidationFiles() bool
- func (o CompletionJobOut) MarshalJSON() ([]byte, error)
- func (o *CompletionJobOut) SetAutoStart(v bool)
- func (o *CompletionJobOut) SetCreatedAt(v int32)
- func (o *CompletionJobOut) SetFineTunedModel(v string)
- func (o *CompletionJobOut) SetFineTunedModelNil()
- func (o *CompletionJobOut) SetHyperparameters(v CompletionTrainingParameters)
- func (o *CompletionJobOut) SetId(v string)
- func (o *CompletionJobOut) SetIntegrations(v []WandbIntegrationOut)
- func (o *CompletionJobOut) SetJobType(v string)
- func (o *CompletionJobOut) SetMetadata(v JobMetadataOut)
- func (o *CompletionJobOut) SetMetadataNil()
- func (o *CompletionJobOut) SetModel(v FineTuneableModel)
- func (o *CompletionJobOut) SetModifiedAt(v int32)
- func (o *CompletionJobOut) SetObject(v string)
- func (o *CompletionJobOut) SetRepositories(v []GithubRepositoryOut)
- func (o *CompletionJobOut) SetStatus(v string)
- func (o *CompletionJobOut) SetSuffix(v string)
- func (o *CompletionJobOut) SetSuffixNil()
- func (o *CompletionJobOut) SetTrainedTokens(v int32)
- func (o *CompletionJobOut) SetTrainedTokensNil()
- func (o *CompletionJobOut) SetTrainingFiles(v []string)
- func (o *CompletionJobOut) SetValidationFiles(v []string)
- func (o CompletionJobOut) ToMap() (map[string]interface{}, error)
- func (o *CompletionJobOut) UnmarshalJSON(data []byte) (err error)
- func (o *CompletionJobOut) UnsetFineTunedModel()
- func (o *CompletionJobOut) UnsetMetadata()
- func (o *CompletionJobOut) UnsetSuffix()
- func (o *CompletionJobOut) UnsetTrainedTokens()
- type CompletionResponseStreamChoice
- func (o *CompletionResponseStreamChoice) GetDelta() DeltaMessage
- func (o *CompletionResponseStreamChoice) GetDeltaOk() (*DeltaMessage, bool)
- func (o *CompletionResponseStreamChoice) GetFinishReason() string
- func (o *CompletionResponseStreamChoice) GetFinishReasonOk() (*string, bool)
- func (o *CompletionResponseStreamChoice) GetIndex() int32
- func (o *CompletionResponseStreamChoice) GetIndexOk() (*int32, bool)
- func (o CompletionResponseStreamChoice) MarshalJSON() ([]byte, error)
- func (o *CompletionResponseStreamChoice) SetDelta(v DeltaMessage)
- func (o *CompletionResponseStreamChoice) SetFinishReason(v string)
- func (o *CompletionResponseStreamChoice) SetIndex(v int32)
- func (o CompletionResponseStreamChoice) ToMap() (map[string]interface{}, error)
- func (o *CompletionResponseStreamChoice) UnmarshalJSON(data []byte) (err error)
- type CompletionTrainingParameters
- func (o *CompletionTrainingParameters) GetEpochs() float32
- func (o *CompletionTrainingParameters) GetEpochsOk() (*float32, bool)
- func (o *CompletionTrainingParameters) GetFimRatio() float32
- func (o *CompletionTrainingParameters) GetFimRatioOk() (*float32, bool)
- func (o *CompletionTrainingParameters) GetLearningRate() float32
- func (o *CompletionTrainingParameters) GetLearningRateOk() (*float32, bool)
- func (o *CompletionTrainingParameters) GetSeqLen() int32
- func (o *CompletionTrainingParameters) GetSeqLenOk() (*int32, bool)
- func (o *CompletionTrainingParameters) GetTrainingSteps() int32
- func (o *CompletionTrainingParameters) GetTrainingStepsOk() (*int32, bool)
- func (o *CompletionTrainingParameters) GetWarmupFraction() float32
- func (o *CompletionTrainingParameters) GetWarmupFractionOk() (*float32, bool)
- func (o *CompletionTrainingParameters) GetWeightDecay() float32
- func (o *CompletionTrainingParameters) GetWeightDecayOk() (*float32, bool)
- func (o *CompletionTrainingParameters) HasEpochs() bool
- func (o *CompletionTrainingParameters) HasFimRatio() bool
- func (o *CompletionTrainingParameters) HasLearningRate() bool
- func (o *CompletionTrainingParameters) HasSeqLen() bool
- func (o *CompletionTrainingParameters) HasTrainingSteps() bool
- func (o *CompletionTrainingParameters) HasWarmupFraction() bool
- func (o *CompletionTrainingParameters) HasWeightDecay() bool
- func (o CompletionTrainingParameters) MarshalJSON() ([]byte, error)
- func (o *CompletionTrainingParameters) SetEpochs(v float32)
- func (o *CompletionTrainingParameters) SetEpochsNil()
- func (o *CompletionTrainingParameters) SetFimRatio(v float32)
- func (o *CompletionTrainingParameters) SetFimRatioNil()
- func (o *CompletionTrainingParameters) SetLearningRate(v float32)
- func (o *CompletionTrainingParameters) SetSeqLen(v int32)
- func (o *CompletionTrainingParameters) SetSeqLenNil()
- func (o *CompletionTrainingParameters) SetTrainingSteps(v int32)
- func (o *CompletionTrainingParameters) SetTrainingStepsNil()
- func (o *CompletionTrainingParameters) SetWarmupFraction(v float32)
- func (o *CompletionTrainingParameters) SetWarmupFractionNil()
- func (o *CompletionTrainingParameters) SetWeightDecay(v float32)
- func (o *CompletionTrainingParameters) SetWeightDecayNil()
- func (o CompletionTrainingParameters) ToMap() (map[string]interface{}, error)
- func (o *CompletionTrainingParameters) UnmarshalJSON(data []byte) (err error)
- func (o *CompletionTrainingParameters) UnsetEpochs()
- func (o *CompletionTrainingParameters) UnsetFimRatio()
- func (o *CompletionTrainingParameters) UnsetSeqLen()
- func (o *CompletionTrainingParameters) UnsetTrainingSteps()
- func (o *CompletionTrainingParameters) UnsetWarmupFraction()
- func (o *CompletionTrainingParameters) UnsetWeightDecay()
- type CompletionTrainingParametersIn
- func (o *CompletionTrainingParametersIn) GetEpochs() float32
- func (o *CompletionTrainingParametersIn) GetEpochsOk() (*float32, bool)
- func (o *CompletionTrainingParametersIn) GetFimRatio() float32
- func (o *CompletionTrainingParametersIn) GetFimRatioOk() (*float32, bool)
- func (o *CompletionTrainingParametersIn) GetLearningRate() float32
- func (o *CompletionTrainingParametersIn) GetLearningRateOk() (*float32, bool)
- func (o *CompletionTrainingParametersIn) GetSeqLen() int32
- func (o *CompletionTrainingParametersIn) GetSeqLenOk() (*int32, bool)
- func (o *CompletionTrainingParametersIn) GetTrainingSteps() int32
- func (o *CompletionTrainingParametersIn) GetTrainingStepsOk() (*int32, bool)
- func (o *CompletionTrainingParametersIn) GetWarmupFraction() float32
- func (o *CompletionTrainingParametersIn) GetWarmupFractionOk() (*float32, bool)
- func (o *CompletionTrainingParametersIn) GetWeightDecay() float32
- func (o *CompletionTrainingParametersIn) GetWeightDecayOk() (*float32, bool)
- func (o *CompletionTrainingParametersIn) HasEpochs() bool
- func (o *CompletionTrainingParametersIn) HasFimRatio() bool
- func (o *CompletionTrainingParametersIn) HasLearningRate() bool
- func (o *CompletionTrainingParametersIn) HasSeqLen() bool
- func (o *CompletionTrainingParametersIn) HasTrainingSteps() bool
- func (o *CompletionTrainingParametersIn) HasWarmupFraction() bool
- func (o *CompletionTrainingParametersIn) HasWeightDecay() bool
- func (o CompletionTrainingParametersIn) MarshalJSON() ([]byte, error)
- func (o *CompletionTrainingParametersIn) SetEpochs(v float32)
- func (o *CompletionTrainingParametersIn) SetEpochsNil()
- func (o *CompletionTrainingParametersIn) SetFimRatio(v float32)
- func (o *CompletionTrainingParametersIn) SetFimRatioNil()
- func (o *CompletionTrainingParametersIn) SetLearningRate(v float32)
- func (o *CompletionTrainingParametersIn) SetSeqLen(v int32)
- func (o *CompletionTrainingParametersIn) SetSeqLenNil()
- func (o *CompletionTrainingParametersIn) SetTrainingSteps(v int32)
- func (o *CompletionTrainingParametersIn) SetTrainingStepsNil()
- func (o *CompletionTrainingParametersIn) SetWarmupFraction(v float32)
- func (o *CompletionTrainingParametersIn) SetWarmupFractionNil()
- func (o *CompletionTrainingParametersIn) SetWeightDecay(v float32)
- func (o *CompletionTrainingParametersIn) SetWeightDecayNil()
- func (o CompletionTrainingParametersIn) ToMap() (map[string]interface{}, error)
- func (o *CompletionTrainingParametersIn) UnmarshalJSON(data []byte) (err error)
- func (o *CompletionTrainingParametersIn) UnsetEpochs()
- func (o *CompletionTrainingParametersIn) UnsetFimRatio()
- func (o *CompletionTrainingParametersIn) UnsetSeqLen()
- func (o *CompletionTrainingParametersIn) UnsetTrainingSteps()
- func (o *CompletionTrainingParametersIn) UnsetWarmupFraction()
- func (o *CompletionTrainingParametersIn) UnsetWeightDecay()
- type Configuration
- type Content
- type Content1
- type Content2
- type Content3
- type Content4
- type ContentChunk
- func AudioChunkAsContentChunk(v *AudioChunk) ContentChunk
- func DocumentURLChunkAsContentChunk(v *DocumentURLChunk) ContentChunk
- func FileChunkAsContentChunk(v *FileChunk) ContentChunk
- func ImageURLChunkAsContentChunk(v *ImageURLChunk) ContentChunk
- func ReferenceChunkAsContentChunk(v *ReferenceChunk) ContentChunk
- func TextChunkAsContentChunk(v *TextChunk) ContentChunk
- func ThinkChunkAsContentChunk(v *ThinkChunk) ContentChunk
- type ConversationAppendRequest
- func (o *ConversationAppendRequest) GetCompletionArgs() CompletionArgs
- func (o *ConversationAppendRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ConversationAppendRequest) GetHandoffExecution() string
- func (o *ConversationAppendRequest) GetHandoffExecutionOk() (*string, bool)
- func (o *ConversationAppendRequest) GetInputs() ConversationInputs
- func (o *ConversationAppendRequest) GetInputsOk() (*ConversationInputs, bool)
- func (o *ConversationAppendRequest) GetStore() bool
- func (o *ConversationAppendRequest) GetStoreOk() (*bool, bool)
- func (o *ConversationAppendRequest) GetStream() bool
- func (o *ConversationAppendRequest) GetStreamOk() (*bool, bool)
- func (o *ConversationAppendRequest) HasCompletionArgs() bool
- func (o *ConversationAppendRequest) HasHandoffExecution() bool
- func (o *ConversationAppendRequest) HasStore() bool
- func (o *ConversationAppendRequest) HasStream() bool
- func (o ConversationAppendRequest) MarshalJSON() ([]byte, error)
- func (o *ConversationAppendRequest) SetCompletionArgs(v CompletionArgs)
- func (o *ConversationAppendRequest) SetHandoffExecution(v string)
- func (o *ConversationAppendRequest) SetInputs(v ConversationInputs)
- func (o *ConversationAppendRequest) SetStore(v bool)
- func (o *ConversationAppendRequest) SetStream(v bool)
- func (o ConversationAppendRequest) ToMap() (map[string]interface{}, error)
- func (o *ConversationAppendRequest) UnmarshalJSON(data []byte) (err error)
- type ConversationAppendRequestBase
- func (o *ConversationAppendRequestBase) GetCompletionArgs() CompletionArgs
- func (o *ConversationAppendRequestBase) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ConversationAppendRequestBase) GetHandoffExecution() string
- func (o *ConversationAppendRequestBase) GetHandoffExecutionOk() (*string, bool)
- func (o *ConversationAppendRequestBase) GetInputs() ConversationInputs
- func (o *ConversationAppendRequestBase) GetInputsOk() (*ConversationInputs, bool)
- func (o *ConversationAppendRequestBase) GetStore() bool
- func (o *ConversationAppendRequestBase) GetStoreOk() (*bool, bool)
- func (o *ConversationAppendRequestBase) GetStream() bool
- func (o *ConversationAppendRequestBase) GetStreamOk() (*bool, bool)
- func (o *ConversationAppendRequestBase) HasCompletionArgs() bool
- func (o *ConversationAppendRequestBase) HasHandoffExecution() bool
- func (o *ConversationAppendRequestBase) HasStore() bool
- func (o *ConversationAppendRequestBase) HasStream() bool
- func (o ConversationAppendRequestBase) MarshalJSON() ([]byte, error)
- func (o *ConversationAppendRequestBase) SetCompletionArgs(v CompletionArgs)
- func (o *ConversationAppendRequestBase) SetHandoffExecution(v string)
- func (o *ConversationAppendRequestBase) SetInputs(v ConversationInputs)
- func (o *ConversationAppendRequestBase) SetStore(v bool)
- func (o *ConversationAppendRequestBase) SetStream(v bool)
- func (o ConversationAppendRequestBase) ToMap() (map[string]interface{}, error)
- func (o *ConversationAppendRequestBase) UnmarshalJSON(data []byte) (err error)
- type ConversationAppendStreamRequest
- func (o *ConversationAppendStreamRequest) GetCompletionArgs() CompletionArgs
- func (o *ConversationAppendStreamRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ConversationAppendStreamRequest) GetHandoffExecution() string
- func (o *ConversationAppendStreamRequest) GetHandoffExecutionOk() (*string, bool)
- func (o *ConversationAppendStreamRequest) GetInputs() ConversationInputs
- func (o *ConversationAppendStreamRequest) GetInputsOk() (*ConversationInputs, bool)
- func (o *ConversationAppendStreamRequest) GetStore() bool
- func (o *ConversationAppendStreamRequest) GetStoreOk() (*bool, bool)
- func (o *ConversationAppendStreamRequest) GetStream() bool
- func (o *ConversationAppendStreamRequest) GetStreamOk() (*bool, bool)
- func (o *ConversationAppendStreamRequest) HasCompletionArgs() bool
- func (o *ConversationAppendStreamRequest) HasHandoffExecution() bool
- func (o *ConversationAppendStreamRequest) HasStore() bool
- func (o *ConversationAppendStreamRequest) HasStream() bool
- func (o ConversationAppendStreamRequest) MarshalJSON() ([]byte, error)
- func (o *ConversationAppendStreamRequest) SetCompletionArgs(v CompletionArgs)
- func (o *ConversationAppendStreamRequest) SetHandoffExecution(v string)
- func (o *ConversationAppendStreamRequest) SetInputs(v ConversationInputs)
- func (o *ConversationAppendStreamRequest) SetStore(v bool)
- func (o *ConversationAppendStreamRequest) SetStream(v bool)
- func (o ConversationAppendStreamRequest) ToMap() (map[string]interface{}, error)
- func (o *ConversationAppendStreamRequest) UnmarshalJSON(data []byte) (err error)
- type ConversationEvents
- func (o *ConversationEvents) GetData() Data
- func (o *ConversationEvents) GetDataOk() (*Data, bool)
- func (o *ConversationEvents) GetEvent() SSETypes
- func (o *ConversationEvents) GetEventOk() (*SSETypes, bool)
- func (o ConversationEvents) MarshalJSON() ([]byte, error)
- func (o *ConversationEvents) SetData(v Data)
- func (o *ConversationEvents) SetEvent(v SSETypes)
- func (o ConversationEvents) ToMap() (map[string]interface{}, error)
- func (o *ConversationEvents) UnmarshalJSON(data []byte) (err error)
- type ConversationHistory
- func (o *ConversationHistory) GetConversationId() string
- func (o *ConversationHistory) GetConversationIdOk() (*string, bool)
- func (o *ConversationHistory) GetEntries() []EntriesInner
- func (o *ConversationHistory) GetEntriesOk() ([]EntriesInner, bool)
- func (o *ConversationHistory) GetObject() string
- func (o *ConversationHistory) GetObjectOk() (*string, bool)
- func (o *ConversationHistory) HasObject() bool
- func (o ConversationHistory) MarshalJSON() ([]byte, error)
- func (o *ConversationHistory) SetConversationId(v string)
- func (o *ConversationHistory) SetEntries(v []EntriesInner)
- func (o *ConversationHistory) SetObject(v string)
- func (o ConversationHistory) ToMap() (map[string]interface{}, error)
- func (o *ConversationHistory) UnmarshalJSON(data []byte) (err error)
- type ConversationInputs
- type ConversationMessages
- func (o *ConversationMessages) GetConversationId() string
- func (o *ConversationMessages) GetConversationIdOk() (*string, bool)
- func (o *ConversationMessages) GetMessages() []MessageEntriesInner
- func (o *ConversationMessages) GetMessagesOk() ([]MessageEntriesInner, bool)
- func (o *ConversationMessages) GetObject() string
- func (o *ConversationMessages) GetObjectOk() (*string, bool)
- func (o *ConversationMessages) HasObject() bool
- func (o ConversationMessages) MarshalJSON() ([]byte, error)
- func (o *ConversationMessages) SetConversationId(v string)
- func (o *ConversationMessages) SetMessages(v []MessageEntriesInner)
- func (o *ConversationMessages) SetObject(v string)
- func (o ConversationMessages) ToMap() (map[string]interface{}, error)
- func (o *ConversationMessages) UnmarshalJSON(data []byte) (err error)
- type ConversationRequest
- func (o *ConversationRequest) GetAgentId() string
- func (o *ConversationRequest) GetAgentIdOk() (*string, bool)
- func (o *ConversationRequest) GetAgentVersion() AgentVersion1
- func (o *ConversationRequest) GetAgentVersionOk() (*AgentVersion1, bool)
- func (o *ConversationRequest) GetCompletionArgs() CompletionArgs
- func (o *ConversationRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ConversationRequest) GetDescription() string
- func (o *ConversationRequest) GetDescriptionOk() (*string, bool)
- func (o *ConversationRequest) GetHandoffExecution() string
- func (o *ConversationRequest) GetHandoffExecutionOk() (*string, bool)
- func (o *ConversationRequest) GetInputs() ConversationInputs
- func (o *ConversationRequest) GetInputsOk() (*ConversationInputs, bool)
- func (o *ConversationRequest) GetInstructions() string
- func (o *ConversationRequest) GetInstructionsOk() (*string, bool)
- func (o *ConversationRequest) GetMetadata() map[string]interface{}
- func (o *ConversationRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ConversationRequest) GetModel() string
- func (o *ConversationRequest) GetModelOk() (*string, bool)
- func (o *ConversationRequest) GetName() string
- func (o *ConversationRequest) GetNameOk() (*string, bool)
- func (o *ConversationRequest) GetStore() bool
- func (o *ConversationRequest) GetStoreOk() (*bool, bool)
- func (o *ConversationRequest) GetStream() bool
- func (o *ConversationRequest) GetStreamOk() (*bool, bool)
- func (o *ConversationRequest) GetTools() []ToolsInner
- func (o *ConversationRequest) GetToolsOk() ([]ToolsInner, bool)
- func (o *ConversationRequest) HasAgentId() bool
- func (o *ConversationRequest) HasAgentVersion() bool
- func (o *ConversationRequest) HasCompletionArgs() bool
- func (o *ConversationRequest) HasDescription() bool
- func (o *ConversationRequest) HasHandoffExecution() bool
- func (o *ConversationRequest) HasInstructions() bool
- func (o *ConversationRequest) HasMetadata() bool
- func (o *ConversationRequest) HasModel() bool
- func (o *ConversationRequest) HasName() bool
- func (o *ConversationRequest) HasStore() bool
- func (o *ConversationRequest) HasStream() bool
- func (o *ConversationRequest) HasTools() bool
- func (o ConversationRequest) MarshalJSON() ([]byte, error)
- func (o *ConversationRequest) SetAgentId(v string)
- func (o *ConversationRequest) SetAgentVersion(v AgentVersion1)
- func (o *ConversationRequest) SetAgentVersionNil()
- func (o *ConversationRequest) SetCompletionArgs(v CompletionArgs)
- func (o *ConversationRequest) SetDescription(v string)
- func (o *ConversationRequest) SetHandoffExecution(v string)
- func (o *ConversationRequest) SetInputs(v ConversationInputs)
- func (o *ConversationRequest) SetInstructions(v string)
- func (o *ConversationRequest) SetMetadata(v map[string]interface{})
- func (o *ConversationRequest) SetModel(v string)
- func (o *ConversationRequest) SetName(v string)
- func (o *ConversationRequest) SetStore(v bool)
- func (o *ConversationRequest) SetStream(v bool)
- func (o *ConversationRequest) SetTools(v []ToolsInner)
- func (o ConversationRequest) ToMap() (map[string]interface{}, error)
- func (o *ConversationRequest) UnmarshalJSON(data []byte) (err error)
- func (o *ConversationRequest) UnsetAgentVersion()
- type ConversationRequestBase
- func (o *ConversationRequestBase) GetAgentId() string
- func (o *ConversationRequestBase) GetAgentIdOk() (*string, bool)
- func (o *ConversationRequestBase) GetAgentVersion() AgentVersion1
- func (o *ConversationRequestBase) GetAgentVersionOk() (*AgentVersion1, bool)
- func (o *ConversationRequestBase) GetCompletionArgs() CompletionArgs
- func (o *ConversationRequestBase) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ConversationRequestBase) GetDescription() string
- func (o *ConversationRequestBase) GetDescriptionOk() (*string, bool)
- func (o *ConversationRequestBase) GetHandoffExecution() string
- func (o *ConversationRequestBase) GetHandoffExecutionOk() (*string, bool)
- func (o *ConversationRequestBase) GetInputs() ConversationInputs
- func (o *ConversationRequestBase) GetInputsOk() (*ConversationInputs, bool)
- func (o *ConversationRequestBase) GetInstructions() string
- func (o *ConversationRequestBase) GetInstructionsOk() (*string, bool)
- func (o *ConversationRequestBase) GetMetadata() map[string]interface{}
- func (o *ConversationRequestBase) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ConversationRequestBase) GetModel() string
- func (o *ConversationRequestBase) GetModelOk() (*string, bool)
- func (o *ConversationRequestBase) GetName() string
- func (o *ConversationRequestBase) GetNameOk() (*string, bool)
- func (o *ConversationRequestBase) GetStore() bool
- func (o *ConversationRequestBase) GetStoreOk() (*bool, bool)
- func (o *ConversationRequestBase) GetStream() bool
- func (o *ConversationRequestBase) GetStreamOk() (*bool, bool)
- func (o *ConversationRequestBase) GetTools() []ToolsInner
- func (o *ConversationRequestBase) GetToolsOk() ([]ToolsInner, bool)
- func (o *ConversationRequestBase) HasAgentId() bool
- func (o *ConversationRequestBase) HasAgentVersion() bool
- func (o *ConversationRequestBase) HasCompletionArgs() bool
- func (o *ConversationRequestBase) HasDescription() bool
- func (o *ConversationRequestBase) HasHandoffExecution() bool
- func (o *ConversationRequestBase) HasInstructions() bool
- func (o *ConversationRequestBase) HasMetadata() bool
- func (o *ConversationRequestBase) HasModel() bool
- func (o *ConversationRequestBase) HasName() bool
- func (o *ConversationRequestBase) HasStore() bool
- func (o *ConversationRequestBase) HasStream() bool
- func (o *ConversationRequestBase) HasTools() bool
- func (o ConversationRequestBase) MarshalJSON() ([]byte, error)
- func (o *ConversationRequestBase) SetAgentId(v string)
- func (o *ConversationRequestBase) SetAgentIdNil()
- func (o *ConversationRequestBase) SetAgentVersion(v AgentVersion1)
- func (o *ConversationRequestBase) SetAgentVersionNil()
- func (o *ConversationRequestBase) SetCompletionArgs(v CompletionArgs)
- func (o *ConversationRequestBase) SetCompletionArgsNil()
- func (o *ConversationRequestBase) SetDescription(v string)
- func (o *ConversationRequestBase) SetDescriptionNil()
- func (o *ConversationRequestBase) SetHandoffExecution(v string)
- func (o *ConversationRequestBase) SetHandoffExecutionNil()
- func (o *ConversationRequestBase) SetInputs(v ConversationInputs)
- func (o *ConversationRequestBase) SetInstructions(v string)
- func (o *ConversationRequestBase) SetInstructionsNil()
- func (o *ConversationRequestBase) SetMetadata(v map[string]interface{})
- func (o *ConversationRequestBase) SetModel(v string)
- func (o *ConversationRequestBase) SetModelNil()
- func (o *ConversationRequestBase) SetName(v string)
- func (o *ConversationRequestBase) SetNameNil()
- func (o *ConversationRequestBase) SetStore(v bool)
- func (o *ConversationRequestBase) SetStoreNil()
- func (o *ConversationRequestBase) SetStream(v bool)
- func (o *ConversationRequestBase) SetStreamNil()
- func (o *ConversationRequestBase) SetTools(v []ToolsInner)
- func (o ConversationRequestBase) ToMap() (map[string]interface{}, error)
- func (o *ConversationRequestBase) UnmarshalJSON(data []byte) (err error)
- func (o *ConversationRequestBase) UnsetAgentId()
- func (o *ConversationRequestBase) UnsetAgentVersion()
- func (o *ConversationRequestBase) UnsetCompletionArgs()
- func (o *ConversationRequestBase) UnsetDescription()
- func (o *ConversationRequestBase) UnsetHandoffExecution()
- func (o *ConversationRequestBase) UnsetInstructions()
- func (o *ConversationRequestBase) UnsetModel()
- func (o *ConversationRequestBase) UnsetName()
- func (o *ConversationRequestBase) UnsetStore()
- func (o *ConversationRequestBase) UnsetStream()
- type ConversationResponse
- func (o *ConversationResponse) GetConversationId() string
- func (o *ConversationResponse) GetConversationIdOk() (*string, bool)
- func (o *ConversationResponse) GetObject() string
- func (o *ConversationResponse) GetObjectOk() (*string, bool)
- func (o *ConversationResponse) GetOutputs() []OutputsInner
- func (o *ConversationResponse) GetOutputsOk() ([]OutputsInner, bool)
- func (o *ConversationResponse) GetUsage() ConversationUsageInfo
- func (o *ConversationResponse) GetUsageOk() (*ConversationUsageInfo, bool)
- func (o *ConversationResponse) HasObject() bool
- func (o ConversationResponse) MarshalJSON() ([]byte, error)
- func (o *ConversationResponse) SetConversationId(v string)
- func (o *ConversationResponse) SetObject(v string)
- func (o *ConversationResponse) SetOutputs(v []OutputsInner)
- func (o *ConversationResponse) SetUsage(v ConversationUsageInfo)
- func (o ConversationResponse) ToMap() (map[string]interface{}, error)
- func (o *ConversationResponse) UnmarshalJSON(data []byte) (err error)
- type ConversationRestartRequest
- func (o *ConversationRestartRequest) GetAgentVersion() AgentVersion2
- func (o *ConversationRestartRequest) GetAgentVersionOk() (*AgentVersion2, bool)
- func (o *ConversationRestartRequest) GetCompletionArgs() CompletionArgs
- func (o *ConversationRestartRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ConversationRestartRequest) GetFromEntryId() string
- func (o *ConversationRestartRequest) GetFromEntryIdOk() (*string, bool)
- func (o *ConversationRestartRequest) GetHandoffExecution() string
- func (o *ConversationRestartRequest) GetHandoffExecutionOk() (*string, bool)
- func (o *ConversationRestartRequest) GetInputs() ConversationInputs
- func (o *ConversationRestartRequest) GetInputsOk() (*ConversationInputs, bool)
- func (o *ConversationRestartRequest) GetMetadata() map[string]interface{}
- func (o *ConversationRestartRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ConversationRestartRequest) GetStore() bool
- func (o *ConversationRestartRequest) GetStoreOk() (*bool, bool)
- func (o *ConversationRestartRequest) GetStream() bool
- func (o *ConversationRestartRequest) GetStreamOk() (*bool, bool)
- func (o *ConversationRestartRequest) HasAgentVersion() bool
- func (o *ConversationRestartRequest) HasCompletionArgs() bool
- func (o *ConversationRestartRequest) HasHandoffExecution() bool
- func (o *ConversationRestartRequest) HasMetadata() bool
- func (o *ConversationRestartRequest) HasStore() bool
- func (o *ConversationRestartRequest) HasStream() bool
- func (o ConversationRestartRequest) MarshalJSON() ([]byte, error)
- func (o *ConversationRestartRequest) SetAgentVersion(v AgentVersion2)
- func (o *ConversationRestartRequest) SetAgentVersionNil()
- func (o *ConversationRestartRequest) SetCompletionArgs(v CompletionArgs)
- func (o *ConversationRestartRequest) SetFromEntryId(v string)
- func (o *ConversationRestartRequest) SetHandoffExecution(v string)
- func (o *ConversationRestartRequest) SetInputs(v ConversationInputs)
- func (o *ConversationRestartRequest) SetMetadata(v map[string]interface{})
- func (o *ConversationRestartRequest) SetStore(v bool)
- func (o *ConversationRestartRequest) SetStream(v bool)
- func (o ConversationRestartRequest) ToMap() (map[string]interface{}, error)
- func (o *ConversationRestartRequest) UnmarshalJSON(data []byte) (err error)
- func (o *ConversationRestartRequest) UnsetAgentVersion()
- type ConversationRestartRequestBase
- func (o *ConversationRestartRequestBase) GetAgentVersion() AgentVersion2
- func (o *ConversationRestartRequestBase) GetAgentVersionOk() (*AgentVersion2, bool)
- func (o *ConversationRestartRequestBase) GetCompletionArgs() CompletionArgs
- func (o *ConversationRestartRequestBase) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ConversationRestartRequestBase) GetFromEntryId() string
- func (o *ConversationRestartRequestBase) GetFromEntryIdOk() (*string, bool)
- func (o *ConversationRestartRequestBase) GetHandoffExecution() string
- func (o *ConversationRestartRequestBase) GetHandoffExecutionOk() (*string, bool)
- func (o *ConversationRestartRequestBase) GetInputs() ConversationInputs
- func (o *ConversationRestartRequestBase) GetInputsOk() (*ConversationInputs, bool)
- func (o *ConversationRestartRequestBase) GetMetadata() map[string]interface{}
- func (o *ConversationRestartRequestBase) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ConversationRestartRequestBase) GetStore() bool
- func (o *ConversationRestartRequestBase) GetStoreOk() (*bool, bool)
- func (o *ConversationRestartRequestBase) GetStream() bool
- func (o *ConversationRestartRequestBase) GetStreamOk() (*bool, bool)
- func (o *ConversationRestartRequestBase) HasAgentVersion() bool
- func (o *ConversationRestartRequestBase) HasCompletionArgs() bool
- func (o *ConversationRestartRequestBase) HasHandoffExecution() bool
- func (o *ConversationRestartRequestBase) HasMetadata() bool
- func (o *ConversationRestartRequestBase) HasStore() bool
- func (o *ConversationRestartRequestBase) HasStream() bool
- func (o ConversationRestartRequestBase) MarshalJSON() ([]byte, error)
- func (o *ConversationRestartRequestBase) SetAgentVersion(v AgentVersion2)
- func (o *ConversationRestartRequestBase) SetAgentVersionNil()
- func (o *ConversationRestartRequestBase) SetCompletionArgs(v CompletionArgs)
- func (o *ConversationRestartRequestBase) SetFromEntryId(v string)
- func (o *ConversationRestartRequestBase) SetHandoffExecution(v string)
- func (o *ConversationRestartRequestBase) SetInputs(v ConversationInputs)
- func (o *ConversationRestartRequestBase) SetMetadata(v map[string]interface{})
- func (o *ConversationRestartRequestBase) SetStore(v bool)
- func (o *ConversationRestartRequestBase) SetStream(v bool)
- func (o ConversationRestartRequestBase) ToMap() (map[string]interface{}, error)
- func (o *ConversationRestartRequestBase) UnmarshalJSON(data []byte) (err error)
- func (o *ConversationRestartRequestBase) UnsetAgentVersion()
- type ConversationRestartStreamRequest
- func (o *ConversationRestartStreamRequest) GetAgentVersion() AgentVersion2
- func (o *ConversationRestartStreamRequest) GetAgentVersionOk() (*AgentVersion2, bool)
- func (o *ConversationRestartStreamRequest) GetCompletionArgs() CompletionArgs
- func (o *ConversationRestartStreamRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ConversationRestartStreamRequest) GetFromEntryId() string
- func (o *ConversationRestartStreamRequest) GetFromEntryIdOk() (*string, bool)
- func (o *ConversationRestartStreamRequest) GetHandoffExecution() string
- func (o *ConversationRestartStreamRequest) GetHandoffExecutionOk() (*string, bool)
- func (o *ConversationRestartStreamRequest) GetInputs() ConversationInputs
- func (o *ConversationRestartStreamRequest) GetInputsOk() (*ConversationInputs, bool)
- func (o *ConversationRestartStreamRequest) GetMetadata() map[string]interface{}
- func (o *ConversationRestartStreamRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ConversationRestartStreamRequest) GetStore() bool
- func (o *ConversationRestartStreamRequest) GetStoreOk() (*bool, bool)
- func (o *ConversationRestartStreamRequest) GetStream() bool
- func (o *ConversationRestartStreamRequest) GetStreamOk() (*bool, bool)
- func (o *ConversationRestartStreamRequest) HasAgentVersion() bool
- func (o *ConversationRestartStreamRequest) HasCompletionArgs() bool
- func (o *ConversationRestartStreamRequest) HasHandoffExecution() bool
- func (o *ConversationRestartStreamRequest) HasMetadata() bool
- func (o *ConversationRestartStreamRequest) HasStore() bool
- func (o *ConversationRestartStreamRequest) HasStream() bool
- func (o ConversationRestartStreamRequest) MarshalJSON() ([]byte, error)
- func (o *ConversationRestartStreamRequest) SetAgentVersion(v AgentVersion2)
- func (o *ConversationRestartStreamRequest) SetAgentVersionNil()
- func (o *ConversationRestartStreamRequest) SetCompletionArgs(v CompletionArgs)
- func (o *ConversationRestartStreamRequest) SetFromEntryId(v string)
- func (o *ConversationRestartStreamRequest) SetHandoffExecution(v string)
- func (o *ConversationRestartStreamRequest) SetInputs(v ConversationInputs)
- func (o *ConversationRestartStreamRequest) SetMetadata(v map[string]interface{})
- func (o *ConversationRestartStreamRequest) SetStore(v bool)
- func (o *ConversationRestartStreamRequest) SetStream(v bool)
- func (o ConversationRestartStreamRequest) ToMap() (map[string]interface{}, error)
- func (o *ConversationRestartStreamRequest) UnmarshalJSON(data []byte) (err error)
- func (o *ConversationRestartStreamRequest) UnsetAgentVersion()
- type ConversationStreamRequest
- func (o *ConversationStreamRequest) GetAgentId() string
- func (o *ConversationStreamRequest) GetAgentIdOk() (*string, bool)
- func (o *ConversationStreamRequest) GetAgentVersion() AgentVersion1
- func (o *ConversationStreamRequest) GetAgentVersionOk() (*AgentVersion1, bool)
- func (o *ConversationStreamRequest) GetCompletionArgs() CompletionArgs
- func (o *ConversationStreamRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ConversationStreamRequest) GetDescription() string
- func (o *ConversationStreamRequest) GetDescriptionOk() (*string, bool)
- func (o *ConversationStreamRequest) GetHandoffExecution() string
- func (o *ConversationStreamRequest) GetHandoffExecutionOk() (*string, bool)
- func (o *ConversationStreamRequest) GetInputs() ConversationInputs
- func (o *ConversationStreamRequest) GetInputsOk() (*ConversationInputs, bool)
- func (o *ConversationStreamRequest) GetInstructions() string
- func (o *ConversationStreamRequest) GetInstructionsOk() (*string, bool)
- func (o *ConversationStreamRequest) GetMetadata() map[string]interface{}
- func (o *ConversationStreamRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ConversationStreamRequest) GetModel() string
- func (o *ConversationStreamRequest) GetModelOk() (*string, bool)
- func (o *ConversationStreamRequest) GetName() string
- func (o *ConversationStreamRequest) GetNameOk() (*string, bool)
- func (o *ConversationStreamRequest) GetStore() bool
- func (o *ConversationStreamRequest) GetStoreOk() (*bool, bool)
- func (o *ConversationStreamRequest) GetStream() bool
- func (o *ConversationStreamRequest) GetStreamOk() (*bool, bool)
- func (o *ConversationStreamRequest) GetTools() []ToolsInner
- func (o *ConversationStreamRequest) GetToolsOk() ([]ToolsInner, bool)
- func (o *ConversationStreamRequest) HasAgentId() bool
- func (o *ConversationStreamRequest) HasAgentVersion() bool
- func (o *ConversationStreamRequest) HasCompletionArgs() bool
- func (o *ConversationStreamRequest) HasDescription() bool
- func (o *ConversationStreamRequest) HasHandoffExecution() bool
- func (o *ConversationStreamRequest) HasInstructions() bool
- func (o *ConversationStreamRequest) HasMetadata() bool
- func (o *ConversationStreamRequest) HasModel() bool
- func (o *ConversationStreamRequest) HasName() bool
- func (o *ConversationStreamRequest) HasStore() bool
- func (o *ConversationStreamRequest) HasStream() bool
- func (o *ConversationStreamRequest) HasTools() bool
- func (o ConversationStreamRequest) MarshalJSON() ([]byte, error)
- func (o *ConversationStreamRequest) SetAgentId(v string)
- func (o *ConversationStreamRequest) SetAgentVersion(v AgentVersion1)
- func (o *ConversationStreamRequest) SetAgentVersionNil()
- func (o *ConversationStreamRequest) SetCompletionArgs(v CompletionArgs)
- func (o *ConversationStreamRequest) SetDescription(v string)
- func (o *ConversationStreamRequest) SetHandoffExecution(v string)
- func (o *ConversationStreamRequest) SetInputs(v ConversationInputs)
- func (o *ConversationStreamRequest) SetInstructions(v string)
- func (o *ConversationStreamRequest) SetMetadata(v map[string]interface{})
- func (o *ConversationStreamRequest) SetModel(v string)
- func (o *ConversationStreamRequest) SetName(v string)
- func (o *ConversationStreamRequest) SetStore(v bool)
- func (o *ConversationStreamRequest) SetStream(v bool)
- func (o *ConversationStreamRequest) SetTools(v []ToolsInner)
- func (o ConversationStreamRequest) ToMap() (map[string]interface{}, error)
- func (o *ConversationStreamRequest) UnmarshalJSON(data []byte) (err error)
- func (o *ConversationStreamRequest) UnsetAgentVersion()
- type ConversationUsageInfo
- func (o *ConversationUsageInfo) GetCompletionTokens() int32
- func (o *ConversationUsageInfo) GetCompletionTokensOk() (*int32, bool)
- func (o *ConversationUsageInfo) GetConnectorTokens() int32
- func (o *ConversationUsageInfo) GetConnectorTokensOk() (*int32, bool)
- func (o *ConversationUsageInfo) GetConnectors() map[string]int32
- func (o *ConversationUsageInfo) GetConnectorsOk() (map[string]int32, bool)
- func (o *ConversationUsageInfo) GetPromptTokens() int32
- func (o *ConversationUsageInfo) GetPromptTokensOk() (*int32, bool)
- func (o *ConversationUsageInfo) GetTotalTokens() int32
- func (o *ConversationUsageInfo) GetTotalTokensOk() (*int32, bool)
- func (o *ConversationUsageInfo) HasCompletionTokens() bool
- func (o *ConversationUsageInfo) HasConnectorTokens() bool
- func (o *ConversationUsageInfo) HasConnectors() bool
- func (o *ConversationUsageInfo) HasPromptTokens() bool
- func (o *ConversationUsageInfo) HasTotalTokens() bool
- func (o ConversationUsageInfo) MarshalJSON() ([]byte, error)
- func (o *ConversationUsageInfo) SetCompletionTokens(v int32)
- func (o *ConversationUsageInfo) SetConnectorTokens(v int32)
- func (o *ConversationUsageInfo) SetConnectorTokensNil()
- func (o *ConversationUsageInfo) SetConnectors(v map[string]int32)
- func (o *ConversationUsageInfo) SetPromptTokens(v int32)
- func (o *ConversationUsageInfo) SetTotalTokens(v int32)
- func (o ConversationUsageInfo) ToMap() (map[string]interface{}, error)
- func (o *ConversationUsageInfo) UnsetConnectorTokens()
- type Data
- func AgentHandoffDoneEventAsData(v *AgentHandoffDoneEvent) Data
- func AgentHandoffStartedEventAsData(v *AgentHandoffStartedEvent) Data
- func FunctionCallEventAsData(v *FunctionCallEvent) Data
- func MessageOutputEventAsData(v *MessageOutputEvent) Data
- func ResponseDoneEventAsData(v *ResponseDoneEvent) Data
- func ResponseErrorEventAsData(v *ResponseErrorEvent) Data
- func ResponseStartedEventAsData(v *ResponseStartedEvent) Data
- func ToolExecutionDeltaEventAsData(v *ToolExecutionDeltaEvent) Data
- func ToolExecutionDoneEventAsData(v *ToolExecutionDoneEvent) Data
- func ToolExecutionStartedEventAsData(v *ToolExecutionStartedEvent) Data
- type Data1
- func TranscriptionStreamDoneAsData1(v *TranscriptionStreamDone) Data1
- func TranscriptionStreamLanguageAsData1(v *TranscriptionStreamLanguage) Data1
- func TranscriptionStreamSegmentDeltaAsData1(v *TranscriptionStreamSegmentDelta) Data1
- func TranscriptionStreamTextDeltaAsData1(v *TranscriptionStreamTextDelta) Data1
- type DataInner
- type DeleteFileOut
- func (o *DeleteFileOut) GetDeleted() bool
- func (o *DeleteFileOut) GetDeletedOk() (*bool, bool)
- func (o *DeleteFileOut) GetId() string
- func (o *DeleteFileOut) GetIdOk() (*string, bool)
- func (o *DeleteFileOut) GetObject() string
- func (o *DeleteFileOut) GetObjectOk() (*string, bool)
- func (o DeleteFileOut) MarshalJSON() ([]byte, error)
- func (o *DeleteFileOut) SetDeleted(v bool)
- func (o *DeleteFileOut) SetId(v string)
- func (o *DeleteFileOut) SetObject(v string)
- func (o DeleteFileOut) ToMap() (map[string]interface{}, error)
- func (o *DeleteFileOut) UnmarshalJSON(data []byte) (err error)
- type DeleteModelOut
- func (o *DeleteModelOut) GetDeleted() bool
- func (o *DeleteModelOut) GetDeletedOk() (*bool, bool)
- func (o *DeleteModelOut) GetId() string
- func (o *DeleteModelOut) GetIdOk() (*string, bool)
- func (o *DeleteModelOut) GetObject() string
- func (o *DeleteModelOut) GetObjectOk() (*string, bool)
- func (o *DeleteModelOut) HasDeleted() bool
- func (o *DeleteModelOut) HasObject() bool
- func (o DeleteModelOut) MarshalJSON() ([]byte, error)
- func (o *DeleteModelOut) SetDeleted(v bool)
- func (o *DeleteModelOut) SetId(v string)
- func (o *DeleteModelOut) SetObject(v string)
- func (o DeleteModelOut) ToMap() (map[string]interface{}, error)
- func (o *DeleteModelOut) UnmarshalJSON(data []byte) (err error)
- type DeltaMessage
- func (o *DeltaMessage) GetContent() DeltaMessageContent
- func (o *DeltaMessage) GetContentOk() (*DeltaMessageContent, bool)
- func (o *DeltaMessage) GetRole() string
- func (o *DeltaMessage) GetRoleOk() (*string, bool)
- func (o *DeltaMessage) GetToolCalls() []ToolCall
- func (o *DeltaMessage) GetToolCallsOk() ([]ToolCall, bool)
- func (o *DeltaMessage) HasContent() bool
- func (o *DeltaMessage) HasRole() bool
- func (o *DeltaMessage) HasToolCalls() bool
- func (o DeltaMessage) MarshalJSON() ([]byte, error)
- func (o *DeltaMessage) SetContent(v DeltaMessageContent)
- func (o *DeltaMessage) SetContentNil()
- func (o *DeltaMessage) SetRole(v string)
- func (o *DeltaMessage) SetRoleNil()
- func (o *DeltaMessage) SetToolCalls(v []ToolCall)
- func (o DeltaMessage) ToMap() (map[string]interface{}, error)
- func (o *DeltaMessage) UnmarshalJSON(data []byte) (err error)
- func (o *DeltaMessage) UnsetContent()
- func (o *DeltaMessage) UnsetRole()
- type DeltaMessageContent
- type Document
- type DocumentLibraryTool
- func (o *DocumentLibraryTool) GetLibraryIds() []string
- func (o *DocumentLibraryTool) GetLibraryIdsOk() ([]string, bool)
- func (o *DocumentLibraryTool) GetType() string
- func (o *DocumentLibraryTool) GetTypeOk() (*string, bool)
- func (o *DocumentLibraryTool) HasType() bool
- func (o DocumentLibraryTool) MarshalJSON() ([]byte, error)
- func (o *DocumentLibraryTool) SetLibraryIds(v []string)
- func (o *DocumentLibraryTool) SetType(v string)
- func (o DocumentLibraryTool) ToMap() (map[string]interface{}, error)
- func (o *DocumentLibraryTool) UnmarshalJSON(data []byte) (err error)
- type DocumentOut
- func (o *DocumentOut) GetAttributes() map[string]interface{}
- func (o *DocumentOut) GetAttributesOk() (map[string]interface{}, bool)
- func (o *DocumentOut) GetCreatedAt() time.Time
- func (o *DocumentOut) GetCreatedAtOk() (*time.Time, bool)
- func (o *DocumentOut) GetExtension() string
- func (o *DocumentOut) GetExtensionOk() (*string, bool)
- func (o *DocumentOut) GetHash() string
- func (o *DocumentOut) GetHashOk() (*string, bool)
- func (o *DocumentOut) GetId() string
- func (o *DocumentOut) GetIdOk() (*string, bool)
- func (o *DocumentOut) GetLastProcessedAt() time.Time
- func (o *DocumentOut) GetLastProcessedAtOk() (*time.Time, bool)
- func (o *DocumentOut) GetLibraryId() string
- func (o *DocumentOut) GetLibraryIdOk() (*string, bool)
- func (o *DocumentOut) GetMimeType() string
- func (o *DocumentOut) GetMimeTypeOk() (*string, bool)
- func (o *DocumentOut) GetName() string
- func (o *DocumentOut) GetNameOk() (*string, bool)
- func (o *DocumentOut) GetNumberOfPages() int32
- func (o *DocumentOut) GetNumberOfPagesOk() (*int32, bool)
- func (o *DocumentOut) GetProcessingStatus() string
- func (o *DocumentOut) GetProcessingStatusOk() (*string, bool)
- func (o *DocumentOut) GetSize() int32
- func (o *DocumentOut) GetSizeOk() (*int32, bool)
- func (o *DocumentOut) GetSummary() string
- func (o *DocumentOut) GetSummaryOk() (*string, bool)
- func (o *DocumentOut) GetTokensProcessingMainContent() int32
- func (o *DocumentOut) GetTokensProcessingMainContentOk() (*int32, bool)
- func (o *DocumentOut) GetTokensProcessingSummary() int32
- func (o *DocumentOut) GetTokensProcessingSummaryOk() (*int32, bool)
- func (o *DocumentOut) GetTokensProcessingTotal() int32
- func (o *DocumentOut) GetTokensProcessingTotalOk() (*int32, bool)
- func (o *DocumentOut) GetUploadedById() string
- func (o *DocumentOut) GetUploadedByIdOk() (*string, bool)
- func (o *DocumentOut) GetUploadedByType() string
- func (o *DocumentOut) GetUploadedByTypeOk() (*string, bool)
- func (o *DocumentOut) GetUrl() string
- func (o *DocumentOut) GetUrlOk() (*string, bool)
- func (o *DocumentOut) HasAttributes() bool
- func (o *DocumentOut) HasLastProcessedAt() bool
- func (o *DocumentOut) HasNumberOfPages() bool
- func (o *DocumentOut) HasSummary() bool
- func (o *DocumentOut) HasTokensProcessingMainContent() bool
- func (o *DocumentOut) HasTokensProcessingSummary() bool
- func (o *DocumentOut) HasUrl() bool
- func (o DocumentOut) MarshalJSON() ([]byte, error)
- func (o *DocumentOut) SetAttributes(v map[string]interface{})
- func (o *DocumentOut) SetCreatedAt(v time.Time)
- func (o *DocumentOut) SetExtension(v string)
- func (o *DocumentOut) SetHash(v string)
- func (o *DocumentOut) SetId(v string)
- func (o *DocumentOut) SetLastProcessedAt(v time.Time)
- func (o *DocumentOut) SetLastProcessedAtNil()
- func (o *DocumentOut) SetLibraryId(v string)
- func (o *DocumentOut) SetMimeType(v string)
- func (o *DocumentOut) SetName(v string)
- func (o *DocumentOut) SetNumberOfPages(v int32)
- func (o *DocumentOut) SetNumberOfPagesNil()
- func (o *DocumentOut) SetProcessingStatus(v string)
- func (o *DocumentOut) SetSize(v int32)
- func (o *DocumentOut) SetSummary(v string)
- func (o *DocumentOut) SetSummaryNil()
- func (o *DocumentOut) SetTokensProcessingMainContent(v int32)
- func (o *DocumentOut) SetTokensProcessingMainContentNil()
- func (o *DocumentOut) SetTokensProcessingSummary(v int32)
- func (o *DocumentOut) SetTokensProcessingSummaryNil()
- func (o *DocumentOut) SetTokensProcessingTotal(v int32)
- func (o *DocumentOut) SetUploadedById(v string)
- func (o *DocumentOut) SetUploadedByType(v string)
- func (o *DocumentOut) SetUrl(v string)
- func (o *DocumentOut) SetUrlNil()
- func (o DocumentOut) ToMap() (map[string]interface{}, error)
- func (o *DocumentOut) UnmarshalJSON(data []byte) (err error)
- func (o *DocumentOut) UnsetLastProcessedAt()
- func (o *DocumentOut) UnsetNumberOfPages()
- func (o *DocumentOut) UnsetSummary()
- func (o *DocumentOut) UnsetTokensProcessingMainContent()
- func (o *DocumentOut) UnsetTokensProcessingSummary()
- func (o *DocumentOut) UnsetUrl()
- type DocumentTextContent
- func (o *DocumentTextContent) GetText() string
- func (o *DocumentTextContent) GetTextOk() (*string, bool)
- func (o DocumentTextContent) MarshalJSON() ([]byte, error)
- func (o *DocumentTextContent) SetText(v string)
- func (o DocumentTextContent) ToMap() (map[string]interface{}, error)
- func (o *DocumentTextContent) UnmarshalJSON(data []byte) (err error)
- type DocumentURLChunk
- func (o *DocumentURLChunk) GetDocumentName() string
- func (o *DocumentURLChunk) GetDocumentNameOk() (*string, bool)
- func (o *DocumentURLChunk) GetDocumentUrl() string
- func (o *DocumentURLChunk) GetDocumentUrlOk() (*string, bool)
- func (o *DocumentURLChunk) GetType() string
- func (o *DocumentURLChunk) GetTypeOk() (*string, bool)
- func (o *DocumentURLChunk) HasDocumentName() bool
- func (o *DocumentURLChunk) HasType() bool
- func (o DocumentURLChunk) MarshalJSON() ([]byte, error)
- func (o *DocumentURLChunk) SetDocumentName(v string)
- func (o *DocumentURLChunk) SetDocumentNameNil()
- func (o *DocumentURLChunk) SetDocumentUrl(v string)
- func (o *DocumentURLChunk) SetType(v string)
- func (o DocumentURLChunk) ToMap() (map[string]interface{}, error)
- func (o *DocumentURLChunk) UnmarshalJSON(data []byte) (err error)
- func (o *DocumentURLChunk) UnsetDocumentName()
- type DocumentUpdateIn
- func (o *DocumentUpdateIn) GetAttributes() map[string]DocumentUpdateInAttributesValue
- func (o *DocumentUpdateIn) GetAttributesOk() (map[string]DocumentUpdateInAttributesValue, bool)
- func (o *DocumentUpdateIn) GetName() string
- func (o *DocumentUpdateIn) GetNameOk() (*string, bool)
- func (o *DocumentUpdateIn) HasAttributes() bool
- func (o *DocumentUpdateIn) HasName() bool
- func (o DocumentUpdateIn) MarshalJSON() ([]byte, error)
- func (o *DocumentUpdateIn) SetAttributes(v map[string]DocumentUpdateInAttributesValue)
- func (o *DocumentUpdateIn) SetName(v string)
- func (o *DocumentUpdateIn) SetNameNil()
- func (o DocumentUpdateIn) ToMap() (map[string]interface{}, error)
- func (o *DocumentUpdateIn) UnmarshalJSON(data []byte) (err error)
- func (o *DocumentUpdateIn) UnsetName()
- type DocumentUpdateInAttributesValue
- type EmbeddingDtype
- type EmbeddingRequest
- func (o *EmbeddingRequest) GetEncodingFormat() EncodingFormat
- func (o *EmbeddingRequest) GetEncodingFormatOk() (*EncodingFormat, bool)
- func (o *EmbeddingRequest) GetInput() Input2
- func (o *EmbeddingRequest) GetInputOk() (*Input2, bool)
- func (o *EmbeddingRequest) GetMetadata() map[string]interface{}
- func (o *EmbeddingRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *EmbeddingRequest) GetModel() string
- func (o *EmbeddingRequest) GetModelOk() (*string, bool)
- func (o *EmbeddingRequest) GetOutputDimension() int32
- func (o *EmbeddingRequest) GetOutputDimensionOk() (*int32, bool)
- func (o *EmbeddingRequest) GetOutputDtype() EmbeddingDtype
- func (o *EmbeddingRequest) GetOutputDtypeOk() (*EmbeddingDtype, bool)
- func (o *EmbeddingRequest) HasEncodingFormat() bool
- func (o *EmbeddingRequest) HasMetadata() bool
- func (o *EmbeddingRequest) HasOutputDimension() bool
- func (o *EmbeddingRequest) HasOutputDtype() bool
- func (o EmbeddingRequest) MarshalJSON() ([]byte, error)
- func (o *EmbeddingRequest) SetEncodingFormat(v EncodingFormat)
- func (o *EmbeddingRequest) SetInput(v Input2)
- func (o *EmbeddingRequest) SetMetadata(v map[string]interface{})
- func (o *EmbeddingRequest) SetModel(v string)
- func (o *EmbeddingRequest) SetOutputDimension(v int32)
- func (o *EmbeddingRequest) SetOutputDimensionNil()
- func (o *EmbeddingRequest) SetOutputDtype(v EmbeddingDtype)
- func (o EmbeddingRequest) ToMap() (map[string]interface{}, error)
- func (o *EmbeddingRequest) UnmarshalJSON(data []byte) (err error)
- func (o *EmbeddingRequest) UnsetOutputDimension()
- type EmbeddingResponse
- func (o *EmbeddingResponse) GetData() []EmbeddingResponseData
- func (o *EmbeddingResponse) GetDataOk() ([]EmbeddingResponseData, bool)
- func (o *EmbeddingResponse) GetId() string
- func (o *EmbeddingResponse) GetIdOk() (*string, bool)
- func (o *EmbeddingResponse) GetModel() string
- func (o *EmbeddingResponse) GetModelOk() (*string, bool)
- func (o *EmbeddingResponse) GetObject() string
- func (o *EmbeddingResponse) GetObjectOk() (*string, bool)
- func (o *EmbeddingResponse) GetUsage() UsageInfo
- func (o *EmbeddingResponse) GetUsageOk() (*UsageInfo, bool)
- func (o *EmbeddingResponse) HasId() bool
- func (o *EmbeddingResponse) HasModel() bool
- func (o *EmbeddingResponse) HasObject() bool
- func (o *EmbeddingResponse) HasUsage() bool
- func (o EmbeddingResponse) MarshalJSON() ([]byte, error)
- func (o *EmbeddingResponse) SetData(v []EmbeddingResponseData)
- func (o *EmbeddingResponse) SetId(v string)
- func (o *EmbeddingResponse) SetModel(v string)
- func (o *EmbeddingResponse) SetObject(v string)
- func (o *EmbeddingResponse) SetUsage(v UsageInfo)
- func (o EmbeddingResponse) ToMap() (map[string]interface{}, error)
- func (o *EmbeddingResponse) UnmarshalJSON(data []byte) (err error)
- type EmbeddingResponseData
- func (o *EmbeddingResponseData) GetEmbedding() []float32
- func (o *EmbeddingResponseData) GetEmbeddingOk() ([]float32, bool)
- func (o *EmbeddingResponseData) GetIndex() int32
- func (o *EmbeddingResponseData) GetIndexOk() (*int32, bool)
- func (o *EmbeddingResponseData) GetObject() string
- func (o *EmbeddingResponseData) GetObjectOk() (*string, bool)
- func (o *EmbeddingResponseData) HasEmbedding() bool
- func (o *EmbeddingResponseData) HasIndex() bool
- func (o *EmbeddingResponseData) HasObject() bool
- func (o EmbeddingResponseData) MarshalJSON() ([]byte, error)
- func (o *EmbeddingResponseData) SetEmbedding(v []float32)
- func (o *EmbeddingResponseData) SetIndex(v int32)
- func (o *EmbeddingResponseData) SetObject(v string)
- func (o EmbeddingResponseData) ToMap() (map[string]interface{}, error)
- func (o *EmbeddingResponseData) UnmarshalJSON(data []byte) (err error)
- type EmbeddingsAPI
- type EmbeddingsAPIService
- type EncodingFormat
- type EntityType
- type EntriesInner
- type EventOut
- func (o *EventOut) GetCreatedAt() int32
- func (o *EventOut) GetCreatedAtOk() (*int32, bool)
- func (o *EventOut) GetData() map[string]interface{}
- func (o *EventOut) GetDataOk() (map[string]interface{}, bool)
- func (o *EventOut) GetName() string
- func (o *EventOut) GetNameOk() (*string, bool)
- func (o *EventOut) HasData() bool
- func (o EventOut) MarshalJSON() ([]byte, error)
- func (o *EventOut) SetCreatedAt(v int32)
- func (o *EventOut) SetData(v map[string]interface{})
- func (o *EventOut) SetName(v string)
- func (o EventOut) ToMap() (map[string]interface{}, error)
- func (o *EventOut) UnmarshalJSON(data []byte) (err error)
- type FIMCompletionRequest
- func (o *FIMCompletionRequest) GetMaxTokens() int32
- func (o *FIMCompletionRequest) GetMaxTokensOk() (*int32, bool)
- func (o *FIMCompletionRequest) GetMetadata() map[string]interface{}
- func (o *FIMCompletionRequest) GetMetadataOk() (map[string]interface{}, bool)
- func (o *FIMCompletionRequest) GetMinTokens() int32
- func (o *FIMCompletionRequest) GetMinTokensOk() (*int32, bool)
- func (o *FIMCompletionRequest) GetModel() string
- func (o *FIMCompletionRequest) GetModelOk() (*string, bool)
- func (o *FIMCompletionRequest) GetPrompt() string
- func (o *FIMCompletionRequest) GetPromptOk() (*string, bool)
- func (o *FIMCompletionRequest) GetRandomSeed() int32
- func (o *FIMCompletionRequest) GetRandomSeedOk() (*int32, bool)
- func (o *FIMCompletionRequest) GetStop() Stop
- func (o *FIMCompletionRequest) GetStopOk() (*Stop, bool)
- func (o *FIMCompletionRequest) GetStream() bool
- func (o *FIMCompletionRequest) GetStreamOk() (*bool, bool)
- func (o *FIMCompletionRequest) GetSuffix() string
- func (o *FIMCompletionRequest) GetSuffixOk() (*string, bool)
- func (o *FIMCompletionRequest) GetTemperature() float32
- func (o *FIMCompletionRequest) GetTemperatureOk() (*float32, bool)
- func (o *FIMCompletionRequest) GetTopP() float32
- func (o *FIMCompletionRequest) GetTopPOk() (*float32, bool)
- func (o *FIMCompletionRequest) HasMaxTokens() bool
- func (o *FIMCompletionRequest) HasMetadata() bool
- func (o *FIMCompletionRequest) HasMinTokens() bool
- func (o *FIMCompletionRequest) HasRandomSeed() bool
- func (o *FIMCompletionRequest) HasStop() bool
- func (o *FIMCompletionRequest) HasStream() bool
- func (o *FIMCompletionRequest) HasSuffix() bool
- func (o *FIMCompletionRequest) HasTemperature() bool
- func (o *FIMCompletionRequest) HasTopP() bool
- func (o FIMCompletionRequest) MarshalJSON() ([]byte, error)
- func (o *FIMCompletionRequest) SetMaxTokens(v int32)
- func (o *FIMCompletionRequest) SetMaxTokensNil()
- func (o *FIMCompletionRequest) SetMetadata(v map[string]interface{})
- func (o *FIMCompletionRequest) SetMinTokens(v int32)
- func (o *FIMCompletionRequest) SetMinTokensNil()
- func (o *FIMCompletionRequest) SetModel(v string)
- func (o *FIMCompletionRequest) SetPrompt(v string)
- func (o *FIMCompletionRequest) SetRandomSeed(v int32)
- func (o *FIMCompletionRequest) SetRandomSeedNil()
- func (o *FIMCompletionRequest) SetStop(v Stop)
- func (o *FIMCompletionRequest) SetStream(v bool)
- func (o *FIMCompletionRequest) SetSuffix(v string)
- func (o *FIMCompletionRequest) SetSuffixNil()
- func (o *FIMCompletionRequest) SetTemperature(v float32)
- func (o *FIMCompletionRequest) SetTemperatureNil()
- func (o *FIMCompletionRequest) SetTopP(v float32)
- func (o FIMCompletionRequest) ToMap() (map[string]interface{}, error)
- func (o *FIMCompletionRequest) UnmarshalJSON(data []byte) (err error)
- func (o *FIMCompletionRequest) UnsetMaxTokens()
- func (o *FIMCompletionRequest) UnsetMinTokens()
- func (o *FIMCompletionRequest) UnsetRandomSeed()
- func (o *FIMCompletionRequest) UnsetSuffix()
- func (o *FIMCompletionRequest) UnsetTemperature()
- type FIMCompletionResponse
- func (o *FIMCompletionResponse) GetChoices() []ChatCompletionChoice
- func (o *FIMCompletionResponse) GetChoicesOk() ([]ChatCompletionChoice, bool)
- func (o *FIMCompletionResponse) GetCreated() int32
- func (o *FIMCompletionResponse) GetCreatedOk() (*int32, bool)
- func (o *FIMCompletionResponse) GetId() string
- func (o *FIMCompletionResponse) GetIdOk() (*string, bool)
- func (o *FIMCompletionResponse) GetModel() string
- func (o *FIMCompletionResponse) GetModelOk() (*string, bool)
- func (o *FIMCompletionResponse) GetObject() string
- func (o *FIMCompletionResponse) GetObjectOk() (*string, bool)
- func (o *FIMCompletionResponse) GetUsage() UsageInfo
- func (o *FIMCompletionResponse) GetUsageOk() (*UsageInfo, bool)
- func (o *FIMCompletionResponse) HasCreated() bool
- func (o *FIMCompletionResponse) HasId() bool
- func (o *FIMCompletionResponse) HasModel() bool
- func (o *FIMCompletionResponse) HasObject() bool
- func (o *FIMCompletionResponse) HasUsage() bool
- func (o FIMCompletionResponse) MarshalJSON() ([]byte, error)
- func (o *FIMCompletionResponse) SetChoices(v []ChatCompletionChoice)
- func (o *FIMCompletionResponse) SetCreated(v int32)
- func (o *FIMCompletionResponse) SetId(v string)
- func (o *FIMCompletionResponse) SetModel(v string)
- func (o *FIMCompletionResponse) SetObject(v string)
- func (o *FIMCompletionResponse) SetUsage(v UsageInfo)
- func (o FIMCompletionResponse) ToMap() (map[string]interface{}, error)
- func (o *FIMCompletionResponse) UnmarshalJSON(data []byte) (err error)
- type FTClassifierLossFunction
- type FTModelCapabilitiesOut
- func (o *FTModelCapabilitiesOut) GetClassification() bool
- func (o *FTModelCapabilitiesOut) GetClassificationOk() (*bool, bool)
- func (o *FTModelCapabilitiesOut) GetCompletionChat() bool
- func (o *FTModelCapabilitiesOut) GetCompletionChatOk() (*bool, bool)
- func (o *FTModelCapabilitiesOut) GetCompletionFim() bool
- func (o *FTModelCapabilitiesOut) GetCompletionFimOk() (*bool, bool)
- func (o *FTModelCapabilitiesOut) GetFineTuning() bool
- func (o *FTModelCapabilitiesOut) GetFineTuningOk() (*bool, bool)
- func (o *FTModelCapabilitiesOut) GetFunctionCalling() bool
- func (o *FTModelCapabilitiesOut) GetFunctionCallingOk() (*bool, bool)
- func (o *FTModelCapabilitiesOut) HasClassification() bool
- func (o *FTModelCapabilitiesOut) HasCompletionChat() bool
- func (o *FTModelCapabilitiesOut) HasCompletionFim() bool
- func (o *FTModelCapabilitiesOut) HasFineTuning() bool
- func (o *FTModelCapabilitiesOut) HasFunctionCalling() bool
- func (o FTModelCapabilitiesOut) MarshalJSON() ([]byte, error)
- func (o *FTModelCapabilitiesOut) SetClassification(v bool)
- func (o *FTModelCapabilitiesOut) SetCompletionChat(v bool)
- func (o *FTModelCapabilitiesOut) SetCompletionFim(v bool)
- func (o *FTModelCapabilitiesOut) SetFineTuning(v bool)
- func (o *FTModelCapabilitiesOut) SetFunctionCalling(v bool)
- func (o FTModelCapabilitiesOut) ToMap() (map[string]interface{}, error)
- func (o *FTModelCapabilitiesOut) UnmarshalJSON(data []byte) (err error)
- type FTModelCard
- func (o *FTModelCard) GetAliases() []string
- func (o *FTModelCard) GetAliasesOk() ([]string, bool)
- func (o *FTModelCard) GetArchived() bool
- func (o *FTModelCard) GetArchivedOk() (*bool, bool)
- func (o *FTModelCard) GetCapabilities() ModelCapabilities
- func (o *FTModelCard) GetCapabilitiesOk() (*ModelCapabilities, bool)
- func (o *FTModelCard) GetCreated() int32
- func (o *FTModelCard) GetCreatedOk() (*int32, bool)
- func (o *FTModelCard) GetDefaultModelTemperature() float32
- func (o *FTModelCard) GetDefaultModelTemperatureOk() (*float32, bool)
- func (o *FTModelCard) GetDeprecation() time.Time
- func (o *FTModelCard) GetDeprecationOk() (*time.Time, bool)
- func (o *FTModelCard) GetDeprecationReplacementModel() string
- func (o *FTModelCard) GetDeprecationReplacementModelOk() (*string, bool)
- func (o *FTModelCard) GetDescription() string
- func (o *FTModelCard) GetDescriptionOk() (*string, bool)
- func (o *FTModelCard) GetId() string
- func (o *FTModelCard) GetIdOk() (*string, bool)
- func (o *FTModelCard) GetJob() string
- func (o *FTModelCard) GetJobOk() (*string, bool)
- func (o *FTModelCard) GetMaxContextLength() int32
- func (o *FTModelCard) GetMaxContextLengthOk() (*int32, bool)
- func (o *FTModelCard) GetName() string
- func (o *FTModelCard) GetNameOk() (*string, bool)
- func (o *FTModelCard) GetObject() string
- func (o *FTModelCard) GetObjectOk() (*string, bool)
- func (o *FTModelCard) GetOwnedBy() string
- func (o *FTModelCard) GetOwnedByOk() (*string, bool)
- func (o *FTModelCard) GetRoot() string
- func (o *FTModelCard) GetRootOk() (*string, bool)
- func (o *FTModelCard) GetType() string
- func (o *FTModelCard) GetTypeOk() (*string, bool)
- func (o *FTModelCard) HasAliases() bool
- func (o *FTModelCard) HasArchived() bool
- func (o *FTModelCard) HasCreated() bool
- func (o *FTModelCard) HasDefaultModelTemperature() bool
- func (o *FTModelCard) HasDeprecation() bool
- func (o *FTModelCard) HasDeprecationReplacementModel() bool
- func (o *FTModelCard) HasDescription() bool
- func (o *FTModelCard) HasMaxContextLength() bool
- func (o *FTModelCard) HasName() bool
- func (o *FTModelCard) HasObject() bool
- func (o *FTModelCard) HasOwnedBy() bool
- func (o *FTModelCard) HasType() bool
- func (o FTModelCard) MarshalJSON() ([]byte, error)
- func (o *FTModelCard) SetAliases(v []string)
- func (o *FTModelCard) SetArchived(v bool)
- func (o *FTModelCard) SetCapabilities(v ModelCapabilities)
- func (o *FTModelCard) SetCreated(v int32)
- func (o *FTModelCard) SetDefaultModelTemperature(v float32)
- func (o *FTModelCard) SetDefaultModelTemperatureNil()
- func (o *FTModelCard) SetDeprecation(v time.Time)
- func (o *FTModelCard) SetDeprecationNil()
- func (o *FTModelCard) SetDeprecationReplacementModel(v string)
- func (o *FTModelCard) SetDeprecationReplacementModelNil()
- func (o *FTModelCard) SetDescription(v string)
- func (o *FTModelCard) SetDescriptionNil()
- func (o *FTModelCard) SetId(v string)
- func (o *FTModelCard) SetJob(v string)
- func (o *FTModelCard) SetMaxContextLength(v int32)
- func (o *FTModelCard) SetName(v string)
- func (o *FTModelCard) SetNameNil()
- func (o *FTModelCard) SetObject(v string)
- func (o *FTModelCard) SetOwnedBy(v string)
- func (o *FTModelCard) SetRoot(v string)
- func (o *FTModelCard) SetType(v string)
- func (o FTModelCard) ToMap() (map[string]interface{}, error)
- func (o *FTModelCard) UnmarshalJSON(data []byte) (err error)
- func (o *FTModelCard) UnsetDefaultModelTemperature()
- func (o *FTModelCard) UnsetDeprecation()
- func (o *FTModelCard) UnsetDeprecationReplacementModel()
- func (o *FTModelCard) UnsetDescription()
- func (o *FTModelCard) UnsetName()
- type FileChunk
- func (o *FileChunk) GetFileId() string
- func (o *FileChunk) GetFileIdOk() (*string, bool)
- func (o *FileChunk) GetType() string
- func (o *FileChunk) GetTypeOk() (*string, bool)
- func (o *FileChunk) HasType() bool
- func (o FileChunk) MarshalJSON() ([]byte, error)
- func (o *FileChunk) SetFileId(v string)
- func (o *FileChunk) SetType(v string)
- func (o FileChunk) ToMap() (map[string]interface{}, error)
- func (o *FileChunk) UnmarshalJSON(data []byte) (err error)
- type FilePurpose
- type FileSchema
- func (o *FileSchema) GetBytes() int32
- func (o *FileSchema) GetBytesOk() (*int32, bool)
- func (o *FileSchema) GetCreatedAt() int32
- func (o *FileSchema) GetCreatedAtOk() (*int32, bool)
- func (o *FileSchema) GetFilename() string
- func (o *FileSchema) GetFilenameOk() (*string, bool)
- func (o *FileSchema) GetId() string
- func (o *FileSchema) GetIdOk() (*string, bool)
- func (o *FileSchema) GetMimetype() string
- func (o *FileSchema) GetMimetypeOk() (*string, bool)
- func (o *FileSchema) GetNumLines() int32
- func (o *FileSchema) GetNumLinesOk() (*int32, bool)
- func (o *FileSchema) GetObject() string
- func (o *FileSchema) GetObjectOk() (*string, bool)
- func (o *FileSchema) GetPurpose() FilePurpose
- func (o *FileSchema) GetPurposeOk() (*FilePurpose, bool)
- func (o *FileSchema) GetSampleType() SampleType
- func (o *FileSchema) GetSampleTypeOk() (*SampleType, bool)
- func (o *FileSchema) GetSignature() string
- func (o *FileSchema) GetSignatureOk() (*string, bool)
- func (o *FileSchema) GetSource() Source
- func (o *FileSchema) GetSourceOk() (*Source, bool)
- func (o *FileSchema) HasMimetype() bool
- func (o *FileSchema) HasNumLines() bool
- func (o *FileSchema) HasSignature() bool
- func (o FileSchema) MarshalJSON() ([]byte, error)
- func (o *FileSchema) SetBytes(v int32)
- func (o *FileSchema) SetCreatedAt(v int32)
- func (o *FileSchema) SetFilename(v string)
- func (o *FileSchema) SetId(v string)
- func (o *FileSchema) SetMimetype(v string)
- func (o *FileSchema) SetMimetypeNil()
- func (o *FileSchema) SetNumLines(v int32)
- func (o *FileSchema) SetNumLinesNil()
- func (o *FileSchema) SetObject(v string)
- func (o *FileSchema) SetPurpose(v FilePurpose)
- func (o *FileSchema) SetSampleType(v SampleType)
- func (o *FileSchema) SetSignature(v string)
- func (o *FileSchema) SetSignatureNil()
- func (o *FileSchema) SetSource(v Source)
- func (o FileSchema) ToMap() (map[string]interface{}, error)
- func (o *FileSchema) UnmarshalJSON(data []byte) (err error)
- func (o *FileSchema) UnsetMimetype()
- func (o *FileSchema) UnsetNumLines()
- func (o *FileSchema) UnsetSignature()
- type FileSignedURL
- func (o *FileSignedURL) GetUrl() string
- func (o *FileSignedURL) GetUrlOk() (*string, bool)
- func (o FileSignedURL) MarshalJSON() ([]byte, error)
- func (o *FileSignedURL) SetUrl(v string)
- func (o FileSignedURL) ToMap() (map[string]interface{}, error)
- func (o *FileSignedURL) UnmarshalJSON(data []byte) (err error)
- type FilesAPI
- type FilesAPIService
- func (a *FilesAPIService) FilesApiRoutesDeleteFile(ctx context.Context, fileId string) ApiFilesApiRoutesDeleteFileRequest
- func (a *FilesAPIService) FilesApiRoutesDeleteFileExecute(r ApiFilesApiRoutesDeleteFileRequest) (*DeleteFileOut, *http.Response, error)
- func (a *FilesAPIService) FilesApiRoutesDownloadFile(ctx context.Context, fileId string) ApiFilesApiRoutesDownloadFileRequest
- func (a *FilesAPIService) FilesApiRoutesDownloadFileExecute(r ApiFilesApiRoutesDownloadFileRequest) (*os.File, *http.Response, error)
- func (a *FilesAPIService) FilesApiRoutesGetSignedUrl(ctx context.Context, fileId string) ApiFilesApiRoutesGetSignedUrlRequest
- func (a *FilesAPIService) FilesApiRoutesGetSignedUrlExecute(r ApiFilesApiRoutesGetSignedUrlRequest) (*FileSignedURL, *http.Response, error)
- func (a *FilesAPIService) FilesApiRoutesListFiles(ctx context.Context) ApiFilesApiRoutesListFilesRequest
- func (a *FilesAPIService) FilesApiRoutesListFilesExecute(r ApiFilesApiRoutesListFilesRequest) (*ListFilesOut, *http.Response, error)
- func (a *FilesAPIService) FilesApiRoutesRetrieveFile(ctx context.Context, fileId string) ApiFilesApiRoutesRetrieveFileRequest
- func (a *FilesAPIService) FilesApiRoutesRetrieveFileExecute(r ApiFilesApiRoutesRetrieveFileRequest) (*RetrieveFileOut, *http.Response, error)
- func (a *FilesAPIService) FilesApiRoutesUploadFile(ctx context.Context) ApiFilesApiRoutesUploadFileRequest
- func (a *FilesAPIService) FilesApiRoutesUploadFileExecute(r ApiFilesApiRoutesUploadFileRequest) (*UploadFileOut, *http.Response, error)
- type FimAPI
- type FimAPIService
- type FineTuneableModel
- type FineTuneableModelType
- type FineTuningAPI
- type FineTuningAPIService
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningCancelFineTuningJob(ctx context.Context, jobId string) ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningCancelFineTuningJobExecute(r ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest) (*Response1, *http.Response, error)
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningCreateFineTuningJob(ctx context.Context) ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningCreateFineTuningJobExecute(r ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) (*Response, *http.Response, error)
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJob(ctx context.Context, jobId string) ApiJobsApiRoutesFineTuningGetFineTuningJobRequest
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJobExecute(r ApiJobsApiRoutesFineTuningGetFineTuningJobRequest) (*Response1, *http.Response, error)
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJobs(ctx context.Context) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJobsExecute(r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) (*JobsOut, *http.Response, error)
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningStartFineTuningJob(ctx context.Context, jobId string) ApiJobsApiRoutesFineTuningStartFineTuningJobRequest
- func (a *FineTuningAPIService) JobsApiRoutesFineTuningStartFineTuningJobExecute(r ApiJobsApiRoutesFineTuningStartFineTuningJobRequest) (*Response1, *http.Response, error)
- type Function
- func (o *Function) GetDescription() string
- func (o *Function) GetDescriptionOk() (*string, bool)
- func (o *Function) GetName() string
- func (o *Function) GetNameOk() (*string, bool)
- func (o *Function) GetParameters() map[string]interface{}
- func (o *Function) GetParametersOk() (map[string]interface{}, bool)
- func (o *Function) GetStrict() bool
- func (o *Function) GetStrictOk() (*bool, bool)
- func (o *Function) HasDescription() bool
- func (o *Function) HasStrict() bool
- func (o Function) MarshalJSON() ([]byte, error)
- func (o *Function) SetDescription(v string)
- func (o *Function) SetName(v string)
- func (o *Function) SetParameters(v map[string]interface{})
- func (o *Function) SetStrict(v bool)
- func (o Function) ToMap() (map[string]interface{}, error)
- func (o *Function) UnmarshalJSON(data []byte) (err error)
- type FunctionCall
- func (o *FunctionCall) GetArguments() Arguments
- func (o *FunctionCall) GetArgumentsOk() (*Arguments, bool)
- func (o *FunctionCall) GetName() string
- func (o *FunctionCall) GetNameOk() (*string, bool)
- func (o FunctionCall) MarshalJSON() ([]byte, error)
- func (o *FunctionCall) SetArguments(v Arguments)
- func (o *FunctionCall) SetName(v string)
- func (o FunctionCall) ToMap() (map[string]interface{}, error)
- func (o *FunctionCall) UnmarshalJSON(data []byte) (err error)
- type FunctionCallEntry
- func (o *FunctionCallEntry) GetArguments() FunctionCallEntryArguments
- func (o *FunctionCallEntry) GetArgumentsOk() (*FunctionCallEntryArguments, bool)
- func (o *FunctionCallEntry) GetCompletedAt() time.Time
- func (o *FunctionCallEntry) GetCompletedAtOk() (*time.Time, bool)
- func (o *FunctionCallEntry) GetCreatedAt() time.Time
- func (o *FunctionCallEntry) GetCreatedAtOk() (*time.Time, bool)
- func (o *FunctionCallEntry) GetId() string
- func (o *FunctionCallEntry) GetIdOk() (*string, bool)
- func (o *FunctionCallEntry) GetName() string
- func (o *FunctionCallEntry) GetNameOk() (*string, bool)
- func (o *FunctionCallEntry) GetObject() string
- func (o *FunctionCallEntry) GetObjectOk() (*string, bool)
- func (o *FunctionCallEntry) GetToolCallId() string
- func (o *FunctionCallEntry) GetToolCallIdOk() (*string, bool)
- func (o *FunctionCallEntry) GetType() string
- func (o *FunctionCallEntry) GetTypeOk() (*string, bool)
- func (o *FunctionCallEntry) HasCompletedAt() bool
- func (o *FunctionCallEntry) HasCreatedAt() bool
- func (o *FunctionCallEntry) HasId() bool
- func (o *FunctionCallEntry) HasObject() bool
- func (o *FunctionCallEntry) HasType() bool
- func (o FunctionCallEntry) MarshalJSON() ([]byte, error)
- func (o *FunctionCallEntry) SetArguments(v FunctionCallEntryArguments)
- func (o *FunctionCallEntry) SetCompletedAt(v time.Time)
- func (o *FunctionCallEntry) SetCompletedAtNil()
- func (o *FunctionCallEntry) SetCreatedAt(v time.Time)
- func (o *FunctionCallEntry) SetId(v string)
- func (o *FunctionCallEntry) SetName(v string)
- func (o *FunctionCallEntry) SetObject(v string)
- func (o *FunctionCallEntry) SetToolCallId(v string)
- func (o *FunctionCallEntry) SetType(v string)
- func (o FunctionCallEntry) ToMap() (map[string]interface{}, error)
- func (o *FunctionCallEntry) UnmarshalJSON(data []byte) (err error)
- func (o *FunctionCallEntry) UnsetCompletedAt()
- type FunctionCallEntryArguments
- type FunctionCallEvent
- func (o *FunctionCallEvent) GetArguments() string
- func (o *FunctionCallEvent) GetArgumentsOk() (*string, bool)
- func (o *FunctionCallEvent) GetCreatedAt() time.Time
- func (o *FunctionCallEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *FunctionCallEvent) GetId() string
- func (o *FunctionCallEvent) GetIdOk() (*string, bool)
- func (o *FunctionCallEvent) GetName() string
- func (o *FunctionCallEvent) GetNameOk() (*string, bool)
- func (o *FunctionCallEvent) GetOutputIndex() int32
- func (o *FunctionCallEvent) GetOutputIndexOk() (*int32, bool)
- func (o *FunctionCallEvent) GetToolCallId() string
- func (o *FunctionCallEvent) GetToolCallIdOk() (*string, bool)
- func (o *FunctionCallEvent) GetType() string
- func (o *FunctionCallEvent) GetTypeOk() (*string, bool)
- func (o *FunctionCallEvent) HasCreatedAt() bool
- func (o *FunctionCallEvent) HasOutputIndex() bool
- func (o *FunctionCallEvent) HasType() bool
- func (o FunctionCallEvent) MarshalJSON() ([]byte, error)
- func (o *FunctionCallEvent) SetArguments(v string)
- func (o *FunctionCallEvent) SetCreatedAt(v time.Time)
- func (o *FunctionCallEvent) SetId(v string)
- func (o *FunctionCallEvent) SetName(v string)
- func (o *FunctionCallEvent) SetOutputIndex(v int32)
- func (o *FunctionCallEvent) SetToolCallId(v string)
- func (o *FunctionCallEvent) SetType(v string)
- func (o FunctionCallEvent) ToMap() (map[string]interface{}, error)
- func (o *FunctionCallEvent) UnmarshalJSON(data []byte) (err error)
- type FunctionName
- func (o *FunctionName) GetName() string
- func (o *FunctionName) GetNameOk() (*string, bool)
- func (o FunctionName) MarshalJSON() ([]byte, error)
- func (o *FunctionName) SetName(v string)
- func (o FunctionName) ToMap() (map[string]interface{}, error)
- func (o *FunctionName) UnmarshalJSON(data []byte) (err error)
- type FunctionResultEntry
- func (o *FunctionResultEntry) GetCompletedAt() time.Time
- func (o *FunctionResultEntry) GetCompletedAtOk() (*time.Time, bool)
- func (o *FunctionResultEntry) GetCreatedAt() time.Time
- func (o *FunctionResultEntry) GetCreatedAtOk() (*time.Time, bool)
- func (o *FunctionResultEntry) GetId() string
- func (o *FunctionResultEntry) GetIdOk() (*string, bool)
- func (o *FunctionResultEntry) GetObject() string
- func (o *FunctionResultEntry) GetObjectOk() (*string, bool)
- func (o *FunctionResultEntry) GetResult() string
- func (o *FunctionResultEntry) GetResultOk() (*string, bool)
- func (o *FunctionResultEntry) GetToolCallId() string
- func (o *FunctionResultEntry) GetToolCallIdOk() (*string, bool)
- func (o *FunctionResultEntry) GetType() string
- func (o *FunctionResultEntry) GetTypeOk() (*string, bool)
- func (o *FunctionResultEntry) HasCompletedAt() bool
- func (o *FunctionResultEntry) HasCreatedAt() bool
- func (o *FunctionResultEntry) HasId() bool
- func (o *FunctionResultEntry) HasObject() bool
- func (o *FunctionResultEntry) HasType() bool
- func (o FunctionResultEntry) MarshalJSON() ([]byte, error)
- func (o *FunctionResultEntry) SetCompletedAt(v time.Time)
- func (o *FunctionResultEntry) SetCompletedAtNil()
- func (o *FunctionResultEntry) SetCreatedAt(v time.Time)
- func (o *FunctionResultEntry) SetId(v string)
- func (o *FunctionResultEntry) SetObject(v string)
- func (o *FunctionResultEntry) SetResult(v string)
- func (o *FunctionResultEntry) SetToolCallId(v string)
- func (o *FunctionResultEntry) SetType(v string)
- func (o FunctionResultEntry) ToMap() (map[string]interface{}, error)
- func (o *FunctionResultEntry) UnmarshalJSON(data []byte) (err error)
- func (o *FunctionResultEntry) UnsetCompletedAt()
- type FunctionTool
- func (o *FunctionTool) GetFunction() Function
- func (o *FunctionTool) GetFunctionOk() (*Function, bool)
- func (o *FunctionTool) GetType() string
- func (o *FunctionTool) GetTypeOk() (*string, bool)
- func (o *FunctionTool) HasType() bool
- func (o FunctionTool) MarshalJSON() ([]byte, error)
- func (o *FunctionTool) SetFunction(v Function)
- func (o *FunctionTool) SetType(v string)
- func (o FunctionTool) ToMap() (map[string]interface{}, error)
- func (o *FunctionTool) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type GithubRepositoryIn
- func (o *GithubRepositoryIn) GetName() string
- func (o *GithubRepositoryIn) GetNameOk() (*string, bool)
- func (o *GithubRepositoryIn) GetOwner() string
- func (o *GithubRepositoryIn) GetOwnerOk() (*string, bool)
- func (o *GithubRepositoryIn) GetRef() string
- func (o *GithubRepositoryIn) GetRefOk() (*string, bool)
- func (o *GithubRepositoryIn) GetToken() string
- func (o *GithubRepositoryIn) GetTokenOk() (*string, bool)
- func (o *GithubRepositoryIn) GetType() string
- func (o *GithubRepositoryIn) GetTypeOk() (*string, bool)
- func (o *GithubRepositoryIn) GetWeight() float32
- func (o *GithubRepositoryIn) GetWeightOk() (*float32, bool)
- func (o *GithubRepositoryIn) HasRef() bool
- func (o *GithubRepositoryIn) HasType() bool
- func (o *GithubRepositoryIn) HasWeight() bool
- func (o GithubRepositoryIn) MarshalJSON() ([]byte, error)
- func (o *GithubRepositoryIn) SetName(v string)
- func (o *GithubRepositoryIn) SetOwner(v string)
- func (o *GithubRepositoryIn) SetRef(v string)
- func (o *GithubRepositoryIn) SetRefNil()
- func (o *GithubRepositoryIn) SetToken(v string)
- func (o *GithubRepositoryIn) SetType(v string)
- func (o *GithubRepositoryIn) SetWeight(v float32)
- func (o GithubRepositoryIn) ToMap() (map[string]interface{}, error)
- func (o *GithubRepositoryIn) UnmarshalJSON(data []byte) (err error)
- func (o *GithubRepositoryIn) UnsetRef()
- type GithubRepositoryOut
- func (o *GithubRepositoryOut) GetCommitId() string
- func (o *GithubRepositoryOut) GetCommitIdOk() (*string, bool)
- func (o *GithubRepositoryOut) GetName() string
- func (o *GithubRepositoryOut) GetNameOk() (*string, bool)
- func (o *GithubRepositoryOut) GetOwner() string
- func (o *GithubRepositoryOut) GetOwnerOk() (*string, bool)
- func (o *GithubRepositoryOut) GetRef() string
- func (o *GithubRepositoryOut) GetRefOk() (*string, bool)
- func (o *GithubRepositoryOut) GetType() string
- func (o *GithubRepositoryOut) GetTypeOk() (*string, bool)
- func (o *GithubRepositoryOut) GetWeight() float32
- func (o *GithubRepositoryOut) GetWeightOk() (*float32, bool)
- func (o *GithubRepositoryOut) HasRef() bool
- func (o *GithubRepositoryOut) HasType() bool
- func (o *GithubRepositoryOut) HasWeight() bool
- func (o GithubRepositoryOut) MarshalJSON() ([]byte, error)
- func (o *GithubRepositoryOut) SetCommitId(v string)
- func (o *GithubRepositoryOut) SetName(v string)
- func (o *GithubRepositoryOut) SetOwner(v string)
- func (o *GithubRepositoryOut) SetRef(v string)
- func (o *GithubRepositoryOut) SetRefNil()
- func (o *GithubRepositoryOut) SetType(v string)
- func (o *GithubRepositoryOut) SetWeight(v float32)
- func (o GithubRepositoryOut) ToMap() (map[string]interface{}, error)
- func (o *GithubRepositoryOut) UnmarshalJSON(data []byte) (err error)
- func (o *GithubRepositoryOut) UnsetRef()
- 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)
- func (o *HTTPValidationError) UnmarshalJSON(data []byte) (err error)
- type Hyperparameters
- type ImageGenerationTool
- func (o *ImageGenerationTool) GetType() string
- func (o *ImageGenerationTool) GetTypeOk() (*string, bool)
- func (o *ImageGenerationTool) HasType() bool
- func (o ImageGenerationTool) MarshalJSON() ([]byte, error)
- func (o *ImageGenerationTool) SetType(v string)
- func (o ImageGenerationTool) ToMap() (map[string]interface{}, error)
- type ImageURLChunk
- func (o *ImageURLChunk) GetImageUrl() ImageUrl
- func (o *ImageURLChunk) GetImageUrlOk() (*ImageUrl, bool)
- func (o *ImageURLChunk) GetType() string
- func (o *ImageURLChunk) GetTypeOk() (*string, bool)
- func (o *ImageURLChunk) HasType() bool
- func (o ImageURLChunk) MarshalJSON() ([]byte, error)
- func (o *ImageURLChunk) SetImageUrl(v ImageUrl)
- func (o *ImageURLChunk) SetType(v string)
- func (o ImageURLChunk) ToMap() (map[string]interface{}, error)
- func (o *ImageURLChunk) UnmarshalJSON(data []byte) (err error)
- type ImageURLStruct
- func (o *ImageURLStruct) GetDetail() string
- func (o *ImageURLStruct) GetDetailOk() (*string, bool)
- func (o *ImageURLStruct) GetUrl() string
- func (o *ImageURLStruct) GetUrlOk() (*string, bool)
- func (o *ImageURLStruct) HasDetail() bool
- func (o ImageURLStruct) MarshalJSON() ([]byte, error)
- func (o *ImageURLStruct) SetDetail(v string)
- func (o *ImageURLStruct) SetDetailNil()
- func (o *ImageURLStruct) SetUrl(v string)
- func (o ImageURLStruct) ToMap() (map[string]interface{}, error)
- func (o *ImageURLStruct) UnmarshalJSON(data []byte) (err error)
- func (o *ImageURLStruct) UnsetDetail()
- type ImageUrl
- type Input
- type Input1
- type Input2
- type InputAudio
- type InstructRequest
- func (o *InstructRequest) GetMessages() []MessagesInner
- func (o *InstructRequest) GetMessagesOk() ([]MessagesInner, bool)
- func (o InstructRequest) MarshalJSON() ([]byte, error)
- func (o *InstructRequest) SetMessages(v []MessagesInner)
- func (o InstructRequest) ToMap() (map[string]interface{}, error)
- func (o *InstructRequest) UnmarshalJSON(data []byte) (err error)
- type JobIn
- func (o *JobIn) GetAutoStart() bool
- func (o *JobIn) GetAutoStartOk() (*bool, bool)
- func (o *JobIn) GetClassifierTargets() []ClassifierTargetIn
- func (o *JobIn) GetClassifierTargetsOk() ([]ClassifierTargetIn, bool)
- func (o *JobIn) GetHyperparameters() Hyperparameters
- func (o *JobIn) GetHyperparametersOk() (*Hyperparameters, bool)
- func (o *JobIn) GetIntegrations() []WandbIntegration
- func (o *JobIn) GetIntegrationsOk() ([]WandbIntegration, bool)
- func (o *JobIn) GetInvalidSampleSkipPercentage() float32
- func (o *JobIn) GetInvalidSampleSkipPercentageOk() (*float32, bool)
- func (o *JobIn) GetJobType() FineTuneableModelType
- func (o *JobIn) GetJobTypeOk() (*FineTuneableModelType, bool)
- func (o *JobIn) GetModel() FineTuneableModel
- func (o *JobIn) GetModelOk() (*FineTuneableModel, bool)
- func (o *JobIn) GetRepositories() []GithubRepositoryIn
- func (o *JobIn) GetRepositoriesOk() ([]GithubRepositoryIn, bool)
- func (o *JobIn) GetSuffix() string
- func (o *JobIn) GetSuffixOk() (*string, bool)
- func (o *JobIn) GetTrainingFiles() []TrainingFile
- func (o *JobIn) GetTrainingFilesOk() ([]TrainingFile, bool)
- func (o *JobIn) GetValidationFiles() []string
- func (o *JobIn) GetValidationFilesOk() ([]string, bool)
- func (o *JobIn) HasAutoStart() bool
- func (o *JobIn) HasClassifierTargets() bool
- func (o *JobIn) HasIntegrations() bool
- func (o *JobIn) HasInvalidSampleSkipPercentage() bool
- func (o *JobIn) HasJobType() bool
- func (o *JobIn) HasRepositories() bool
- func (o *JobIn) HasSuffix() bool
- func (o *JobIn) HasTrainingFiles() bool
- func (o *JobIn) HasValidationFiles() bool
- func (o JobIn) MarshalJSON() ([]byte, error)
- func (o *JobIn) SetAutoStart(v bool)
- func (o *JobIn) SetClassifierTargets(v []ClassifierTargetIn)
- func (o *JobIn) SetHyperparameters(v Hyperparameters)
- func (o *JobIn) SetIntegrations(v []WandbIntegration)
- func (o *JobIn) SetInvalidSampleSkipPercentage(v float32)
- func (o *JobIn) SetJobType(v FineTuneableModelType)
- func (o *JobIn) SetJobTypeNil()
- func (o *JobIn) SetModel(v FineTuneableModel)
- func (o *JobIn) SetRepositories(v []GithubRepositoryIn)
- func (o *JobIn) SetSuffix(v string)
- func (o *JobIn) SetSuffixNil()
- func (o *JobIn) SetTrainingFiles(v []TrainingFile)
- func (o *JobIn) SetValidationFiles(v []string)
- func (o JobIn) ToMap() (map[string]interface{}, error)
- func (o *JobIn) UnmarshalJSON(data []byte) (err error)
- func (o *JobIn) UnsetJobType()
- func (o *JobIn) UnsetSuffix()
- type JobMetadataOut
- func (o *JobMetadataOut) GetCost() float32
- func (o *JobMetadataOut) GetCostCurrency() string
- func (o *JobMetadataOut) GetCostCurrencyOk() (*string, bool)
- func (o *JobMetadataOut) GetCostOk() (*float32, bool)
- func (o *JobMetadataOut) GetDataTokens() int32
- func (o *JobMetadataOut) GetDataTokensOk() (*int32, bool)
- func (o *JobMetadataOut) GetEstimatedStartTime() int32
- func (o *JobMetadataOut) GetEstimatedStartTimeOk() (*int32, bool)
- func (o *JobMetadataOut) GetExpectedDurationSeconds() int32
- func (o *JobMetadataOut) GetExpectedDurationSecondsOk() (*int32, bool)
- func (o *JobMetadataOut) GetTrainTokens() int32
- func (o *JobMetadataOut) GetTrainTokensOk() (*int32, bool)
- func (o *JobMetadataOut) GetTrainTokensPerStep() int32
- func (o *JobMetadataOut) GetTrainTokensPerStepOk() (*int32, bool)
- func (o *JobMetadataOut) HasCost() bool
- func (o *JobMetadataOut) HasCostCurrency() bool
- func (o *JobMetadataOut) HasDataTokens() bool
- func (o *JobMetadataOut) HasEstimatedStartTime() bool
- func (o *JobMetadataOut) HasExpectedDurationSeconds() bool
- func (o *JobMetadataOut) HasTrainTokens() bool
- func (o *JobMetadataOut) HasTrainTokensPerStep() bool
- func (o JobMetadataOut) MarshalJSON() ([]byte, error)
- func (o *JobMetadataOut) SetCost(v float32)
- func (o *JobMetadataOut) SetCostCurrency(v string)
- func (o *JobMetadataOut) SetCostCurrencyNil()
- func (o *JobMetadataOut) SetCostNil()
- func (o *JobMetadataOut) SetDataTokens(v int32)
- func (o *JobMetadataOut) SetDataTokensNil()
- func (o *JobMetadataOut) SetEstimatedStartTime(v int32)
- func (o *JobMetadataOut) SetEstimatedStartTimeNil()
- func (o *JobMetadataOut) SetExpectedDurationSeconds(v int32)
- func (o *JobMetadataOut) SetExpectedDurationSecondsNil()
- func (o *JobMetadataOut) SetTrainTokens(v int32)
- func (o *JobMetadataOut) SetTrainTokensNil()
- func (o *JobMetadataOut) SetTrainTokensPerStep(v int32)
- func (o *JobMetadataOut) SetTrainTokensPerStepNil()
- func (o JobMetadataOut) ToMap() (map[string]interface{}, error)
- func (o *JobMetadataOut) UnmarshalJSON(data []byte) (err error)
- func (o *JobMetadataOut) UnsetCost()
- func (o *JobMetadataOut) UnsetCostCurrency()
- func (o *JobMetadataOut) UnsetDataTokens()
- func (o *JobMetadataOut) UnsetEstimatedStartTime()
- func (o *JobMetadataOut) UnsetExpectedDurationSeconds()
- func (o *JobMetadataOut) UnsetTrainTokens()
- func (o *JobMetadataOut) UnsetTrainTokensPerStep()
- type JobsOut
- func (o *JobsOut) GetData() []ResponseAnyOf
- func (o *JobsOut) GetDataOk() ([]ResponseAnyOf, bool)
- func (o *JobsOut) GetObject() string
- func (o *JobsOut) GetObjectOk() (*string, bool)
- func (o *JobsOut) GetTotal() int32
- func (o *JobsOut) GetTotalOk() (*int32, bool)
- func (o *JobsOut) HasData() bool
- func (o *JobsOut) HasObject() bool
- func (o JobsOut) MarshalJSON() ([]byte, error)
- func (o *JobsOut) SetData(v []ResponseAnyOf)
- func (o *JobsOut) SetObject(v string)
- func (o *JobsOut) SetTotal(v int32)
- func (o JobsOut) ToMap() (map[string]interface{}, error)
- func (o *JobsOut) UnmarshalJSON(data []byte) (err error)
- type JsonSchema
- func (o *JsonSchema) GetDescription() string
- func (o *JsonSchema) GetDescriptionOk() (*string, bool)
- func (o *JsonSchema) GetName() string
- func (o *JsonSchema) GetNameOk() (*string, bool)
- func (o *JsonSchema) GetSchema() map[string]interface{}
- func (o *JsonSchema) GetSchemaOk() (map[string]interface{}, bool)
- func (o *JsonSchema) GetStrict() bool
- func (o *JsonSchema) GetStrictOk() (*bool, bool)
- func (o *JsonSchema) HasDescription() bool
- func (o *JsonSchema) HasStrict() bool
- func (o JsonSchema) MarshalJSON() ([]byte, error)
- func (o *JsonSchema) SetDescription(v string)
- func (o *JsonSchema) SetDescriptionNil()
- func (o *JsonSchema) SetName(v string)
- func (o *JsonSchema) SetSchema(v map[string]interface{})
- func (o *JsonSchema) SetStrict(v bool)
- func (o JsonSchema) ToMap() (map[string]interface{}, error)
- func (o *JsonSchema) UnmarshalJSON(data []byte) (err error)
- func (o *JsonSchema) UnsetDescription()
- type LegacyJobMetadataOut
- func (o *LegacyJobMetadataOut) GetCost() float32
- func (o *LegacyJobMetadataOut) GetCostCurrency() string
- func (o *LegacyJobMetadataOut) GetCostCurrencyOk() (*string, bool)
- func (o *LegacyJobMetadataOut) GetCostOk() (*float32, bool)
- func (o *LegacyJobMetadataOut) GetDataTokens() int32
- func (o *LegacyJobMetadataOut) GetDataTokensOk() (*int32, bool)
- func (o *LegacyJobMetadataOut) GetDeprecated() bool
- func (o *LegacyJobMetadataOut) GetDeprecatedOk() (*bool, bool)
- func (o *LegacyJobMetadataOut) GetDetails() string
- func (o *LegacyJobMetadataOut) GetDetailsOk() (*string, bool)
- func (o *LegacyJobMetadataOut) GetEpochs() float32
- func (o *LegacyJobMetadataOut) GetEpochsOk() (*float32, bool)
- func (o *LegacyJobMetadataOut) GetEstimatedStartTime() int32
- func (o *LegacyJobMetadataOut) GetEstimatedStartTimeOk() (*int32, bool)
- func (o *LegacyJobMetadataOut) GetExpectedDurationSeconds() int32
- func (o *LegacyJobMetadataOut) GetExpectedDurationSecondsOk() (*int32, bool)
- func (o *LegacyJobMetadataOut) GetObject() string
- func (o *LegacyJobMetadataOut) GetObjectOk() (*string, bool)
- func (o *LegacyJobMetadataOut) GetTrainTokens() int32
- func (o *LegacyJobMetadataOut) GetTrainTokensOk() (*int32, bool)
- func (o *LegacyJobMetadataOut) GetTrainTokensPerStep() int32
- func (o *LegacyJobMetadataOut) GetTrainTokensPerStepOk() (*int32, bool)
- func (o *LegacyJobMetadataOut) GetTrainingSteps() int32
- func (o *LegacyJobMetadataOut) GetTrainingStepsOk() (*int32, bool)
- func (o *LegacyJobMetadataOut) HasCost() bool
- func (o *LegacyJobMetadataOut) HasCostCurrency() bool
- func (o *LegacyJobMetadataOut) HasDataTokens() bool
- func (o *LegacyJobMetadataOut) HasDeprecated() bool
- func (o *LegacyJobMetadataOut) HasEpochs() bool
- func (o *LegacyJobMetadataOut) HasEstimatedStartTime() bool
- func (o *LegacyJobMetadataOut) HasExpectedDurationSeconds() bool
- func (o *LegacyJobMetadataOut) HasObject() bool
- func (o *LegacyJobMetadataOut) HasTrainTokens() bool
- func (o *LegacyJobMetadataOut) HasTrainTokensPerStep() bool
- func (o *LegacyJobMetadataOut) HasTrainingSteps() bool
- func (o LegacyJobMetadataOut) MarshalJSON() ([]byte, error)
- func (o *LegacyJobMetadataOut) SetCost(v float32)
- func (o *LegacyJobMetadataOut) SetCostCurrency(v string)
- func (o *LegacyJobMetadataOut) SetCostCurrencyNil()
- func (o *LegacyJobMetadataOut) SetCostNil()
- func (o *LegacyJobMetadataOut) SetDataTokens(v int32)
- func (o *LegacyJobMetadataOut) SetDataTokensNil()
- func (o *LegacyJobMetadataOut) SetDeprecated(v bool)
- func (o *LegacyJobMetadataOut) SetDetails(v string)
- func (o *LegacyJobMetadataOut) SetEpochs(v float32)
- func (o *LegacyJobMetadataOut) SetEpochsNil()
- func (o *LegacyJobMetadataOut) SetEstimatedStartTime(v int32)
- func (o *LegacyJobMetadataOut) SetEstimatedStartTimeNil()
- func (o *LegacyJobMetadataOut) SetExpectedDurationSeconds(v int32)
- func (o *LegacyJobMetadataOut) SetExpectedDurationSecondsNil()
- func (o *LegacyJobMetadataOut) SetObject(v string)
- func (o *LegacyJobMetadataOut) SetTrainTokens(v int32)
- func (o *LegacyJobMetadataOut) SetTrainTokensNil()
- func (o *LegacyJobMetadataOut) SetTrainTokensPerStep(v int32)
- func (o *LegacyJobMetadataOut) SetTrainTokensPerStepNil()
- func (o *LegacyJobMetadataOut) SetTrainingSteps(v int32)
- func (o *LegacyJobMetadataOut) SetTrainingStepsNil()
- func (o LegacyJobMetadataOut) ToMap() (map[string]interface{}, error)
- func (o *LegacyJobMetadataOut) UnmarshalJSON(data []byte) (err error)
- func (o *LegacyJobMetadataOut) UnsetCost()
- func (o *LegacyJobMetadataOut) UnsetCostCurrency()
- func (o *LegacyJobMetadataOut) UnsetDataTokens()
- func (o *LegacyJobMetadataOut) UnsetEpochs()
- func (o *LegacyJobMetadataOut) UnsetEstimatedStartTime()
- func (o *LegacyJobMetadataOut) UnsetExpectedDurationSeconds()
- func (o *LegacyJobMetadataOut) UnsetTrainTokens()
- func (o *LegacyJobMetadataOut) UnsetTrainTokensPerStep()
- func (o *LegacyJobMetadataOut) UnsetTrainingSteps()
- type LibraryIn
- func (o *LibraryIn) GetChunkSize() int32
- func (o *LibraryIn) GetChunkSizeOk() (*int32, bool)
- func (o *LibraryIn) GetDescription() string
- func (o *LibraryIn) GetDescriptionOk() (*string, bool)
- func (o *LibraryIn) GetName() string
- func (o *LibraryIn) GetNameOk() (*string, bool)
- func (o *LibraryIn) HasChunkSize() bool
- func (o *LibraryIn) HasDescription() bool
- func (o LibraryIn) MarshalJSON() ([]byte, error)
- func (o *LibraryIn) SetChunkSize(v int32)
- func (o *LibraryIn) SetChunkSizeNil()
- func (o *LibraryIn) SetDescription(v string)
- func (o *LibraryIn) SetDescriptionNil()
- func (o *LibraryIn) SetName(v string)
- func (o LibraryIn) ToMap() (map[string]interface{}, error)
- func (o *LibraryIn) UnmarshalJSON(data []byte) (err error)
- func (o *LibraryIn) UnsetChunkSize()
- func (o *LibraryIn) UnsetDescription()
- type LibraryInUpdate
- func (o *LibraryInUpdate) GetDescription() string
- func (o *LibraryInUpdate) GetDescriptionOk() (*string, bool)
- func (o *LibraryInUpdate) GetName() string
- func (o *LibraryInUpdate) GetNameOk() (*string, bool)
- func (o *LibraryInUpdate) HasDescription() bool
- func (o *LibraryInUpdate) HasName() bool
- func (o LibraryInUpdate) MarshalJSON() ([]byte, error)
- func (o *LibraryInUpdate) SetDescription(v string)
- func (o *LibraryInUpdate) SetDescriptionNil()
- func (o *LibraryInUpdate) SetName(v string)
- func (o *LibraryInUpdate) SetNameNil()
- func (o LibraryInUpdate) ToMap() (map[string]interface{}, error)
- func (o *LibraryInUpdate) UnmarshalJSON(data []byte) (err error)
- func (o *LibraryInUpdate) UnsetDescription()
- func (o *LibraryInUpdate) UnsetName()
- type LibraryOut
- func (o *LibraryOut) GetChunkSize() int32
- func (o *LibraryOut) GetChunkSizeOk() (*int32, bool)
- func (o *LibraryOut) GetCreatedAt() time.Time
- func (o *LibraryOut) GetCreatedAtOk() (*time.Time, bool)
- func (o *LibraryOut) GetDescription() string
- func (o *LibraryOut) GetDescriptionOk() (*string, bool)
- func (o *LibraryOut) GetEmoji() string
- func (o *LibraryOut) GetEmojiOk() (*string, bool)
- func (o *LibraryOut) GetExplicitUserMembersCount() int32
- func (o *LibraryOut) GetExplicitUserMembersCountOk() (*int32, bool)
- func (o *LibraryOut) GetExplicitWorkspaceMembersCount() int32
- func (o *LibraryOut) GetExplicitWorkspaceMembersCountOk() (*int32, bool)
- func (o *LibraryOut) GetGeneratedDescription() string
- func (o *LibraryOut) GetGeneratedDescriptionOk() (*string, bool)
- func (o *LibraryOut) GetGeneratedName() string
- func (o *LibraryOut) GetGeneratedNameOk() (*string, bool)
- func (o *LibraryOut) GetId() string
- func (o *LibraryOut) GetIdOk() (*string, bool)
- func (o *LibraryOut) GetName() string
- func (o *LibraryOut) GetNameOk() (*string, bool)
- func (o *LibraryOut) GetNbDocuments() int32
- func (o *LibraryOut) GetNbDocumentsOk() (*int32, bool)
- func (o *LibraryOut) GetOrgSharingRole() string
- func (o *LibraryOut) GetOrgSharingRoleOk() (*string, bool)
- func (o *LibraryOut) GetOwnerId() string
- func (o *LibraryOut) GetOwnerIdOk() (*string, bool)
- func (o *LibraryOut) GetOwnerType() string
- func (o *LibraryOut) GetOwnerTypeOk() (*string, bool)
- func (o *LibraryOut) GetTotalSize() int32
- func (o *LibraryOut) GetTotalSizeOk() (*int32, bool)
- func (o *LibraryOut) GetUpdatedAt() time.Time
- func (o *LibraryOut) GetUpdatedAtOk() (*time.Time, bool)
- func (o *LibraryOut) HasDescription() bool
- func (o *LibraryOut) HasEmoji() bool
- func (o *LibraryOut) HasExplicitUserMembersCount() bool
- func (o *LibraryOut) HasExplicitWorkspaceMembersCount() bool
- func (o *LibraryOut) HasGeneratedDescription() bool
- func (o *LibraryOut) HasGeneratedName() bool
- func (o *LibraryOut) HasOrgSharingRole() bool
- func (o LibraryOut) MarshalJSON() ([]byte, error)
- func (o *LibraryOut) SetChunkSize(v int32)
- func (o *LibraryOut) SetCreatedAt(v time.Time)
- func (o *LibraryOut) SetDescription(v string)
- func (o *LibraryOut) SetDescriptionNil()
- func (o *LibraryOut) SetEmoji(v string)
- func (o *LibraryOut) SetEmojiNil()
- func (o *LibraryOut) SetExplicitUserMembersCount(v int32)
- func (o *LibraryOut) SetExplicitUserMembersCountNil()
- func (o *LibraryOut) SetExplicitWorkspaceMembersCount(v int32)
- func (o *LibraryOut) SetExplicitWorkspaceMembersCountNil()
- func (o *LibraryOut) SetGeneratedDescription(v string)
- func (o *LibraryOut) SetGeneratedDescriptionNil()
- func (o *LibraryOut) SetGeneratedName(v string)
- func (o *LibraryOut) SetGeneratedNameNil()
- func (o *LibraryOut) SetId(v string)
- func (o *LibraryOut) SetName(v string)
- func (o *LibraryOut) SetNbDocuments(v int32)
- func (o *LibraryOut) SetOrgSharingRole(v string)
- func (o *LibraryOut) SetOrgSharingRoleNil()
- func (o *LibraryOut) SetOwnerId(v string)
- func (o *LibraryOut) SetOwnerType(v string)
- func (o *LibraryOut) SetTotalSize(v int32)
- func (o *LibraryOut) SetUpdatedAt(v time.Time)
- func (o LibraryOut) ToMap() (map[string]interface{}, error)
- func (o *LibraryOut) UnmarshalJSON(data []byte) (err error)
- func (o *LibraryOut) UnsetDescription()
- func (o *LibraryOut) UnsetEmoji()
- func (o *LibraryOut) UnsetExplicitUserMembersCount()
- func (o *LibraryOut) UnsetExplicitWorkspaceMembersCount()
- func (o *LibraryOut) UnsetGeneratedDescription()
- func (o *LibraryOut) UnsetGeneratedName()
- func (o *LibraryOut) UnsetOrgSharingRole()
- type ListDocumentOut
- func (o *ListDocumentOut) GetData() []DocumentOut
- func (o *ListDocumentOut) GetDataOk() ([]DocumentOut, bool)
- func (o *ListDocumentOut) GetPagination() PaginationInfo
- func (o *ListDocumentOut) GetPaginationOk() (*PaginationInfo, bool)
- func (o ListDocumentOut) MarshalJSON() ([]byte, error)
- func (o *ListDocumentOut) SetData(v []DocumentOut)
- func (o *ListDocumentOut) SetPagination(v PaginationInfo)
- func (o ListDocumentOut) ToMap() (map[string]interface{}, error)
- func (o *ListDocumentOut) UnmarshalJSON(data []byte) (err error)
- type ListFilesOut
- func (o *ListFilesOut) GetData() []FileSchema
- func (o *ListFilesOut) GetDataOk() ([]FileSchema, bool)
- func (o *ListFilesOut) GetObject() string
- func (o *ListFilesOut) GetObjectOk() (*string, bool)
- func (o *ListFilesOut) GetTotal() int32
- func (o *ListFilesOut) GetTotalOk() (*int32, bool)
- func (o *ListFilesOut) HasTotal() bool
- func (o ListFilesOut) MarshalJSON() ([]byte, error)
- func (o *ListFilesOut) SetData(v []FileSchema)
- func (o *ListFilesOut) SetObject(v string)
- func (o *ListFilesOut) SetTotal(v int32)
- func (o *ListFilesOut) SetTotalNil()
- func (o ListFilesOut) ToMap() (map[string]interface{}, error)
- func (o *ListFilesOut) UnmarshalJSON(data []byte) (err error)
- func (o *ListFilesOut) UnsetTotal()
- type ListLibraryOut
- func (o *ListLibraryOut) GetData() []LibraryOut
- func (o *ListLibraryOut) GetDataOk() ([]LibraryOut, bool)
- func (o ListLibraryOut) MarshalJSON() ([]byte, error)
- func (o *ListLibraryOut) SetData(v []LibraryOut)
- func (o ListLibraryOut) ToMap() (map[string]interface{}, error)
- func (o *ListLibraryOut) UnmarshalJSON(data []byte) (err error)
- type ListSharingOut
- func (o *ListSharingOut) GetData() []SharingOut
- func (o *ListSharingOut) GetDataOk() ([]SharingOut, bool)
- func (o ListSharingOut) MarshalJSON() ([]byte, error)
- func (o *ListSharingOut) SetData(v []SharingOut)
- func (o ListSharingOut) ToMap() (map[string]interface{}, error)
- func (o *ListSharingOut) UnmarshalJSON(data []byte) (err error)
- type LocationInner
- type MappedNullable
- type MessageEntriesInner
- type MessageInputContentChunksInner
- type MessageInputEntry
- func (o *MessageInputEntry) GetCompletedAt() time.Time
- func (o *MessageInputEntry) GetCompletedAtOk() (*time.Time, bool)
- func (o *MessageInputEntry) GetContent() Content
- func (o *MessageInputEntry) GetContentOk() (*Content, bool)
- func (o *MessageInputEntry) GetCreatedAt() time.Time
- func (o *MessageInputEntry) GetCreatedAtOk() (*time.Time, bool)
- func (o *MessageInputEntry) GetId() string
- func (o *MessageInputEntry) GetIdOk() (*string, bool)
- func (o *MessageInputEntry) GetObject() string
- func (o *MessageInputEntry) GetObjectOk() (*string, bool)
- func (o *MessageInputEntry) GetPrefix() bool
- func (o *MessageInputEntry) GetPrefixOk() (*bool, bool)
- func (o *MessageInputEntry) GetRole() string
- func (o *MessageInputEntry) GetRoleOk() (*string, bool)
- func (o *MessageInputEntry) GetType() string
- func (o *MessageInputEntry) GetTypeOk() (*string, bool)
- func (o *MessageInputEntry) HasCompletedAt() bool
- func (o *MessageInputEntry) HasCreatedAt() bool
- func (o *MessageInputEntry) HasId() bool
- func (o *MessageInputEntry) HasObject() bool
- func (o *MessageInputEntry) HasPrefix() bool
- func (o *MessageInputEntry) HasType() bool
- func (o MessageInputEntry) MarshalJSON() ([]byte, error)
- func (o *MessageInputEntry) SetCompletedAt(v time.Time)
- func (o *MessageInputEntry) SetCompletedAtNil()
- func (o *MessageInputEntry) SetContent(v Content)
- func (o *MessageInputEntry) SetCreatedAt(v time.Time)
- func (o *MessageInputEntry) SetId(v string)
- func (o *MessageInputEntry) SetObject(v string)
- func (o *MessageInputEntry) SetPrefix(v bool)
- func (o *MessageInputEntry) SetRole(v string)
- func (o *MessageInputEntry) SetType(v string)
- func (o MessageInputEntry) ToMap() (map[string]interface{}, error)
- func (o *MessageInputEntry) UnmarshalJSON(data []byte) (err error)
- func (o *MessageInputEntry) UnsetCompletedAt()
- type MessageOutputContentChunksInner
- type MessageOutputEntry
- func (o *MessageOutputEntry) GetAgentId() string
- func (o *MessageOutputEntry) GetAgentIdOk() (*string, bool)
- func (o *MessageOutputEntry) GetCompletedAt() time.Time
- func (o *MessageOutputEntry) GetCompletedAtOk() (*time.Time, bool)
- func (o *MessageOutputEntry) GetContent() Content1
- func (o *MessageOutputEntry) GetContentOk() (*Content1, bool)
- func (o *MessageOutputEntry) GetCreatedAt() time.Time
- func (o *MessageOutputEntry) GetCreatedAtOk() (*time.Time, bool)
- func (o *MessageOutputEntry) GetId() string
- func (o *MessageOutputEntry) GetIdOk() (*string, bool)
- func (o *MessageOutputEntry) GetModel() string
- func (o *MessageOutputEntry) GetModelOk() (*string, bool)
- func (o *MessageOutputEntry) GetObject() string
- func (o *MessageOutputEntry) GetObjectOk() (*string, bool)
- func (o *MessageOutputEntry) GetRole() string
- func (o *MessageOutputEntry) GetRoleOk() (*string, bool)
- func (o *MessageOutputEntry) GetType() string
- func (o *MessageOutputEntry) GetTypeOk() (*string, bool)
- func (o *MessageOutputEntry) HasAgentId() bool
- func (o *MessageOutputEntry) HasCompletedAt() bool
- func (o *MessageOutputEntry) HasCreatedAt() bool
- func (o *MessageOutputEntry) HasId() bool
- func (o *MessageOutputEntry) HasModel() bool
- func (o *MessageOutputEntry) HasObject() bool
- func (o *MessageOutputEntry) HasRole() bool
- func (o *MessageOutputEntry) HasType() bool
- func (o MessageOutputEntry) MarshalJSON() ([]byte, error)
- func (o *MessageOutputEntry) SetAgentId(v string)
- func (o *MessageOutputEntry) SetAgentIdNil()
- func (o *MessageOutputEntry) SetCompletedAt(v time.Time)
- func (o *MessageOutputEntry) SetCompletedAtNil()
- func (o *MessageOutputEntry) SetContent(v Content1)
- func (o *MessageOutputEntry) SetCreatedAt(v time.Time)
- func (o *MessageOutputEntry) SetId(v string)
- func (o *MessageOutputEntry) SetModel(v string)
- func (o *MessageOutputEntry) SetModelNil()
- func (o *MessageOutputEntry) SetObject(v string)
- func (o *MessageOutputEntry) SetRole(v string)
- func (o *MessageOutputEntry) SetType(v string)
- func (o MessageOutputEntry) ToMap() (map[string]interface{}, error)
- func (o *MessageOutputEntry) UnmarshalJSON(data []byte) (err error)
- func (o *MessageOutputEntry) UnsetAgentId()
- func (o *MessageOutputEntry) UnsetCompletedAt()
- func (o *MessageOutputEntry) UnsetModel()
- type MessageOutputEvent
- func (o *MessageOutputEvent) GetAgentId() string
- func (o *MessageOutputEvent) GetAgentIdOk() (*string, bool)
- func (o *MessageOutputEvent) GetContent() Content2
- func (o *MessageOutputEvent) GetContentIndex() int32
- func (o *MessageOutputEvent) GetContentIndexOk() (*int32, bool)
- func (o *MessageOutputEvent) GetContentOk() (*Content2, bool)
- func (o *MessageOutputEvent) GetCreatedAt() time.Time
- func (o *MessageOutputEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *MessageOutputEvent) GetId() string
- func (o *MessageOutputEvent) GetIdOk() (*string, bool)
- func (o *MessageOutputEvent) GetModel() string
- func (o *MessageOutputEvent) GetModelOk() (*string, bool)
- func (o *MessageOutputEvent) GetOutputIndex() int32
- func (o *MessageOutputEvent) GetOutputIndexOk() (*int32, bool)
- func (o *MessageOutputEvent) GetRole() string
- func (o *MessageOutputEvent) GetRoleOk() (*string, bool)
- func (o *MessageOutputEvent) GetType() string
- func (o *MessageOutputEvent) GetTypeOk() (*string, bool)
- func (o *MessageOutputEvent) HasAgentId() bool
- func (o *MessageOutputEvent) HasContentIndex() bool
- func (o *MessageOutputEvent) HasCreatedAt() bool
- func (o *MessageOutputEvent) HasModel() bool
- func (o *MessageOutputEvent) HasOutputIndex() bool
- func (o *MessageOutputEvent) HasRole() bool
- func (o *MessageOutputEvent) HasType() bool
- func (o MessageOutputEvent) MarshalJSON() ([]byte, error)
- func (o *MessageOutputEvent) SetAgentId(v string)
- func (o *MessageOutputEvent) SetAgentIdNil()
- func (o *MessageOutputEvent) SetContent(v Content2)
- func (o *MessageOutputEvent) SetContentIndex(v int32)
- func (o *MessageOutputEvent) SetCreatedAt(v time.Time)
- func (o *MessageOutputEvent) SetId(v string)
- func (o *MessageOutputEvent) SetModel(v string)
- func (o *MessageOutputEvent) SetModelNil()
- func (o *MessageOutputEvent) SetOutputIndex(v int32)
- func (o *MessageOutputEvent) SetRole(v string)
- func (o *MessageOutputEvent) SetType(v string)
- func (o MessageOutputEvent) ToMap() (map[string]interface{}, error)
- func (o *MessageOutputEvent) UnmarshalJSON(data []byte) (err error)
- func (o *MessageOutputEvent) UnsetAgentId()
- func (o *MessageOutputEvent) UnsetModel()
- type MessagesInner
- type MetricOut
- func (o *MetricOut) GetTrainLoss() float32
- func (o *MetricOut) GetTrainLossOk() (*float32, bool)
- func (o *MetricOut) GetValidLoss() float32
- func (o *MetricOut) GetValidLossOk() (*float32, bool)
- func (o *MetricOut) GetValidMeanTokenAccuracy() float32
- func (o *MetricOut) GetValidMeanTokenAccuracyOk() (*float32, bool)
- func (o *MetricOut) HasTrainLoss() bool
- func (o *MetricOut) HasValidLoss() bool
- func (o *MetricOut) HasValidMeanTokenAccuracy() bool
- func (o MetricOut) MarshalJSON() ([]byte, error)
- func (o *MetricOut) SetTrainLoss(v float32)
- func (o *MetricOut) SetTrainLossNil()
- func (o *MetricOut) SetValidLoss(v float32)
- func (o *MetricOut) SetValidLossNil()
- func (o *MetricOut) SetValidMeanTokenAccuracy(v float32)
- func (o *MetricOut) SetValidMeanTokenAccuracyNil()
- func (o MetricOut) ToMap() (map[string]interface{}, error)
- func (o *MetricOut) UnmarshalJSON(data []byte) (err error)
- func (o *MetricOut) UnsetTrainLoss()
- func (o *MetricOut) UnsetValidLoss()
- func (o *MetricOut) UnsetValidMeanTokenAccuracy()
- type MistralPromptMode
- type ModelCapabilities
- func (o *ModelCapabilities) GetAudio() bool
- func (o *ModelCapabilities) GetAudioOk() (*bool, bool)
- func (o *ModelCapabilities) GetAudioTranscription() bool
- func (o *ModelCapabilities) GetAudioTranscriptionOk() (*bool, bool)
- func (o *ModelCapabilities) GetClassification() bool
- func (o *ModelCapabilities) GetClassificationOk() (*bool, bool)
- func (o *ModelCapabilities) GetCompletionChat() bool
- func (o *ModelCapabilities) GetCompletionChatOk() (*bool, bool)
- func (o *ModelCapabilities) GetCompletionFim() bool
- func (o *ModelCapabilities) GetCompletionFimOk() (*bool, bool)
- func (o *ModelCapabilities) GetFineTuning() bool
- func (o *ModelCapabilities) GetFineTuningOk() (*bool, bool)
- func (o *ModelCapabilities) GetFunctionCalling() bool
- func (o *ModelCapabilities) GetFunctionCallingOk() (*bool, bool)
- func (o *ModelCapabilities) GetModeration() bool
- func (o *ModelCapabilities) GetModerationOk() (*bool, bool)
- func (o *ModelCapabilities) GetOcr() bool
- func (o *ModelCapabilities) GetOcrOk() (*bool, bool)
- func (o *ModelCapabilities) GetVision() bool
- func (o *ModelCapabilities) GetVisionOk() (*bool, bool)
- func (o *ModelCapabilities) HasAudio() bool
- func (o *ModelCapabilities) HasAudioTranscription() bool
- func (o *ModelCapabilities) HasClassification() bool
- func (o *ModelCapabilities) HasCompletionChat() bool
- func (o *ModelCapabilities) HasCompletionFim() bool
- func (o *ModelCapabilities) HasFineTuning() bool
- func (o *ModelCapabilities) HasFunctionCalling() bool
- func (o *ModelCapabilities) HasModeration() bool
- func (o *ModelCapabilities) HasOcr() bool
- func (o *ModelCapabilities) HasVision() bool
- func (o ModelCapabilities) MarshalJSON() ([]byte, error)
- func (o *ModelCapabilities) SetAudio(v bool)
- func (o *ModelCapabilities) SetAudioTranscription(v bool)
- func (o *ModelCapabilities) SetClassification(v bool)
- func (o *ModelCapabilities) SetCompletionChat(v bool)
- func (o *ModelCapabilities) SetCompletionFim(v bool)
- func (o *ModelCapabilities) SetFineTuning(v bool)
- func (o *ModelCapabilities) SetFunctionCalling(v bool)
- func (o *ModelCapabilities) SetModeration(v bool)
- func (o *ModelCapabilities) SetOcr(v bool)
- func (o *ModelCapabilities) SetVision(v bool)
- func (o ModelCapabilities) ToMap() (map[string]interface{}, error)
- func (o *ModelCapabilities) UnmarshalJSON(data []byte) (err error)
- type ModelConversation
- func (o *ModelConversation) GetCompletionArgs() CompletionArgs
- func (o *ModelConversation) GetCompletionArgsOk() (*CompletionArgs, bool)
- func (o *ModelConversation) GetCreatedAt() time.Time
- func (o *ModelConversation) GetCreatedAtOk() (*time.Time, bool)
- func (o *ModelConversation) GetDescription() string
- func (o *ModelConversation) GetDescriptionOk() (*string, bool)
- func (o *ModelConversation) GetId() string
- func (o *ModelConversation) GetIdOk() (*string, bool)
- func (o *ModelConversation) GetInstructions() string
- func (o *ModelConversation) GetInstructionsOk() (*string, bool)
- func (o *ModelConversation) GetMetadata() map[string]interface{}
- func (o *ModelConversation) GetMetadataOk() (map[string]interface{}, bool)
- func (o *ModelConversation) GetModel() string
- func (o *ModelConversation) GetModelOk() (*string, bool)
- func (o *ModelConversation) GetName() string
- func (o *ModelConversation) GetNameOk() (*string, bool)
- func (o *ModelConversation) GetObject() string
- func (o *ModelConversation) GetObjectOk() (*string, bool)
- func (o *ModelConversation) GetTools() []ToolsInner
- func (o *ModelConversation) GetToolsOk() ([]ToolsInner, bool)
- func (o *ModelConversation) GetUpdatedAt() time.Time
- func (o *ModelConversation) GetUpdatedAtOk() (*time.Time, bool)
- func (o *ModelConversation) HasCompletionArgs() bool
- func (o *ModelConversation) HasDescription() bool
- func (o *ModelConversation) HasInstructions() bool
- func (o *ModelConversation) HasMetadata() bool
- func (o *ModelConversation) HasName() bool
- func (o *ModelConversation) HasObject() bool
- func (o *ModelConversation) HasTools() bool
- func (o ModelConversation) MarshalJSON() ([]byte, error)
- func (o *ModelConversation) SetCompletionArgs(v CompletionArgs)
- func (o *ModelConversation) SetCreatedAt(v time.Time)
- func (o *ModelConversation) SetDescription(v string)
- func (o *ModelConversation) SetDescriptionNil()
- func (o *ModelConversation) SetId(v string)
- func (o *ModelConversation) SetInstructions(v string)
- func (o *ModelConversation) SetInstructionsNil()
- func (o *ModelConversation) SetMetadata(v map[string]interface{})
- func (o *ModelConversation) SetModel(v string)
- func (o *ModelConversation) SetName(v string)
- func (o *ModelConversation) SetNameNil()
- func (o *ModelConversation) SetObject(v string)
- func (o *ModelConversation) SetTools(v []ToolsInner)
- func (o *ModelConversation) SetUpdatedAt(v time.Time)
- func (o ModelConversation) ToMap() (map[string]interface{}, error)
- func (o *ModelConversation) UnmarshalJSON(data []byte) (err error)
- func (o *ModelConversation) UnsetDescription()
- func (o *ModelConversation) UnsetInstructions()
- func (o *ModelConversation) UnsetName()
- type ModelList
- func (o *ModelList) GetData() []DataInner
- func (o *ModelList) GetDataOk() ([]DataInner, bool)
- func (o *ModelList) GetObject() string
- func (o *ModelList) GetObjectOk() (*string, bool)
- func (o *ModelList) HasData() bool
- func (o *ModelList) HasObject() bool
- func (o ModelList) MarshalJSON() ([]byte, error)
- func (o *ModelList) SetData(v []DataInner)
- func (o *ModelList) SetObject(v string)
- func (o ModelList) ToMap() (map[string]interface{}, error)
- func (o *ModelList) UnmarshalJSON(data []byte) (err error)
- type ModelsAPI
- type ModelsAPIService
- func (a *ModelsAPIService) DeleteModelV1ModelsModelIdDelete(ctx context.Context, modelId string) ApiDeleteModelV1ModelsModelIdDeleteRequest
- func (a *ModelsAPIService) DeleteModelV1ModelsModelIdDeleteExecute(r ApiDeleteModelV1ModelsModelIdDeleteRequest) (*DeleteModelOut, *http.Response, error)
- func (a *ModelsAPIService) JobsApiRoutesFineTuningArchiveFineTunedModel(ctx context.Context, modelId string) ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest
- func (a *ModelsAPIService) JobsApiRoutesFineTuningArchiveFineTunedModelExecute(r ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest) (*ArchiveFTModelOut, *http.Response, error)
- func (a *ModelsAPIService) JobsApiRoutesFineTuningUnarchiveFineTunedModel(ctx context.Context, modelId string) ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest
- func (a *ModelsAPIService) JobsApiRoutesFineTuningUnarchiveFineTunedModelExecute(r ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest) (*UnarchiveFTModelOut, *http.Response, error)
- func (a *ModelsAPIService) JobsApiRoutesFineTuningUpdateFineTunedModel(ctx context.Context, modelId string) ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest
- func (a *ModelsAPIService) JobsApiRoutesFineTuningUpdateFineTunedModelExecute(r ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest) (*Response2, *http.Response, error)
- func (a *ModelsAPIService) ListModelsV1ModelsGet(ctx context.Context) ApiListModelsV1ModelsGetRequest
- func (a *ModelsAPIService) ListModelsV1ModelsGetExecute(r ApiListModelsV1ModelsGetRequest) (*ModelList, *http.Response, error)
- func (a *ModelsAPIService) RetrieveModelV1ModelsModelIdGet(ctx context.Context, modelId string) ApiRetrieveModelV1ModelsModelIdGetRequest
- func (a *ModelsAPIService) RetrieveModelV1ModelsModelIdGetExecute(r ApiRetrieveModelV1ModelsModelIdGetRequest) (*ResponseRetrieveModelV1ModelsModelIdGet, *http.Response, error)
- type ModerationObject
- func (o *ModerationObject) GetCategories() map[string]bool
- func (o *ModerationObject) GetCategoriesOk() (map[string]bool, bool)
- func (o *ModerationObject) GetCategoryScores() map[string]float32
- func (o *ModerationObject) GetCategoryScoresOk() (map[string]float32, bool)
- func (o *ModerationObject) HasCategories() bool
- func (o *ModerationObject) HasCategoryScores() bool
- func (o ModerationObject) MarshalJSON() ([]byte, error)
- func (o *ModerationObject) SetCategories(v map[string]bool)
- func (o *ModerationObject) SetCategoryScores(v map[string]float32)
- func (o ModerationObject) ToMap() (map[string]interface{}, error)
- func (o *ModerationObject) UnmarshalJSON(data []byte) (err error)
- type ModerationResponse
- func (o *ModerationResponse) GetId() string
- func (o *ModerationResponse) GetIdOk() (*string, bool)
- func (o *ModerationResponse) GetModel() string
- func (o *ModerationResponse) GetModelOk() (*string, bool)
- func (o *ModerationResponse) GetResults() []ModerationObject
- func (o *ModerationResponse) GetResultsOk() ([]ModerationObject, bool)
- func (o ModerationResponse) MarshalJSON() ([]byte, error)
- func (o *ModerationResponse) SetId(v string)
- func (o *ModerationResponse) SetModel(v string)
- func (o *ModerationResponse) SetResults(v []ModerationObject)
- func (o ModerationResponse) ToMap() (map[string]interface{}, error)
- func (o *ModerationResponse) UnmarshalJSON(data []byte) (err error)
- type Name
- type NullableAgent
- type NullableAgentAliasResponse
- func (v NullableAgentAliasResponse) Get() *AgentAliasResponse
- func (v NullableAgentAliasResponse) IsSet() bool
- func (v NullableAgentAliasResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAgentAliasResponse) Set(val *AgentAliasResponse)
- func (v *NullableAgentAliasResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAgentAliasResponse) Unset()
- type NullableAgentConversation
- func (v NullableAgentConversation) Get() *AgentConversation
- func (v NullableAgentConversation) IsSet() bool
- func (v NullableAgentConversation) MarshalJSON() ([]byte, error)
- func (v *NullableAgentConversation) Set(val *AgentConversation)
- func (v *NullableAgentConversation) UnmarshalJSON(src []byte) error
- func (v *NullableAgentConversation) Unset()
- type NullableAgentCreationRequest
- func (v NullableAgentCreationRequest) Get() *AgentCreationRequest
- func (v NullableAgentCreationRequest) IsSet() bool
- func (v NullableAgentCreationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAgentCreationRequest) Set(val *AgentCreationRequest)
- func (v *NullableAgentCreationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAgentCreationRequest) Unset()
- type NullableAgentHandoffDoneEvent
- func (v NullableAgentHandoffDoneEvent) Get() *AgentHandoffDoneEvent
- func (v NullableAgentHandoffDoneEvent) IsSet() bool
- func (v NullableAgentHandoffDoneEvent) MarshalJSON() ([]byte, error)
- func (v *NullableAgentHandoffDoneEvent) Set(val *AgentHandoffDoneEvent)
- func (v *NullableAgentHandoffDoneEvent) UnmarshalJSON(src []byte) error
- func (v *NullableAgentHandoffDoneEvent) Unset()
- type NullableAgentHandoffEntry
- func (v NullableAgentHandoffEntry) Get() *AgentHandoffEntry
- func (v NullableAgentHandoffEntry) IsSet() bool
- func (v NullableAgentHandoffEntry) MarshalJSON() ([]byte, error)
- func (v *NullableAgentHandoffEntry) Set(val *AgentHandoffEntry)
- func (v *NullableAgentHandoffEntry) UnmarshalJSON(src []byte) error
- func (v *NullableAgentHandoffEntry) Unset()
- type NullableAgentHandoffStartedEvent
- func (v NullableAgentHandoffStartedEvent) Get() *AgentHandoffStartedEvent
- func (v NullableAgentHandoffStartedEvent) IsSet() bool
- func (v NullableAgentHandoffStartedEvent) MarshalJSON() ([]byte, error)
- func (v *NullableAgentHandoffStartedEvent) Set(val *AgentHandoffStartedEvent)
- func (v *NullableAgentHandoffStartedEvent) UnmarshalJSON(src []byte) error
- func (v *NullableAgentHandoffStartedEvent) Unset()
- type NullableAgentUpdateRequest
- func (v NullableAgentUpdateRequest) Get() *AgentUpdateRequest
- func (v NullableAgentUpdateRequest) IsSet() bool
- func (v NullableAgentUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAgentUpdateRequest) Set(val *AgentUpdateRequest)
- func (v *NullableAgentUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAgentUpdateRequest) Unset()
- type NullableAgentVersion
- func (v NullableAgentVersion) Get() *AgentVersion
- func (v NullableAgentVersion) IsSet() bool
- func (v NullableAgentVersion) MarshalJSON() ([]byte, error)
- func (v *NullableAgentVersion) Set(val *AgentVersion)
- func (v *NullableAgentVersion) UnmarshalJSON(src []byte) error
- func (v *NullableAgentVersion) Unset()
- type NullableAgentVersion1
- func (v NullableAgentVersion1) Get() *AgentVersion1
- func (v NullableAgentVersion1) IsSet() bool
- func (v NullableAgentVersion1) MarshalJSON() ([]byte, error)
- func (v *NullableAgentVersion1) Set(val *AgentVersion1)
- func (v *NullableAgentVersion1) UnmarshalJSON(src []byte) error
- func (v *NullableAgentVersion1) Unset()
- type NullableAgentVersion2
- func (v NullableAgentVersion2) Get() *AgentVersion2
- func (v NullableAgentVersion2) IsSet() bool
- func (v NullableAgentVersion2) MarshalJSON() ([]byte, error)
- func (v *NullableAgentVersion2) Set(val *AgentVersion2)
- func (v *NullableAgentVersion2) UnmarshalJSON(src []byte) error
- func (v *NullableAgentVersion2) Unset()
- type NullableAgentsCompletionRequest
- func (v NullableAgentsCompletionRequest) Get() *AgentsCompletionRequest
- func (v NullableAgentsCompletionRequest) IsSet() bool
- func (v NullableAgentsCompletionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableAgentsCompletionRequest) Set(val *AgentsCompletionRequest)
- func (v *NullableAgentsCompletionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableAgentsCompletionRequest) Unset()
- type NullableApiEndpoint
- func (v NullableApiEndpoint) Get() *ApiEndpoint
- func (v NullableApiEndpoint) IsSet() bool
- func (v NullableApiEndpoint) MarshalJSON() ([]byte, error)
- func (v *NullableApiEndpoint) Set(val *ApiEndpoint)
- func (v *NullableApiEndpoint) UnmarshalJSON(src []byte) error
- func (v *NullableApiEndpoint) Unset()
- type NullableArchiveFTModelOut
- func (v NullableArchiveFTModelOut) Get() *ArchiveFTModelOut
- func (v NullableArchiveFTModelOut) IsSet() bool
- func (v NullableArchiveFTModelOut) MarshalJSON() ([]byte, error)
- func (v *NullableArchiveFTModelOut) Set(val *ArchiveFTModelOut)
- func (v *NullableArchiveFTModelOut) UnmarshalJSON(src []byte) error
- func (v *NullableArchiveFTModelOut) Unset()
- type NullableArguments
- type NullableAssistantMessage
- func (v NullableAssistantMessage) Get() *AssistantMessage
- func (v NullableAssistantMessage) IsSet() bool
- func (v NullableAssistantMessage) MarshalJSON() ([]byte, error)
- func (v *NullableAssistantMessage) Set(val *AssistantMessage)
- func (v *NullableAssistantMessage) UnmarshalJSON(src []byte) error
- func (v *NullableAssistantMessage) Unset()
- type NullableAudioChunk
- type NullableAudioEncoding
- func (v NullableAudioEncoding) Get() *AudioEncoding
- func (v NullableAudioEncoding) IsSet() bool
- func (v NullableAudioEncoding) MarshalJSON() ([]byte, error)
- func (v *NullableAudioEncoding) Set(val *AudioEncoding)
- func (v *NullableAudioEncoding) UnmarshalJSON(src []byte) error
- func (v *NullableAudioEncoding) Unset()
- type NullableAudioFormat
- func (v NullableAudioFormat) Get() *AudioFormat
- func (v NullableAudioFormat) IsSet() bool
- func (v NullableAudioFormat) MarshalJSON() ([]byte, error)
- func (v *NullableAudioFormat) Set(val *AudioFormat)
- func (v *NullableAudioFormat) UnmarshalJSON(src []byte) error
- func (v *NullableAudioFormat) Unset()
- type NullableBaseModelCard
- func (v NullableBaseModelCard) Get() *BaseModelCard
- func (v NullableBaseModelCard) IsSet() bool
- func (v NullableBaseModelCard) MarshalJSON() ([]byte, error)
- func (v *NullableBaseModelCard) Set(val *BaseModelCard)
- func (v *NullableBaseModelCard) UnmarshalJSON(src []byte) error
- func (v *NullableBaseModelCard) Unset()
- type NullableBatchError
- type NullableBatchJobIn
- type NullableBatchJobOut
- func (v NullableBatchJobOut) Get() *BatchJobOut
- func (v NullableBatchJobOut) IsSet() bool
- func (v NullableBatchJobOut) MarshalJSON() ([]byte, error)
- func (v *NullableBatchJobOut) Set(val *BatchJobOut)
- func (v *NullableBatchJobOut) UnmarshalJSON(src []byte) error
- func (v *NullableBatchJobOut) Unset()
- type NullableBatchJobStatus
- func (v NullableBatchJobStatus) Get() *BatchJobStatus
- func (v NullableBatchJobStatus) IsSet() bool
- func (v NullableBatchJobStatus) MarshalJSON() ([]byte, error)
- func (v *NullableBatchJobStatus) Set(val *BatchJobStatus)
- func (v *NullableBatchJobStatus) UnmarshalJSON(src []byte) error
- func (v *NullableBatchJobStatus) Unset()
- type NullableBatchJobsOut
- func (v NullableBatchJobsOut) Get() *BatchJobsOut
- func (v NullableBatchJobsOut) IsSet() bool
- func (v NullableBatchJobsOut) MarshalJSON() ([]byte, error)
- func (v *NullableBatchJobsOut) Set(val *BatchJobsOut)
- func (v *NullableBatchJobsOut) UnmarshalJSON(src []byte) error
- func (v *NullableBatchJobsOut) Unset()
- type NullableBatchRequest
- func (v NullableBatchRequest) Get() *BatchRequest
- func (v NullableBatchRequest) IsSet() bool
- func (v NullableBatchRequest) MarshalJSON() ([]byte, error)
- func (v *NullableBatchRequest) Set(val *BatchRequest)
- func (v *NullableBatchRequest) UnmarshalJSON(src []byte) error
- func (v *NullableBatchRequest) Unset()
- type NullableBool
- type NullableBuiltInConnectors
- func (v NullableBuiltInConnectors) Get() *BuiltInConnectors
- func (v NullableBuiltInConnectors) IsSet() bool
- func (v NullableBuiltInConnectors) MarshalJSON() ([]byte, error)
- func (v *NullableBuiltInConnectors) Set(val *BuiltInConnectors)
- func (v *NullableBuiltInConnectors) UnmarshalJSON(src []byte) error
- func (v *NullableBuiltInConnectors) Unset()
- type NullableChatClassificationRequest
- func (v NullableChatClassificationRequest) Get() *ChatClassificationRequest
- func (v NullableChatClassificationRequest) IsSet() bool
- func (v NullableChatClassificationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChatClassificationRequest) Set(val *ChatClassificationRequest)
- func (v *NullableChatClassificationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChatClassificationRequest) Unset()
- type NullableChatClassificationRequestInputs
- func (v NullableChatClassificationRequestInputs) Get() *ChatClassificationRequestInputs
- func (v NullableChatClassificationRequestInputs) IsSet() bool
- func (v NullableChatClassificationRequestInputs) MarshalJSON() ([]byte, error)
- func (v *NullableChatClassificationRequestInputs) Set(val *ChatClassificationRequestInputs)
- func (v *NullableChatClassificationRequestInputs) UnmarshalJSON(src []byte) error
- func (v *NullableChatClassificationRequestInputs) Unset()
- type NullableChatCompletionChoice
- func (v NullableChatCompletionChoice) Get() *ChatCompletionChoice
- func (v NullableChatCompletionChoice) IsSet() bool
- func (v NullableChatCompletionChoice) MarshalJSON() ([]byte, error)
- func (v *NullableChatCompletionChoice) Set(val *ChatCompletionChoice)
- func (v *NullableChatCompletionChoice) UnmarshalJSON(src []byte) error
- func (v *NullableChatCompletionChoice) Unset()
- type NullableChatCompletionRequest
- func (v NullableChatCompletionRequest) Get() *ChatCompletionRequest
- func (v NullableChatCompletionRequest) IsSet() bool
- func (v NullableChatCompletionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChatCompletionRequest) Set(val *ChatCompletionRequest)
- func (v *NullableChatCompletionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChatCompletionRequest) Unset()
- type NullableChatCompletionResponse
- func (v NullableChatCompletionResponse) Get() *ChatCompletionResponse
- func (v NullableChatCompletionResponse) IsSet() bool
- func (v NullableChatCompletionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableChatCompletionResponse) Set(val *ChatCompletionResponse)
- func (v *NullableChatCompletionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableChatCompletionResponse) Unset()
- type NullableChatCompletionResponseBase
- func (v NullableChatCompletionResponseBase) Get() *ChatCompletionResponseBase
- func (v NullableChatCompletionResponseBase) IsSet() bool
- func (v NullableChatCompletionResponseBase) MarshalJSON() ([]byte, error)
- func (v *NullableChatCompletionResponseBase) Set(val *ChatCompletionResponseBase)
- func (v *NullableChatCompletionResponseBase) UnmarshalJSON(src []byte) error
- func (v *NullableChatCompletionResponseBase) Unset()
- type NullableChatModerationRequest
- func (v NullableChatModerationRequest) Get() *ChatModerationRequest
- func (v NullableChatModerationRequest) IsSet() bool
- func (v NullableChatModerationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableChatModerationRequest) Set(val *ChatModerationRequest)
- func (v *NullableChatModerationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableChatModerationRequest) Unset()
- type NullableCheckpointOut
- func (v NullableCheckpointOut) Get() *CheckpointOut
- func (v NullableCheckpointOut) IsSet() bool
- func (v NullableCheckpointOut) MarshalJSON() ([]byte, error)
- func (v *NullableCheckpointOut) Set(val *CheckpointOut)
- func (v *NullableCheckpointOut) UnmarshalJSON(src []byte) error
- func (v *NullableCheckpointOut) Unset()
- type NullableClassificationRequest
- func (v NullableClassificationRequest) Get() *ClassificationRequest
- func (v NullableClassificationRequest) IsSet() bool
- func (v NullableClassificationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableClassificationRequest) Set(val *ClassificationRequest)
- func (v *NullableClassificationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableClassificationRequest) Unset()
- type NullableClassificationResponse
- func (v NullableClassificationResponse) Get() *ClassificationResponse
- func (v NullableClassificationResponse) IsSet() bool
- func (v NullableClassificationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableClassificationResponse) Set(val *ClassificationResponse)
- func (v *NullableClassificationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableClassificationResponse) Unset()
- type NullableClassificationTargetResult
- func (v NullableClassificationTargetResult) Get() *ClassificationTargetResult
- func (v NullableClassificationTargetResult) IsSet() bool
- func (v NullableClassificationTargetResult) MarshalJSON() ([]byte, error)
- func (v *NullableClassificationTargetResult) Set(val *ClassificationTargetResult)
- func (v *NullableClassificationTargetResult) UnmarshalJSON(src []byte) error
- func (v *NullableClassificationTargetResult) Unset()
- type NullableClassifierDetailedJobOut
- func (v NullableClassifierDetailedJobOut) Get() *ClassifierDetailedJobOut
- func (v NullableClassifierDetailedJobOut) IsSet() bool
- func (v NullableClassifierDetailedJobOut) MarshalJSON() ([]byte, error)
- func (v *NullableClassifierDetailedJobOut) Set(val *ClassifierDetailedJobOut)
- func (v *NullableClassifierDetailedJobOut) UnmarshalJSON(src []byte) error
- func (v *NullableClassifierDetailedJobOut) Unset()
- type NullableClassifierFTModelOut
- func (v NullableClassifierFTModelOut) Get() *ClassifierFTModelOut
- func (v NullableClassifierFTModelOut) IsSet() bool
- func (v NullableClassifierFTModelOut) MarshalJSON() ([]byte, error)
- func (v *NullableClassifierFTModelOut) Set(val *ClassifierFTModelOut)
- func (v *NullableClassifierFTModelOut) UnmarshalJSON(src []byte) error
- func (v *NullableClassifierFTModelOut) Unset()
- type NullableClassifierJobOut
- func (v NullableClassifierJobOut) Get() *ClassifierJobOut
- func (v NullableClassifierJobOut) IsSet() bool
- func (v NullableClassifierJobOut) MarshalJSON() ([]byte, error)
- func (v *NullableClassifierJobOut) Set(val *ClassifierJobOut)
- func (v *NullableClassifierJobOut) UnmarshalJSON(src []byte) error
- func (v *NullableClassifierJobOut) Unset()
- type NullableClassifierTargetIn
- func (v NullableClassifierTargetIn) Get() *ClassifierTargetIn
- func (v NullableClassifierTargetIn) IsSet() bool
- func (v NullableClassifierTargetIn) MarshalJSON() ([]byte, error)
- func (v *NullableClassifierTargetIn) Set(val *ClassifierTargetIn)
- func (v *NullableClassifierTargetIn) UnmarshalJSON(src []byte) error
- func (v *NullableClassifierTargetIn) Unset()
- type NullableClassifierTargetOut
- func (v NullableClassifierTargetOut) Get() *ClassifierTargetOut
- func (v NullableClassifierTargetOut) IsSet() bool
- func (v NullableClassifierTargetOut) MarshalJSON() ([]byte, error)
- func (v *NullableClassifierTargetOut) Set(val *ClassifierTargetOut)
- func (v *NullableClassifierTargetOut) UnmarshalJSON(src []byte) error
- func (v *NullableClassifierTargetOut) Unset()
- type NullableClassifierTrainingParameters
- func (v NullableClassifierTrainingParameters) Get() *ClassifierTrainingParameters
- func (v NullableClassifierTrainingParameters) IsSet() bool
- func (v NullableClassifierTrainingParameters) MarshalJSON() ([]byte, error)
- func (v *NullableClassifierTrainingParameters) Set(val *ClassifierTrainingParameters)
- func (v *NullableClassifierTrainingParameters) UnmarshalJSON(src []byte) error
- func (v *NullableClassifierTrainingParameters) Unset()
- type NullableClassifierTrainingParametersIn
- func (v NullableClassifierTrainingParametersIn) Get() *ClassifierTrainingParametersIn
- func (v NullableClassifierTrainingParametersIn) IsSet() bool
- func (v NullableClassifierTrainingParametersIn) MarshalJSON() ([]byte, error)
- func (v *NullableClassifierTrainingParametersIn) Set(val *ClassifierTrainingParametersIn)
- func (v *NullableClassifierTrainingParametersIn) UnmarshalJSON(src []byte) error
- func (v *NullableClassifierTrainingParametersIn) Unset()
- type NullableCodeInterpreterTool
- func (v NullableCodeInterpreterTool) Get() *CodeInterpreterTool
- func (v NullableCodeInterpreterTool) IsSet() bool
- func (v NullableCodeInterpreterTool) MarshalJSON() ([]byte, error)
- func (v *NullableCodeInterpreterTool) Set(val *CodeInterpreterTool)
- func (v *NullableCodeInterpreterTool) UnmarshalJSON(src []byte) error
- func (v *NullableCodeInterpreterTool) Unset()
- type NullableCompletionArgs
- func (v NullableCompletionArgs) Get() *CompletionArgs
- func (v NullableCompletionArgs) IsSet() bool
- func (v NullableCompletionArgs) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionArgs) Set(val *CompletionArgs)
- func (v *NullableCompletionArgs) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionArgs) Unset()
- type NullableCompletionArgsStop
- func (v NullableCompletionArgsStop) Get() *CompletionArgsStop
- func (v NullableCompletionArgsStop) IsSet() bool
- func (v NullableCompletionArgsStop) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionArgsStop) Set(val *CompletionArgsStop)
- func (v *NullableCompletionArgsStop) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionArgsStop) Unset()
- type NullableCompletionChunk
- func (v NullableCompletionChunk) Get() *CompletionChunk
- func (v NullableCompletionChunk) IsSet() bool
- func (v NullableCompletionChunk) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionChunk) Set(val *CompletionChunk)
- func (v *NullableCompletionChunk) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionChunk) Unset()
- type NullableCompletionDetailedJobOut
- func (v NullableCompletionDetailedJobOut) Get() *CompletionDetailedJobOut
- func (v NullableCompletionDetailedJobOut) IsSet() bool
- func (v NullableCompletionDetailedJobOut) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionDetailedJobOut) Set(val *CompletionDetailedJobOut)
- func (v *NullableCompletionDetailedJobOut) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionDetailedJobOut) Unset()
- type NullableCompletionEvent
- func (v NullableCompletionEvent) Get() *CompletionEvent
- func (v NullableCompletionEvent) IsSet() bool
- func (v NullableCompletionEvent) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionEvent) Set(val *CompletionEvent)
- func (v *NullableCompletionEvent) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionEvent) Unset()
- type NullableCompletionFTModelOut
- func (v NullableCompletionFTModelOut) Get() *CompletionFTModelOut
- func (v NullableCompletionFTModelOut) IsSet() bool
- func (v NullableCompletionFTModelOut) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionFTModelOut) Set(val *CompletionFTModelOut)
- func (v *NullableCompletionFTModelOut) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionFTModelOut) Unset()
- type NullableCompletionJobOut
- func (v NullableCompletionJobOut) Get() *CompletionJobOut
- func (v NullableCompletionJobOut) IsSet() bool
- func (v NullableCompletionJobOut) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionJobOut) Set(val *CompletionJobOut)
- func (v *NullableCompletionJobOut) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionJobOut) Unset()
- type NullableCompletionResponseStreamChoice
- func (v NullableCompletionResponseStreamChoice) Get() *CompletionResponseStreamChoice
- func (v NullableCompletionResponseStreamChoice) IsSet() bool
- func (v NullableCompletionResponseStreamChoice) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionResponseStreamChoice) Set(val *CompletionResponseStreamChoice)
- func (v *NullableCompletionResponseStreamChoice) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionResponseStreamChoice) Unset()
- type NullableCompletionTrainingParameters
- func (v NullableCompletionTrainingParameters) Get() *CompletionTrainingParameters
- func (v NullableCompletionTrainingParameters) IsSet() bool
- func (v NullableCompletionTrainingParameters) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionTrainingParameters) Set(val *CompletionTrainingParameters)
- func (v *NullableCompletionTrainingParameters) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionTrainingParameters) Unset()
- type NullableCompletionTrainingParametersIn
- func (v NullableCompletionTrainingParametersIn) Get() *CompletionTrainingParametersIn
- func (v NullableCompletionTrainingParametersIn) IsSet() bool
- func (v NullableCompletionTrainingParametersIn) MarshalJSON() ([]byte, error)
- func (v *NullableCompletionTrainingParametersIn) Set(val *CompletionTrainingParametersIn)
- func (v *NullableCompletionTrainingParametersIn) UnmarshalJSON(src []byte) error
- func (v *NullableCompletionTrainingParametersIn) Unset()
- type NullableContent
- type NullableContent1
- type NullableContent2
- type NullableContent3
- type NullableContent4
- type NullableContentChunk
- func (v NullableContentChunk) Get() *ContentChunk
- func (v NullableContentChunk) IsSet() bool
- func (v NullableContentChunk) MarshalJSON() ([]byte, error)
- func (v *NullableContentChunk) Set(val *ContentChunk)
- func (v *NullableContentChunk) UnmarshalJSON(src []byte) error
- func (v *NullableContentChunk) Unset()
- type NullableConversationAppendRequest
- func (v NullableConversationAppendRequest) Get() *ConversationAppendRequest
- func (v NullableConversationAppendRequest) IsSet() bool
- func (v NullableConversationAppendRequest) MarshalJSON() ([]byte, error)
- func (v *NullableConversationAppendRequest) Set(val *ConversationAppendRequest)
- func (v *NullableConversationAppendRequest) UnmarshalJSON(src []byte) error
- func (v *NullableConversationAppendRequest) Unset()
- type NullableConversationAppendRequestBase
- func (v NullableConversationAppendRequestBase) Get() *ConversationAppendRequestBase
- func (v NullableConversationAppendRequestBase) IsSet() bool
- func (v NullableConversationAppendRequestBase) MarshalJSON() ([]byte, error)
- func (v *NullableConversationAppendRequestBase) Set(val *ConversationAppendRequestBase)
- func (v *NullableConversationAppendRequestBase) UnmarshalJSON(src []byte) error
- func (v *NullableConversationAppendRequestBase) Unset()
- type NullableConversationAppendStreamRequest
- func (v NullableConversationAppendStreamRequest) Get() *ConversationAppendStreamRequest
- func (v NullableConversationAppendStreamRequest) IsSet() bool
- func (v NullableConversationAppendStreamRequest) MarshalJSON() ([]byte, error)
- func (v *NullableConversationAppendStreamRequest) Set(val *ConversationAppendStreamRequest)
- func (v *NullableConversationAppendStreamRequest) UnmarshalJSON(src []byte) error
- func (v *NullableConversationAppendStreamRequest) Unset()
- type NullableConversationEvents
- func (v NullableConversationEvents) Get() *ConversationEvents
- func (v NullableConversationEvents) IsSet() bool
- func (v NullableConversationEvents) MarshalJSON() ([]byte, error)
- func (v *NullableConversationEvents) Set(val *ConversationEvents)
- func (v *NullableConversationEvents) UnmarshalJSON(src []byte) error
- func (v *NullableConversationEvents) Unset()
- type NullableConversationHistory
- func (v NullableConversationHistory) Get() *ConversationHistory
- func (v NullableConversationHistory) IsSet() bool
- func (v NullableConversationHistory) MarshalJSON() ([]byte, error)
- func (v *NullableConversationHistory) Set(val *ConversationHistory)
- func (v *NullableConversationHistory) UnmarshalJSON(src []byte) error
- func (v *NullableConversationHistory) Unset()
- type NullableConversationInputs
- func (v NullableConversationInputs) Get() *ConversationInputs
- func (v NullableConversationInputs) IsSet() bool
- func (v NullableConversationInputs) MarshalJSON() ([]byte, error)
- func (v *NullableConversationInputs) Set(val *ConversationInputs)
- func (v *NullableConversationInputs) UnmarshalJSON(src []byte) error
- func (v *NullableConversationInputs) Unset()
- type NullableConversationMessages
- func (v NullableConversationMessages) Get() *ConversationMessages
- func (v NullableConversationMessages) IsSet() bool
- func (v NullableConversationMessages) MarshalJSON() ([]byte, error)
- func (v *NullableConversationMessages) Set(val *ConversationMessages)
- func (v *NullableConversationMessages) UnmarshalJSON(src []byte) error
- func (v *NullableConversationMessages) Unset()
- type NullableConversationRequest
- func (v NullableConversationRequest) Get() *ConversationRequest
- func (v NullableConversationRequest) IsSet() bool
- func (v NullableConversationRequest) MarshalJSON() ([]byte, error)
- func (v *NullableConversationRequest) Set(val *ConversationRequest)
- func (v *NullableConversationRequest) UnmarshalJSON(src []byte) error
- func (v *NullableConversationRequest) Unset()
- type NullableConversationRequestBase
- func (v NullableConversationRequestBase) Get() *ConversationRequestBase
- func (v NullableConversationRequestBase) IsSet() bool
- func (v NullableConversationRequestBase) MarshalJSON() ([]byte, error)
- func (v *NullableConversationRequestBase) Set(val *ConversationRequestBase)
- func (v *NullableConversationRequestBase) UnmarshalJSON(src []byte) error
- func (v *NullableConversationRequestBase) Unset()
- type NullableConversationResponse
- func (v NullableConversationResponse) Get() *ConversationResponse
- func (v NullableConversationResponse) IsSet() bool
- func (v NullableConversationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableConversationResponse) Set(val *ConversationResponse)
- func (v *NullableConversationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableConversationResponse) Unset()
- type NullableConversationRestartRequest
- func (v NullableConversationRestartRequest) Get() *ConversationRestartRequest
- func (v NullableConversationRestartRequest) IsSet() bool
- func (v NullableConversationRestartRequest) MarshalJSON() ([]byte, error)
- func (v *NullableConversationRestartRequest) Set(val *ConversationRestartRequest)
- func (v *NullableConversationRestartRequest) UnmarshalJSON(src []byte) error
- func (v *NullableConversationRestartRequest) Unset()
- type NullableConversationRestartRequestBase
- func (v NullableConversationRestartRequestBase) Get() *ConversationRestartRequestBase
- func (v NullableConversationRestartRequestBase) IsSet() bool
- func (v NullableConversationRestartRequestBase) MarshalJSON() ([]byte, error)
- func (v *NullableConversationRestartRequestBase) Set(val *ConversationRestartRequestBase)
- func (v *NullableConversationRestartRequestBase) UnmarshalJSON(src []byte) error
- func (v *NullableConversationRestartRequestBase) Unset()
- type NullableConversationRestartStreamRequest
- func (v NullableConversationRestartStreamRequest) Get() *ConversationRestartStreamRequest
- func (v NullableConversationRestartStreamRequest) IsSet() bool
- func (v NullableConversationRestartStreamRequest) MarshalJSON() ([]byte, error)
- func (v *NullableConversationRestartStreamRequest) Set(val *ConversationRestartStreamRequest)
- func (v *NullableConversationRestartStreamRequest) UnmarshalJSON(src []byte) error
- func (v *NullableConversationRestartStreamRequest) Unset()
- type NullableConversationStreamRequest
- func (v NullableConversationStreamRequest) Get() *ConversationStreamRequest
- func (v NullableConversationStreamRequest) IsSet() bool
- func (v NullableConversationStreamRequest) MarshalJSON() ([]byte, error)
- func (v *NullableConversationStreamRequest) Set(val *ConversationStreamRequest)
- func (v *NullableConversationStreamRequest) UnmarshalJSON(src []byte) error
- func (v *NullableConversationStreamRequest) Unset()
- type NullableConversationUsageInfo
- func (v NullableConversationUsageInfo) Get() *ConversationUsageInfo
- func (v NullableConversationUsageInfo) IsSet() bool
- func (v NullableConversationUsageInfo) MarshalJSON() ([]byte, error)
- func (v *NullableConversationUsageInfo) Set(val *ConversationUsageInfo)
- func (v *NullableConversationUsageInfo) UnmarshalJSON(src []byte) error
- func (v *NullableConversationUsageInfo) Unset()
- type NullableData
- type NullableData1
- type NullableDataInner
- type NullableDeleteFileOut
- func (v NullableDeleteFileOut) Get() *DeleteFileOut
- func (v NullableDeleteFileOut) IsSet() bool
- func (v NullableDeleteFileOut) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteFileOut) Set(val *DeleteFileOut)
- func (v *NullableDeleteFileOut) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteFileOut) Unset()
- type NullableDeleteModelOut
- func (v NullableDeleteModelOut) Get() *DeleteModelOut
- func (v NullableDeleteModelOut) IsSet() bool
- func (v NullableDeleteModelOut) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteModelOut) Set(val *DeleteModelOut)
- func (v *NullableDeleteModelOut) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteModelOut) Unset()
- type NullableDeltaMessage
- func (v NullableDeltaMessage) Get() *DeltaMessage
- func (v NullableDeltaMessage) IsSet() bool
- func (v NullableDeltaMessage) MarshalJSON() ([]byte, error)
- func (v *NullableDeltaMessage) Set(val *DeltaMessage)
- func (v *NullableDeltaMessage) UnmarshalJSON(src []byte) error
- func (v *NullableDeltaMessage) Unset()
- type NullableDeltaMessageContent
- func (v NullableDeltaMessageContent) Get() *DeltaMessageContent
- func (v NullableDeltaMessageContent) IsSet() bool
- func (v NullableDeltaMessageContent) MarshalJSON() ([]byte, error)
- func (v *NullableDeltaMessageContent) Set(val *DeltaMessageContent)
- func (v *NullableDeltaMessageContent) UnmarshalJSON(src []byte) error
- func (v *NullableDeltaMessageContent) Unset()
- type NullableDocument
- type NullableDocumentLibraryTool
- func (v NullableDocumentLibraryTool) Get() *DocumentLibraryTool
- func (v NullableDocumentLibraryTool) IsSet() bool
- func (v NullableDocumentLibraryTool) MarshalJSON() ([]byte, error)
- func (v *NullableDocumentLibraryTool) Set(val *DocumentLibraryTool)
- func (v *NullableDocumentLibraryTool) UnmarshalJSON(src []byte) error
- func (v *NullableDocumentLibraryTool) Unset()
- type NullableDocumentOut
- func (v NullableDocumentOut) Get() *DocumentOut
- func (v NullableDocumentOut) IsSet() bool
- func (v NullableDocumentOut) MarshalJSON() ([]byte, error)
- func (v *NullableDocumentOut) Set(val *DocumentOut)
- func (v *NullableDocumentOut) UnmarshalJSON(src []byte) error
- func (v *NullableDocumentOut) Unset()
- type NullableDocumentTextContent
- func (v NullableDocumentTextContent) Get() *DocumentTextContent
- func (v NullableDocumentTextContent) IsSet() bool
- func (v NullableDocumentTextContent) MarshalJSON() ([]byte, error)
- func (v *NullableDocumentTextContent) Set(val *DocumentTextContent)
- func (v *NullableDocumentTextContent) UnmarshalJSON(src []byte) error
- func (v *NullableDocumentTextContent) Unset()
- type NullableDocumentURLChunk
- func (v NullableDocumentURLChunk) Get() *DocumentURLChunk
- func (v NullableDocumentURLChunk) IsSet() bool
- func (v NullableDocumentURLChunk) MarshalJSON() ([]byte, error)
- func (v *NullableDocumentURLChunk) Set(val *DocumentURLChunk)
- func (v *NullableDocumentURLChunk) UnmarshalJSON(src []byte) error
- func (v *NullableDocumentURLChunk) Unset()
- type NullableDocumentUpdateIn
- func (v NullableDocumentUpdateIn) Get() *DocumentUpdateIn
- func (v NullableDocumentUpdateIn) IsSet() bool
- func (v NullableDocumentUpdateIn) MarshalJSON() ([]byte, error)
- func (v *NullableDocumentUpdateIn) Set(val *DocumentUpdateIn)
- func (v *NullableDocumentUpdateIn) UnmarshalJSON(src []byte) error
- func (v *NullableDocumentUpdateIn) Unset()
- type NullableDocumentUpdateInAttributesValue
- func (v NullableDocumentUpdateInAttributesValue) Get() *DocumentUpdateInAttributesValue
- func (v NullableDocumentUpdateInAttributesValue) IsSet() bool
- func (v NullableDocumentUpdateInAttributesValue) MarshalJSON() ([]byte, error)
- func (v *NullableDocumentUpdateInAttributesValue) Set(val *DocumentUpdateInAttributesValue)
- func (v *NullableDocumentUpdateInAttributesValue) UnmarshalJSON(src []byte) error
- func (v *NullableDocumentUpdateInAttributesValue) Unset()
- type NullableEmbeddingDtype
- func (v NullableEmbeddingDtype) Get() *EmbeddingDtype
- func (v NullableEmbeddingDtype) IsSet() bool
- func (v NullableEmbeddingDtype) MarshalJSON() ([]byte, error)
- func (v *NullableEmbeddingDtype) Set(val *EmbeddingDtype)
- func (v *NullableEmbeddingDtype) UnmarshalJSON(src []byte) error
- func (v *NullableEmbeddingDtype) Unset()
- type NullableEmbeddingRequest
- func (v NullableEmbeddingRequest) Get() *EmbeddingRequest
- func (v NullableEmbeddingRequest) IsSet() bool
- func (v NullableEmbeddingRequest) MarshalJSON() ([]byte, error)
- func (v *NullableEmbeddingRequest) Set(val *EmbeddingRequest)
- func (v *NullableEmbeddingRequest) UnmarshalJSON(src []byte) error
- func (v *NullableEmbeddingRequest) Unset()
- type NullableEmbeddingResponse
- func (v NullableEmbeddingResponse) Get() *EmbeddingResponse
- func (v NullableEmbeddingResponse) IsSet() bool
- func (v NullableEmbeddingResponse) MarshalJSON() ([]byte, error)
- func (v *NullableEmbeddingResponse) Set(val *EmbeddingResponse)
- func (v *NullableEmbeddingResponse) UnmarshalJSON(src []byte) error
- func (v *NullableEmbeddingResponse) Unset()
- type NullableEmbeddingResponseData
- func (v NullableEmbeddingResponseData) Get() *EmbeddingResponseData
- func (v NullableEmbeddingResponseData) IsSet() bool
- func (v NullableEmbeddingResponseData) MarshalJSON() ([]byte, error)
- func (v *NullableEmbeddingResponseData) Set(val *EmbeddingResponseData)
- func (v *NullableEmbeddingResponseData) UnmarshalJSON(src []byte) error
- func (v *NullableEmbeddingResponseData) Unset()
- type NullableEncodingFormat
- func (v NullableEncodingFormat) Get() *EncodingFormat
- func (v NullableEncodingFormat) IsSet() bool
- func (v NullableEncodingFormat) MarshalJSON() ([]byte, error)
- func (v *NullableEncodingFormat) Set(val *EncodingFormat)
- func (v *NullableEncodingFormat) UnmarshalJSON(src []byte) error
- func (v *NullableEncodingFormat) Unset()
- type NullableEntityType
- type NullableEntriesInner
- func (v NullableEntriesInner) Get() *EntriesInner
- func (v NullableEntriesInner) IsSet() bool
- func (v NullableEntriesInner) MarshalJSON() ([]byte, error)
- func (v *NullableEntriesInner) Set(val *EntriesInner)
- func (v *NullableEntriesInner) UnmarshalJSON(src []byte) error
- func (v *NullableEntriesInner) Unset()
- type NullableEventOut
- type NullableFIMCompletionRequest
- func (v NullableFIMCompletionRequest) Get() *FIMCompletionRequest
- func (v NullableFIMCompletionRequest) IsSet() bool
- func (v NullableFIMCompletionRequest) MarshalJSON() ([]byte, error)
- func (v *NullableFIMCompletionRequest) Set(val *FIMCompletionRequest)
- func (v *NullableFIMCompletionRequest) UnmarshalJSON(src []byte) error
- func (v *NullableFIMCompletionRequest) Unset()
- type NullableFIMCompletionResponse
- func (v NullableFIMCompletionResponse) Get() *FIMCompletionResponse
- func (v NullableFIMCompletionResponse) IsSet() bool
- func (v NullableFIMCompletionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableFIMCompletionResponse) Set(val *FIMCompletionResponse)
- func (v *NullableFIMCompletionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableFIMCompletionResponse) Unset()
- type NullableFTClassifierLossFunction
- func (v NullableFTClassifierLossFunction) Get() *FTClassifierLossFunction
- func (v NullableFTClassifierLossFunction) IsSet() bool
- func (v NullableFTClassifierLossFunction) MarshalJSON() ([]byte, error)
- func (v *NullableFTClassifierLossFunction) Set(val *FTClassifierLossFunction)
- func (v *NullableFTClassifierLossFunction) UnmarshalJSON(src []byte) error
- func (v *NullableFTClassifierLossFunction) Unset()
- type NullableFTModelCapabilitiesOut
- func (v NullableFTModelCapabilitiesOut) Get() *FTModelCapabilitiesOut
- func (v NullableFTModelCapabilitiesOut) IsSet() bool
- func (v NullableFTModelCapabilitiesOut) MarshalJSON() ([]byte, error)
- func (v *NullableFTModelCapabilitiesOut) Set(val *FTModelCapabilitiesOut)
- func (v *NullableFTModelCapabilitiesOut) UnmarshalJSON(src []byte) error
- func (v *NullableFTModelCapabilitiesOut) Unset()
- type NullableFTModelCard
- func (v NullableFTModelCard) Get() *FTModelCard
- func (v NullableFTModelCard) IsSet() bool
- func (v NullableFTModelCard) MarshalJSON() ([]byte, error)
- func (v *NullableFTModelCard) Set(val *FTModelCard)
- func (v *NullableFTModelCard) UnmarshalJSON(src []byte) error
- func (v *NullableFTModelCard) Unset()
- type NullableFileChunk
- type NullableFilePurpose
- func (v NullableFilePurpose) Get() *FilePurpose
- func (v NullableFilePurpose) IsSet() bool
- func (v NullableFilePurpose) MarshalJSON() ([]byte, error)
- func (v *NullableFilePurpose) Set(val *FilePurpose)
- func (v *NullableFilePurpose) UnmarshalJSON(src []byte) error
- func (v *NullableFilePurpose) Unset()
- type NullableFileSchema
- type NullableFileSignedURL
- func (v NullableFileSignedURL) Get() *FileSignedURL
- func (v NullableFileSignedURL) IsSet() bool
- func (v NullableFileSignedURL) MarshalJSON() ([]byte, error)
- func (v *NullableFileSignedURL) Set(val *FileSignedURL)
- func (v *NullableFileSignedURL) UnmarshalJSON(src []byte) error
- func (v *NullableFileSignedURL) Unset()
- type NullableFineTuneableModel
- func (v NullableFineTuneableModel) Get() *FineTuneableModel
- func (v NullableFineTuneableModel) IsSet() bool
- func (v NullableFineTuneableModel) MarshalJSON() ([]byte, error)
- func (v *NullableFineTuneableModel) Set(val *FineTuneableModel)
- func (v *NullableFineTuneableModel) UnmarshalJSON(src []byte) error
- func (v *NullableFineTuneableModel) Unset()
- type NullableFineTuneableModelType
- func (v NullableFineTuneableModelType) Get() *FineTuneableModelType
- func (v NullableFineTuneableModelType) IsSet() bool
- func (v NullableFineTuneableModelType) MarshalJSON() ([]byte, error)
- func (v *NullableFineTuneableModelType) Set(val *FineTuneableModelType)
- func (v *NullableFineTuneableModelType) UnmarshalJSON(src []byte) error
- func (v *NullableFineTuneableModelType) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableFunction
- type NullableFunctionCall
- func (v NullableFunctionCall) Get() *FunctionCall
- func (v NullableFunctionCall) IsSet() bool
- func (v NullableFunctionCall) MarshalJSON() ([]byte, error)
- func (v *NullableFunctionCall) Set(val *FunctionCall)
- func (v *NullableFunctionCall) UnmarshalJSON(src []byte) error
- func (v *NullableFunctionCall) Unset()
- type NullableFunctionCallEntry
- func (v NullableFunctionCallEntry) Get() *FunctionCallEntry
- func (v NullableFunctionCallEntry) IsSet() bool
- func (v NullableFunctionCallEntry) MarshalJSON() ([]byte, error)
- func (v *NullableFunctionCallEntry) Set(val *FunctionCallEntry)
- func (v *NullableFunctionCallEntry) UnmarshalJSON(src []byte) error
- func (v *NullableFunctionCallEntry) Unset()
- type NullableFunctionCallEntryArguments
- func (v NullableFunctionCallEntryArguments) Get() *FunctionCallEntryArguments
- func (v NullableFunctionCallEntryArguments) IsSet() bool
- func (v NullableFunctionCallEntryArguments) MarshalJSON() ([]byte, error)
- func (v *NullableFunctionCallEntryArguments) Set(val *FunctionCallEntryArguments)
- func (v *NullableFunctionCallEntryArguments) UnmarshalJSON(src []byte) error
- func (v *NullableFunctionCallEntryArguments) Unset()
- type NullableFunctionCallEvent
- func (v NullableFunctionCallEvent) Get() *FunctionCallEvent
- func (v NullableFunctionCallEvent) IsSet() bool
- func (v NullableFunctionCallEvent) MarshalJSON() ([]byte, error)
- func (v *NullableFunctionCallEvent) Set(val *FunctionCallEvent)
- func (v *NullableFunctionCallEvent) UnmarshalJSON(src []byte) error
- func (v *NullableFunctionCallEvent) Unset()
- type NullableFunctionName
- func (v NullableFunctionName) Get() *FunctionName
- func (v NullableFunctionName) IsSet() bool
- func (v NullableFunctionName) MarshalJSON() ([]byte, error)
- func (v *NullableFunctionName) Set(val *FunctionName)
- func (v *NullableFunctionName) UnmarshalJSON(src []byte) error
- func (v *NullableFunctionName) Unset()
- type NullableFunctionResultEntry
- func (v NullableFunctionResultEntry) Get() *FunctionResultEntry
- func (v NullableFunctionResultEntry) IsSet() bool
- func (v NullableFunctionResultEntry) MarshalJSON() ([]byte, error)
- func (v *NullableFunctionResultEntry) Set(val *FunctionResultEntry)
- func (v *NullableFunctionResultEntry) UnmarshalJSON(src []byte) error
- func (v *NullableFunctionResultEntry) Unset()
- type NullableFunctionTool
- func (v NullableFunctionTool) Get() *FunctionTool
- func (v NullableFunctionTool) IsSet() bool
- func (v NullableFunctionTool) MarshalJSON() ([]byte, error)
- func (v *NullableFunctionTool) Set(val *FunctionTool)
- func (v *NullableFunctionTool) UnmarshalJSON(src []byte) error
- func (v *NullableFunctionTool) Unset()
- type NullableGithubRepositoryIn
- func (v NullableGithubRepositoryIn) Get() *GithubRepositoryIn
- func (v NullableGithubRepositoryIn) IsSet() bool
- func (v NullableGithubRepositoryIn) MarshalJSON() ([]byte, error)
- func (v *NullableGithubRepositoryIn) Set(val *GithubRepositoryIn)
- func (v *NullableGithubRepositoryIn) UnmarshalJSON(src []byte) error
- func (v *NullableGithubRepositoryIn) Unset()
- type NullableGithubRepositoryOut
- func (v NullableGithubRepositoryOut) Get() *GithubRepositoryOut
- func (v NullableGithubRepositoryOut) IsSet() bool
- func (v NullableGithubRepositoryOut) MarshalJSON() ([]byte, error)
- func (v *NullableGithubRepositoryOut) Set(val *GithubRepositoryOut)
- func (v *NullableGithubRepositoryOut) UnmarshalJSON(src []byte) error
- func (v *NullableGithubRepositoryOut) Unset()
- 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 NullableHyperparameters
- func (v NullableHyperparameters) Get() *Hyperparameters
- func (v NullableHyperparameters) IsSet() bool
- func (v NullableHyperparameters) MarshalJSON() ([]byte, error)
- func (v *NullableHyperparameters) Set(val *Hyperparameters)
- func (v *NullableHyperparameters) UnmarshalJSON(src []byte) error
- func (v *NullableHyperparameters) Unset()
- type NullableImageGenerationTool
- func (v NullableImageGenerationTool) Get() *ImageGenerationTool
- func (v NullableImageGenerationTool) IsSet() bool
- func (v NullableImageGenerationTool) MarshalJSON() ([]byte, error)
- func (v *NullableImageGenerationTool) Set(val *ImageGenerationTool)
- func (v *NullableImageGenerationTool) UnmarshalJSON(src []byte) error
- func (v *NullableImageGenerationTool) Unset()
- type NullableImageURLChunk
- func (v NullableImageURLChunk) Get() *ImageURLChunk
- func (v NullableImageURLChunk) IsSet() bool
- func (v NullableImageURLChunk) MarshalJSON() ([]byte, error)
- func (v *NullableImageURLChunk) Set(val *ImageURLChunk)
- func (v *NullableImageURLChunk) UnmarshalJSON(src []byte) error
- func (v *NullableImageURLChunk) Unset()
- type NullableImageURLStruct
- func (v NullableImageURLStruct) Get() *ImageURLStruct
- func (v NullableImageURLStruct) IsSet() bool
- func (v NullableImageURLStruct) MarshalJSON() ([]byte, error)
- func (v *NullableImageURLStruct) Set(val *ImageURLStruct)
- func (v *NullableImageURLStruct) UnmarshalJSON(src []byte) error
- func (v *NullableImageURLStruct) Unset()
- type NullableImageUrl
- type NullableInput
- type NullableInput1
- type NullableInput2
- type NullableInputAudio
- type NullableInstructRequest
- func (v NullableInstructRequest) Get() *InstructRequest
- func (v NullableInstructRequest) IsSet() bool
- func (v NullableInstructRequest) MarshalJSON() ([]byte, error)
- func (v *NullableInstructRequest) Set(val *InstructRequest)
- func (v *NullableInstructRequest) UnmarshalJSON(src []byte) error
- func (v *NullableInstructRequest) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableJobIn
- type NullableJobMetadataOut
- func (v NullableJobMetadataOut) Get() *JobMetadataOut
- func (v NullableJobMetadataOut) IsSet() bool
- func (v NullableJobMetadataOut) MarshalJSON() ([]byte, error)
- func (v *NullableJobMetadataOut) Set(val *JobMetadataOut)
- func (v *NullableJobMetadataOut) UnmarshalJSON(src []byte) error
- func (v *NullableJobMetadataOut) Unset()
- type NullableJobsOut
- type NullableJsonSchema
- type NullableLegacyJobMetadataOut
- func (v NullableLegacyJobMetadataOut) Get() *LegacyJobMetadataOut
- func (v NullableLegacyJobMetadataOut) IsSet() bool
- func (v NullableLegacyJobMetadataOut) MarshalJSON() ([]byte, error)
- func (v *NullableLegacyJobMetadataOut) Set(val *LegacyJobMetadataOut)
- func (v *NullableLegacyJobMetadataOut) UnmarshalJSON(src []byte) error
- func (v *NullableLegacyJobMetadataOut) Unset()
- type NullableLibraryIn
- type NullableLibraryInUpdate
- func (v NullableLibraryInUpdate) Get() *LibraryInUpdate
- func (v NullableLibraryInUpdate) IsSet() bool
- func (v NullableLibraryInUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableLibraryInUpdate) Set(val *LibraryInUpdate)
- func (v *NullableLibraryInUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableLibraryInUpdate) Unset()
- type NullableLibraryOut
- type NullableListDocumentOut
- func (v NullableListDocumentOut) Get() *ListDocumentOut
- func (v NullableListDocumentOut) IsSet() bool
- func (v NullableListDocumentOut) MarshalJSON() ([]byte, error)
- func (v *NullableListDocumentOut) Set(val *ListDocumentOut)
- func (v *NullableListDocumentOut) UnmarshalJSON(src []byte) error
- func (v *NullableListDocumentOut) Unset()
- type NullableListFilesOut
- func (v NullableListFilesOut) Get() *ListFilesOut
- func (v NullableListFilesOut) IsSet() bool
- func (v NullableListFilesOut) MarshalJSON() ([]byte, error)
- func (v *NullableListFilesOut) Set(val *ListFilesOut)
- func (v *NullableListFilesOut) UnmarshalJSON(src []byte) error
- func (v *NullableListFilesOut) Unset()
- type NullableListLibraryOut
- func (v NullableListLibraryOut) Get() *ListLibraryOut
- func (v NullableListLibraryOut) IsSet() bool
- func (v NullableListLibraryOut) MarshalJSON() ([]byte, error)
- func (v *NullableListLibraryOut) Set(val *ListLibraryOut)
- func (v *NullableListLibraryOut) UnmarshalJSON(src []byte) error
- func (v *NullableListLibraryOut) Unset()
- type NullableListSharingOut
- func (v NullableListSharingOut) Get() *ListSharingOut
- func (v NullableListSharingOut) IsSet() bool
- func (v NullableListSharingOut) MarshalJSON() ([]byte, error)
- func (v *NullableListSharingOut) Set(val *ListSharingOut)
- func (v *NullableListSharingOut) UnmarshalJSON(src []byte) error
- func (v *NullableListSharingOut) Unset()
- type NullableLocationInner
- func (v NullableLocationInner) Get() *LocationInner
- func (v NullableLocationInner) IsSet() bool
- func (v NullableLocationInner) MarshalJSON() ([]byte, error)
- func (v *NullableLocationInner) Set(val *LocationInner)
- func (v *NullableLocationInner) UnmarshalJSON(src []byte) error
- func (v *NullableLocationInner) Unset()
- type NullableMessageEntriesInner
- func (v NullableMessageEntriesInner) Get() *MessageEntriesInner
- func (v NullableMessageEntriesInner) IsSet() bool
- func (v NullableMessageEntriesInner) MarshalJSON() ([]byte, error)
- func (v *NullableMessageEntriesInner) Set(val *MessageEntriesInner)
- func (v *NullableMessageEntriesInner) UnmarshalJSON(src []byte) error
- func (v *NullableMessageEntriesInner) Unset()
- type NullableMessageInputContentChunksInner
- func (v NullableMessageInputContentChunksInner) Get() *MessageInputContentChunksInner
- func (v NullableMessageInputContentChunksInner) IsSet() bool
- func (v NullableMessageInputContentChunksInner) MarshalJSON() ([]byte, error)
- func (v *NullableMessageInputContentChunksInner) Set(val *MessageInputContentChunksInner)
- func (v *NullableMessageInputContentChunksInner) UnmarshalJSON(src []byte) error
- func (v *NullableMessageInputContentChunksInner) Unset()
- type NullableMessageInputEntry
- func (v NullableMessageInputEntry) Get() *MessageInputEntry
- func (v NullableMessageInputEntry) IsSet() bool
- func (v NullableMessageInputEntry) MarshalJSON() ([]byte, error)
- func (v *NullableMessageInputEntry) Set(val *MessageInputEntry)
- func (v *NullableMessageInputEntry) UnmarshalJSON(src []byte) error
- func (v *NullableMessageInputEntry) Unset()
- type NullableMessageOutputContentChunksInner
- func (v NullableMessageOutputContentChunksInner) Get() *MessageOutputContentChunksInner
- func (v NullableMessageOutputContentChunksInner) IsSet() bool
- func (v NullableMessageOutputContentChunksInner) MarshalJSON() ([]byte, error)
- func (v *NullableMessageOutputContentChunksInner) Set(val *MessageOutputContentChunksInner)
- func (v *NullableMessageOutputContentChunksInner) UnmarshalJSON(src []byte) error
- func (v *NullableMessageOutputContentChunksInner) Unset()
- type NullableMessageOutputEntry
- func (v NullableMessageOutputEntry) Get() *MessageOutputEntry
- func (v NullableMessageOutputEntry) IsSet() bool
- func (v NullableMessageOutputEntry) MarshalJSON() ([]byte, error)
- func (v *NullableMessageOutputEntry) Set(val *MessageOutputEntry)
- func (v *NullableMessageOutputEntry) UnmarshalJSON(src []byte) error
- func (v *NullableMessageOutputEntry) Unset()
- type NullableMessageOutputEvent
- func (v NullableMessageOutputEvent) Get() *MessageOutputEvent
- func (v NullableMessageOutputEvent) IsSet() bool
- func (v NullableMessageOutputEvent) MarshalJSON() ([]byte, error)
- func (v *NullableMessageOutputEvent) Set(val *MessageOutputEvent)
- func (v *NullableMessageOutputEvent) UnmarshalJSON(src []byte) error
- func (v *NullableMessageOutputEvent) Unset()
- type NullableMessagesInner
- func (v NullableMessagesInner) Get() *MessagesInner
- func (v NullableMessagesInner) IsSet() bool
- func (v NullableMessagesInner) MarshalJSON() ([]byte, error)
- func (v *NullableMessagesInner) Set(val *MessagesInner)
- func (v *NullableMessagesInner) UnmarshalJSON(src []byte) error
- func (v *NullableMessagesInner) Unset()
- type NullableMetricOut
- type NullableMistralPromptMode
- func (v NullableMistralPromptMode) Get() *MistralPromptMode
- func (v NullableMistralPromptMode) IsSet() bool
- func (v NullableMistralPromptMode) MarshalJSON() ([]byte, error)
- func (v *NullableMistralPromptMode) Set(val *MistralPromptMode)
- func (v *NullableMistralPromptMode) UnmarshalJSON(src []byte) error
- func (v *NullableMistralPromptMode) Unset()
- type NullableModelCapabilities
- func (v NullableModelCapabilities) Get() *ModelCapabilities
- func (v NullableModelCapabilities) IsSet() bool
- func (v NullableModelCapabilities) MarshalJSON() ([]byte, error)
- func (v *NullableModelCapabilities) Set(val *ModelCapabilities)
- func (v *NullableModelCapabilities) UnmarshalJSON(src []byte) error
- func (v *NullableModelCapabilities) Unset()
- type NullableModelConversation
- func (v NullableModelConversation) Get() *ModelConversation
- func (v NullableModelConversation) IsSet() bool
- func (v NullableModelConversation) MarshalJSON() ([]byte, error)
- func (v *NullableModelConversation) Set(val *ModelConversation)
- func (v *NullableModelConversation) UnmarshalJSON(src []byte) error
- func (v *NullableModelConversation) Unset()
- type NullableModelList
- type NullableModerationObject
- func (v NullableModerationObject) Get() *ModerationObject
- func (v NullableModerationObject) IsSet() bool
- func (v NullableModerationObject) MarshalJSON() ([]byte, error)
- func (v *NullableModerationObject) Set(val *ModerationObject)
- func (v *NullableModerationObject) UnmarshalJSON(src []byte) error
- func (v *NullableModerationObject) Unset()
- type NullableModerationResponse
- func (v NullableModerationResponse) Get() *ModerationResponse
- func (v NullableModerationResponse) IsSet() bool
- func (v NullableModerationResponse) MarshalJSON() ([]byte, error)
- func (v *NullableModerationResponse) Set(val *ModerationResponse)
- func (v *NullableModerationResponse) UnmarshalJSON(src []byte) error
- func (v *NullableModerationResponse) Unset()
- type NullableName
- type NullableOCRImageObject
- func (v NullableOCRImageObject) Get() *OCRImageObject
- func (v NullableOCRImageObject) IsSet() bool
- func (v NullableOCRImageObject) MarshalJSON() ([]byte, error)
- func (v *NullableOCRImageObject) Set(val *OCRImageObject)
- func (v *NullableOCRImageObject) UnmarshalJSON(src []byte) error
- func (v *NullableOCRImageObject) Unset()
- type NullableOCRPageDimensions
- func (v NullableOCRPageDimensions) Get() *OCRPageDimensions
- func (v NullableOCRPageDimensions) IsSet() bool
- func (v NullableOCRPageDimensions) MarshalJSON() ([]byte, error)
- func (v *NullableOCRPageDimensions) Set(val *OCRPageDimensions)
- func (v *NullableOCRPageDimensions) UnmarshalJSON(src []byte) error
- func (v *NullableOCRPageDimensions) Unset()
- type NullableOCRPageObject
- func (v NullableOCRPageObject) Get() *OCRPageObject
- func (v NullableOCRPageObject) IsSet() bool
- func (v NullableOCRPageObject) MarshalJSON() ([]byte, error)
- func (v *NullableOCRPageObject) Set(val *OCRPageObject)
- func (v *NullableOCRPageObject) UnmarshalJSON(src []byte) error
- func (v *NullableOCRPageObject) Unset()
- type NullableOCRRequest
- type NullableOCRResponse
- func (v NullableOCRResponse) Get() *OCRResponse
- func (v NullableOCRResponse) IsSet() bool
- func (v NullableOCRResponse) MarshalJSON() ([]byte, error)
- func (v *NullableOCRResponse) Set(val *OCRResponse)
- func (v *NullableOCRResponse) UnmarshalJSON(src []byte) error
- func (v *NullableOCRResponse) Unset()
- type NullableOCRTableObject
- func (v NullableOCRTableObject) Get() *OCRTableObject
- func (v NullableOCRTableObject) IsSet() bool
- func (v NullableOCRTableObject) MarshalJSON() ([]byte, error)
- func (v *NullableOCRTableObject) Set(val *OCRTableObject)
- func (v *NullableOCRTableObject) UnmarshalJSON(src []byte) error
- func (v *NullableOCRTableObject) Unset()
- type NullableOCRUsageInfo
- func (v NullableOCRUsageInfo) Get() *OCRUsageInfo
- func (v NullableOCRUsageInfo) IsSet() bool
- func (v NullableOCRUsageInfo) MarshalJSON() ([]byte, error)
- func (v *NullableOCRUsageInfo) Set(val *OCRUsageInfo)
- func (v *NullableOCRUsageInfo) UnmarshalJSON(src []byte) error
- func (v *NullableOCRUsageInfo) Unset()
- type NullableOutputContentChunks
- func (v NullableOutputContentChunks) Get() *OutputContentChunks
- func (v NullableOutputContentChunks) IsSet() bool
- func (v NullableOutputContentChunks) MarshalJSON() ([]byte, error)
- func (v *NullableOutputContentChunks) Set(val *OutputContentChunks)
- func (v *NullableOutputContentChunks) UnmarshalJSON(src []byte) error
- func (v *NullableOutputContentChunks) Unset()
- type NullableOutputsInner
- func (v NullableOutputsInner) Get() *OutputsInner
- func (v NullableOutputsInner) IsSet() bool
- func (v NullableOutputsInner) MarshalJSON() ([]byte, error)
- func (v *NullableOutputsInner) Set(val *OutputsInner)
- func (v *NullableOutputsInner) UnmarshalJSON(src []byte) error
- func (v *NullableOutputsInner) Unset()
- type NullablePaginationInfo
- func (v NullablePaginationInfo) Get() *PaginationInfo
- func (v NullablePaginationInfo) IsSet() bool
- func (v NullablePaginationInfo) MarshalJSON() ([]byte, error)
- func (v *NullablePaginationInfo) Set(val *PaginationInfo)
- func (v *NullablePaginationInfo) UnmarshalJSON(src []byte) error
- func (v *NullablePaginationInfo) Unset()
- type NullablePrediction
- type NullableProcessingStatusOut
- func (v NullableProcessingStatusOut) Get() *ProcessingStatusOut
- func (v NullableProcessingStatusOut) IsSet() bool
- func (v NullableProcessingStatusOut) MarshalJSON() ([]byte, error)
- func (v *NullableProcessingStatusOut) Set(val *ProcessingStatusOut)
- func (v *NullableProcessingStatusOut) UnmarshalJSON(src []byte) error
- func (v *NullableProcessingStatusOut) Unset()
- type NullableReferenceChunk
- func (v NullableReferenceChunk) Get() *ReferenceChunk
- func (v NullableReferenceChunk) IsSet() bool
- func (v NullableReferenceChunk) MarshalJSON() ([]byte, error)
- func (v *NullableReferenceChunk) Set(val *ReferenceChunk)
- func (v *NullableReferenceChunk) UnmarshalJSON(src []byte) error
- func (v *NullableReferenceChunk) Unset()
- type NullableRequestSource
- func (v NullableRequestSource) Get() *RequestSource
- func (v NullableRequestSource) IsSet() bool
- func (v NullableRequestSource) MarshalJSON() ([]byte, error)
- func (v *NullableRequestSource) Set(val *RequestSource)
- func (v *NullableRequestSource) UnmarshalJSON(src []byte) error
- func (v *NullableRequestSource) Unset()
- type NullableResponse
- type NullableResponse1
- type NullableResponse2
- type NullableResponseAnyOf
- func (v NullableResponseAnyOf) Get() *ResponseAnyOf
- func (v NullableResponseAnyOf) IsSet() bool
- func (v NullableResponseAnyOf) MarshalJSON() ([]byte, error)
- func (v *NullableResponseAnyOf) Set(val *ResponseAnyOf)
- func (v *NullableResponseAnyOf) UnmarshalJSON(src []byte) error
- func (v *NullableResponseAnyOf) Unset()
- type NullableResponseBase
- func (v NullableResponseBase) Get() *ResponseBase
- func (v NullableResponseBase) IsSet() bool
- func (v NullableResponseBase) MarshalJSON() ([]byte, error)
- func (v *NullableResponseBase) Set(val *ResponseBase)
- func (v *NullableResponseBase) UnmarshalJSON(src []byte) error
- func (v *NullableResponseBase) Unset()
- type NullableResponseDoneEvent
- func (v NullableResponseDoneEvent) Get() *ResponseDoneEvent
- func (v NullableResponseDoneEvent) IsSet() bool
- func (v NullableResponseDoneEvent) MarshalJSON() ([]byte, error)
- func (v *NullableResponseDoneEvent) Set(val *ResponseDoneEvent)
- func (v *NullableResponseDoneEvent) UnmarshalJSON(src []byte) error
- func (v *NullableResponseDoneEvent) Unset()
- type NullableResponseErrorEvent
- func (v NullableResponseErrorEvent) Get() *ResponseErrorEvent
- func (v NullableResponseErrorEvent) IsSet() bool
- func (v NullableResponseErrorEvent) MarshalJSON() ([]byte, error)
- func (v *NullableResponseErrorEvent) Set(val *ResponseErrorEvent)
- func (v *NullableResponseErrorEvent) UnmarshalJSON(src []byte) error
- func (v *NullableResponseErrorEvent) Unset()
- type NullableResponseFormat
- func (v NullableResponseFormat) Get() *ResponseFormat
- func (v NullableResponseFormat) IsSet() bool
- func (v NullableResponseFormat) MarshalJSON() ([]byte, error)
- func (v *NullableResponseFormat) Set(val *ResponseFormat)
- func (v *NullableResponseFormat) UnmarshalJSON(src []byte) error
- func (v *NullableResponseFormat) Unset()
- type NullableResponseFormats
- func (v NullableResponseFormats) Get() *ResponseFormats
- func (v NullableResponseFormats) IsSet() bool
- func (v NullableResponseFormats) MarshalJSON() ([]byte, error)
- func (v *NullableResponseFormats) Set(val *ResponseFormats)
- func (v *NullableResponseFormats) UnmarshalJSON(src []byte) error
- func (v *NullableResponseFormats) Unset()
- type NullableResponseRetrieveModelV1ModelsModelIdGet
- func (v NullableResponseRetrieveModelV1ModelsModelIdGet) Get() *ResponseRetrieveModelV1ModelsModelIdGet
- func (v NullableResponseRetrieveModelV1ModelsModelIdGet) IsSet() bool
- func (v NullableResponseRetrieveModelV1ModelsModelIdGet) MarshalJSON() ([]byte, error)
- func (v *NullableResponseRetrieveModelV1ModelsModelIdGet) Set(val *ResponseRetrieveModelV1ModelsModelIdGet)
- func (v *NullableResponseRetrieveModelV1ModelsModelIdGet) UnmarshalJSON(src []byte) error
- func (v *NullableResponseRetrieveModelV1ModelsModelIdGet) Unset()
- type NullableResponseStartedEvent
- func (v NullableResponseStartedEvent) Get() *ResponseStartedEvent
- func (v NullableResponseStartedEvent) IsSet() bool
- func (v NullableResponseStartedEvent) MarshalJSON() ([]byte, error)
- func (v *NullableResponseStartedEvent) Set(val *ResponseStartedEvent)
- func (v *NullableResponseStartedEvent) UnmarshalJSON(src []byte) error
- func (v *NullableResponseStartedEvent) Unset()
- type NullableResponseV1ConversationsGet
- func (v NullableResponseV1ConversationsGet) Get() *ResponseV1ConversationsGet
- func (v NullableResponseV1ConversationsGet) IsSet() bool
- func (v NullableResponseV1ConversationsGet) MarshalJSON() ([]byte, error)
- func (v *NullableResponseV1ConversationsGet) Set(val *ResponseV1ConversationsGet)
- func (v *NullableResponseV1ConversationsGet) UnmarshalJSON(src []byte) error
- func (v *NullableResponseV1ConversationsGet) Unset()
- type NullableResponseV1ConversationsListInner
- func (v NullableResponseV1ConversationsListInner) Get() *ResponseV1ConversationsListInner
- func (v NullableResponseV1ConversationsListInner) IsSet() bool
- func (v NullableResponseV1ConversationsListInner) MarshalJSON() ([]byte, error)
- func (v *NullableResponseV1ConversationsListInner) Set(val *ResponseV1ConversationsListInner)
- func (v *NullableResponseV1ConversationsListInner) UnmarshalJSON(src []byte) error
- func (v *NullableResponseV1ConversationsListInner) Unset()
- type NullableRetrieveFileOut
- func (v NullableRetrieveFileOut) Get() *RetrieveFileOut
- func (v NullableRetrieveFileOut) IsSet() bool
- func (v NullableRetrieveFileOut) MarshalJSON() ([]byte, error)
- func (v *NullableRetrieveFileOut) Set(val *RetrieveFileOut)
- func (v *NullableRetrieveFileOut) UnmarshalJSON(src []byte) error
- func (v *NullableRetrieveFileOut) Unset()
- type NullableSSETypes
- type NullableSampleType
- type NullableShareEnum
- type NullableSharingDelete
- func (v NullableSharingDelete) Get() *SharingDelete
- func (v NullableSharingDelete) IsSet() bool
- func (v NullableSharingDelete) MarshalJSON() ([]byte, error)
- func (v *NullableSharingDelete) Set(val *SharingDelete)
- func (v *NullableSharingDelete) UnmarshalJSON(src []byte) error
- func (v *NullableSharingDelete) Unset()
- type NullableSharingIn
- type NullableSharingOut
- type NullableSource
- type NullableStop
- type NullableString
- type NullableSystemMessage
- func (v NullableSystemMessage) Get() *SystemMessage
- func (v NullableSystemMessage) IsSet() bool
- func (v NullableSystemMessage) MarshalJSON() ([]byte, error)
- func (v *NullableSystemMessage) Set(val *SystemMessage)
- func (v *NullableSystemMessage) UnmarshalJSON(src []byte) error
- func (v *NullableSystemMessage) Unset()
- type NullableSystemMessageContentChunks
- func (v NullableSystemMessageContentChunks) Get() *SystemMessageContentChunks
- func (v NullableSystemMessageContentChunks) IsSet() bool
- func (v NullableSystemMessageContentChunks) MarshalJSON() ([]byte, error)
- func (v *NullableSystemMessageContentChunks) Set(val *SystemMessageContentChunks)
- func (v *NullableSystemMessageContentChunks) UnmarshalJSON(src []byte) error
- func (v *NullableSystemMessageContentChunks) Unset()
- type NullableTextChunk
- type NullableThinkChunk
- type NullableThinkingInner
- func (v NullableThinkingInner) Get() *ThinkingInner
- func (v NullableThinkingInner) IsSet() bool
- func (v NullableThinkingInner) MarshalJSON() ([]byte, error)
- func (v *NullableThinkingInner) Set(val *ThinkingInner)
- func (v *NullableThinkingInner) UnmarshalJSON(src []byte) error
- func (v *NullableThinkingInner) Unset()
- type NullableTime
- type NullableTimestampGranularity
- func (v NullableTimestampGranularity) Get() *TimestampGranularity
- func (v NullableTimestampGranularity) IsSet() bool
- func (v NullableTimestampGranularity) MarshalJSON() ([]byte, error)
- func (v *NullableTimestampGranularity) Set(val *TimestampGranularity)
- func (v *NullableTimestampGranularity) UnmarshalJSON(src []byte) error
- func (v *NullableTimestampGranularity) Unset()
- type NullableTool
- type NullableTool1
- type NullableToolCall
- type NullableToolChoice
- type NullableToolChoice1
- func (v NullableToolChoice1) Get() *ToolChoice1
- func (v NullableToolChoice1) IsSet() bool
- func (v NullableToolChoice1) MarshalJSON() ([]byte, error)
- func (v *NullableToolChoice1) Set(val *ToolChoice1)
- func (v *NullableToolChoice1) UnmarshalJSON(src []byte) error
- func (v *NullableToolChoice1) Unset()
- type NullableToolChoiceEnum
- func (v NullableToolChoiceEnum) Get() *ToolChoiceEnum
- func (v NullableToolChoiceEnum) IsSet() bool
- func (v NullableToolChoiceEnum) MarshalJSON() ([]byte, error)
- func (v *NullableToolChoiceEnum) Set(val *ToolChoiceEnum)
- func (v *NullableToolChoiceEnum) UnmarshalJSON(src []byte) error
- func (v *NullableToolChoiceEnum) Unset()
- type NullableToolExecutionDeltaEvent
- func (v NullableToolExecutionDeltaEvent) Get() *ToolExecutionDeltaEvent
- func (v NullableToolExecutionDeltaEvent) IsSet() bool
- func (v NullableToolExecutionDeltaEvent) MarshalJSON() ([]byte, error)
- func (v *NullableToolExecutionDeltaEvent) Set(val *ToolExecutionDeltaEvent)
- func (v *NullableToolExecutionDeltaEvent) UnmarshalJSON(src []byte) error
- func (v *NullableToolExecutionDeltaEvent) Unset()
- type NullableToolExecutionDoneEvent
- func (v NullableToolExecutionDoneEvent) Get() *ToolExecutionDoneEvent
- func (v NullableToolExecutionDoneEvent) IsSet() bool
- func (v NullableToolExecutionDoneEvent) MarshalJSON() ([]byte, error)
- func (v *NullableToolExecutionDoneEvent) Set(val *ToolExecutionDoneEvent)
- func (v *NullableToolExecutionDoneEvent) UnmarshalJSON(src []byte) error
- func (v *NullableToolExecutionDoneEvent) Unset()
- type NullableToolExecutionEntry
- func (v NullableToolExecutionEntry) Get() *ToolExecutionEntry
- func (v NullableToolExecutionEntry) IsSet() bool
- func (v NullableToolExecutionEntry) MarshalJSON() ([]byte, error)
- func (v *NullableToolExecutionEntry) Set(val *ToolExecutionEntry)
- func (v *NullableToolExecutionEntry) UnmarshalJSON(src []byte) error
- func (v *NullableToolExecutionEntry) Unset()
- type NullableToolExecutionStartedEvent
- func (v NullableToolExecutionStartedEvent) Get() *ToolExecutionStartedEvent
- func (v NullableToolExecutionStartedEvent) IsSet() bool
- func (v NullableToolExecutionStartedEvent) MarshalJSON() ([]byte, error)
- func (v *NullableToolExecutionStartedEvent) Set(val *ToolExecutionStartedEvent)
- func (v *NullableToolExecutionStartedEvent) UnmarshalJSON(src []byte) error
- func (v *NullableToolExecutionStartedEvent) Unset()
- type NullableToolFileChunk
- func (v NullableToolFileChunk) Get() *ToolFileChunk
- func (v NullableToolFileChunk) IsSet() bool
- func (v NullableToolFileChunk) MarshalJSON() ([]byte, error)
- func (v *NullableToolFileChunk) Set(val *ToolFileChunk)
- func (v *NullableToolFileChunk) UnmarshalJSON(src []byte) error
- func (v *NullableToolFileChunk) Unset()
- type NullableToolMessage
- func (v NullableToolMessage) Get() *ToolMessage
- func (v NullableToolMessage) IsSet() bool
- func (v NullableToolMessage) MarshalJSON() ([]byte, error)
- func (v *NullableToolMessage) Set(val *ToolMessage)
- func (v *NullableToolMessage) UnmarshalJSON(src []byte) error
- func (v *NullableToolMessage) Unset()
- type NullableToolReferenceChunk
- func (v NullableToolReferenceChunk) Get() *ToolReferenceChunk
- func (v NullableToolReferenceChunk) IsSet() bool
- func (v NullableToolReferenceChunk) MarshalJSON() ([]byte, error)
- func (v *NullableToolReferenceChunk) Set(val *ToolReferenceChunk)
- func (v *NullableToolReferenceChunk) UnmarshalJSON(src []byte) error
- func (v *NullableToolReferenceChunk) Unset()
- type NullableToolTypes
- type NullableToolsInner
- type NullableTrainingFile
- func (v NullableTrainingFile) Get() *TrainingFile
- func (v NullableTrainingFile) IsSet() bool
- func (v NullableTrainingFile) MarshalJSON() ([]byte, error)
- func (v *NullableTrainingFile) Set(val *TrainingFile)
- func (v *NullableTrainingFile) UnmarshalJSON(src []byte) error
- func (v *NullableTrainingFile) Unset()
- type NullableTranscriptionResponse
- func (v NullableTranscriptionResponse) Get() *TranscriptionResponse
- func (v NullableTranscriptionResponse) IsSet() bool
- func (v NullableTranscriptionResponse) MarshalJSON() ([]byte, error)
- func (v *NullableTranscriptionResponse) Set(val *TranscriptionResponse)
- func (v *NullableTranscriptionResponse) UnmarshalJSON(src []byte) error
- func (v *NullableTranscriptionResponse) Unset()
- type NullableTranscriptionSegmentChunk
- func (v NullableTranscriptionSegmentChunk) Get() *TranscriptionSegmentChunk
- func (v NullableTranscriptionSegmentChunk) IsSet() bool
- func (v NullableTranscriptionSegmentChunk) MarshalJSON() ([]byte, error)
- func (v *NullableTranscriptionSegmentChunk) Set(val *TranscriptionSegmentChunk)
- func (v *NullableTranscriptionSegmentChunk) UnmarshalJSON(src []byte) error
- func (v *NullableTranscriptionSegmentChunk) Unset()
- type NullableTranscriptionStreamDone
- func (v NullableTranscriptionStreamDone) Get() *TranscriptionStreamDone
- func (v NullableTranscriptionStreamDone) IsSet() bool
- func (v NullableTranscriptionStreamDone) MarshalJSON() ([]byte, error)
- func (v *NullableTranscriptionStreamDone) Set(val *TranscriptionStreamDone)
- func (v *NullableTranscriptionStreamDone) UnmarshalJSON(src []byte) error
- func (v *NullableTranscriptionStreamDone) Unset()
- type NullableTranscriptionStreamEventTypes
- func (v NullableTranscriptionStreamEventTypes) Get() *TranscriptionStreamEventTypes
- func (v NullableTranscriptionStreamEventTypes) IsSet() bool
- func (v NullableTranscriptionStreamEventTypes) MarshalJSON() ([]byte, error)
- func (v *NullableTranscriptionStreamEventTypes) Set(val *TranscriptionStreamEventTypes)
- func (v *NullableTranscriptionStreamEventTypes) UnmarshalJSON(src []byte) error
- func (v *NullableTranscriptionStreamEventTypes) Unset()
- type NullableTranscriptionStreamEvents
- func (v NullableTranscriptionStreamEvents) Get() *TranscriptionStreamEvents
- func (v NullableTranscriptionStreamEvents) IsSet() bool
- func (v NullableTranscriptionStreamEvents) MarshalJSON() ([]byte, error)
- func (v *NullableTranscriptionStreamEvents) Set(val *TranscriptionStreamEvents)
- func (v *NullableTranscriptionStreamEvents) UnmarshalJSON(src []byte) error
- func (v *NullableTranscriptionStreamEvents) Unset()
- type NullableTranscriptionStreamLanguage
- func (v NullableTranscriptionStreamLanguage) Get() *TranscriptionStreamLanguage
- func (v NullableTranscriptionStreamLanguage) IsSet() bool
- func (v NullableTranscriptionStreamLanguage) MarshalJSON() ([]byte, error)
- func (v *NullableTranscriptionStreamLanguage) Set(val *TranscriptionStreamLanguage)
- func (v *NullableTranscriptionStreamLanguage) UnmarshalJSON(src []byte) error
- func (v *NullableTranscriptionStreamLanguage) Unset()
- type NullableTranscriptionStreamSegmentDelta
- func (v NullableTranscriptionStreamSegmentDelta) Get() *TranscriptionStreamSegmentDelta
- func (v NullableTranscriptionStreamSegmentDelta) IsSet() bool
- func (v NullableTranscriptionStreamSegmentDelta) MarshalJSON() ([]byte, error)
- func (v *NullableTranscriptionStreamSegmentDelta) Set(val *TranscriptionStreamSegmentDelta)
- func (v *NullableTranscriptionStreamSegmentDelta) UnmarshalJSON(src []byte) error
- func (v *NullableTranscriptionStreamSegmentDelta) Unset()
- type NullableTranscriptionStreamTextDelta
- func (v NullableTranscriptionStreamTextDelta) Get() *TranscriptionStreamTextDelta
- func (v NullableTranscriptionStreamTextDelta) IsSet() bool
- func (v NullableTranscriptionStreamTextDelta) MarshalJSON() ([]byte, error)
- func (v *NullableTranscriptionStreamTextDelta) Set(val *TranscriptionStreamTextDelta)
- func (v *NullableTranscriptionStreamTextDelta) UnmarshalJSON(src []byte) error
- func (v *NullableTranscriptionStreamTextDelta) Unset()
- type NullableUnarchiveFTModelOut
- func (v NullableUnarchiveFTModelOut) Get() *UnarchiveFTModelOut
- func (v NullableUnarchiveFTModelOut) IsSet() bool
- func (v NullableUnarchiveFTModelOut) MarshalJSON() ([]byte, error)
- func (v *NullableUnarchiveFTModelOut) Set(val *UnarchiveFTModelOut)
- func (v *NullableUnarchiveFTModelOut) UnmarshalJSON(src []byte) error
- func (v *NullableUnarchiveFTModelOut) Unset()
- type NullableUpdateFTModelIn
- func (v NullableUpdateFTModelIn) Get() *UpdateFTModelIn
- func (v NullableUpdateFTModelIn) IsSet() bool
- func (v NullableUpdateFTModelIn) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateFTModelIn) Set(val *UpdateFTModelIn)
- func (v *NullableUpdateFTModelIn) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateFTModelIn) Unset()
- type NullableUploadFileOut
- func (v NullableUploadFileOut) Get() *UploadFileOut
- func (v NullableUploadFileOut) IsSet() bool
- func (v NullableUploadFileOut) MarshalJSON() ([]byte, error)
- func (v *NullableUploadFileOut) Set(val *UploadFileOut)
- func (v *NullableUploadFileOut) UnmarshalJSON(src []byte) error
- func (v *NullableUploadFileOut) Unset()
- type NullableUsageInfo
- type NullableUserMessage
- func (v NullableUserMessage) Get() *UserMessage
- func (v NullableUserMessage) IsSet() bool
- func (v NullableUserMessage) MarshalJSON() ([]byte, error)
- func (v *NullableUserMessage) Set(val *UserMessage)
- func (v *NullableUserMessage) UnmarshalJSON(src []byte) error
- func (v *NullableUserMessage) Unset()
- 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 NullableWandbIntegration
- func (v NullableWandbIntegration) Get() *WandbIntegration
- func (v NullableWandbIntegration) IsSet() bool
- func (v NullableWandbIntegration) MarshalJSON() ([]byte, error)
- func (v *NullableWandbIntegration) Set(val *WandbIntegration)
- func (v *NullableWandbIntegration) UnmarshalJSON(src []byte) error
- func (v *NullableWandbIntegration) Unset()
- type NullableWandbIntegrationOut
- func (v NullableWandbIntegrationOut) Get() *WandbIntegrationOut
- func (v NullableWandbIntegrationOut) IsSet() bool
- func (v NullableWandbIntegrationOut) MarshalJSON() ([]byte, error)
- func (v *NullableWandbIntegrationOut) Set(val *WandbIntegrationOut)
- func (v *NullableWandbIntegrationOut) UnmarshalJSON(src []byte) error
- func (v *NullableWandbIntegrationOut) Unset()
- type NullableWebSearchPremiumTool
- func (v NullableWebSearchPremiumTool) Get() *WebSearchPremiumTool
- func (v NullableWebSearchPremiumTool) IsSet() bool
- func (v NullableWebSearchPremiumTool) MarshalJSON() ([]byte, error)
- func (v *NullableWebSearchPremiumTool) Set(val *WebSearchPremiumTool)
- func (v *NullableWebSearchPremiumTool) UnmarshalJSON(src []byte) error
- func (v *NullableWebSearchPremiumTool) Unset()
- type NullableWebSearchTool
- func (v NullableWebSearchTool) Get() *WebSearchTool
- func (v NullableWebSearchTool) IsSet() bool
- func (v NullableWebSearchTool) MarshalJSON() ([]byte, error)
- func (v *NullableWebSearchTool) Set(val *WebSearchTool)
- func (v *NullableWebSearchTool) UnmarshalJSON(src []byte) error
- func (v *NullableWebSearchTool) Unset()
- type OCRImageObject
- func (o *OCRImageObject) GetBottomRightX() int32
- func (o *OCRImageObject) GetBottomRightXOk() (*int32, bool)
- func (o *OCRImageObject) GetBottomRightY() int32
- func (o *OCRImageObject) GetBottomRightYOk() (*int32, bool)
- func (o *OCRImageObject) GetId() string
- func (o *OCRImageObject) GetIdOk() (*string, bool)
- func (o *OCRImageObject) GetImageAnnotation() string
- func (o *OCRImageObject) GetImageAnnotationOk() (*string, bool)
- func (o *OCRImageObject) GetImageBase64() string
- func (o *OCRImageObject) GetImageBase64Ok() (*string, bool)
- func (o *OCRImageObject) GetTopLeftX() int32
- func (o *OCRImageObject) GetTopLeftXOk() (*int32, bool)
- func (o *OCRImageObject) GetTopLeftY() int32
- func (o *OCRImageObject) GetTopLeftYOk() (*int32, bool)
- func (o *OCRImageObject) HasImageAnnotation() bool
- func (o *OCRImageObject) HasImageBase64() bool
- func (o OCRImageObject) MarshalJSON() ([]byte, error)
- func (o *OCRImageObject) SetBottomRightX(v int32)
- func (o *OCRImageObject) SetBottomRightY(v int32)
- func (o *OCRImageObject) SetId(v string)
- func (o *OCRImageObject) SetImageAnnotation(v string)
- func (o *OCRImageObject) SetImageAnnotationNil()
- func (o *OCRImageObject) SetImageBase64(v string)
- func (o *OCRImageObject) SetImageBase64Nil()
- func (o *OCRImageObject) SetTopLeftX(v int32)
- func (o *OCRImageObject) SetTopLeftY(v int32)
- func (o OCRImageObject) ToMap() (map[string]interface{}, error)
- func (o *OCRImageObject) UnmarshalJSON(data []byte) (err error)
- func (o *OCRImageObject) UnsetImageAnnotation()
- func (o *OCRImageObject) UnsetImageBase64()
- type OCRPageDimensions
- func (o *OCRPageDimensions) GetDpi() int32
- func (o *OCRPageDimensions) GetDpiOk() (*int32, bool)
- func (o *OCRPageDimensions) GetHeight() int32
- func (o *OCRPageDimensions) GetHeightOk() (*int32, bool)
- func (o *OCRPageDimensions) GetWidth() int32
- func (o *OCRPageDimensions) GetWidthOk() (*int32, bool)
- func (o OCRPageDimensions) MarshalJSON() ([]byte, error)
- func (o *OCRPageDimensions) SetDpi(v int32)
- func (o *OCRPageDimensions) SetHeight(v int32)
- func (o *OCRPageDimensions) SetWidth(v int32)
- func (o OCRPageDimensions) ToMap() (map[string]interface{}, error)
- func (o *OCRPageDimensions) UnmarshalJSON(data []byte) (err error)
- type OCRPageObject
- func (o *OCRPageObject) GetDimensions() OCRPageDimensions
- func (o *OCRPageObject) GetDimensionsOk() (*OCRPageDimensions, bool)
- func (o *OCRPageObject) GetFooter() string
- func (o *OCRPageObject) GetFooterOk() (*string, bool)
- func (o *OCRPageObject) GetHeader() string
- func (o *OCRPageObject) GetHeaderOk() (*string, bool)
- func (o *OCRPageObject) GetHyperlinks() []string
- func (o *OCRPageObject) GetHyperlinksOk() ([]string, bool)
- func (o *OCRPageObject) GetImages() []OCRImageObject
- func (o *OCRPageObject) GetImagesOk() ([]OCRImageObject, bool)
- func (o *OCRPageObject) GetIndex() int32
- func (o *OCRPageObject) GetIndexOk() (*int32, bool)
- func (o *OCRPageObject) GetMarkdown() string
- func (o *OCRPageObject) GetMarkdownOk() (*string, bool)
- func (o *OCRPageObject) GetTables() []OCRTableObject
- func (o *OCRPageObject) GetTablesOk() ([]OCRTableObject, bool)
- func (o *OCRPageObject) HasFooter() bool
- func (o *OCRPageObject) HasHeader() bool
- func (o *OCRPageObject) HasHyperlinks() bool
- func (o *OCRPageObject) HasTables() bool
- func (o OCRPageObject) MarshalJSON() ([]byte, error)
- func (o *OCRPageObject) SetDimensions(v OCRPageDimensions)
- func (o *OCRPageObject) SetFooter(v string)
- func (o *OCRPageObject) SetFooterNil()
- func (o *OCRPageObject) SetHeader(v string)
- func (o *OCRPageObject) SetHeaderNil()
- func (o *OCRPageObject) SetHyperlinks(v []string)
- func (o *OCRPageObject) SetImages(v []OCRImageObject)
- func (o *OCRPageObject) SetIndex(v int32)
- func (o *OCRPageObject) SetMarkdown(v string)
- func (o *OCRPageObject) SetTables(v []OCRTableObject)
- func (o OCRPageObject) ToMap() (map[string]interface{}, error)
- func (o *OCRPageObject) UnmarshalJSON(data []byte) (err error)
- func (o *OCRPageObject) UnsetFooter()
- func (o *OCRPageObject) UnsetHeader()
- type OCRRequest
- func (o *OCRRequest) GetBboxAnnotationFormat() ResponseFormat
- func (o *OCRRequest) GetBboxAnnotationFormatOk() (*ResponseFormat, bool)
- func (o *OCRRequest) GetDocument() Document
- func (o *OCRRequest) GetDocumentAnnotationFormat() ResponseFormat
- func (o *OCRRequest) GetDocumentAnnotationFormatOk() (*ResponseFormat, bool)
- func (o *OCRRequest) GetDocumentAnnotationPrompt() string
- func (o *OCRRequest) GetDocumentAnnotationPromptOk() (*string, bool)
- func (o *OCRRequest) GetDocumentOk() (*Document, bool)
- func (o *OCRRequest) GetExtractFooter() bool
- func (o *OCRRequest) GetExtractFooterOk() (*bool, bool)
- func (o *OCRRequest) GetExtractHeader() bool
- func (o *OCRRequest) GetExtractHeaderOk() (*bool, bool)
- func (o *OCRRequest) GetId() string
- func (o *OCRRequest) GetIdOk() (*string, bool)
- func (o *OCRRequest) GetImageLimit() int32
- func (o *OCRRequest) GetImageLimitOk() (*int32, bool)
- func (o *OCRRequest) GetImageMinSize() int32
- func (o *OCRRequest) GetImageMinSizeOk() (*int32, bool)
- func (o *OCRRequest) GetIncludeImageBase64() bool
- func (o *OCRRequest) GetIncludeImageBase64Ok() (*bool, bool)
- func (o *OCRRequest) GetModel() string
- func (o *OCRRequest) GetModelOk() (*string, bool)
- func (o *OCRRequest) GetPages() []int32
- func (o *OCRRequest) GetPagesOk() ([]int32, bool)
- func (o *OCRRequest) GetTableFormat() string
- func (o *OCRRequest) GetTableFormatOk() (*string, bool)
- func (o *OCRRequest) HasBboxAnnotationFormat() bool
- func (o *OCRRequest) HasDocumentAnnotationFormat() bool
- func (o *OCRRequest) HasDocumentAnnotationPrompt() bool
- func (o *OCRRequest) HasExtractFooter() bool
- func (o *OCRRequest) HasExtractHeader() bool
- func (o *OCRRequest) HasId() bool
- func (o *OCRRequest) HasImageLimit() bool
- func (o *OCRRequest) HasImageMinSize() bool
- func (o *OCRRequest) HasIncludeImageBase64() bool
- func (o *OCRRequest) HasPages() bool
- func (o *OCRRequest) HasTableFormat() bool
- func (o OCRRequest) MarshalJSON() ([]byte, error)
- func (o *OCRRequest) SetBboxAnnotationFormat(v ResponseFormat)
- func (o *OCRRequest) SetBboxAnnotationFormatNil()
- func (o *OCRRequest) SetDocument(v Document)
- func (o *OCRRequest) SetDocumentAnnotationFormat(v ResponseFormat)
- func (o *OCRRequest) SetDocumentAnnotationFormatNil()
- func (o *OCRRequest) SetDocumentAnnotationPrompt(v string)
- func (o *OCRRequest) SetDocumentAnnotationPromptNil()
- func (o *OCRRequest) SetExtractFooter(v bool)
- func (o *OCRRequest) SetExtractHeader(v bool)
- func (o *OCRRequest) SetId(v string)
- func (o *OCRRequest) SetImageLimit(v int32)
- func (o *OCRRequest) SetImageLimitNil()
- func (o *OCRRequest) SetImageMinSize(v int32)
- func (o *OCRRequest) SetImageMinSizeNil()
- func (o *OCRRequest) SetIncludeImageBase64(v bool)
- func (o *OCRRequest) SetIncludeImageBase64Nil()
- func (o *OCRRequest) SetModel(v string)
- func (o *OCRRequest) SetPages(v []int32)
- func (o *OCRRequest) SetTableFormat(v string)
- func (o *OCRRequest) SetTableFormatNil()
- func (o OCRRequest) ToMap() (map[string]interface{}, error)
- func (o *OCRRequest) UnmarshalJSON(data []byte) (err error)
- func (o *OCRRequest) UnsetBboxAnnotationFormat()
- func (o *OCRRequest) UnsetDocumentAnnotationFormat()
- func (o *OCRRequest) UnsetDocumentAnnotationPrompt()
- func (o *OCRRequest) UnsetImageLimit()
- func (o *OCRRequest) UnsetImageMinSize()
- func (o *OCRRequest) UnsetIncludeImageBase64()
- func (o *OCRRequest) UnsetTableFormat()
- type OCRResponse
- func (o *OCRResponse) GetDocumentAnnotation() string
- func (o *OCRResponse) GetDocumentAnnotationOk() (*string, bool)
- func (o *OCRResponse) GetModel() string
- func (o *OCRResponse) GetModelOk() (*string, bool)
- func (o *OCRResponse) GetPages() []OCRPageObject
- func (o *OCRResponse) GetPagesOk() ([]OCRPageObject, bool)
- func (o *OCRResponse) GetUsageInfo() OCRUsageInfo
- func (o *OCRResponse) GetUsageInfoOk() (*OCRUsageInfo, bool)
- func (o *OCRResponse) HasDocumentAnnotation() bool
- func (o OCRResponse) MarshalJSON() ([]byte, error)
- func (o *OCRResponse) SetDocumentAnnotation(v string)
- func (o *OCRResponse) SetDocumentAnnotationNil()
- func (o *OCRResponse) SetModel(v string)
- func (o *OCRResponse) SetPages(v []OCRPageObject)
- func (o *OCRResponse) SetUsageInfo(v OCRUsageInfo)
- func (o OCRResponse) ToMap() (map[string]interface{}, error)
- func (o *OCRResponse) UnmarshalJSON(data []byte) (err error)
- func (o *OCRResponse) UnsetDocumentAnnotation()
- type OCRTableObject
- func (o *OCRTableObject) GetContent() string
- func (o *OCRTableObject) GetContentOk() (*string, bool)
- func (o *OCRTableObject) GetFormat() string
- func (o *OCRTableObject) GetFormatOk() (*string, bool)
- func (o *OCRTableObject) GetId() string
- func (o *OCRTableObject) GetIdOk() (*string, bool)
- func (o OCRTableObject) MarshalJSON() ([]byte, error)
- func (o *OCRTableObject) SetContent(v string)
- func (o *OCRTableObject) SetFormat(v string)
- func (o *OCRTableObject) SetId(v string)
- func (o OCRTableObject) ToMap() (map[string]interface{}, error)
- func (o *OCRTableObject) UnmarshalJSON(data []byte) (err error)
- type OCRUsageInfo
- func (o *OCRUsageInfo) GetDocSizeBytes() int32
- func (o *OCRUsageInfo) GetDocSizeBytesOk() (*int32, bool)
- func (o *OCRUsageInfo) GetPagesProcessed() int32
- func (o *OCRUsageInfo) GetPagesProcessedOk() (*int32, bool)
- func (o *OCRUsageInfo) HasDocSizeBytes() bool
- func (o OCRUsageInfo) MarshalJSON() ([]byte, error)
- func (o *OCRUsageInfo) SetDocSizeBytes(v int32)
- func (o *OCRUsageInfo) SetDocSizeBytesNil()
- func (o *OCRUsageInfo) SetPagesProcessed(v int32)
- func (o OCRUsageInfo) ToMap() (map[string]interface{}, error)
- func (o *OCRUsageInfo) UnmarshalJSON(data []byte) (err error)
- func (o *OCRUsageInfo) UnsetDocSizeBytes()
- type OcrAPI
- type OcrAPIService
- type OutputContentChunks
- type OutputsInner
- type PaginationInfo
- func (o *PaginationInfo) GetCurrentPage() int32
- func (o *PaginationInfo) GetCurrentPageOk() (*int32, bool)
- func (o *PaginationInfo) GetHasMore() bool
- func (o *PaginationInfo) GetHasMoreOk() (*bool, bool)
- func (o *PaginationInfo) GetPageSize() int32
- func (o *PaginationInfo) GetPageSizeOk() (*int32, bool)
- func (o *PaginationInfo) GetTotalItems() int32
- func (o *PaginationInfo) GetTotalItemsOk() (*int32, bool)
- func (o *PaginationInfo) GetTotalPages() int32
- func (o *PaginationInfo) GetTotalPagesOk() (*int32, bool)
- func (o PaginationInfo) MarshalJSON() ([]byte, error)
- func (o *PaginationInfo) SetCurrentPage(v int32)
- func (o *PaginationInfo) SetHasMore(v bool)
- func (o *PaginationInfo) SetPageSize(v int32)
- func (o *PaginationInfo) SetTotalItems(v int32)
- func (o *PaginationInfo) SetTotalPages(v int32)
- func (o PaginationInfo) ToMap() (map[string]interface{}, error)
- func (o *PaginationInfo) UnmarshalJSON(data []byte) (err error)
- type Prediction
- func (o *Prediction) GetContent() string
- func (o *Prediction) GetContentOk() (*string, bool)
- func (o *Prediction) GetType() string
- func (o *Prediction) GetTypeOk() (*string, bool)
- func (o *Prediction) HasContent() bool
- func (o *Prediction) HasType() bool
- func (o Prediction) MarshalJSON() ([]byte, error)
- func (o *Prediction) SetContent(v string)
- func (o *Prediction) SetType(v string)
- func (o Prediction) ToMap() (map[string]interface{}, error)
- type ProcessingStatusOut
- func (o *ProcessingStatusOut) GetDocumentId() string
- func (o *ProcessingStatusOut) GetDocumentIdOk() (*string, bool)
- func (o *ProcessingStatusOut) GetProcessingStatus() string
- func (o *ProcessingStatusOut) GetProcessingStatusOk() (*string, bool)
- func (o ProcessingStatusOut) MarshalJSON() ([]byte, error)
- func (o *ProcessingStatusOut) SetDocumentId(v string)
- func (o *ProcessingStatusOut) SetProcessingStatus(v string)
- func (o ProcessingStatusOut) ToMap() (map[string]interface{}, error)
- func (o *ProcessingStatusOut) UnmarshalJSON(data []byte) (err error)
- type ReferenceChunk
- func (o *ReferenceChunk) GetReferenceIds() []int32
- func (o *ReferenceChunk) GetReferenceIdsOk() ([]int32, bool)
- func (o *ReferenceChunk) GetType() string
- func (o *ReferenceChunk) GetTypeOk() (*string, bool)
- func (o *ReferenceChunk) HasType() bool
- func (o ReferenceChunk) MarshalJSON() ([]byte, error)
- func (o *ReferenceChunk) SetReferenceIds(v []int32)
- func (o *ReferenceChunk) SetType(v string)
- func (o ReferenceChunk) ToMap() (map[string]interface{}, error)
- func (o *ReferenceChunk) UnmarshalJSON(data []byte) (err error)
- type RequestSource
- type Response
- type Response1
- type Response2
- type ResponseAnyOf
- type ResponseBase
- func (o *ResponseBase) GetId() string
- func (o *ResponseBase) GetIdOk() (*string, bool)
- func (o *ResponseBase) GetModel() string
- func (o *ResponseBase) GetModelOk() (*string, bool)
- func (o *ResponseBase) GetObject() string
- func (o *ResponseBase) GetObjectOk() (*string, bool)
- func (o *ResponseBase) GetUsage() UsageInfo
- func (o *ResponseBase) GetUsageOk() (*UsageInfo, bool)
- func (o *ResponseBase) HasId() bool
- func (o *ResponseBase) HasModel() bool
- func (o *ResponseBase) HasObject() bool
- func (o *ResponseBase) HasUsage() bool
- func (o ResponseBase) MarshalJSON() ([]byte, error)
- func (o *ResponseBase) SetId(v string)
- func (o *ResponseBase) SetModel(v string)
- func (o *ResponseBase) SetObject(v string)
- func (o *ResponseBase) SetUsage(v UsageInfo)
- func (o ResponseBase) ToMap() (map[string]interface{}, error)
- func (o *ResponseBase) UnmarshalJSON(data []byte) (err error)
- type ResponseDoneEvent
- func (o *ResponseDoneEvent) GetCreatedAt() time.Time
- func (o *ResponseDoneEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *ResponseDoneEvent) GetType() string
- func (o *ResponseDoneEvent) GetTypeOk() (*string, bool)
- func (o *ResponseDoneEvent) GetUsage() ConversationUsageInfo
- func (o *ResponseDoneEvent) GetUsageOk() (*ConversationUsageInfo, bool)
- func (o *ResponseDoneEvent) HasCreatedAt() bool
- func (o *ResponseDoneEvent) HasType() bool
- func (o ResponseDoneEvent) MarshalJSON() ([]byte, error)
- func (o *ResponseDoneEvent) SetCreatedAt(v time.Time)
- func (o *ResponseDoneEvent) SetType(v string)
- func (o *ResponseDoneEvent) SetUsage(v ConversationUsageInfo)
- func (o ResponseDoneEvent) ToMap() (map[string]interface{}, error)
- func (o *ResponseDoneEvent) UnmarshalJSON(data []byte) (err error)
- type ResponseErrorEvent
- func (o *ResponseErrorEvent) GetCode() int32
- func (o *ResponseErrorEvent) GetCodeOk() (*int32, bool)
- func (o *ResponseErrorEvent) GetCreatedAt() time.Time
- func (o *ResponseErrorEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *ResponseErrorEvent) GetMessage() string
- func (o *ResponseErrorEvent) GetMessageOk() (*string, bool)
- func (o *ResponseErrorEvent) GetType() string
- func (o *ResponseErrorEvent) GetTypeOk() (*string, bool)
- func (o *ResponseErrorEvent) HasCreatedAt() bool
- func (o *ResponseErrorEvent) HasType() bool
- func (o ResponseErrorEvent) MarshalJSON() ([]byte, error)
- func (o *ResponseErrorEvent) SetCode(v int32)
- func (o *ResponseErrorEvent) SetCreatedAt(v time.Time)
- func (o *ResponseErrorEvent) SetMessage(v string)
- func (o *ResponseErrorEvent) SetType(v string)
- func (o ResponseErrorEvent) ToMap() (map[string]interface{}, error)
- func (o *ResponseErrorEvent) UnmarshalJSON(data []byte) (err error)
- type ResponseFormat
- func (o *ResponseFormat) GetJsonSchema() JsonSchema
- func (o *ResponseFormat) GetJsonSchemaOk() (*JsonSchema, bool)
- func (o *ResponseFormat) GetType() ResponseFormats
- func (o *ResponseFormat) GetTypeOk() (*ResponseFormats, bool)
- func (o *ResponseFormat) HasJsonSchema() bool
- func (o *ResponseFormat) HasType() bool
- func (o ResponseFormat) MarshalJSON() ([]byte, error)
- func (o *ResponseFormat) SetJsonSchema(v JsonSchema)
- func (o *ResponseFormat) SetJsonSchemaNil()
- func (o *ResponseFormat) SetType(v ResponseFormats)
- func (o ResponseFormat) ToMap() (map[string]interface{}, error)
- func (o *ResponseFormat) UnsetJsonSchema()
- type ResponseFormats
- type ResponseRetrieveModelV1ModelsModelIdGet
- func (obj *ResponseRetrieveModelV1ModelsModelIdGet) GetActualInstance() interface{}
- func (obj ResponseRetrieveModelV1ModelsModelIdGet) GetActualInstanceValue() interface{}
- func (src ResponseRetrieveModelV1ModelsModelIdGet) MarshalJSON() ([]byte, error)
- func (dst *ResponseRetrieveModelV1ModelsModelIdGet) UnmarshalJSON(data []byte) error
- type ResponseStartedEvent
- func (o *ResponseStartedEvent) GetConversationId() string
- func (o *ResponseStartedEvent) GetConversationIdOk() (*string, bool)
- func (o *ResponseStartedEvent) GetCreatedAt() time.Time
- func (o *ResponseStartedEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *ResponseStartedEvent) GetType() string
- func (o *ResponseStartedEvent) GetTypeOk() (*string, bool)
- func (o *ResponseStartedEvent) HasCreatedAt() bool
- func (o *ResponseStartedEvent) HasType() bool
- func (o ResponseStartedEvent) MarshalJSON() ([]byte, error)
- func (o *ResponseStartedEvent) SetConversationId(v string)
- func (o *ResponseStartedEvent) SetCreatedAt(v time.Time)
- func (o *ResponseStartedEvent) SetType(v string)
- func (o ResponseStartedEvent) ToMap() (map[string]interface{}, error)
- func (o *ResponseStartedEvent) UnmarshalJSON(data []byte) (err error)
- type ResponseV1ConversationsGet
- type ResponseV1ConversationsListInner
- type RetrieveFileOut
- func (o *RetrieveFileOut) GetBytes() int32
- func (o *RetrieveFileOut) GetBytesOk() (*int32, bool)
- func (o *RetrieveFileOut) GetCreatedAt() int32
- func (o *RetrieveFileOut) GetCreatedAtOk() (*int32, bool)
- func (o *RetrieveFileOut) GetDeleted() bool
- func (o *RetrieveFileOut) GetDeletedOk() (*bool, bool)
- func (o *RetrieveFileOut) GetFilename() string
- func (o *RetrieveFileOut) GetFilenameOk() (*string, bool)
- func (o *RetrieveFileOut) GetId() string
- func (o *RetrieveFileOut) GetIdOk() (*string, bool)
- func (o *RetrieveFileOut) GetMimetype() string
- func (o *RetrieveFileOut) GetMimetypeOk() (*string, bool)
- func (o *RetrieveFileOut) GetNumLines() int32
- func (o *RetrieveFileOut) GetNumLinesOk() (*int32, bool)
- func (o *RetrieveFileOut) GetObject() string
- func (o *RetrieveFileOut) GetObjectOk() (*string, bool)
- func (o *RetrieveFileOut) GetPurpose() FilePurpose
- func (o *RetrieveFileOut) GetPurposeOk() (*FilePurpose, bool)
- func (o *RetrieveFileOut) GetSampleType() SampleType
- func (o *RetrieveFileOut) GetSampleTypeOk() (*SampleType, bool)
- func (o *RetrieveFileOut) GetSignature() string
- func (o *RetrieveFileOut) GetSignatureOk() (*string, bool)
- func (o *RetrieveFileOut) GetSource() Source
- func (o *RetrieveFileOut) GetSourceOk() (*Source, bool)
- func (o *RetrieveFileOut) HasMimetype() bool
- func (o *RetrieveFileOut) HasNumLines() bool
- func (o *RetrieveFileOut) HasSignature() bool
- func (o RetrieveFileOut) MarshalJSON() ([]byte, error)
- func (o *RetrieveFileOut) SetBytes(v int32)
- func (o *RetrieveFileOut) SetCreatedAt(v int32)
- func (o *RetrieveFileOut) SetDeleted(v bool)
- func (o *RetrieveFileOut) SetFilename(v string)
- func (o *RetrieveFileOut) SetId(v string)
- func (o *RetrieveFileOut) SetMimetype(v string)
- func (o *RetrieveFileOut) SetMimetypeNil()
- func (o *RetrieveFileOut) SetNumLines(v int32)
- func (o *RetrieveFileOut) SetNumLinesNil()
- func (o *RetrieveFileOut) SetObject(v string)
- func (o *RetrieveFileOut) SetPurpose(v FilePurpose)
- func (o *RetrieveFileOut) SetSampleType(v SampleType)
- func (o *RetrieveFileOut) SetSignature(v string)
- func (o *RetrieveFileOut) SetSignatureNil()
- func (o *RetrieveFileOut) SetSource(v Source)
- func (o RetrieveFileOut) ToMap() (map[string]interface{}, error)
- func (o *RetrieveFileOut) UnmarshalJSON(data []byte) (err error)
- func (o *RetrieveFileOut) UnsetMimetype()
- func (o *RetrieveFileOut) UnsetNumLines()
- func (o *RetrieveFileOut) UnsetSignature()
- type SSETypes
- type SampleType
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type ShareEnum
- type SharingDelete
- func (o *SharingDelete) GetOrgId() string
- func (o *SharingDelete) GetOrgIdOk() (*string, bool)
- func (o *SharingDelete) GetShareWithType() EntityType
- func (o *SharingDelete) GetShareWithTypeOk() (*EntityType, bool)
- func (o *SharingDelete) GetShareWithUuid() string
- func (o *SharingDelete) GetShareWithUuidOk() (*string, bool)
- func (o *SharingDelete) HasOrgId() bool
- func (o SharingDelete) MarshalJSON() ([]byte, error)
- func (o *SharingDelete) SetOrgId(v string)
- func (o *SharingDelete) SetOrgIdNil()
- func (o *SharingDelete) SetShareWithType(v EntityType)
- func (o *SharingDelete) SetShareWithUuid(v string)
- func (o SharingDelete) ToMap() (map[string]interface{}, error)
- func (o *SharingDelete) UnmarshalJSON(data []byte) (err error)
- func (o *SharingDelete) UnsetOrgId()
- type SharingIn
- func (o *SharingIn) GetLevel() ShareEnum
- func (o *SharingIn) GetLevelOk() (*ShareEnum, bool)
- func (o *SharingIn) GetOrgId() string
- func (o *SharingIn) GetOrgIdOk() (*string, bool)
- func (o *SharingIn) GetShareWithType() EntityType
- func (o *SharingIn) GetShareWithTypeOk() (*EntityType, bool)
- func (o *SharingIn) GetShareWithUuid() string
- func (o *SharingIn) GetShareWithUuidOk() (*string, bool)
- func (o *SharingIn) HasOrgId() bool
- func (o SharingIn) MarshalJSON() ([]byte, error)
- func (o *SharingIn) SetLevel(v ShareEnum)
- func (o *SharingIn) SetOrgId(v string)
- func (o *SharingIn) SetOrgIdNil()
- func (o *SharingIn) SetShareWithType(v EntityType)
- func (o *SharingIn) SetShareWithUuid(v string)
- func (o SharingIn) ToMap() (map[string]interface{}, error)
- func (o *SharingIn) UnmarshalJSON(data []byte) (err error)
- func (o *SharingIn) UnsetOrgId()
- type SharingOut
- func (o *SharingOut) GetLibraryId() string
- func (o *SharingOut) GetLibraryIdOk() (*string, bool)
- func (o *SharingOut) GetOrgId() string
- func (o *SharingOut) GetOrgIdOk() (*string, bool)
- func (o *SharingOut) GetRole() string
- func (o *SharingOut) GetRoleOk() (*string, bool)
- func (o *SharingOut) GetShareWithType() string
- func (o *SharingOut) GetShareWithTypeOk() (*string, bool)
- func (o *SharingOut) GetShareWithUuid() string
- func (o *SharingOut) GetShareWithUuidOk() (*string, bool)
- func (o *SharingOut) GetUserId() string
- func (o *SharingOut) GetUserIdOk() (*string, bool)
- func (o *SharingOut) HasUserId() bool
- func (o SharingOut) MarshalJSON() ([]byte, error)
- func (o *SharingOut) SetLibraryId(v string)
- func (o *SharingOut) SetOrgId(v string)
- func (o *SharingOut) SetRole(v string)
- func (o *SharingOut) SetShareWithType(v string)
- func (o *SharingOut) SetShareWithUuid(v string)
- func (o *SharingOut) SetUserId(v string)
- func (o *SharingOut) SetUserIdNil()
- func (o SharingOut) ToMap() (map[string]interface{}, error)
- func (o *SharingOut) UnmarshalJSON(data []byte) (err error)
- func (o *SharingOut) UnsetUserId()
- type Source
- type Stop
- type SystemMessage
- func (o *SystemMessage) GetContent() Content4
- func (o *SystemMessage) GetContentOk() (*Content4, bool)
- func (o *SystemMessage) GetRole() string
- func (o *SystemMessage) GetRoleOk() (*string, bool)
- func (o *SystemMessage) HasRole() bool
- func (o SystemMessage) MarshalJSON() ([]byte, error)
- func (o *SystemMessage) SetContent(v Content4)
- func (o *SystemMessage) SetRole(v string)
- func (o SystemMessage) ToMap() (map[string]interface{}, error)
- func (o *SystemMessage) UnmarshalJSON(data []byte) (err error)
- type SystemMessageContentChunks
- type TextChunk
- func (o *TextChunk) GetText() string
- func (o *TextChunk) GetTextOk() (*string, bool)
- func (o *TextChunk) GetType() string
- func (o *TextChunk) GetTypeOk() (*string, bool)
- func (o *TextChunk) HasType() bool
- func (o TextChunk) MarshalJSON() ([]byte, error)
- func (o *TextChunk) SetText(v string)
- func (o *TextChunk) SetType(v string)
- func (o TextChunk) ToMap() (map[string]interface{}, error)
- func (o *TextChunk) UnmarshalJSON(data []byte) (err error)
- type ThinkChunk
- func (o *ThinkChunk) GetClosed() bool
- func (o *ThinkChunk) GetClosedOk() (*bool, bool)
- func (o *ThinkChunk) GetThinking() []ThinkingInner
- func (o *ThinkChunk) GetThinkingOk() ([]ThinkingInner, bool)
- func (o *ThinkChunk) GetType() string
- func (o *ThinkChunk) GetTypeOk() (*string, bool)
- func (o *ThinkChunk) HasClosed() bool
- func (o *ThinkChunk) HasType() bool
- func (o ThinkChunk) MarshalJSON() ([]byte, error)
- func (o *ThinkChunk) SetClosed(v bool)
- func (o *ThinkChunk) SetThinking(v []ThinkingInner)
- func (o *ThinkChunk) SetType(v string)
- func (o ThinkChunk) ToMap() (map[string]interface{}, error)
- func (o *ThinkChunk) UnmarshalJSON(data []byte) (err error)
- type ThinkingInner
- type TimestampGranularity
- type Tool
- func (o *Tool) GetFunction() Function
- func (o *Tool) GetFunctionOk() (*Function, bool)
- func (o *Tool) GetType() ToolTypes
- func (o *Tool) GetTypeOk() (*ToolTypes, bool)
- func (o *Tool) HasType() bool
- func (o Tool) MarshalJSON() ([]byte, error)
- func (o *Tool) SetFunction(v Function)
- func (o *Tool) SetType(v ToolTypes)
- func (o Tool) ToMap() (map[string]interface{}, error)
- func (o *Tool) UnmarshalJSON(data []byte) (err error)
- type Tool1
- type ToolCall
- func (o *ToolCall) GetFunction() FunctionCall
- func (o *ToolCall) GetFunctionOk() (*FunctionCall, bool)
- func (o *ToolCall) GetId() string
- func (o *ToolCall) GetIdOk() (*string, bool)
- func (o *ToolCall) GetIndex() int32
- func (o *ToolCall) GetIndexOk() (*int32, bool)
- func (o *ToolCall) GetType() ToolTypes
- func (o *ToolCall) GetTypeOk() (*ToolTypes, bool)
- func (o *ToolCall) HasId() bool
- func (o *ToolCall) HasIndex() bool
- func (o *ToolCall) HasType() bool
- func (o ToolCall) MarshalJSON() ([]byte, error)
- func (o *ToolCall) SetFunction(v FunctionCall)
- func (o *ToolCall) SetId(v string)
- func (o *ToolCall) SetIndex(v int32)
- func (o *ToolCall) SetType(v ToolTypes)
- func (o ToolCall) ToMap() (map[string]interface{}, error)
- func (o *ToolCall) UnmarshalJSON(data []byte) (err error)
- type ToolChoice
- type ToolChoice1
- type ToolChoiceEnum
- type ToolExecutionDeltaEvent
- func (o *ToolExecutionDeltaEvent) GetArguments() string
- func (o *ToolExecutionDeltaEvent) GetArgumentsOk() (*string, bool)
- func (o *ToolExecutionDeltaEvent) GetCreatedAt() time.Time
- func (o *ToolExecutionDeltaEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *ToolExecutionDeltaEvent) GetId() string
- func (o *ToolExecutionDeltaEvent) GetIdOk() (*string, bool)
- func (o *ToolExecutionDeltaEvent) GetName() Name
- func (o *ToolExecutionDeltaEvent) GetNameOk() (*Name, bool)
- func (o *ToolExecutionDeltaEvent) GetOutputIndex() int32
- func (o *ToolExecutionDeltaEvent) GetOutputIndexOk() (*int32, bool)
- func (o *ToolExecutionDeltaEvent) GetType() string
- func (o *ToolExecutionDeltaEvent) GetTypeOk() (*string, bool)
- func (o *ToolExecutionDeltaEvent) HasCreatedAt() bool
- func (o *ToolExecutionDeltaEvent) HasOutputIndex() bool
- func (o *ToolExecutionDeltaEvent) HasType() bool
- func (o ToolExecutionDeltaEvent) MarshalJSON() ([]byte, error)
- func (o *ToolExecutionDeltaEvent) SetArguments(v string)
- func (o *ToolExecutionDeltaEvent) SetCreatedAt(v time.Time)
- func (o *ToolExecutionDeltaEvent) SetId(v string)
- func (o *ToolExecutionDeltaEvent) SetName(v Name)
- func (o *ToolExecutionDeltaEvent) SetOutputIndex(v int32)
- func (o *ToolExecutionDeltaEvent) SetType(v string)
- func (o ToolExecutionDeltaEvent) ToMap() (map[string]interface{}, error)
- func (o *ToolExecutionDeltaEvent) UnmarshalJSON(data []byte) (err error)
- type ToolExecutionDoneEvent
- func (o *ToolExecutionDoneEvent) GetCreatedAt() time.Time
- func (o *ToolExecutionDoneEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *ToolExecutionDoneEvent) GetId() string
- func (o *ToolExecutionDoneEvent) GetIdOk() (*string, bool)
- func (o *ToolExecutionDoneEvent) GetInfo() map[string]interface{}
- func (o *ToolExecutionDoneEvent) GetInfoOk() (map[string]interface{}, bool)
- func (o *ToolExecutionDoneEvent) GetName() Name
- func (o *ToolExecutionDoneEvent) GetNameOk() (*Name, bool)
- func (o *ToolExecutionDoneEvent) GetOutputIndex() int32
- func (o *ToolExecutionDoneEvent) GetOutputIndexOk() (*int32, bool)
- func (o *ToolExecutionDoneEvent) GetType() string
- func (o *ToolExecutionDoneEvent) GetTypeOk() (*string, bool)
- func (o *ToolExecutionDoneEvent) HasCreatedAt() bool
- func (o *ToolExecutionDoneEvent) HasInfo() bool
- func (o *ToolExecutionDoneEvent) HasOutputIndex() bool
- func (o *ToolExecutionDoneEvent) HasType() bool
- func (o ToolExecutionDoneEvent) MarshalJSON() ([]byte, error)
- func (o *ToolExecutionDoneEvent) SetCreatedAt(v time.Time)
- func (o *ToolExecutionDoneEvent) SetId(v string)
- func (o *ToolExecutionDoneEvent) SetInfo(v map[string]interface{})
- func (o *ToolExecutionDoneEvent) SetName(v Name)
- func (o *ToolExecutionDoneEvent) SetOutputIndex(v int32)
- func (o *ToolExecutionDoneEvent) SetType(v string)
- func (o ToolExecutionDoneEvent) ToMap() (map[string]interface{}, error)
- func (o *ToolExecutionDoneEvent) UnmarshalJSON(data []byte) (err error)
- type ToolExecutionEntry
- func (o *ToolExecutionEntry) GetArguments() string
- func (o *ToolExecutionEntry) GetArgumentsOk() (*string, bool)
- func (o *ToolExecutionEntry) GetCompletedAt() time.Time
- func (o *ToolExecutionEntry) GetCompletedAtOk() (*time.Time, bool)
- func (o *ToolExecutionEntry) GetCreatedAt() time.Time
- func (o *ToolExecutionEntry) GetCreatedAtOk() (*time.Time, bool)
- func (o *ToolExecutionEntry) GetId() string
- func (o *ToolExecutionEntry) GetIdOk() (*string, bool)
- func (o *ToolExecutionEntry) GetInfo() map[string]interface{}
- func (o *ToolExecutionEntry) GetInfoOk() (map[string]interface{}, bool)
- func (o *ToolExecutionEntry) GetName() Name
- func (o *ToolExecutionEntry) GetNameOk() (*Name, bool)
- func (o *ToolExecutionEntry) GetObject() string
- func (o *ToolExecutionEntry) GetObjectOk() (*string, bool)
- func (o *ToolExecutionEntry) GetType() string
- func (o *ToolExecutionEntry) GetTypeOk() (*string, bool)
- func (o *ToolExecutionEntry) HasCompletedAt() bool
- func (o *ToolExecutionEntry) HasCreatedAt() bool
- func (o *ToolExecutionEntry) HasId() bool
- func (o *ToolExecutionEntry) HasInfo() bool
- func (o *ToolExecutionEntry) HasObject() bool
- func (o *ToolExecutionEntry) HasType() bool
- func (o ToolExecutionEntry) MarshalJSON() ([]byte, error)
- func (o *ToolExecutionEntry) SetArguments(v string)
- func (o *ToolExecutionEntry) SetCompletedAt(v time.Time)
- func (o *ToolExecutionEntry) SetCompletedAtNil()
- func (o *ToolExecutionEntry) SetCreatedAt(v time.Time)
- func (o *ToolExecutionEntry) SetId(v string)
- func (o *ToolExecutionEntry) SetInfo(v map[string]interface{})
- func (o *ToolExecutionEntry) SetName(v Name)
- func (o *ToolExecutionEntry) SetObject(v string)
- func (o *ToolExecutionEntry) SetType(v string)
- func (o ToolExecutionEntry) ToMap() (map[string]interface{}, error)
- func (o *ToolExecutionEntry) UnmarshalJSON(data []byte) (err error)
- func (o *ToolExecutionEntry) UnsetCompletedAt()
- type ToolExecutionStartedEvent
- func (o *ToolExecutionStartedEvent) GetArguments() string
- func (o *ToolExecutionStartedEvent) GetArgumentsOk() (*string, bool)
- func (o *ToolExecutionStartedEvent) GetCreatedAt() time.Time
- func (o *ToolExecutionStartedEvent) GetCreatedAtOk() (*time.Time, bool)
- func (o *ToolExecutionStartedEvent) GetId() string
- func (o *ToolExecutionStartedEvent) GetIdOk() (*string, bool)
- func (o *ToolExecutionStartedEvent) GetName() Name
- func (o *ToolExecutionStartedEvent) GetNameOk() (*Name, bool)
- func (o *ToolExecutionStartedEvent) GetOutputIndex() int32
- func (o *ToolExecutionStartedEvent) GetOutputIndexOk() (*int32, bool)
- func (o *ToolExecutionStartedEvent) GetType() string
- func (o *ToolExecutionStartedEvent) GetTypeOk() (*string, bool)
- func (o *ToolExecutionStartedEvent) HasCreatedAt() bool
- func (o *ToolExecutionStartedEvent) HasOutputIndex() bool
- func (o *ToolExecutionStartedEvent) HasType() bool
- func (o ToolExecutionStartedEvent) MarshalJSON() ([]byte, error)
- func (o *ToolExecutionStartedEvent) SetArguments(v string)
- func (o *ToolExecutionStartedEvent) SetCreatedAt(v time.Time)
- func (o *ToolExecutionStartedEvent) SetId(v string)
- func (o *ToolExecutionStartedEvent) SetName(v Name)
- func (o *ToolExecutionStartedEvent) SetOutputIndex(v int32)
- func (o *ToolExecutionStartedEvent) SetType(v string)
- func (o ToolExecutionStartedEvent) ToMap() (map[string]interface{}, error)
- func (o *ToolExecutionStartedEvent) UnmarshalJSON(data []byte) (err error)
- type ToolFileChunk
- func (o *ToolFileChunk) GetFileId() string
- func (o *ToolFileChunk) GetFileIdOk() (*string, bool)
- func (o *ToolFileChunk) GetFileName() string
- func (o *ToolFileChunk) GetFileNameOk() (*string, bool)
- func (o *ToolFileChunk) GetFileType() string
- func (o *ToolFileChunk) GetFileTypeOk() (*string, bool)
- func (o *ToolFileChunk) GetTool() Tool1
- func (o *ToolFileChunk) GetToolOk() (*Tool1, bool)
- func (o *ToolFileChunk) GetType() string
- func (o *ToolFileChunk) GetTypeOk() (*string, bool)
- func (o *ToolFileChunk) HasFileName() bool
- func (o *ToolFileChunk) HasFileType() bool
- func (o *ToolFileChunk) HasType() bool
- func (o ToolFileChunk) MarshalJSON() ([]byte, error)
- func (o *ToolFileChunk) SetFileId(v string)
- func (o *ToolFileChunk) SetFileName(v string)
- func (o *ToolFileChunk) SetFileNameNil()
- func (o *ToolFileChunk) SetFileType(v string)
- func (o *ToolFileChunk) SetFileTypeNil()
- func (o *ToolFileChunk) SetTool(v Tool1)
- func (o *ToolFileChunk) SetType(v string)
- func (o ToolFileChunk) ToMap() (map[string]interface{}, error)
- func (o *ToolFileChunk) UnmarshalJSON(data []byte) (err error)
- func (o *ToolFileChunk) UnsetFileName()
- func (o *ToolFileChunk) UnsetFileType()
- type ToolMessage
- func (o *ToolMessage) GetContent() Content3
- func (o *ToolMessage) GetContentOk() (*Content3, bool)
- func (o *ToolMessage) GetName() string
- func (o *ToolMessage) GetNameOk() (*string, bool)
- func (o *ToolMessage) GetRole() string
- func (o *ToolMessage) GetRoleOk() (*string, bool)
- func (o *ToolMessage) GetToolCallId() string
- func (o *ToolMessage) GetToolCallIdOk() (*string, bool)
- func (o *ToolMessage) HasName() bool
- func (o *ToolMessage) HasRole() bool
- func (o *ToolMessage) HasToolCallId() bool
- func (o ToolMessage) MarshalJSON() ([]byte, error)
- func (o *ToolMessage) SetContent(v Content3)
- func (o *ToolMessage) SetName(v string)
- func (o *ToolMessage) SetNameNil()
- func (o *ToolMessage) SetRole(v string)
- func (o *ToolMessage) SetToolCallId(v string)
- func (o *ToolMessage) SetToolCallIdNil()
- func (o ToolMessage) ToMap() (map[string]interface{}, error)
- func (o *ToolMessage) UnmarshalJSON(data []byte) (err error)
- func (o *ToolMessage) UnsetName()
- func (o *ToolMessage) UnsetToolCallId()
- type ToolReferenceChunk
- func (o *ToolReferenceChunk) GetDescription() string
- func (o *ToolReferenceChunk) GetDescriptionOk() (*string, bool)
- func (o *ToolReferenceChunk) GetFavicon() string
- func (o *ToolReferenceChunk) GetFaviconOk() (*string, bool)
- func (o *ToolReferenceChunk) GetTitle() string
- func (o *ToolReferenceChunk) GetTitleOk() (*string, bool)
- func (o *ToolReferenceChunk) GetTool() Tool1
- func (o *ToolReferenceChunk) GetToolOk() (*Tool1, bool)
- func (o *ToolReferenceChunk) GetType() string
- func (o *ToolReferenceChunk) GetTypeOk() (*string, bool)
- func (o *ToolReferenceChunk) GetUrl() string
- func (o *ToolReferenceChunk) GetUrlOk() (*string, bool)
- func (o *ToolReferenceChunk) HasDescription() bool
- func (o *ToolReferenceChunk) HasFavicon() bool
- func (o *ToolReferenceChunk) HasType() bool
- func (o *ToolReferenceChunk) HasUrl() bool
- func (o ToolReferenceChunk) MarshalJSON() ([]byte, error)
- func (o *ToolReferenceChunk) SetDescription(v string)
- func (o *ToolReferenceChunk) SetDescriptionNil()
- func (o *ToolReferenceChunk) SetFavicon(v string)
- func (o *ToolReferenceChunk) SetFaviconNil()
- func (o *ToolReferenceChunk) SetTitle(v string)
- func (o *ToolReferenceChunk) SetTool(v Tool1)
- func (o *ToolReferenceChunk) SetType(v string)
- func (o *ToolReferenceChunk) SetUrl(v string)
- func (o *ToolReferenceChunk) SetUrlNil()
- func (o ToolReferenceChunk) ToMap() (map[string]interface{}, error)
- func (o *ToolReferenceChunk) UnmarshalJSON(data []byte) (err error)
- func (o *ToolReferenceChunk) UnsetDescription()
- func (o *ToolReferenceChunk) UnsetFavicon()
- func (o *ToolReferenceChunk) UnsetUrl()
- type ToolTypes
- type ToolsInner
- func CodeInterpreterToolAsToolsInner(v *CodeInterpreterTool) ToolsInner
- func DocumentLibraryToolAsToolsInner(v *DocumentLibraryTool) ToolsInner
- func FunctionToolAsToolsInner(v *FunctionTool) ToolsInner
- func ImageGenerationToolAsToolsInner(v *ImageGenerationTool) ToolsInner
- func WebSearchPremiumToolAsToolsInner(v *WebSearchPremiumTool) ToolsInner
- func WebSearchToolAsToolsInner(v *WebSearchTool) ToolsInner
- type TrainingFile
- func (o *TrainingFile) GetFileId() string
- func (o *TrainingFile) GetFileIdOk() (*string, bool)
- func (o *TrainingFile) GetWeight() float32
- func (o *TrainingFile) GetWeightOk() (*float32, bool)
- func (o *TrainingFile) HasWeight() bool
- func (o TrainingFile) MarshalJSON() ([]byte, error)
- func (o *TrainingFile) SetFileId(v string)
- func (o *TrainingFile) SetWeight(v float32)
- func (o TrainingFile) ToMap() (map[string]interface{}, error)
- func (o *TrainingFile) UnmarshalJSON(data []byte) (err error)
- type TranscriptionResponse
- func (o *TranscriptionResponse) GetLanguage() string
- func (o *TranscriptionResponse) GetLanguageOk() (*string, bool)
- func (o *TranscriptionResponse) GetModel() string
- func (o *TranscriptionResponse) GetModelOk() (*string, bool)
- func (o *TranscriptionResponse) GetSegments() []TranscriptionSegmentChunk
- func (o *TranscriptionResponse) GetSegmentsOk() ([]TranscriptionSegmentChunk, bool)
- func (o *TranscriptionResponse) GetText() string
- func (o *TranscriptionResponse) GetTextOk() (*string, bool)
- func (o *TranscriptionResponse) GetUsage() UsageInfo
- func (o *TranscriptionResponse) GetUsageOk() (*UsageInfo, bool)
- func (o *TranscriptionResponse) HasSegments() bool
- func (o TranscriptionResponse) MarshalJSON() ([]byte, error)
- func (o *TranscriptionResponse) SetLanguage(v string)
- func (o *TranscriptionResponse) SetModel(v string)
- func (o *TranscriptionResponse) SetSegments(v []TranscriptionSegmentChunk)
- func (o *TranscriptionResponse) SetText(v string)
- func (o *TranscriptionResponse) SetUsage(v UsageInfo)
- func (o TranscriptionResponse) ToMap() (map[string]interface{}, error)
- func (o *TranscriptionResponse) UnmarshalJSON(data []byte) (err error)
- type TranscriptionSegmentChunk
- func (o *TranscriptionSegmentChunk) GetEnd() float32
- func (o *TranscriptionSegmentChunk) GetEndOk() (*float32, bool)
- func (o *TranscriptionSegmentChunk) GetScore() float32
- func (o *TranscriptionSegmentChunk) GetScoreOk() (*float32, bool)
- func (o *TranscriptionSegmentChunk) GetSpeakerId() string
- func (o *TranscriptionSegmentChunk) GetSpeakerIdOk() (*string, bool)
- func (o *TranscriptionSegmentChunk) GetStart() float32
- func (o *TranscriptionSegmentChunk) GetStartOk() (*float32, bool)
- func (o *TranscriptionSegmentChunk) GetText() string
- func (o *TranscriptionSegmentChunk) GetTextOk() (*string, bool)
- func (o *TranscriptionSegmentChunk) GetType() string
- func (o *TranscriptionSegmentChunk) GetTypeOk() (*string, bool)
- func (o *TranscriptionSegmentChunk) HasScore() bool
- func (o *TranscriptionSegmentChunk) HasSpeakerId() bool
- func (o *TranscriptionSegmentChunk) HasType() bool
- func (o TranscriptionSegmentChunk) MarshalJSON() ([]byte, error)
- func (o *TranscriptionSegmentChunk) SetEnd(v float32)
- func (o *TranscriptionSegmentChunk) SetScore(v float32)
- func (o *TranscriptionSegmentChunk) SetScoreNil()
- func (o *TranscriptionSegmentChunk) SetSpeakerId(v string)
- func (o *TranscriptionSegmentChunk) SetSpeakerIdNil()
- func (o *TranscriptionSegmentChunk) SetStart(v float32)
- func (o *TranscriptionSegmentChunk) SetText(v string)
- func (o *TranscriptionSegmentChunk) SetType(v string)
- func (o TranscriptionSegmentChunk) ToMap() (map[string]interface{}, error)
- func (o *TranscriptionSegmentChunk) UnmarshalJSON(data []byte) (err error)
- func (o *TranscriptionSegmentChunk) UnsetScore()
- func (o *TranscriptionSegmentChunk) UnsetSpeakerId()
- type TranscriptionStreamDone
- func (o *TranscriptionStreamDone) GetLanguage() string
- func (o *TranscriptionStreamDone) GetLanguageOk() (*string, bool)
- func (o *TranscriptionStreamDone) GetModel() string
- func (o *TranscriptionStreamDone) GetModelOk() (*string, bool)
- func (o *TranscriptionStreamDone) GetSegments() []TranscriptionSegmentChunk
- func (o *TranscriptionStreamDone) GetSegmentsOk() ([]TranscriptionSegmentChunk, bool)
- func (o *TranscriptionStreamDone) GetText() string
- func (o *TranscriptionStreamDone) GetTextOk() (*string, bool)
- func (o *TranscriptionStreamDone) GetType() string
- func (o *TranscriptionStreamDone) GetTypeOk() (*string, bool)
- func (o *TranscriptionStreamDone) GetUsage() UsageInfo
- func (o *TranscriptionStreamDone) GetUsageOk() (*UsageInfo, bool)
- func (o *TranscriptionStreamDone) HasSegments() bool
- func (o *TranscriptionStreamDone) HasType() bool
- func (o TranscriptionStreamDone) MarshalJSON() ([]byte, error)
- func (o *TranscriptionStreamDone) SetLanguage(v string)
- func (o *TranscriptionStreamDone) SetModel(v string)
- func (o *TranscriptionStreamDone) SetSegments(v []TranscriptionSegmentChunk)
- func (o *TranscriptionStreamDone) SetText(v string)
- func (o *TranscriptionStreamDone) SetType(v string)
- func (o *TranscriptionStreamDone) SetUsage(v UsageInfo)
- func (o TranscriptionStreamDone) ToMap() (map[string]interface{}, error)
- func (o *TranscriptionStreamDone) UnmarshalJSON(data []byte) (err error)
- type TranscriptionStreamEventTypes
- type TranscriptionStreamEvents
- func (o *TranscriptionStreamEvents) GetData() Data1
- func (o *TranscriptionStreamEvents) GetDataOk() (*Data1, bool)
- func (o *TranscriptionStreamEvents) GetEvent() TranscriptionStreamEventTypes
- func (o *TranscriptionStreamEvents) GetEventOk() (*TranscriptionStreamEventTypes, bool)
- func (o TranscriptionStreamEvents) MarshalJSON() ([]byte, error)
- func (o *TranscriptionStreamEvents) SetData(v Data1)
- func (o *TranscriptionStreamEvents) SetEvent(v TranscriptionStreamEventTypes)
- func (o TranscriptionStreamEvents) ToMap() (map[string]interface{}, error)
- func (o *TranscriptionStreamEvents) UnmarshalJSON(data []byte) (err error)
- type TranscriptionStreamLanguage
- func (o *TranscriptionStreamLanguage) GetAudioLanguage() string
- func (o *TranscriptionStreamLanguage) GetAudioLanguageOk() (*string, bool)
- func (o *TranscriptionStreamLanguage) GetType() string
- func (o *TranscriptionStreamLanguage) GetTypeOk() (*string, bool)
- func (o *TranscriptionStreamLanguage) HasType() bool
- func (o TranscriptionStreamLanguage) MarshalJSON() ([]byte, error)
- func (o *TranscriptionStreamLanguage) SetAudioLanguage(v string)
- func (o *TranscriptionStreamLanguage) SetType(v string)
- func (o TranscriptionStreamLanguage) ToMap() (map[string]interface{}, error)
- func (o *TranscriptionStreamLanguage) UnmarshalJSON(data []byte) (err error)
- type TranscriptionStreamSegmentDelta
- func (o *TranscriptionStreamSegmentDelta) GetEnd() float32
- func (o *TranscriptionStreamSegmentDelta) GetEndOk() (*float32, bool)
- func (o *TranscriptionStreamSegmentDelta) GetSpeakerId() string
- func (o *TranscriptionStreamSegmentDelta) GetSpeakerIdOk() (*string, bool)
- func (o *TranscriptionStreamSegmentDelta) GetStart() float32
- func (o *TranscriptionStreamSegmentDelta) GetStartOk() (*float32, bool)
- func (o *TranscriptionStreamSegmentDelta) GetText() string
- func (o *TranscriptionStreamSegmentDelta) GetTextOk() (*string, bool)
- func (o *TranscriptionStreamSegmentDelta) GetType() string
- func (o *TranscriptionStreamSegmentDelta) GetTypeOk() (*string, bool)
- func (o *TranscriptionStreamSegmentDelta) HasSpeakerId() bool
- func (o *TranscriptionStreamSegmentDelta) HasType() bool
- func (o TranscriptionStreamSegmentDelta) MarshalJSON() ([]byte, error)
- func (o *TranscriptionStreamSegmentDelta) SetEnd(v float32)
- func (o *TranscriptionStreamSegmentDelta) SetSpeakerId(v string)
- func (o *TranscriptionStreamSegmentDelta) SetSpeakerIdNil()
- func (o *TranscriptionStreamSegmentDelta) SetStart(v float32)
- func (o *TranscriptionStreamSegmentDelta) SetText(v string)
- func (o *TranscriptionStreamSegmentDelta) SetType(v string)
- func (o TranscriptionStreamSegmentDelta) ToMap() (map[string]interface{}, error)
- func (o *TranscriptionStreamSegmentDelta) UnmarshalJSON(data []byte) (err error)
- func (o *TranscriptionStreamSegmentDelta) UnsetSpeakerId()
- type TranscriptionStreamTextDelta
- func (o *TranscriptionStreamTextDelta) GetText() string
- func (o *TranscriptionStreamTextDelta) GetTextOk() (*string, bool)
- func (o *TranscriptionStreamTextDelta) GetType() string
- func (o *TranscriptionStreamTextDelta) GetTypeOk() (*string, bool)
- func (o *TranscriptionStreamTextDelta) HasType() bool
- func (o TranscriptionStreamTextDelta) MarshalJSON() ([]byte, error)
- func (o *TranscriptionStreamTextDelta) SetText(v string)
- func (o *TranscriptionStreamTextDelta) SetType(v string)
- func (o TranscriptionStreamTextDelta) ToMap() (map[string]interface{}, error)
- func (o *TranscriptionStreamTextDelta) UnmarshalJSON(data []byte) (err error)
- type UnarchiveFTModelOut
- func (o *UnarchiveFTModelOut) GetArchived() bool
- func (o *UnarchiveFTModelOut) GetArchivedOk() (*bool, bool)
- func (o *UnarchiveFTModelOut) GetId() string
- func (o *UnarchiveFTModelOut) GetIdOk() (*string, bool)
- func (o *UnarchiveFTModelOut) GetObject() string
- func (o *UnarchiveFTModelOut) GetObjectOk() (*string, bool)
- func (o *UnarchiveFTModelOut) HasArchived() bool
- func (o *UnarchiveFTModelOut) HasObject() bool
- func (o UnarchiveFTModelOut) MarshalJSON() ([]byte, error)
- func (o *UnarchiveFTModelOut) SetArchived(v bool)
- func (o *UnarchiveFTModelOut) SetId(v string)
- func (o *UnarchiveFTModelOut) SetObject(v string)
- func (o UnarchiveFTModelOut) ToMap() (map[string]interface{}, error)
- func (o *UnarchiveFTModelOut) UnmarshalJSON(data []byte) (err error)
- type UpdateFTModelIn
- func (o *UpdateFTModelIn) GetDescription() string
- func (o *UpdateFTModelIn) GetDescriptionOk() (*string, bool)
- func (o *UpdateFTModelIn) GetName() string
- func (o *UpdateFTModelIn) GetNameOk() (*string, bool)
- func (o *UpdateFTModelIn) HasDescription() bool
- func (o *UpdateFTModelIn) HasName() bool
- func (o UpdateFTModelIn) MarshalJSON() ([]byte, error)
- func (o *UpdateFTModelIn) SetDescription(v string)
- func (o *UpdateFTModelIn) SetDescriptionNil()
- func (o *UpdateFTModelIn) SetName(v string)
- func (o *UpdateFTModelIn) SetNameNil()
- func (o UpdateFTModelIn) ToMap() (map[string]interface{}, error)
- func (o *UpdateFTModelIn) UnmarshalJSON(data []byte) (err error)
- func (o *UpdateFTModelIn) UnsetDescription()
- func (o *UpdateFTModelIn) UnsetName()
- type UploadFileOut
- func (o *UploadFileOut) GetBytes() int32
- func (o *UploadFileOut) GetBytesOk() (*int32, bool)
- func (o *UploadFileOut) GetCreatedAt() int32
- func (o *UploadFileOut) GetCreatedAtOk() (*int32, bool)
- func (o *UploadFileOut) GetFilename() string
- func (o *UploadFileOut) GetFilenameOk() (*string, bool)
- func (o *UploadFileOut) GetId() string
- func (o *UploadFileOut) GetIdOk() (*string, bool)
- func (o *UploadFileOut) GetMimetype() string
- func (o *UploadFileOut) GetMimetypeOk() (*string, bool)
- func (o *UploadFileOut) GetNumLines() int32
- func (o *UploadFileOut) GetNumLinesOk() (*int32, bool)
- func (o *UploadFileOut) GetObject() string
- func (o *UploadFileOut) GetObjectOk() (*string, bool)
- func (o *UploadFileOut) GetPurpose() FilePurpose
- func (o *UploadFileOut) GetPurposeOk() (*FilePurpose, bool)
- func (o *UploadFileOut) GetSampleType() SampleType
- func (o *UploadFileOut) GetSampleTypeOk() (*SampleType, bool)
- func (o *UploadFileOut) GetSignature() string
- func (o *UploadFileOut) GetSignatureOk() (*string, bool)
- func (o *UploadFileOut) GetSource() Source
- func (o *UploadFileOut) GetSourceOk() (*Source, bool)
- func (o *UploadFileOut) HasMimetype() bool
- func (o *UploadFileOut) HasNumLines() bool
- func (o *UploadFileOut) HasSignature() bool
- func (o UploadFileOut) MarshalJSON() ([]byte, error)
- func (o *UploadFileOut) SetBytes(v int32)
- func (o *UploadFileOut) SetCreatedAt(v int32)
- func (o *UploadFileOut) SetFilename(v string)
- func (o *UploadFileOut) SetId(v string)
- func (o *UploadFileOut) SetMimetype(v string)
- func (o *UploadFileOut) SetMimetypeNil()
- func (o *UploadFileOut) SetNumLines(v int32)
- func (o *UploadFileOut) SetNumLinesNil()
- func (o *UploadFileOut) SetObject(v string)
- func (o *UploadFileOut) SetPurpose(v FilePurpose)
- func (o *UploadFileOut) SetSampleType(v SampleType)
- func (o *UploadFileOut) SetSignature(v string)
- func (o *UploadFileOut) SetSignatureNil()
- func (o *UploadFileOut) SetSource(v Source)
- func (o UploadFileOut) ToMap() (map[string]interface{}, error)
- func (o *UploadFileOut) UnmarshalJSON(data []byte) (err error)
- func (o *UploadFileOut) UnsetMimetype()
- func (o *UploadFileOut) UnsetNumLines()
- func (o *UploadFileOut) UnsetSignature()
- type UsageInfo
- func (o *UsageInfo) GetCompletionTokens() int32
- func (o *UsageInfo) GetCompletionTokensOk() (*int32, bool)
- func (o *UsageInfo) GetPromptAudioSeconds() int32
- func (o *UsageInfo) GetPromptAudioSecondsOk() (*int32, bool)
- func (o *UsageInfo) GetPromptTokens() int32
- func (o *UsageInfo) GetPromptTokensOk() (*int32, bool)
- func (o *UsageInfo) GetTotalTokens() int32
- func (o *UsageInfo) GetTotalTokensOk() (*int32, bool)
- func (o *UsageInfo) HasPromptAudioSeconds() bool
- func (o UsageInfo) MarshalJSON() ([]byte, error)
- func (o *UsageInfo) SetCompletionTokens(v int32)
- func (o *UsageInfo) SetPromptAudioSeconds(v int32)
- func (o *UsageInfo) SetPromptAudioSecondsNil()
- func (o *UsageInfo) SetPromptTokens(v int32)
- func (o *UsageInfo) SetTotalTokens(v int32)
- func (o UsageInfo) ToMap() (map[string]interface{}, error)
- func (o *UsageInfo) UnmarshalJSON(data []byte) (err error)
- func (o *UsageInfo) UnsetPromptAudioSeconds()
- type UserMessage
- func (o *UserMessage) GetContent() Content3
- func (o *UserMessage) GetContentOk() (*Content3, bool)
- func (o *UserMessage) GetRole() string
- func (o *UserMessage) GetRoleOk() (*string, bool)
- func (o *UserMessage) HasRole() bool
- func (o UserMessage) MarshalJSON() ([]byte, error)
- func (o *UserMessage) SetContent(v Content3)
- func (o *UserMessage) SetRole(v string)
- func (o UserMessage) ToMap() (map[string]interface{}, error)
- func (o *UserMessage) UnmarshalJSON(data []byte) (err error)
- type ValidationError
- func (o *ValidationError) GetLoc() []LocationInner
- func (o *ValidationError) GetLocOk() ([]LocationInner, 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 []LocationInner)
- 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 WandbIntegration
- func (o *WandbIntegration) GetApiKey() string
- func (o *WandbIntegration) GetApiKeyOk() (*string, bool)
- func (o *WandbIntegration) GetName() string
- func (o *WandbIntegration) GetNameOk() (*string, bool)
- func (o *WandbIntegration) GetProject() string
- func (o *WandbIntegration) GetProjectOk() (*string, bool)
- func (o *WandbIntegration) GetRunName() string
- func (o *WandbIntegration) GetRunNameOk() (*string, bool)
- func (o *WandbIntegration) GetType() string
- func (o *WandbIntegration) GetTypeOk() (*string, bool)
- func (o *WandbIntegration) HasName() bool
- func (o *WandbIntegration) HasRunName() bool
- func (o *WandbIntegration) HasType() bool
- func (o WandbIntegration) MarshalJSON() ([]byte, error)
- func (o *WandbIntegration) SetApiKey(v string)
- func (o *WandbIntegration) SetName(v string)
- func (o *WandbIntegration) SetNameNil()
- func (o *WandbIntegration) SetProject(v string)
- func (o *WandbIntegration) SetRunName(v string)
- func (o *WandbIntegration) SetRunNameNil()
- func (o *WandbIntegration) SetType(v string)
- func (o WandbIntegration) ToMap() (map[string]interface{}, error)
- func (o *WandbIntegration) UnmarshalJSON(data []byte) (err error)
- func (o *WandbIntegration) UnsetName()
- func (o *WandbIntegration) UnsetRunName()
- type WandbIntegrationOut
- func (o *WandbIntegrationOut) GetName() string
- func (o *WandbIntegrationOut) GetNameOk() (*string, bool)
- func (o *WandbIntegrationOut) GetProject() string
- func (o *WandbIntegrationOut) GetProjectOk() (*string, bool)
- func (o *WandbIntegrationOut) GetRunName() string
- func (o *WandbIntegrationOut) GetRunNameOk() (*string, bool)
- func (o *WandbIntegrationOut) GetType() string
- func (o *WandbIntegrationOut) GetTypeOk() (*string, bool)
- func (o *WandbIntegrationOut) GetUrl() string
- func (o *WandbIntegrationOut) GetUrlOk() (*string, bool)
- func (o *WandbIntegrationOut) HasName() bool
- func (o *WandbIntegrationOut) HasRunName() bool
- func (o *WandbIntegrationOut) HasType() bool
- func (o *WandbIntegrationOut) HasUrl() bool
- func (o WandbIntegrationOut) MarshalJSON() ([]byte, error)
- func (o *WandbIntegrationOut) SetName(v string)
- func (o *WandbIntegrationOut) SetNameNil()
- func (o *WandbIntegrationOut) SetProject(v string)
- func (o *WandbIntegrationOut) SetRunName(v string)
- func (o *WandbIntegrationOut) SetRunNameNil()
- func (o *WandbIntegrationOut) SetType(v string)
- func (o *WandbIntegrationOut) SetUrl(v string)
- func (o *WandbIntegrationOut) SetUrlNil()
- func (o WandbIntegrationOut) ToMap() (map[string]interface{}, error)
- func (o *WandbIntegrationOut) UnmarshalJSON(data []byte) (err error)
- func (o *WandbIntegrationOut) UnsetName()
- func (o *WandbIntegrationOut) UnsetRunName()
- func (o *WandbIntegrationOut) UnsetUrl()
- type WebSearchPremiumTool
- func (o *WebSearchPremiumTool) GetType() string
- func (o *WebSearchPremiumTool) GetTypeOk() (*string, bool)
- func (o *WebSearchPremiumTool) HasType() bool
- func (o WebSearchPremiumTool) MarshalJSON() ([]byte, error)
- func (o *WebSearchPremiumTool) SetType(v string)
- func (o WebSearchPremiumTool) ToMap() (map[string]interface{}, error)
- type WebSearchTool
Constants ¶
This section is empty.
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") )
var AllowedApiEndpointEnumValues = []ApiEndpoint{
"/v1/chat/completions",
"/v1/embeddings",
"/v1/fim/completions",
"/v1/moderations",
"/v1/chat/moderations",
"/v1/ocr",
"/v1/classifications",
"/v1/chat/classifications",
"/v1/conversations",
"/v1/audio/transcriptions",
}
All allowed values of ApiEndpoint enum
var AllowedAudioEncodingEnumValues = []AudioEncoding{
"pcm_s16le",
"pcm_s32le",
"pcm_f16le",
"pcm_f32le",
"pcm_mulaw",
"pcm_alaw",
}
All allowed values of AudioEncoding enum
var AllowedBatchJobStatusEnumValues = []BatchJobStatus{
"QUEUED",
"RUNNING",
"SUCCESS",
"FAILED",
"TIMEOUT_EXCEEDED",
"CANCELLATION_REQUESTED",
"CANCELLED",
}
All allowed values of BatchJobStatus enum
var AllowedBuiltInConnectorsEnumValues = []BuiltInConnectors{
"web_search",
"web_search_premium",
"code_interpreter",
"image_generation",
"document_library",
}
All allowed values of BuiltInConnectors enum
var AllowedEmbeddingDtypeEnumValues = []EmbeddingDtype{
"float",
"int8",
"uint8",
"binary",
"ubinary",
}
All allowed values of EmbeddingDtype enum
var AllowedEncodingFormatEnumValues = []EncodingFormat{
"float",
"base64",
}
All allowed values of EncodingFormat enum
var AllowedEntityTypeEnumValues = []EntityType{
"User",
"Workspace",
"Org",
}
All allowed values of EntityType enum
var AllowedFTClassifierLossFunctionEnumValues = []FTClassifierLossFunction{
"single_class",
"multi_class",
}
All allowed values of FTClassifierLossFunction enum
var AllowedFilePurposeEnumValues = []FilePurpose{
"fine-tune",
"batch",
"ocr",
}
All allowed values of FilePurpose enum
var AllowedFineTuneableModelEnumValues = []FineTuneableModel{
"ministral-3b-latest",
"ministral-8b-latest",
"open-mistral-7b",
"open-mistral-nemo",
"mistral-small-latest",
"mistral-medium-latest",
"mistral-large-latest",
"pixtral-12b-latest",
"codestral-latest",
}
All allowed values of FineTuneableModel enum
var AllowedFineTuneableModelTypeEnumValues = []FineTuneableModelType{
"completion",
"classifier",
}
All allowed values of FineTuneableModelType enum
var AllowedMistralPromptModeEnumValues = []MistralPromptMode{
"reasoning",
}
All allowed values of MistralPromptMode enum
var AllowedRequestSourceEnumValues = []RequestSource{
"api",
"playground",
"agent_builder_v1",
}
All allowed values of RequestSource enum
var AllowedResponseFormatsEnumValues = []ResponseFormats{
"text",
"json_object",
"json_schema",
}
All allowed values of ResponseFormats enum
var AllowedSSETypesEnumValues = []SSETypes{
"conversation.response.started",
"conversation.response.done",
"conversation.response.error",
"message.output.delta",
"tool.execution.started",
"tool.execution.delta",
"tool.execution.done",
"agent.handoff.started",
"agent.handoff.done",
"function.call.delta",
}
All allowed values of SSETypes enum
var AllowedSampleTypeEnumValues = []SampleType{
"pretrain",
"instruct",
"batch_request",
"batch_result",
"batch_error",
}
All allowed values of SampleType enum
"Viewer",
"Editor",
}
All allowed values of ShareEnum enum
var AllowedSourceEnumValues = []Source{
"upload",
"repository",
"mistral",
}
All allowed values of Source enum
var AllowedTimestampGranularityEnumValues = []TimestampGranularity{
"segment",
"word",
}
All allowed values of TimestampGranularity enum
var AllowedToolChoiceEnumEnumValues = []ToolChoiceEnum{
"auto",
"none",
"any",
"required",
}
All allowed values of ToolChoiceEnum enum
var AllowedToolTypesEnumValues = []ToolTypes{
"function",
}
All allowed values of ToolTypes enum
var AllowedTranscriptionStreamEventTypesEnumValues = []TranscriptionStreamEventTypes{
"transcription.language",
"transcription.segment",
"transcription.text.delta",
"transcription.done",
}
All allowed values of TranscriptionStreamEventTypes enum
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 {
AgentsAPI AgentsAPI
AudioTranscriptionsAPI AudioTranscriptionsAPI
BatchAPI BatchAPI
BetaAgentsAPI BetaAgentsAPI
BetaConversationsAPI BetaConversationsAPI
BetaLibrariesAPI BetaLibrariesAPI
BetaLibrariesAccessesAPI BetaLibrariesAccessesAPI
BetaLibrariesDocumentsAPI BetaLibrariesDocumentsAPI
ChatAPI ChatAPI
ClassifiersAPI ClassifiersAPI
EmbeddingsAPI EmbeddingsAPI
FilesAPI FilesAPI
FimAPI FimAPI
FineTuningAPI FineTuningAPI
ModelsAPI ModelsAPI
OcrAPI OcrAPI
// contains filtered or unexported fields
}
APIClient manages communication with the Mistral AI API API v1.0.0 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 Agent ¶
type Agent struct {
Instructions NullableString `json:"instructions,omitempty"`
// List of tools which are available to the model during the conversation.
Tools []ToolsInner `json:"tools,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Model string `json:"model"`
Name string `json:"name"`
Description NullableString `json:"description,omitempty"`
Handoffs []string `json:"handoffs,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
Object *string `json:"object,omitempty"`
Id string `json:"id"`
Version int32 `json:"version"`
Versions []int32 `json:"versions"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
DeploymentChat bool `json:"deployment_chat"`
Source string `json:"source"`
}
Agent struct for Agent
func NewAgent ¶
func NewAgent(model string, name string, id string, version int32, versions []int32, createdAt time.Time, updatedAt time.Time, deploymentChat bool, source string) *Agent
NewAgent instantiates a new Agent 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 NewAgentWithDefaults ¶
func NewAgentWithDefaults() *Agent
NewAgentWithDefaults instantiates a new Agent 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 (*Agent) GetCompletionArgs ¶
func (o *Agent) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*Agent) GetCompletionArgsOk ¶
func (o *Agent) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Agent) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*Agent) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*Agent) GetDeploymentChat ¶ added in v0.15.0
GetDeploymentChat returns the DeploymentChat field value
func (*Agent) GetDeploymentChatOk ¶ added in v0.15.0
GetDeploymentChatOk returns a tuple with the DeploymentChat field value and a boolean to check if the value has been set.
func (*Agent) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description 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 (*Agent) GetHandoffs ¶
GetHandoffs returns the Handoffs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetHandoffsOk ¶
GetHandoffsOk returns a tuple with the Handoffs 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 (*Agent) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Agent) GetInstructions ¶
GetInstructions returns the Instructions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetInstructionsOk ¶
GetInstructionsOk returns a tuple with the Instructions 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 (*Agent) GetMetadata ¶ added in v0.15.0
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*Agent) GetMetadataOk ¶ added in v0.15.0
GetMetadataOk returns a tuple with the Metadata 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 (*Agent) GetModelOk ¶
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*Agent) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Agent) GetObjectOk ¶
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Agent) GetSourceOk ¶ added in v0.15.0
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (*Agent) GetTools ¶
func (o *Agent) GetTools() []ToolsInner
GetTools returns the Tools field value if set, zero value otherwise.
func (*Agent) GetToolsOk ¶
func (o *Agent) GetToolsOk() ([]ToolsInner, bool)
GetToolsOk returns a tuple with the Tools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Agent) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value
func (*Agent) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*Agent) GetVersion ¶
GetVersion returns the Version field value
func (*Agent) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*Agent) GetVersions ¶ added in v0.15.0
GetVersions returns the Versions field value
func (*Agent) GetVersionsOk ¶ added in v0.15.0
GetVersionsOk returns a tuple with the Versions field value and a boolean to check if the value has been set.
func (*Agent) HasCompletionArgs ¶
HasCompletionArgs returns a boolean if a field has been set.
func (*Agent) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Agent) HasHandoffs ¶
HasHandoffs returns a boolean if a field has been set.
func (*Agent) HasInstructions ¶
HasInstructions returns a boolean if a field has been set.
func (*Agent) HasMetadata ¶ added in v0.15.0
HasMetadata returns a boolean if a field has been set.
func (Agent) MarshalJSON ¶
func (*Agent) SetCompletionArgs ¶
func (o *Agent) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*Agent) SetCreatedAt ¶
SetCreatedAt sets field value
func (*Agent) SetDeploymentChat ¶ added in v0.15.0
SetDeploymentChat sets field value
func (*Agent) SetDescription ¶
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*Agent) SetDescriptionNil ¶
func (o *Agent) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*Agent) SetHandoffs ¶
SetHandoffs gets a reference to the given []string and assigns it to the Handoffs field.
func (*Agent) SetInstructions ¶
SetInstructions gets a reference to the given NullableString and assigns it to the Instructions field.
func (*Agent) SetInstructionsNil ¶
func (o *Agent) SetInstructionsNil()
SetInstructionsNil sets the value for Instructions to be an explicit nil
func (*Agent) SetMetadata ¶ added in v0.15.0
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*Agent) SetObject ¶
SetObject gets a reference to the given string and assigns it to the Object field.
func (*Agent) SetTools ¶
func (o *Agent) SetTools(v []ToolsInner)
SetTools gets a reference to the given []ToolsInner and assigns it to the Tools field.
func (*Agent) SetUpdatedAt ¶
SetUpdatedAt sets field value
func (*Agent) SetVersions ¶ added in v0.15.0
SetVersions sets field value
func (*Agent) UnmarshalJSON ¶
func (*Agent) UnsetDescription ¶
func (o *Agent) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*Agent) UnsetInstructions ¶
func (o *Agent) UnsetInstructions()
UnsetInstructions ensures that no value is present for Instructions, not even an explicit nil
type AgentAliasResponse ¶ added in v0.15.0
type AgentAliasResponse struct {
Alias string `json:"alias"`
Version int32 `json:"version"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
AgentAliasResponse struct for AgentAliasResponse
func NewAgentAliasResponse ¶ added in v0.15.0
func NewAgentAliasResponse(alias string, version int32, createdAt time.Time, updatedAt time.Time) *AgentAliasResponse
NewAgentAliasResponse instantiates a new AgentAliasResponse 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 NewAgentAliasResponseWithDefaults ¶ added in v0.15.0
func NewAgentAliasResponseWithDefaults() *AgentAliasResponse
NewAgentAliasResponseWithDefaults instantiates a new AgentAliasResponse 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 (*AgentAliasResponse) GetAlias ¶ added in v0.15.0
func (o *AgentAliasResponse) GetAlias() string
GetAlias returns the Alias field value
func (*AgentAliasResponse) GetAliasOk ¶ added in v0.15.0
func (o *AgentAliasResponse) GetAliasOk() (*string, bool)
GetAliasOk returns a tuple with the Alias field value and a boolean to check if the value has been set.
func (*AgentAliasResponse) GetCreatedAt ¶ added in v0.15.0
func (o *AgentAliasResponse) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*AgentAliasResponse) GetCreatedAtOk ¶ added in v0.15.0
func (o *AgentAliasResponse) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*AgentAliasResponse) GetUpdatedAt ¶ added in v0.15.0
func (o *AgentAliasResponse) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*AgentAliasResponse) GetUpdatedAtOk ¶ added in v0.15.0
func (o *AgentAliasResponse) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*AgentAliasResponse) GetVersion ¶ added in v0.15.0
func (o *AgentAliasResponse) GetVersion() int32
GetVersion returns the Version field value
func (*AgentAliasResponse) GetVersionOk ¶ added in v0.15.0
func (o *AgentAliasResponse) GetVersionOk() (*int32, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (AgentAliasResponse) MarshalJSON ¶ added in v0.15.0
func (o AgentAliasResponse) MarshalJSON() ([]byte, error)
func (*AgentAliasResponse) SetAlias ¶ added in v0.15.0
func (o *AgentAliasResponse) SetAlias(v string)
SetAlias sets field value
func (*AgentAliasResponse) SetCreatedAt ¶ added in v0.15.0
func (o *AgentAliasResponse) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*AgentAliasResponse) SetUpdatedAt ¶ added in v0.15.0
func (o *AgentAliasResponse) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (*AgentAliasResponse) SetVersion ¶ added in v0.15.0
func (o *AgentAliasResponse) SetVersion(v int32)
SetVersion sets field value
func (AgentAliasResponse) ToMap ¶ added in v0.15.0
func (o AgentAliasResponse) ToMap() (map[string]interface{}, error)
func (*AgentAliasResponse) UnmarshalJSON ¶ added in v0.15.0
func (o *AgentAliasResponse) UnmarshalJSON(data []byte) (err error)
type AgentConversation ¶
type AgentConversation struct {
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
Object *string `json:"object,omitempty"`
Id string `json:"id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
AgentId string `json:"agent_id"`
AgentVersion NullableAgentVersion1 `json:"agent_version,omitempty"`
}
AgentConversation struct for AgentConversation
func NewAgentConversation ¶
func NewAgentConversation(id string, createdAt time.Time, updatedAt time.Time, agentId string) *AgentConversation
NewAgentConversation instantiates a new AgentConversation 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 NewAgentConversationWithDefaults ¶
func NewAgentConversationWithDefaults() *AgentConversation
NewAgentConversationWithDefaults instantiates a new AgentConversation 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 (*AgentConversation) GetAgentId ¶
func (o *AgentConversation) GetAgentId() string
GetAgentId returns the AgentId field value
func (*AgentConversation) GetAgentIdOk ¶
func (o *AgentConversation) GetAgentIdOk() (*string, bool)
GetAgentIdOk returns a tuple with the AgentId field value and a boolean to check if the value has been set.
func (*AgentConversation) GetAgentVersion ¶ added in v0.15.0
func (o *AgentConversation) GetAgentVersion() AgentVersion1
GetAgentVersion returns the AgentVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentConversation) GetAgentVersionOk ¶ added in v0.15.0
func (o *AgentConversation) GetAgentVersionOk() (*AgentVersion1, bool)
GetAgentVersionOk returns a tuple with the AgentVersion 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 (*AgentConversation) GetCreatedAt ¶
func (o *AgentConversation) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*AgentConversation) GetCreatedAtOk ¶
func (o *AgentConversation) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*AgentConversation) GetDescription ¶
func (o *AgentConversation) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentConversation) GetDescriptionOk ¶
func (o *AgentConversation) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*AgentConversation) GetId ¶
func (o *AgentConversation) GetId() string
GetId returns the Id field value
func (*AgentConversation) GetIdOk ¶
func (o *AgentConversation) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AgentConversation) GetMetadata ¶ added in v0.15.0
func (o *AgentConversation) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentConversation) GetMetadataOk ¶ added in v0.15.0
func (o *AgentConversation) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*AgentConversation) GetName ¶
func (o *AgentConversation) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentConversation) GetNameOk ¶
func (o *AgentConversation) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*AgentConversation) GetObject ¶
func (o *AgentConversation) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*AgentConversation) GetObjectOk ¶
func (o *AgentConversation) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentConversation) GetUpdatedAt ¶
func (o *AgentConversation) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*AgentConversation) GetUpdatedAtOk ¶
func (o *AgentConversation) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*AgentConversation) HasAgentVersion ¶ added in v0.15.0
func (o *AgentConversation) HasAgentVersion() bool
HasAgentVersion returns a boolean if a field has been set.
func (*AgentConversation) HasDescription ¶
func (o *AgentConversation) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AgentConversation) HasMetadata ¶ added in v0.15.0
func (o *AgentConversation) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*AgentConversation) HasName ¶
func (o *AgentConversation) HasName() bool
HasName returns a boolean if a field has been set.
func (*AgentConversation) HasObject ¶
func (o *AgentConversation) HasObject() bool
HasObject returns a boolean if a field has been set.
func (AgentConversation) MarshalJSON ¶
func (o AgentConversation) MarshalJSON() ([]byte, error)
func (*AgentConversation) SetAgentId ¶
func (o *AgentConversation) SetAgentId(v string)
SetAgentId sets field value
func (*AgentConversation) SetAgentVersion ¶ added in v0.15.0
func (o *AgentConversation) SetAgentVersion(v AgentVersion1)
SetAgentVersion gets a reference to the given NullableAgentVersion1 and assigns it to the AgentVersion field.
func (*AgentConversation) SetAgentVersionNil ¶ added in v0.15.0
func (o *AgentConversation) SetAgentVersionNil()
SetAgentVersionNil sets the value for AgentVersion to be an explicit nil
func (*AgentConversation) SetCreatedAt ¶
func (o *AgentConversation) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*AgentConversation) SetDescription ¶
func (o *AgentConversation) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*AgentConversation) SetDescriptionNil ¶
func (o *AgentConversation) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*AgentConversation) SetId ¶
func (o *AgentConversation) SetId(v string)
SetId sets field value
func (*AgentConversation) SetMetadata ¶ added in v0.15.0
func (o *AgentConversation) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*AgentConversation) SetName ¶
func (o *AgentConversation) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*AgentConversation) SetNameNil ¶
func (o *AgentConversation) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*AgentConversation) SetObject ¶
func (o *AgentConversation) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*AgentConversation) SetUpdatedAt ¶
func (o *AgentConversation) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (AgentConversation) ToMap ¶
func (o AgentConversation) ToMap() (map[string]interface{}, error)
func (*AgentConversation) UnmarshalJSON ¶
func (o *AgentConversation) UnmarshalJSON(data []byte) (err error)
func (*AgentConversation) UnsetAgentVersion ¶ added in v0.15.0
func (o *AgentConversation) UnsetAgentVersion()
UnsetAgentVersion ensures that no value is present for AgentVersion, not even an explicit nil
func (*AgentConversation) UnsetDescription ¶
func (o *AgentConversation) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*AgentConversation) UnsetName ¶
func (o *AgentConversation) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type AgentCreationRequest ¶
type AgentCreationRequest struct {
Instructions NullableString `json:"instructions,omitempty"`
// List of tools which are available to the model during the conversation.
Tools []ToolsInner `json:"tools,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Model string `json:"model"`
Name string `json:"name"`
Description NullableString `json:"description,omitempty"`
Handoffs []string `json:"handoffs,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
}
AgentCreationRequest struct for AgentCreationRequest
func NewAgentCreationRequest ¶
func NewAgentCreationRequest(model string, name string) *AgentCreationRequest
NewAgentCreationRequest instantiates a new AgentCreationRequest 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 NewAgentCreationRequestWithDefaults ¶
func NewAgentCreationRequestWithDefaults() *AgentCreationRequest
NewAgentCreationRequestWithDefaults instantiates a new AgentCreationRequest 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 (*AgentCreationRequest) GetCompletionArgs ¶
func (o *AgentCreationRequest) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*AgentCreationRequest) GetCompletionArgsOk ¶
func (o *AgentCreationRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentCreationRequest) GetDescription ¶
func (o *AgentCreationRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentCreationRequest) GetDescriptionOk ¶
func (o *AgentCreationRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*AgentCreationRequest) GetHandoffs ¶
func (o *AgentCreationRequest) GetHandoffs() []string
GetHandoffs returns the Handoffs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentCreationRequest) GetHandoffsOk ¶
func (o *AgentCreationRequest) GetHandoffsOk() ([]string, bool)
GetHandoffsOk returns a tuple with the Handoffs 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 (*AgentCreationRequest) GetInstructions ¶
func (o *AgentCreationRequest) GetInstructions() string
GetInstructions returns the Instructions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentCreationRequest) GetInstructionsOk ¶
func (o *AgentCreationRequest) GetInstructionsOk() (*string, bool)
GetInstructionsOk returns a tuple with the Instructions 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 (*AgentCreationRequest) GetMetadata ¶ added in v0.15.0
func (o *AgentCreationRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentCreationRequest) GetMetadataOk ¶ added in v0.15.0
func (o *AgentCreationRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*AgentCreationRequest) GetModel ¶
func (o *AgentCreationRequest) GetModel() string
GetModel returns the Model field value
func (*AgentCreationRequest) GetModelOk ¶
func (o *AgentCreationRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*AgentCreationRequest) GetName ¶
func (o *AgentCreationRequest) GetName() string
GetName returns the Name field value
func (*AgentCreationRequest) GetNameOk ¶
func (o *AgentCreationRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*AgentCreationRequest) GetTools ¶
func (o *AgentCreationRequest) GetTools() []ToolsInner
GetTools returns the Tools field value if set, zero value otherwise.
func (*AgentCreationRequest) GetToolsOk ¶
func (o *AgentCreationRequest) GetToolsOk() ([]ToolsInner, bool)
GetToolsOk returns a tuple with the Tools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentCreationRequest) HasCompletionArgs ¶
func (o *AgentCreationRequest) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*AgentCreationRequest) HasDescription ¶
func (o *AgentCreationRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AgentCreationRequest) HasHandoffs ¶
func (o *AgentCreationRequest) HasHandoffs() bool
HasHandoffs returns a boolean if a field has been set.
func (*AgentCreationRequest) HasInstructions ¶
func (o *AgentCreationRequest) HasInstructions() bool
HasInstructions returns a boolean if a field has been set.
func (*AgentCreationRequest) HasMetadata ¶ added in v0.15.0
func (o *AgentCreationRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*AgentCreationRequest) HasTools ¶
func (o *AgentCreationRequest) HasTools() bool
HasTools returns a boolean if a field has been set.
func (AgentCreationRequest) MarshalJSON ¶
func (o AgentCreationRequest) MarshalJSON() ([]byte, error)
func (*AgentCreationRequest) SetCompletionArgs ¶
func (o *AgentCreationRequest) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*AgentCreationRequest) SetDescription ¶
func (o *AgentCreationRequest) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*AgentCreationRequest) SetDescriptionNil ¶
func (o *AgentCreationRequest) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*AgentCreationRequest) SetHandoffs ¶
func (o *AgentCreationRequest) SetHandoffs(v []string)
SetHandoffs gets a reference to the given []string and assigns it to the Handoffs field.
func (*AgentCreationRequest) SetInstructions ¶
func (o *AgentCreationRequest) SetInstructions(v string)
SetInstructions gets a reference to the given NullableString and assigns it to the Instructions field.
func (*AgentCreationRequest) SetInstructionsNil ¶
func (o *AgentCreationRequest) SetInstructionsNil()
SetInstructionsNil sets the value for Instructions to be an explicit nil
func (*AgentCreationRequest) SetMetadata ¶ added in v0.15.0
func (o *AgentCreationRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*AgentCreationRequest) SetModel ¶
func (o *AgentCreationRequest) SetModel(v string)
SetModel sets field value
func (*AgentCreationRequest) SetName ¶
func (o *AgentCreationRequest) SetName(v string)
SetName sets field value
func (*AgentCreationRequest) SetTools ¶
func (o *AgentCreationRequest) SetTools(v []ToolsInner)
SetTools gets a reference to the given []ToolsInner and assigns it to the Tools field.
func (AgentCreationRequest) ToMap ¶
func (o AgentCreationRequest) ToMap() (map[string]interface{}, error)
func (*AgentCreationRequest) UnmarshalJSON ¶
func (o *AgentCreationRequest) UnmarshalJSON(data []byte) (err error)
func (*AgentCreationRequest) UnsetDescription ¶
func (o *AgentCreationRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*AgentCreationRequest) UnsetInstructions ¶
func (o *AgentCreationRequest) UnsetInstructions()
UnsetInstructions ensures that no value is present for Instructions, not even an explicit nil
type AgentHandoffDoneEvent ¶
type AgentHandoffDoneEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
OutputIndex *int32 `json:"output_index,omitempty"`
Id string `json:"id"`
NextAgentId string `json:"next_agent_id"`
NextAgentName string `json:"next_agent_name"`
}
AgentHandoffDoneEvent struct for AgentHandoffDoneEvent
func NewAgentHandoffDoneEvent ¶
func NewAgentHandoffDoneEvent(id string, nextAgentId string, nextAgentName string) *AgentHandoffDoneEvent
NewAgentHandoffDoneEvent instantiates a new AgentHandoffDoneEvent 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 NewAgentHandoffDoneEventWithDefaults ¶
func NewAgentHandoffDoneEventWithDefaults() *AgentHandoffDoneEvent
NewAgentHandoffDoneEventWithDefaults instantiates a new AgentHandoffDoneEvent 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 (*AgentHandoffDoneEvent) GetCreatedAt ¶
func (o *AgentHandoffDoneEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AgentHandoffDoneEvent) GetCreatedAtOk ¶
func (o *AgentHandoffDoneEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffDoneEvent) GetId ¶
func (o *AgentHandoffDoneEvent) GetId() string
GetId returns the Id field value
func (*AgentHandoffDoneEvent) GetIdOk ¶
func (o *AgentHandoffDoneEvent) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AgentHandoffDoneEvent) GetNextAgentId ¶
func (o *AgentHandoffDoneEvent) GetNextAgentId() string
GetNextAgentId returns the NextAgentId field value
func (*AgentHandoffDoneEvent) GetNextAgentIdOk ¶
func (o *AgentHandoffDoneEvent) GetNextAgentIdOk() (*string, bool)
GetNextAgentIdOk returns a tuple with the NextAgentId field value and a boolean to check if the value has been set.
func (*AgentHandoffDoneEvent) GetNextAgentName ¶
func (o *AgentHandoffDoneEvent) GetNextAgentName() string
GetNextAgentName returns the NextAgentName field value
func (*AgentHandoffDoneEvent) GetNextAgentNameOk ¶
func (o *AgentHandoffDoneEvent) GetNextAgentNameOk() (*string, bool)
GetNextAgentNameOk returns a tuple with the NextAgentName field value and a boolean to check if the value has been set.
func (*AgentHandoffDoneEvent) GetOutputIndex ¶
func (o *AgentHandoffDoneEvent) GetOutputIndex() int32
GetOutputIndex returns the OutputIndex field value if set, zero value otherwise.
func (*AgentHandoffDoneEvent) GetOutputIndexOk ¶
func (o *AgentHandoffDoneEvent) GetOutputIndexOk() (*int32, bool)
GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffDoneEvent) GetType ¶
func (o *AgentHandoffDoneEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AgentHandoffDoneEvent) GetTypeOk ¶
func (o *AgentHandoffDoneEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffDoneEvent) HasCreatedAt ¶
func (o *AgentHandoffDoneEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AgentHandoffDoneEvent) HasOutputIndex ¶
func (o *AgentHandoffDoneEvent) HasOutputIndex() bool
HasOutputIndex returns a boolean if a field has been set.
func (*AgentHandoffDoneEvent) HasType ¶
func (o *AgentHandoffDoneEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (AgentHandoffDoneEvent) MarshalJSON ¶
func (o AgentHandoffDoneEvent) MarshalJSON() ([]byte, error)
func (*AgentHandoffDoneEvent) SetCreatedAt ¶
func (o *AgentHandoffDoneEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AgentHandoffDoneEvent) SetId ¶
func (o *AgentHandoffDoneEvent) SetId(v string)
SetId sets field value
func (*AgentHandoffDoneEvent) SetNextAgentId ¶
func (o *AgentHandoffDoneEvent) SetNextAgentId(v string)
SetNextAgentId sets field value
func (*AgentHandoffDoneEvent) SetNextAgentName ¶
func (o *AgentHandoffDoneEvent) SetNextAgentName(v string)
SetNextAgentName sets field value
func (*AgentHandoffDoneEvent) SetOutputIndex ¶
func (o *AgentHandoffDoneEvent) SetOutputIndex(v int32)
SetOutputIndex gets a reference to the given int32 and assigns it to the OutputIndex field.
func (*AgentHandoffDoneEvent) SetType ¶
func (o *AgentHandoffDoneEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (AgentHandoffDoneEvent) ToMap ¶
func (o AgentHandoffDoneEvent) ToMap() (map[string]interface{}, error)
func (*AgentHandoffDoneEvent) UnmarshalJSON ¶
func (o *AgentHandoffDoneEvent) UnmarshalJSON(data []byte) (err error)
type AgentHandoffEntry ¶
type AgentHandoffEntry struct {
Object *string `json:"object,omitempty"`
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CompletedAt NullableTime `json:"completed_at,omitempty"`
Id *string `json:"id,omitempty"`
PreviousAgentId string `json:"previous_agent_id"`
PreviousAgentName string `json:"previous_agent_name"`
NextAgentId string `json:"next_agent_id"`
NextAgentName string `json:"next_agent_name"`
}
AgentHandoffEntry struct for AgentHandoffEntry
func NewAgentHandoffEntry ¶
func NewAgentHandoffEntry(previousAgentId string, previousAgentName string, nextAgentId string, nextAgentName string) *AgentHandoffEntry
NewAgentHandoffEntry instantiates a new AgentHandoffEntry 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 NewAgentHandoffEntryWithDefaults ¶
func NewAgentHandoffEntryWithDefaults() *AgentHandoffEntry
NewAgentHandoffEntryWithDefaults instantiates a new AgentHandoffEntry 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 (*AgentHandoffEntry) GetCompletedAt ¶
func (o *AgentHandoffEntry) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentHandoffEntry) GetCompletedAtOk ¶
func (o *AgentHandoffEntry) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt 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 (*AgentHandoffEntry) GetCreatedAt ¶
func (o *AgentHandoffEntry) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AgentHandoffEntry) GetCreatedAtOk ¶
func (o *AgentHandoffEntry) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffEntry) GetId ¶
func (o *AgentHandoffEntry) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*AgentHandoffEntry) GetIdOk ¶
func (o *AgentHandoffEntry) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffEntry) GetNextAgentId ¶
func (o *AgentHandoffEntry) GetNextAgentId() string
GetNextAgentId returns the NextAgentId field value
func (*AgentHandoffEntry) GetNextAgentIdOk ¶
func (o *AgentHandoffEntry) GetNextAgentIdOk() (*string, bool)
GetNextAgentIdOk returns a tuple with the NextAgentId field value and a boolean to check if the value has been set.
func (*AgentHandoffEntry) GetNextAgentName ¶
func (o *AgentHandoffEntry) GetNextAgentName() string
GetNextAgentName returns the NextAgentName field value
func (*AgentHandoffEntry) GetNextAgentNameOk ¶
func (o *AgentHandoffEntry) GetNextAgentNameOk() (*string, bool)
GetNextAgentNameOk returns a tuple with the NextAgentName field value and a boolean to check if the value has been set.
func (*AgentHandoffEntry) GetObject ¶
func (o *AgentHandoffEntry) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*AgentHandoffEntry) GetObjectOk ¶
func (o *AgentHandoffEntry) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffEntry) GetPreviousAgentId ¶
func (o *AgentHandoffEntry) GetPreviousAgentId() string
GetPreviousAgentId returns the PreviousAgentId field value
func (*AgentHandoffEntry) GetPreviousAgentIdOk ¶
func (o *AgentHandoffEntry) GetPreviousAgentIdOk() (*string, bool)
GetPreviousAgentIdOk returns a tuple with the PreviousAgentId field value and a boolean to check if the value has been set.
func (*AgentHandoffEntry) GetPreviousAgentName ¶
func (o *AgentHandoffEntry) GetPreviousAgentName() string
GetPreviousAgentName returns the PreviousAgentName field value
func (*AgentHandoffEntry) GetPreviousAgentNameOk ¶
func (o *AgentHandoffEntry) GetPreviousAgentNameOk() (*string, bool)
GetPreviousAgentNameOk returns a tuple with the PreviousAgentName field value and a boolean to check if the value has been set.
func (*AgentHandoffEntry) GetType ¶
func (o *AgentHandoffEntry) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AgentHandoffEntry) GetTypeOk ¶
func (o *AgentHandoffEntry) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffEntry) HasCompletedAt ¶
func (o *AgentHandoffEntry) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*AgentHandoffEntry) HasCreatedAt ¶
func (o *AgentHandoffEntry) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AgentHandoffEntry) HasId ¶
func (o *AgentHandoffEntry) HasId() bool
HasId returns a boolean if a field has been set.
func (*AgentHandoffEntry) HasObject ¶
func (o *AgentHandoffEntry) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*AgentHandoffEntry) HasType ¶
func (o *AgentHandoffEntry) HasType() bool
HasType returns a boolean if a field has been set.
func (AgentHandoffEntry) MarshalJSON ¶
func (o AgentHandoffEntry) MarshalJSON() ([]byte, error)
func (*AgentHandoffEntry) SetCompletedAt ¶
func (o *AgentHandoffEntry) SetCompletedAt(v time.Time)
SetCompletedAt gets a reference to the given NullableTime and assigns it to the CompletedAt field.
func (*AgentHandoffEntry) SetCompletedAtNil ¶
func (o *AgentHandoffEntry) SetCompletedAtNil()
SetCompletedAtNil sets the value for CompletedAt to be an explicit nil
func (*AgentHandoffEntry) SetCreatedAt ¶
func (o *AgentHandoffEntry) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AgentHandoffEntry) SetId ¶
func (o *AgentHandoffEntry) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*AgentHandoffEntry) SetNextAgentId ¶
func (o *AgentHandoffEntry) SetNextAgentId(v string)
SetNextAgentId sets field value
func (*AgentHandoffEntry) SetNextAgentName ¶
func (o *AgentHandoffEntry) SetNextAgentName(v string)
SetNextAgentName sets field value
func (*AgentHandoffEntry) SetObject ¶
func (o *AgentHandoffEntry) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*AgentHandoffEntry) SetPreviousAgentId ¶
func (o *AgentHandoffEntry) SetPreviousAgentId(v string)
SetPreviousAgentId sets field value
func (*AgentHandoffEntry) SetPreviousAgentName ¶
func (o *AgentHandoffEntry) SetPreviousAgentName(v string)
SetPreviousAgentName sets field value
func (*AgentHandoffEntry) SetType ¶
func (o *AgentHandoffEntry) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (AgentHandoffEntry) ToMap ¶
func (o AgentHandoffEntry) ToMap() (map[string]interface{}, error)
func (*AgentHandoffEntry) UnmarshalJSON ¶
func (o *AgentHandoffEntry) UnmarshalJSON(data []byte) (err error)
func (*AgentHandoffEntry) UnsetCompletedAt ¶
func (o *AgentHandoffEntry) UnsetCompletedAt()
UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil
type AgentHandoffStartedEvent ¶
type AgentHandoffStartedEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
OutputIndex *int32 `json:"output_index,omitempty"`
Id string `json:"id"`
PreviousAgentId string `json:"previous_agent_id"`
PreviousAgentName string `json:"previous_agent_name"`
}
AgentHandoffStartedEvent struct for AgentHandoffStartedEvent
func NewAgentHandoffStartedEvent ¶
func NewAgentHandoffStartedEvent(id string, previousAgentId string, previousAgentName string) *AgentHandoffStartedEvent
NewAgentHandoffStartedEvent instantiates a new AgentHandoffStartedEvent 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 NewAgentHandoffStartedEventWithDefaults ¶
func NewAgentHandoffStartedEventWithDefaults() *AgentHandoffStartedEvent
NewAgentHandoffStartedEventWithDefaults instantiates a new AgentHandoffStartedEvent 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 (*AgentHandoffStartedEvent) GetCreatedAt ¶
func (o *AgentHandoffStartedEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*AgentHandoffStartedEvent) GetCreatedAtOk ¶
func (o *AgentHandoffStartedEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffStartedEvent) GetId ¶
func (o *AgentHandoffStartedEvent) GetId() string
GetId returns the Id field value
func (*AgentHandoffStartedEvent) GetIdOk ¶
func (o *AgentHandoffStartedEvent) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*AgentHandoffStartedEvent) GetOutputIndex ¶
func (o *AgentHandoffStartedEvent) GetOutputIndex() int32
GetOutputIndex returns the OutputIndex field value if set, zero value otherwise.
func (*AgentHandoffStartedEvent) GetOutputIndexOk ¶
func (o *AgentHandoffStartedEvent) GetOutputIndexOk() (*int32, bool)
GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffStartedEvent) GetPreviousAgentId ¶
func (o *AgentHandoffStartedEvent) GetPreviousAgentId() string
GetPreviousAgentId returns the PreviousAgentId field value
func (*AgentHandoffStartedEvent) GetPreviousAgentIdOk ¶
func (o *AgentHandoffStartedEvent) GetPreviousAgentIdOk() (*string, bool)
GetPreviousAgentIdOk returns a tuple with the PreviousAgentId field value and a boolean to check if the value has been set.
func (*AgentHandoffStartedEvent) GetPreviousAgentName ¶
func (o *AgentHandoffStartedEvent) GetPreviousAgentName() string
GetPreviousAgentName returns the PreviousAgentName field value
func (*AgentHandoffStartedEvent) GetPreviousAgentNameOk ¶
func (o *AgentHandoffStartedEvent) GetPreviousAgentNameOk() (*string, bool)
GetPreviousAgentNameOk returns a tuple with the PreviousAgentName field value and a boolean to check if the value has been set.
func (*AgentHandoffStartedEvent) GetType ¶
func (o *AgentHandoffStartedEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AgentHandoffStartedEvent) GetTypeOk ¶
func (o *AgentHandoffStartedEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentHandoffStartedEvent) HasCreatedAt ¶
func (o *AgentHandoffStartedEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*AgentHandoffStartedEvent) HasOutputIndex ¶
func (o *AgentHandoffStartedEvent) HasOutputIndex() bool
HasOutputIndex returns a boolean if a field has been set.
func (*AgentHandoffStartedEvent) HasType ¶
func (o *AgentHandoffStartedEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (AgentHandoffStartedEvent) MarshalJSON ¶
func (o AgentHandoffStartedEvent) MarshalJSON() ([]byte, error)
func (*AgentHandoffStartedEvent) SetCreatedAt ¶
func (o *AgentHandoffStartedEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*AgentHandoffStartedEvent) SetId ¶
func (o *AgentHandoffStartedEvent) SetId(v string)
SetId sets field value
func (*AgentHandoffStartedEvent) SetOutputIndex ¶
func (o *AgentHandoffStartedEvent) SetOutputIndex(v int32)
SetOutputIndex gets a reference to the given int32 and assigns it to the OutputIndex field.
func (*AgentHandoffStartedEvent) SetPreviousAgentId ¶
func (o *AgentHandoffStartedEvent) SetPreviousAgentId(v string)
SetPreviousAgentId sets field value
func (*AgentHandoffStartedEvent) SetPreviousAgentName ¶
func (o *AgentHandoffStartedEvent) SetPreviousAgentName(v string)
SetPreviousAgentName sets field value
func (*AgentHandoffStartedEvent) SetType ¶
func (o *AgentHandoffStartedEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (AgentHandoffStartedEvent) ToMap ¶
func (o AgentHandoffStartedEvent) ToMap() (map[string]interface{}, error)
func (*AgentHandoffStartedEvent) UnmarshalJSON ¶
func (o *AgentHandoffStartedEvent) UnmarshalJSON(data []byte) (err error)
type AgentUpdateRequest ¶
type AgentUpdateRequest struct {
Instructions NullableString `json:"instructions,omitempty"`
// List of tools which are available to the model during the conversation.
Tools []ToolsInner `json:"tools,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Model NullableString `json:"model,omitempty"`
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
Handoffs []string `json:"handoffs,omitempty"`
DeploymentChat NullableBool `json:"deployment_chat,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
}
AgentUpdateRequest struct for AgentUpdateRequest
func NewAgentUpdateRequest ¶
func NewAgentUpdateRequest() *AgentUpdateRequest
NewAgentUpdateRequest instantiates a new AgentUpdateRequest 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 NewAgentUpdateRequestWithDefaults ¶
func NewAgentUpdateRequestWithDefaults() *AgentUpdateRequest
NewAgentUpdateRequestWithDefaults instantiates a new AgentUpdateRequest 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 (*AgentUpdateRequest) GetCompletionArgs ¶
func (o *AgentUpdateRequest) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*AgentUpdateRequest) GetCompletionArgsOk ¶
func (o *AgentUpdateRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentUpdateRequest) GetDeploymentChat ¶ added in v0.15.0
func (o *AgentUpdateRequest) GetDeploymentChat() bool
GetDeploymentChat returns the DeploymentChat field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentUpdateRequest) GetDeploymentChatOk ¶ added in v0.15.0
func (o *AgentUpdateRequest) GetDeploymentChatOk() (*bool, bool)
GetDeploymentChatOk returns a tuple with the DeploymentChat 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 (*AgentUpdateRequest) GetDescription ¶
func (o *AgentUpdateRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentUpdateRequest) GetDescriptionOk ¶
func (o *AgentUpdateRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*AgentUpdateRequest) GetHandoffs ¶
func (o *AgentUpdateRequest) GetHandoffs() []string
GetHandoffs returns the Handoffs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentUpdateRequest) GetHandoffsOk ¶
func (o *AgentUpdateRequest) GetHandoffsOk() ([]string, bool)
GetHandoffsOk returns a tuple with the Handoffs 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 (*AgentUpdateRequest) GetInstructions ¶
func (o *AgentUpdateRequest) GetInstructions() string
GetInstructions returns the Instructions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentUpdateRequest) GetInstructionsOk ¶
func (o *AgentUpdateRequest) GetInstructionsOk() (*string, bool)
GetInstructionsOk returns a tuple with the Instructions 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 (*AgentUpdateRequest) GetMetadata ¶ added in v0.15.0
func (o *AgentUpdateRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentUpdateRequest) GetMetadataOk ¶ added in v0.15.0
func (o *AgentUpdateRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*AgentUpdateRequest) GetModel ¶
func (o *AgentUpdateRequest) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentUpdateRequest) GetModelOk ¶
func (o *AgentUpdateRequest) 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 (*AgentUpdateRequest) GetName ¶
func (o *AgentUpdateRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentUpdateRequest) GetNameOk ¶
func (o *AgentUpdateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*AgentUpdateRequest) GetTools ¶
func (o *AgentUpdateRequest) GetTools() []ToolsInner
GetTools returns the Tools field value if set, zero value otherwise.
func (*AgentUpdateRequest) GetToolsOk ¶
func (o *AgentUpdateRequest) GetToolsOk() ([]ToolsInner, bool)
GetToolsOk returns a tuple with the Tools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentUpdateRequest) HasCompletionArgs ¶
func (o *AgentUpdateRequest) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*AgentUpdateRequest) HasDeploymentChat ¶ added in v0.15.0
func (o *AgentUpdateRequest) HasDeploymentChat() bool
HasDeploymentChat returns a boolean if a field has been set.
func (*AgentUpdateRequest) HasDescription ¶
func (o *AgentUpdateRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*AgentUpdateRequest) HasHandoffs ¶
func (o *AgentUpdateRequest) HasHandoffs() bool
HasHandoffs returns a boolean if a field has been set.
func (*AgentUpdateRequest) HasInstructions ¶
func (o *AgentUpdateRequest) HasInstructions() bool
HasInstructions returns a boolean if a field has been set.
func (*AgentUpdateRequest) HasMetadata ¶ added in v0.15.0
func (o *AgentUpdateRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*AgentUpdateRequest) HasModel ¶
func (o *AgentUpdateRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*AgentUpdateRequest) HasName ¶
func (o *AgentUpdateRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*AgentUpdateRequest) HasTools ¶
func (o *AgentUpdateRequest) HasTools() bool
HasTools returns a boolean if a field has been set.
func (AgentUpdateRequest) MarshalJSON ¶
func (o AgentUpdateRequest) MarshalJSON() ([]byte, error)
func (*AgentUpdateRequest) SetCompletionArgs ¶
func (o *AgentUpdateRequest) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*AgentUpdateRequest) SetDeploymentChat ¶ added in v0.15.0
func (o *AgentUpdateRequest) SetDeploymentChat(v bool)
SetDeploymentChat gets a reference to the given NullableBool and assigns it to the DeploymentChat field.
func (*AgentUpdateRequest) SetDeploymentChatNil ¶ added in v0.15.0
func (o *AgentUpdateRequest) SetDeploymentChatNil()
SetDeploymentChatNil sets the value for DeploymentChat to be an explicit nil
func (*AgentUpdateRequest) SetDescription ¶
func (o *AgentUpdateRequest) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*AgentUpdateRequest) SetDescriptionNil ¶
func (o *AgentUpdateRequest) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*AgentUpdateRequest) SetHandoffs ¶
func (o *AgentUpdateRequest) SetHandoffs(v []string)
SetHandoffs gets a reference to the given []string and assigns it to the Handoffs field.
func (*AgentUpdateRequest) SetInstructions ¶
func (o *AgentUpdateRequest) SetInstructions(v string)
SetInstructions gets a reference to the given NullableString and assigns it to the Instructions field.
func (*AgentUpdateRequest) SetInstructionsNil ¶
func (o *AgentUpdateRequest) SetInstructionsNil()
SetInstructionsNil sets the value for Instructions to be an explicit nil
func (*AgentUpdateRequest) SetMetadata ¶ added in v0.15.0
func (o *AgentUpdateRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*AgentUpdateRequest) SetModel ¶
func (o *AgentUpdateRequest) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*AgentUpdateRequest) SetModelNil ¶
func (o *AgentUpdateRequest) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*AgentUpdateRequest) SetName ¶
func (o *AgentUpdateRequest) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*AgentUpdateRequest) SetNameNil ¶
func (o *AgentUpdateRequest) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*AgentUpdateRequest) SetTools ¶
func (o *AgentUpdateRequest) SetTools(v []ToolsInner)
SetTools gets a reference to the given []ToolsInner and assigns it to the Tools field.
func (AgentUpdateRequest) ToMap ¶
func (o AgentUpdateRequest) ToMap() (map[string]interface{}, error)
func (*AgentUpdateRequest) UnsetDeploymentChat ¶ added in v0.15.0
func (o *AgentUpdateRequest) UnsetDeploymentChat()
UnsetDeploymentChat ensures that no value is present for DeploymentChat, not even an explicit nil
func (*AgentUpdateRequest) UnsetDescription ¶
func (o *AgentUpdateRequest) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*AgentUpdateRequest) UnsetInstructions ¶
func (o *AgentUpdateRequest) UnsetInstructions()
UnsetInstructions ensures that no value is present for Instructions, not even an explicit nil
func (*AgentUpdateRequest) UnsetModel ¶
func (o *AgentUpdateRequest) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
func (*AgentUpdateRequest) UnsetName ¶
func (o *AgentUpdateRequest) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type AgentVersion ¶ added in v0.15.0
AgentVersion struct for AgentVersion
func (AgentVersion) MarshalJSON ¶ added in v0.15.0
func (src AgentVersion) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*AgentVersion) UnmarshalJSON ¶ added in v0.15.0
func (dst *AgentVersion) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type AgentVersion1 ¶ added in v0.15.0
AgentVersion1 struct for AgentVersion1
func (AgentVersion1) MarshalJSON ¶ added in v0.15.0
func (src AgentVersion1) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*AgentVersion1) UnmarshalJSON ¶ added in v0.15.0
func (dst *AgentVersion1) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type AgentVersion2 ¶ added in v0.15.0
AgentVersion2 Specific version of the agent to use when restarting. If not provided, uses the current version.
func (AgentVersion2) MarshalJSON ¶ added in v0.15.0
func (src AgentVersion2) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*AgentVersion2) UnmarshalJSON ¶ added in v0.15.0
func (dst *AgentVersion2) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type AgentsAPI ¶
type AgentsAPI interface {
/*
AgentsCompletionV1AgentsCompletionsPost Agents Completion
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAgentsCompletionV1AgentsCompletionsPostRequest
*/
AgentsCompletionV1AgentsCompletionsPost(ctx context.Context) ApiAgentsCompletionV1AgentsCompletionsPostRequest
// AgentsCompletionV1AgentsCompletionsPostExecute executes the request
// @return ChatCompletionResponse
AgentsCompletionV1AgentsCompletionsPostExecute(r ApiAgentsCompletionV1AgentsCompletionsPostRequest) (*ChatCompletionResponse, *http.Response, error)
}
type AgentsAPIService ¶
type AgentsAPIService service
AgentsAPIService AgentsAPI service
func (*AgentsAPIService) AgentsCompletionV1AgentsCompletionsPost ¶
func (a *AgentsAPIService) AgentsCompletionV1AgentsCompletionsPost(ctx context.Context) ApiAgentsCompletionV1AgentsCompletionsPostRequest
AgentsCompletionV1AgentsCompletionsPost Agents Completion
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAgentsCompletionV1AgentsCompletionsPostRequest
func (*AgentsAPIService) AgentsCompletionV1AgentsCompletionsPostExecute ¶
func (a *AgentsAPIService) AgentsCompletionV1AgentsCompletionsPostExecute(r ApiAgentsCompletionV1AgentsCompletionsPostRequest) (*ChatCompletionResponse, *http.Response, error)
Execute executes the request
@return ChatCompletionResponse
type AgentsCompletionRequest ¶
type AgentsCompletionRequest struct {
MaxTokens NullableInt32 `json:"max_tokens,omitempty"`
// Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
Stop *Stop `json:"stop,omitempty"`
RandomSeed NullableInt32 `json:"random_seed,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
// The prompt(s) to generate completions for, encoded as a list of dict with role and content.
Messages []MessagesInner `json:"messages"`
ResponseFormat *ResponseFormat `json:"response_format,omitempty"`
Tools []Tool `json:"tools,omitempty"`
ToolChoice *ToolChoiceEnum `json:"tool_choice,omitempty"`
// The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
PresencePenalty *float32 `json:"presence_penalty,omitempty"`
// The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
FrequencyPenalty *float32 `json:"frequency_penalty,omitempty"`
N NullableInt32 `json:"n,omitempty"`
// Enable users to specify expected results, optimizing response times by leveraging known or predictable content. This approach is especially effective for updating text documents or code files with minimal changes, reducing latency while maintaining high-quality results.
Prediction *Prediction `json:"prediction,omitempty"`
ParallelToolCalls *bool `json:"parallel_tool_calls,omitempty"`
PromptMode NullableMistralPromptMode `json:"prompt_mode,omitempty"`
// The ID of the agent to use for this completion.
AgentId string `json:"agent_id"`
}
AgentsCompletionRequest struct for AgentsCompletionRequest
func NewAgentsCompletionRequest ¶
func NewAgentsCompletionRequest(messages []MessagesInner, agentId string) *AgentsCompletionRequest
NewAgentsCompletionRequest instantiates a new AgentsCompletionRequest 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 NewAgentsCompletionRequestWithDefaults ¶
func NewAgentsCompletionRequestWithDefaults() *AgentsCompletionRequest
NewAgentsCompletionRequestWithDefaults instantiates a new AgentsCompletionRequest 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 (*AgentsCompletionRequest) GetAgentId ¶
func (o *AgentsCompletionRequest) GetAgentId() string
GetAgentId returns the AgentId field value
func (*AgentsCompletionRequest) GetAgentIdOk ¶
func (o *AgentsCompletionRequest) GetAgentIdOk() (*string, bool)
GetAgentIdOk returns a tuple with the AgentId field value and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetFrequencyPenalty ¶
func (o *AgentsCompletionRequest) GetFrequencyPenalty() float32
GetFrequencyPenalty returns the FrequencyPenalty field value if set, zero value otherwise.
func (*AgentsCompletionRequest) GetFrequencyPenaltyOk ¶
func (o *AgentsCompletionRequest) GetFrequencyPenaltyOk() (*float32, bool)
GetFrequencyPenaltyOk returns a tuple with the FrequencyPenalty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetMaxTokens ¶
func (o *AgentsCompletionRequest) GetMaxTokens() int32
GetMaxTokens returns the MaxTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentsCompletionRequest) GetMaxTokensOk ¶
func (o *AgentsCompletionRequest) GetMaxTokensOk() (*int32, bool)
GetMaxTokensOk returns a tuple with the MaxTokens 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 (*AgentsCompletionRequest) GetMessages ¶
func (o *AgentsCompletionRequest) GetMessages() []MessagesInner
GetMessages returns the Messages field value
func (*AgentsCompletionRequest) GetMessagesOk ¶
func (o *AgentsCompletionRequest) GetMessagesOk() ([]MessagesInner, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetMetadata ¶ added in v0.15.0
func (o *AgentsCompletionRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentsCompletionRequest) GetMetadataOk ¶ added in v0.15.0
func (o *AgentsCompletionRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*AgentsCompletionRequest) GetN ¶
func (o *AgentsCompletionRequest) GetN() int32
GetN returns the N field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentsCompletionRequest) GetNOk ¶
func (o *AgentsCompletionRequest) GetNOk() (*int32, bool)
GetNOk returns a tuple with the N 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 (*AgentsCompletionRequest) GetParallelToolCalls ¶
func (o *AgentsCompletionRequest) GetParallelToolCalls() bool
GetParallelToolCalls returns the ParallelToolCalls field value if set, zero value otherwise.
func (*AgentsCompletionRequest) GetParallelToolCallsOk ¶
func (o *AgentsCompletionRequest) GetParallelToolCallsOk() (*bool, bool)
GetParallelToolCallsOk returns a tuple with the ParallelToolCalls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetPrediction ¶
func (o *AgentsCompletionRequest) GetPrediction() Prediction
GetPrediction returns the Prediction field value if set, zero value otherwise.
func (*AgentsCompletionRequest) GetPredictionOk ¶
func (o *AgentsCompletionRequest) GetPredictionOk() (*Prediction, bool)
GetPredictionOk returns a tuple with the Prediction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetPresencePenalty ¶
func (o *AgentsCompletionRequest) GetPresencePenalty() float32
GetPresencePenalty returns the PresencePenalty field value if set, zero value otherwise.
func (*AgentsCompletionRequest) GetPresencePenaltyOk ¶
func (o *AgentsCompletionRequest) GetPresencePenaltyOk() (*float32, bool)
GetPresencePenaltyOk returns a tuple with the PresencePenalty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetPromptMode ¶
func (o *AgentsCompletionRequest) GetPromptMode() MistralPromptMode
GetPromptMode returns the PromptMode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentsCompletionRequest) GetPromptModeOk ¶
func (o *AgentsCompletionRequest) GetPromptModeOk() (*MistralPromptMode, bool)
GetPromptModeOk returns a tuple with the PromptMode 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 (*AgentsCompletionRequest) GetRandomSeed ¶
func (o *AgentsCompletionRequest) GetRandomSeed() int32
GetRandomSeed returns the RandomSeed field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentsCompletionRequest) GetRandomSeedOk ¶
func (o *AgentsCompletionRequest) GetRandomSeedOk() (*int32, bool)
GetRandomSeedOk returns a tuple with the RandomSeed 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 (*AgentsCompletionRequest) GetResponseFormat ¶
func (o *AgentsCompletionRequest) GetResponseFormat() ResponseFormat
GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.
func (*AgentsCompletionRequest) GetResponseFormatOk ¶
func (o *AgentsCompletionRequest) GetResponseFormatOk() (*ResponseFormat, bool)
GetResponseFormatOk returns a tuple with the ResponseFormat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetStop ¶
func (o *AgentsCompletionRequest) GetStop() Stop
GetStop returns the Stop field value if set, zero value otherwise.
func (*AgentsCompletionRequest) GetStopOk ¶
func (o *AgentsCompletionRequest) GetStopOk() (*Stop, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetStream ¶
func (o *AgentsCompletionRequest) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*AgentsCompletionRequest) GetStreamOk ¶
func (o *AgentsCompletionRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetToolChoice ¶
func (o *AgentsCompletionRequest) GetToolChoice() ToolChoiceEnum
GetToolChoice returns the ToolChoice field value if set, zero value otherwise.
func (*AgentsCompletionRequest) GetToolChoiceOk ¶
func (o *AgentsCompletionRequest) GetToolChoiceOk() (*ToolChoiceEnum, bool)
GetToolChoiceOk returns a tuple with the ToolChoice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AgentsCompletionRequest) GetTools ¶
func (o *AgentsCompletionRequest) GetTools() []Tool
GetTools returns the Tools field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AgentsCompletionRequest) GetToolsOk ¶
func (o *AgentsCompletionRequest) GetToolsOk() ([]Tool, bool)
GetToolsOk returns a tuple with the Tools 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 (*AgentsCompletionRequest) HasFrequencyPenalty ¶
func (o *AgentsCompletionRequest) HasFrequencyPenalty() bool
HasFrequencyPenalty returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasMaxTokens ¶
func (o *AgentsCompletionRequest) HasMaxTokens() bool
HasMaxTokens returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasMetadata ¶ added in v0.15.0
func (o *AgentsCompletionRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasN ¶
func (o *AgentsCompletionRequest) HasN() bool
HasN returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasParallelToolCalls ¶
func (o *AgentsCompletionRequest) HasParallelToolCalls() bool
HasParallelToolCalls returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasPrediction ¶
func (o *AgentsCompletionRequest) HasPrediction() bool
HasPrediction returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasPresencePenalty ¶
func (o *AgentsCompletionRequest) HasPresencePenalty() bool
HasPresencePenalty returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasPromptMode ¶
func (o *AgentsCompletionRequest) HasPromptMode() bool
HasPromptMode returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasRandomSeed ¶
func (o *AgentsCompletionRequest) HasRandomSeed() bool
HasRandomSeed returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasResponseFormat ¶
func (o *AgentsCompletionRequest) HasResponseFormat() bool
HasResponseFormat returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasStop ¶
func (o *AgentsCompletionRequest) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasStream ¶
func (o *AgentsCompletionRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasToolChoice ¶
func (o *AgentsCompletionRequest) HasToolChoice() bool
HasToolChoice returns a boolean if a field has been set.
func (*AgentsCompletionRequest) HasTools ¶
func (o *AgentsCompletionRequest) HasTools() bool
HasTools returns a boolean if a field has been set.
func (AgentsCompletionRequest) MarshalJSON ¶
func (o AgentsCompletionRequest) MarshalJSON() ([]byte, error)
func (*AgentsCompletionRequest) SetAgentId ¶
func (o *AgentsCompletionRequest) SetAgentId(v string)
SetAgentId sets field value
func (*AgentsCompletionRequest) SetFrequencyPenalty ¶
func (o *AgentsCompletionRequest) SetFrequencyPenalty(v float32)
SetFrequencyPenalty gets a reference to the given float32 and assigns it to the FrequencyPenalty field.
func (*AgentsCompletionRequest) SetMaxTokens ¶
func (o *AgentsCompletionRequest) SetMaxTokens(v int32)
SetMaxTokens gets a reference to the given NullableInt32 and assigns it to the MaxTokens field.
func (*AgentsCompletionRequest) SetMaxTokensNil ¶
func (o *AgentsCompletionRequest) SetMaxTokensNil()
SetMaxTokensNil sets the value for MaxTokens to be an explicit nil
func (*AgentsCompletionRequest) SetMessages ¶
func (o *AgentsCompletionRequest) SetMessages(v []MessagesInner)
SetMessages sets field value
func (*AgentsCompletionRequest) SetMetadata ¶ added in v0.15.0
func (o *AgentsCompletionRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*AgentsCompletionRequest) SetN ¶
func (o *AgentsCompletionRequest) SetN(v int32)
SetN gets a reference to the given NullableInt32 and assigns it to the N field.
func (*AgentsCompletionRequest) SetNNil ¶
func (o *AgentsCompletionRequest) SetNNil()
SetNNil sets the value for N to be an explicit nil
func (*AgentsCompletionRequest) SetParallelToolCalls ¶
func (o *AgentsCompletionRequest) SetParallelToolCalls(v bool)
SetParallelToolCalls gets a reference to the given bool and assigns it to the ParallelToolCalls field.
func (*AgentsCompletionRequest) SetPrediction ¶
func (o *AgentsCompletionRequest) SetPrediction(v Prediction)
SetPrediction gets a reference to the given Prediction and assigns it to the Prediction field.
func (*AgentsCompletionRequest) SetPresencePenalty ¶
func (o *AgentsCompletionRequest) SetPresencePenalty(v float32)
SetPresencePenalty gets a reference to the given float32 and assigns it to the PresencePenalty field.
func (*AgentsCompletionRequest) SetPromptMode ¶
func (o *AgentsCompletionRequest) SetPromptMode(v MistralPromptMode)
SetPromptMode gets a reference to the given NullableMistralPromptMode and assigns it to the PromptMode field.
func (*AgentsCompletionRequest) SetPromptModeNil ¶
func (o *AgentsCompletionRequest) SetPromptModeNil()
SetPromptModeNil sets the value for PromptMode to be an explicit nil
func (*AgentsCompletionRequest) SetRandomSeed ¶
func (o *AgentsCompletionRequest) SetRandomSeed(v int32)
SetRandomSeed gets a reference to the given NullableInt32 and assigns it to the RandomSeed field.
func (*AgentsCompletionRequest) SetRandomSeedNil ¶
func (o *AgentsCompletionRequest) SetRandomSeedNil()
SetRandomSeedNil sets the value for RandomSeed to be an explicit nil
func (*AgentsCompletionRequest) SetResponseFormat ¶
func (o *AgentsCompletionRequest) SetResponseFormat(v ResponseFormat)
SetResponseFormat gets a reference to the given ResponseFormat and assigns it to the ResponseFormat field.
func (*AgentsCompletionRequest) SetStop ¶
func (o *AgentsCompletionRequest) SetStop(v Stop)
SetStop gets a reference to the given Stop and assigns it to the Stop field.
func (*AgentsCompletionRequest) SetStream ¶
func (o *AgentsCompletionRequest) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (*AgentsCompletionRequest) SetToolChoice ¶
func (o *AgentsCompletionRequest) SetToolChoice(v ToolChoiceEnum)
SetToolChoice gets a reference to the given ToolChoiceEnum and assigns it to the ToolChoice field.
func (*AgentsCompletionRequest) SetTools ¶
func (o *AgentsCompletionRequest) SetTools(v []Tool)
SetTools gets a reference to the given []Tool and assigns it to the Tools field.
func (AgentsCompletionRequest) ToMap ¶
func (o AgentsCompletionRequest) ToMap() (map[string]interface{}, error)
func (*AgentsCompletionRequest) UnmarshalJSON ¶
func (o *AgentsCompletionRequest) UnmarshalJSON(data []byte) (err error)
func (*AgentsCompletionRequest) UnsetMaxTokens ¶
func (o *AgentsCompletionRequest) UnsetMaxTokens()
UnsetMaxTokens ensures that no value is present for MaxTokens, not even an explicit nil
func (*AgentsCompletionRequest) UnsetN ¶
func (o *AgentsCompletionRequest) UnsetN()
UnsetN ensures that no value is present for N, not even an explicit nil
func (*AgentsCompletionRequest) UnsetPromptMode ¶
func (o *AgentsCompletionRequest) UnsetPromptMode()
UnsetPromptMode ensures that no value is present for PromptMode, not even an explicit nil
func (*AgentsCompletionRequest) UnsetRandomSeed ¶
func (o *AgentsCompletionRequest) UnsetRandomSeed()
UnsetRandomSeed ensures that no value is present for RandomSeed, not even an explicit nil
type AnyOfmapnull ¶ added in v0.15.0
type AnyOfmapnull = map[string]interface{}
AnyOfmapnull represents an anyOf of map[string]interface{} | null.
type ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest ¶ added in v0.15.0
type ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) Execute ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) Execute() (*AgentAliasResponse, *http.Response, error)
func (ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) Version ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) Version(version int32) ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest
type ApiAgentsApiV1AgentsCreateRequest ¶
type ApiAgentsApiV1AgentsCreateRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1AgentsCreateRequest) AgentCreationRequest ¶
func (r ApiAgentsApiV1AgentsCreateRequest) AgentCreationRequest(agentCreationRequest AgentCreationRequest) ApiAgentsApiV1AgentsCreateRequest
type ApiAgentsApiV1AgentsDeleteRequest ¶ added in v0.15.0
type ApiAgentsApiV1AgentsDeleteRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
type ApiAgentsApiV1AgentsGetRequest ¶
type ApiAgentsApiV1AgentsGetRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1AgentsGetRequest) AgentVersion ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsGetRequest) AgentVersion(agentVersion AgentVersion) ApiAgentsApiV1AgentsGetRequest
type ApiAgentsApiV1AgentsGetVersionRequest ¶ added in v0.15.0
type ApiAgentsApiV1AgentsGetVersionRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
type ApiAgentsApiV1AgentsListRequest ¶
type ApiAgentsApiV1AgentsListRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1AgentsListRequest) DeploymentChat ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsListRequest) DeploymentChat(deploymentChat bool) ApiAgentsApiV1AgentsListRequest
func (ApiAgentsApiV1AgentsListRequest) Execute ¶
func (r ApiAgentsApiV1AgentsListRequest) Execute() ([]Agent, *http.Response, error)
func (ApiAgentsApiV1AgentsListRequest) Id ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsListRequest) Id(id string) ApiAgentsApiV1AgentsListRequest
func (ApiAgentsApiV1AgentsListRequest) Metadata ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsListRequest) Metadata(metadata AnyOfmapnull) ApiAgentsApiV1AgentsListRequest
func (ApiAgentsApiV1AgentsListRequest) Name ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsListRequest) Name(name string) ApiAgentsApiV1AgentsListRequest
func (ApiAgentsApiV1AgentsListRequest) Page ¶
func (r ApiAgentsApiV1AgentsListRequest) Page(page int32) ApiAgentsApiV1AgentsListRequest
Page number (0-indexed)
func (ApiAgentsApiV1AgentsListRequest) PageSize ¶
func (r ApiAgentsApiV1AgentsListRequest) PageSize(pageSize int32) ApiAgentsApiV1AgentsListRequest
Number of agents per page
func (ApiAgentsApiV1AgentsListRequest) Sources ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsListRequest) Sources(sources []RequestSource) ApiAgentsApiV1AgentsListRequest
type ApiAgentsApiV1AgentsListVersionAliasesRequest ¶ added in v0.15.0
type ApiAgentsApiV1AgentsListVersionAliasesRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1AgentsListVersionAliasesRequest) Execute ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsListVersionAliasesRequest) Execute() ([]AgentAliasResponse, *http.Response, error)
type ApiAgentsApiV1AgentsListVersionsRequest ¶ added in v0.15.0
type ApiAgentsApiV1AgentsListVersionsRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1AgentsListVersionsRequest) Execute ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsListVersionsRequest) Execute() ([]Agent, *http.Response, error)
func (ApiAgentsApiV1AgentsListVersionsRequest) Page ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsListVersionsRequest) Page(page int32) ApiAgentsApiV1AgentsListVersionsRequest
Page number (0-indexed)
func (ApiAgentsApiV1AgentsListVersionsRequest) PageSize ¶ added in v0.15.0
func (r ApiAgentsApiV1AgentsListVersionsRequest) PageSize(pageSize int32) ApiAgentsApiV1AgentsListVersionsRequest
Number of versions per page
type ApiAgentsApiV1AgentsUpdateRequest ¶
type ApiAgentsApiV1AgentsUpdateRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1AgentsUpdateRequest) AgentUpdateRequest ¶
func (r ApiAgentsApiV1AgentsUpdateRequest) AgentUpdateRequest(agentUpdateRequest AgentUpdateRequest) ApiAgentsApiV1AgentsUpdateRequest
type ApiAgentsApiV1AgentsUpdateVersionRequest ¶
type ApiAgentsApiV1AgentsUpdateVersionRequest struct {
ApiService BetaAgentsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1AgentsUpdateVersionRequest) Execute ¶
func (r ApiAgentsApiV1AgentsUpdateVersionRequest) Execute() (*Agent, *http.Response, error)
func (ApiAgentsApiV1AgentsUpdateVersionRequest) Version ¶
func (r ApiAgentsApiV1AgentsUpdateVersionRequest) Version(version int32) ApiAgentsApiV1AgentsUpdateVersionRequest
type ApiAgentsApiV1ConversationsAppendRequest ¶
type ApiAgentsApiV1ConversationsAppendRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsAppendRequest) ConversationAppendRequest ¶
func (r ApiAgentsApiV1ConversationsAppendRequest) ConversationAppendRequest(conversationAppendRequest ConversationAppendRequest) ApiAgentsApiV1ConversationsAppendRequest
func (ApiAgentsApiV1ConversationsAppendRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsAppendRequest) Execute() (*ConversationResponse, *http.Response, error)
type ApiAgentsApiV1ConversationsAppendStreamRequest ¶
type ApiAgentsApiV1ConversationsAppendStreamRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsAppendStreamRequest) ConversationAppendStreamRequest ¶
func (r ApiAgentsApiV1ConversationsAppendStreamRequest) ConversationAppendStreamRequest(conversationAppendStreamRequest ConversationAppendStreamRequest) ApiAgentsApiV1ConversationsAppendStreamRequest
func (ApiAgentsApiV1ConversationsAppendStreamRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsAppendStreamRequest) Execute() (*ConversationEvents, *http.Response, error)
type ApiAgentsApiV1ConversationsDeleteRequest ¶ added in v0.15.0
type ApiAgentsApiV1ConversationsDeleteRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
type ApiAgentsApiV1ConversationsGetRequest ¶
type ApiAgentsApiV1ConversationsGetRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsGetRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsGetRequest) Execute() (*ResponseV1ConversationsGet, *http.Response, error)
type ApiAgentsApiV1ConversationsHistoryRequest ¶
type ApiAgentsApiV1ConversationsHistoryRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsHistoryRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsHistoryRequest) Execute() (*ConversationHistory, *http.Response, error)
type ApiAgentsApiV1ConversationsListRequest ¶
type ApiAgentsApiV1ConversationsListRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsListRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsListRequest) Execute() ([]ResponseV1ConversationsListInner, *http.Response, error)
func (ApiAgentsApiV1ConversationsListRequest) Metadata ¶ added in v0.15.0
func (r ApiAgentsApiV1ConversationsListRequest) Metadata(metadata AnyOfmapnull) ApiAgentsApiV1ConversationsListRequest
func (ApiAgentsApiV1ConversationsListRequest) Page ¶
func (r ApiAgentsApiV1ConversationsListRequest) Page(page int32) ApiAgentsApiV1ConversationsListRequest
func (ApiAgentsApiV1ConversationsListRequest) PageSize ¶
func (r ApiAgentsApiV1ConversationsListRequest) PageSize(pageSize int32) ApiAgentsApiV1ConversationsListRequest
type ApiAgentsApiV1ConversationsMessagesRequest ¶
type ApiAgentsApiV1ConversationsMessagesRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsMessagesRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsMessagesRequest) Execute() (*ConversationMessages, *http.Response, error)
type ApiAgentsApiV1ConversationsRestartRequest ¶
type ApiAgentsApiV1ConversationsRestartRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsRestartRequest) ConversationRestartRequest ¶
func (r ApiAgentsApiV1ConversationsRestartRequest) ConversationRestartRequest(conversationRestartRequest ConversationRestartRequest) ApiAgentsApiV1ConversationsRestartRequest
func (ApiAgentsApiV1ConversationsRestartRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsRestartRequest) Execute() (*ConversationResponse, *http.Response, error)
type ApiAgentsApiV1ConversationsRestartStreamRequest ¶
type ApiAgentsApiV1ConversationsRestartStreamRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsRestartStreamRequest) ConversationRestartStreamRequest ¶
func (r ApiAgentsApiV1ConversationsRestartStreamRequest) ConversationRestartStreamRequest(conversationRestartStreamRequest ConversationRestartStreamRequest) ApiAgentsApiV1ConversationsRestartStreamRequest
func (ApiAgentsApiV1ConversationsRestartStreamRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsRestartStreamRequest) Execute() (*ConversationEvents, *http.Response, error)
type ApiAgentsApiV1ConversationsStartRequest ¶
type ApiAgentsApiV1ConversationsStartRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsStartRequest) ConversationRequest ¶
func (r ApiAgentsApiV1ConversationsStartRequest) ConversationRequest(conversationRequest ConversationRequest) ApiAgentsApiV1ConversationsStartRequest
func (ApiAgentsApiV1ConversationsStartRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsStartRequest) Execute() (*ConversationResponse, *http.Response, error)
type ApiAgentsApiV1ConversationsStartStreamRequest ¶
type ApiAgentsApiV1ConversationsStartStreamRequest struct {
ApiService BetaConversationsAPI
// contains filtered or unexported fields
}
func (ApiAgentsApiV1ConversationsStartStreamRequest) ConversationStreamRequest ¶
func (r ApiAgentsApiV1ConversationsStartStreamRequest) ConversationStreamRequest(conversationStreamRequest ConversationStreamRequest) ApiAgentsApiV1ConversationsStartStreamRequest
func (ApiAgentsApiV1ConversationsStartStreamRequest) Execute ¶
func (r ApiAgentsApiV1ConversationsStartStreamRequest) Execute() (*ConversationEvents, *http.Response, error)
type ApiAgentsCompletionV1AgentsCompletionsPostRequest ¶
type ApiAgentsCompletionV1AgentsCompletionsPostRequest struct {
ApiService AgentsAPI
// contains filtered or unexported fields
}
func (ApiAgentsCompletionV1AgentsCompletionsPostRequest) AgentsCompletionRequest ¶
func (r ApiAgentsCompletionV1AgentsCompletionsPostRequest) AgentsCompletionRequest(agentsCompletionRequest AgentsCompletionRequest) ApiAgentsCompletionV1AgentsCompletionsPostRequest
func (ApiAgentsCompletionV1AgentsCompletionsPostRequest) Execute ¶
func (r ApiAgentsCompletionV1AgentsCompletionsPostRequest) Execute() (*ChatCompletionResponse, *http.Response, error)
type ApiAudioApiV1TranscriptionsPostRequest ¶ added in v0.15.0
type ApiAudioApiV1TranscriptionsPostRequest struct {
ApiService AudioTranscriptionsAPI
// contains filtered or unexported fields
}
func (ApiAudioApiV1TranscriptionsPostRequest) ContextBias ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) ContextBias(contextBias []string) ApiAudioApiV1TranscriptionsPostRequest
func (ApiAudioApiV1TranscriptionsPostRequest) Diarize ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) Diarize(diarize bool) ApiAudioApiV1TranscriptionsPostRequest
func (ApiAudioApiV1TranscriptionsPostRequest) Execute ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) Execute() (*TranscriptionResponse, *http.Response, error)
func (ApiAudioApiV1TranscriptionsPostRequest) File ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) File(file *os.File) ApiAudioApiV1TranscriptionsPostRequest
The File object (not file name) to be uploaded. To upload a file and specify a custom file name you should format your request as such: ```bash file=@path/to/your/file.jsonl;filename=custom_name.jsonl ``` Otherwise, you can just keep the original file name: ```bash file=@path/to/your/file.jsonl ```
func (ApiAudioApiV1TranscriptionsPostRequest) FileId ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) FileId(fileId string) ApiAudioApiV1TranscriptionsPostRequest
func (ApiAudioApiV1TranscriptionsPostRequest) FileUrl ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) FileUrl(fileUrl string) ApiAudioApiV1TranscriptionsPostRequest
func (ApiAudioApiV1TranscriptionsPostRequest) Language ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) Language(language string) ApiAudioApiV1TranscriptionsPostRequest
func (ApiAudioApiV1TranscriptionsPostRequest) Model ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) Model(model string) ApiAudioApiV1TranscriptionsPostRequest
ID of the model to be used.
func (ApiAudioApiV1TranscriptionsPostRequest) Stream ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) Stream(stream bool) ApiAudioApiV1TranscriptionsPostRequest
func (ApiAudioApiV1TranscriptionsPostRequest) Temperature ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) Temperature(temperature float32) ApiAudioApiV1TranscriptionsPostRequest
func (ApiAudioApiV1TranscriptionsPostRequest) TimestampGranularities ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostRequest) TimestampGranularities(timestampGranularities []TimestampGranularity) ApiAudioApiV1TranscriptionsPostRequest
Granularities of timestamps to include in the response.
type ApiAudioApiV1TranscriptionsPostStreamRequest ¶ added in v0.15.0
type ApiAudioApiV1TranscriptionsPostStreamRequest struct {
ApiService AudioTranscriptionsAPI
// contains filtered or unexported fields
}
func (ApiAudioApiV1TranscriptionsPostStreamRequest) ContextBias ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) ContextBias(contextBias []string) ApiAudioApiV1TranscriptionsPostStreamRequest
func (ApiAudioApiV1TranscriptionsPostStreamRequest) Diarize ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Diarize(diarize bool) ApiAudioApiV1TranscriptionsPostStreamRequest
func (ApiAudioApiV1TranscriptionsPostStreamRequest) Execute ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Execute() (*TranscriptionStreamEvents, *http.Response, error)
func (ApiAudioApiV1TranscriptionsPostStreamRequest) File ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) File(file *os.File) ApiAudioApiV1TranscriptionsPostStreamRequest
The File object (not file name) to be uploaded. To upload a file and specify a custom file name you should format your request as such: ```bash file=@path/to/your/file.jsonl;filename=custom_name.jsonl ``` Otherwise, you can just keep the original file name: ```bash file=@path/to/your/file.jsonl ```
func (ApiAudioApiV1TranscriptionsPostStreamRequest) FileId ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) FileId(fileId string) ApiAudioApiV1TranscriptionsPostStreamRequest
func (ApiAudioApiV1TranscriptionsPostStreamRequest) FileUrl ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) FileUrl(fileUrl string) ApiAudioApiV1TranscriptionsPostStreamRequest
func (ApiAudioApiV1TranscriptionsPostStreamRequest) Language ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Language(language string) ApiAudioApiV1TranscriptionsPostStreamRequest
func (ApiAudioApiV1TranscriptionsPostStreamRequest) Model ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Model(model string) ApiAudioApiV1TranscriptionsPostStreamRequest
func (ApiAudioApiV1TranscriptionsPostStreamRequest) Stream ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Stream(stream bool) ApiAudioApiV1TranscriptionsPostStreamRequest
func (ApiAudioApiV1TranscriptionsPostStreamRequest) Temperature ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) Temperature(temperature float32) ApiAudioApiV1TranscriptionsPostStreamRequest
func (ApiAudioApiV1TranscriptionsPostStreamRequest) TimestampGranularities ¶ added in v0.15.0
func (r ApiAudioApiV1TranscriptionsPostStreamRequest) TimestampGranularities(timestampGranularities []TimestampGranularity) ApiAudioApiV1TranscriptionsPostStreamRequest
Granularities of timestamps to include in the response.
type ApiChatClassificationsV1ChatClassificationsPostRequest ¶
type ApiChatClassificationsV1ChatClassificationsPostRequest struct {
ApiService ClassifiersAPI
// contains filtered or unexported fields
}
func (ApiChatClassificationsV1ChatClassificationsPostRequest) ChatClassificationRequest ¶
func (r ApiChatClassificationsV1ChatClassificationsPostRequest) ChatClassificationRequest(chatClassificationRequest ChatClassificationRequest) ApiChatClassificationsV1ChatClassificationsPostRequest
func (ApiChatClassificationsV1ChatClassificationsPostRequest) Execute ¶
func (r ApiChatClassificationsV1ChatClassificationsPostRequest) Execute() (*ClassificationResponse, *http.Response, error)
type ApiChatCompletionV1ChatCompletionsPostRequest ¶
type ApiChatCompletionV1ChatCompletionsPostRequest struct {
ApiService ChatAPI
// contains filtered or unexported fields
}
func (ApiChatCompletionV1ChatCompletionsPostRequest) ChatCompletionRequest ¶
func (r ApiChatCompletionV1ChatCompletionsPostRequest) ChatCompletionRequest(chatCompletionRequest ChatCompletionRequest) ApiChatCompletionV1ChatCompletionsPostRequest
func (ApiChatCompletionV1ChatCompletionsPostRequest) Execute ¶
func (r ApiChatCompletionV1ChatCompletionsPostRequest) Execute() (*ChatCompletionResponse, *http.Response, error)
type ApiChatModerationsV1ChatModerationsPostRequest ¶
type ApiChatModerationsV1ChatModerationsPostRequest struct {
ApiService ClassifiersAPI
// contains filtered or unexported fields
}
func (ApiChatModerationsV1ChatModerationsPostRequest) ChatModerationRequest ¶
func (r ApiChatModerationsV1ChatModerationsPostRequest) ChatModerationRequest(chatModerationRequest ChatModerationRequest) ApiChatModerationsV1ChatModerationsPostRequest
func (ApiChatModerationsV1ChatModerationsPostRequest) Execute ¶
func (r ApiChatModerationsV1ChatModerationsPostRequest) Execute() (*ModerationResponse, *http.Response, error)
type ApiClassificationsV1ClassificationsPostRequest ¶
type ApiClassificationsV1ClassificationsPostRequest struct {
ApiService ClassifiersAPI
// contains filtered or unexported fields
}
func (ApiClassificationsV1ClassificationsPostRequest) ClassificationRequest ¶
func (r ApiClassificationsV1ClassificationsPostRequest) ClassificationRequest(classificationRequest ClassificationRequest) ApiClassificationsV1ClassificationsPostRequest
func (ApiClassificationsV1ClassificationsPostRequest) Execute ¶
func (r ApiClassificationsV1ClassificationsPostRequest) Execute() (*ClassificationResponse, *http.Response, error)
type ApiDeleteModelV1ModelsModelIdDeleteRequest ¶
type ApiDeleteModelV1ModelsModelIdDeleteRequest struct {
ApiService ModelsAPI
// contains filtered or unexported fields
}
func (ApiDeleteModelV1ModelsModelIdDeleteRequest) Execute ¶
func (r ApiDeleteModelV1ModelsModelIdDeleteRequest) Execute() (*DeleteModelOut, *http.Response, error)
type ApiEmbeddingsV1EmbeddingsPostRequest ¶
type ApiEmbeddingsV1EmbeddingsPostRequest struct {
ApiService EmbeddingsAPI
// contains filtered or unexported fields
}
func (ApiEmbeddingsV1EmbeddingsPostRequest) EmbeddingRequest ¶
func (r ApiEmbeddingsV1EmbeddingsPostRequest) EmbeddingRequest(embeddingRequest EmbeddingRequest) ApiEmbeddingsV1EmbeddingsPostRequest
func (ApiEmbeddingsV1EmbeddingsPostRequest) Execute ¶
func (r ApiEmbeddingsV1EmbeddingsPostRequest) Execute() (*EmbeddingResponse, *http.Response, error)
type ApiEndpoint ¶
type ApiEndpoint string
ApiEndpoint the model 'ApiEndpoint'
const ( APIENDPOINT_V1_CHAT_COMPLETIONS ApiEndpoint = "/v1/chat/completions" APIENDPOINT_V1_EMBEDDINGS ApiEndpoint = "/v1/embeddings" APIENDPOINT_V1_FIM_COMPLETIONS ApiEndpoint = "/v1/fim/completions" APIENDPOINT_V1_MODERATIONS ApiEndpoint = "/v1/moderations" APIENDPOINT_V1_CHAT_MODERATIONS ApiEndpoint = "/v1/chat/moderations" APIENDPOINT_V1_OCR ApiEndpoint = "/v1/ocr" APIENDPOINT_V1_CLASSIFICATIONS ApiEndpoint = "/v1/classifications" APIENDPOINT_V1_CHAT_CLASSIFICATIONS ApiEndpoint = "/v1/chat/classifications" APIENDPOINT_V1_CONVERSATIONS ApiEndpoint = "/v1/conversations" APIENDPOINT_V1_AUDIO_TRANSCRIPTIONS ApiEndpoint = "/v1/audio/transcriptions" )
List of ApiEndpoint
func NewApiEndpointFromValue ¶
func NewApiEndpointFromValue(v string) (*ApiEndpoint, error)
NewApiEndpointFromValue returns a pointer to a valid ApiEndpoint for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ApiEndpoint) IsValid ¶
func (v ApiEndpoint) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ApiEndpoint) Ptr ¶
func (v ApiEndpoint) Ptr() *ApiEndpoint
Ptr returns reference to ApiEndpoint value
func (*ApiEndpoint) UnmarshalJSON ¶
func (v *ApiEndpoint) UnmarshalJSON(src []byte) error
type ApiFilesApiRoutesDeleteFileRequest ¶
type ApiFilesApiRoutesDeleteFileRequest struct {
ApiService FilesAPI
// contains filtered or unexported fields
}
func (ApiFilesApiRoutesDeleteFileRequest) Execute ¶
func (r ApiFilesApiRoutesDeleteFileRequest) Execute() (*DeleteFileOut, *http.Response, error)
type ApiFilesApiRoutesDownloadFileRequest ¶
type ApiFilesApiRoutesDownloadFileRequest struct {
ApiService FilesAPI
// contains filtered or unexported fields
}
type ApiFilesApiRoutesGetSignedUrlRequest ¶
type ApiFilesApiRoutesGetSignedUrlRequest struct {
ApiService FilesAPI
// contains filtered or unexported fields
}
func (ApiFilesApiRoutesGetSignedUrlRequest) Execute ¶
func (r ApiFilesApiRoutesGetSignedUrlRequest) Execute() (*FileSignedURL, *http.Response, error)
func (ApiFilesApiRoutesGetSignedUrlRequest) Expiry ¶
func (r ApiFilesApiRoutesGetSignedUrlRequest) Expiry(expiry int32) ApiFilesApiRoutesGetSignedUrlRequest
Number of hours before the url becomes invalid. Defaults to 24h
type ApiFilesApiRoutesListFilesRequest ¶
type ApiFilesApiRoutesListFilesRequest struct {
ApiService FilesAPI
// contains filtered or unexported fields
}
func (ApiFilesApiRoutesListFilesRequest) Execute ¶
func (r ApiFilesApiRoutesListFilesRequest) Execute() (*ListFilesOut, *http.Response, error)
func (ApiFilesApiRoutesListFilesRequest) IncludeTotal ¶ added in v0.15.0
func (r ApiFilesApiRoutesListFilesRequest) IncludeTotal(includeTotal bool) ApiFilesApiRoutesListFilesRequest
func (ApiFilesApiRoutesListFilesRequest) Mimetypes ¶ added in v0.15.0
func (r ApiFilesApiRoutesListFilesRequest) Mimetypes(mimetypes []string) ApiFilesApiRoutesListFilesRequest
func (ApiFilesApiRoutesListFilesRequest) Page ¶
func (r ApiFilesApiRoutesListFilesRequest) Page(page int32) ApiFilesApiRoutesListFilesRequest
func (ApiFilesApiRoutesListFilesRequest) PageSize ¶
func (r ApiFilesApiRoutesListFilesRequest) PageSize(pageSize int32) ApiFilesApiRoutesListFilesRequest
func (ApiFilesApiRoutesListFilesRequest) Purpose ¶
func (r ApiFilesApiRoutesListFilesRequest) Purpose(purpose FilePurpose) ApiFilesApiRoutesListFilesRequest
func (ApiFilesApiRoutesListFilesRequest) SampleType ¶
func (r ApiFilesApiRoutesListFilesRequest) SampleType(sampleType []SampleType) ApiFilesApiRoutesListFilesRequest
func (ApiFilesApiRoutesListFilesRequest) Search ¶
func (r ApiFilesApiRoutesListFilesRequest) Search(search string) ApiFilesApiRoutesListFilesRequest
func (ApiFilesApiRoutesListFilesRequest) Source ¶
func (r ApiFilesApiRoutesListFilesRequest) Source(source []Source) ApiFilesApiRoutesListFilesRequest
type ApiFilesApiRoutesRetrieveFileRequest ¶
type ApiFilesApiRoutesRetrieveFileRequest struct {
ApiService FilesAPI
// contains filtered or unexported fields
}
func (ApiFilesApiRoutesRetrieveFileRequest) Execute ¶
func (r ApiFilesApiRoutesRetrieveFileRequest) Execute() (*RetrieveFileOut, *http.Response, error)
type ApiFilesApiRoutesUploadFileRequest ¶
type ApiFilesApiRoutesUploadFileRequest struct {
ApiService FilesAPI
// contains filtered or unexported fields
}
func (ApiFilesApiRoutesUploadFileRequest) Execute ¶
func (r ApiFilesApiRoutesUploadFileRequest) Execute() (*UploadFileOut, *http.Response, error)
func (ApiFilesApiRoutesUploadFileRequest) File ¶
func (r ApiFilesApiRoutesUploadFileRequest) File(file *os.File) ApiFilesApiRoutesUploadFileRequest
The File object (not file name) to be uploaded. To upload a file and specify a custom file name you should format your request as such: ```bash file=@path/to/your/file.jsonl;filename=custom_name.jsonl ``` Otherwise, you can just keep the original file name: ```bash file=@path/to/your/file.jsonl ```
func (ApiFilesApiRoutesUploadFileRequest) Purpose ¶
func (r ApiFilesApiRoutesUploadFileRequest) Purpose(purpose FilePurpose) ApiFilesApiRoutesUploadFileRequest
type ApiFimCompletionV1FimCompletionsPostRequest ¶
type ApiFimCompletionV1FimCompletionsPostRequest struct {
ApiService FimAPI
// contains filtered or unexported fields
}
func (ApiFimCompletionV1FimCompletionsPostRequest) Execute ¶
func (r ApiFimCompletionV1FimCompletionsPostRequest) Execute() (*FIMCompletionResponse, *http.Response, error)
func (ApiFimCompletionV1FimCompletionsPostRequest) FIMCompletionRequest ¶
func (r ApiFimCompletionV1FimCompletionsPostRequest) FIMCompletionRequest(fIMCompletionRequest FIMCompletionRequest) ApiFimCompletionV1FimCompletionsPostRequest
type ApiJobsApiRoutesBatchCancelBatchJobRequest ¶
type ApiJobsApiRoutesBatchCancelBatchJobRequest struct {
ApiService BatchAPI
// contains filtered or unexported fields
}
func (ApiJobsApiRoutesBatchCancelBatchJobRequest) Execute ¶
func (r ApiJobsApiRoutesBatchCancelBatchJobRequest) Execute() (*BatchJobOut, *http.Response, error)
type ApiJobsApiRoutesBatchCreateBatchJobRequest ¶
type ApiJobsApiRoutesBatchCreateBatchJobRequest struct {
ApiService BatchAPI
// contains filtered or unexported fields
}
func (ApiJobsApiRoutesBatchCreateBatchJobRequest) BatchJobIn ¶
func (r ApiJobsApiRoutesBatchCreateBatchJobRequest) BatchJobIn(batchJobIn BatchJobIn) ApiJobsApiRoutesBatchCreateBatchJobRequest
func (ApiJobsApiRoutesBatchCreateBatchJobRequest) Execute ¶
func (r ApiJobsApiRoutesBatchCreateBatchJobRequest) Execute() (*BatchJobOut, *http.Response, error)
type ApiJobsApiRoutesBatchGetBatchJobRequest ¶
type ApiJobsApiRoutesBatchGetBatchJobRequest struct {
ApiService BatchAPI
// contains filtered or unexported fields
}
func (ApiJobsApiRoutesBatchGetBatchJobRequest) Execute ¶
func (r ApiJobsApiRoutesBatchGetBatchJobRequest) Execute() (*BatchJobOut, *http.Response, error)
func (ApiJobsApiRoutesBatchGetBatchJobRequest) Inline ¶ added in v0.15.0
func (r ApiJobsApiRoutesBatchGetBatchJobRequest) Inline(inline bool) ApiJobsApiRoutesBatchGetBatchJobRequest
type ApiJobsApiRoutesBatchGetBatchJobsRequest ¶
type ApiJobsApiRoutesBatchGetBatchJobsRequest struct {
ApiService BatchAPI
// contains filtered or unexported fields
}
func (ApiJobsApiRoutesBatchGetBatchJobsRequest) AgentId ¶ added in v0.15.0
func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) AgentId(agentId string) ApiJobsApiRoutesBatchGetBatchJobsRequest
func (ApiJobsApiRoutesBatchGetBatchJobsRequest) CreatedAfter ¶
func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) CreatedAfter(createdAfter time.Time) ApiJobsApiRoutesBatchGetBatchJobsRequest
func (ApiJobsApiRoutesBatchGetBatchJobsRequest) CreatedByMe ¶
func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) CreatedByMe(createdByMe bool) ApiJobsApiRoutesBatchGetBatchJobsRequest
func (ApiJobsApiRoutesBatchGetBatchJobsRequest) Execute ¶
func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Execute() (*BatchJobsOut, *http.Response, error)
func (ApiJobsApiRoutesBatchGetBatchJobsRequest) Metadata ¶
func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Metadata(metadata map[string]interface{}) ApiJobsApiRoutesBatchGetBatchJobsRequest
func (ApiJobsApiRoutesBatchGetBatchJobsRequest) Model ¶
func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Model(model string) ApiJobsApiRoutesBatchGetBatchJobsRequest
func (ApiJobsApiRoutesBatchGetBatchJobsRequest) Page ¶
func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Page(page int32) ApiJobsApiRoutesBatchGetBatchJobsRequest
func (ApiJobsApiRoutesBatchGetBatchJobsRequest) PageSize ¶
func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) PageSize(pageSize int32) ApiJobsApiRoutesBatchGetBatchJobsRequest
func (ApiJobsApiRoutesBatchGetBatchJobsRequest) Status ¶
func (r ApiJobsApiRoutesBatchGetBatchJobsRequest) Status(status []BatchJobStatus) ApiJobsApiRoutesBatchGetBatchJobsRequest
type ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest ¶
type ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest struct {
ApiService ModelsAPI
// contains filtered or unexported fields
}
func (ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest) Execute ¶
func (r ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest) Execute() (*ArchiveFTModelOut, *http.Response, error)
type ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest ¶
type ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest struct {
ApiService FineTuningAPI
// contains filtered or unexported fields
}
type ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest ¶
type ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest struct {
ApiService FineTuningAPI
// contains filtered or unexported fields
}
func (ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) DryRun ¶
func (r ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) DryRun(dryRun bool) ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest
* If `true` the job is not spawned, instead the query returns a handful of useful metadata for the user to perform sanity checks (see `LegacyJobMetadataOut` response). * Otherwise, the job is started and the query returns the job ID along with some of the input parameters (see `JobOut` response).
func (ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) Execute ¶
func (r ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) Execute() (*Response, *http.Response, error)
type ApiJobsApiRoutesFineTuningGetFineTuningJobRequest ¶
type ApiJobsApiRoutesFineTuningGetFineTuningJobRequest struct {
ApiService FineTuningAPI
// contains filtered or unexported fields
}
type ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest ¶
type ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest struct {
ApiService FineTuningAPI
// contains filtered or unexported fields
}
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) CreatedAfter ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) CreatedAfter(createdAfter time.Time) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
The date/time to filter on. When set, the results for previous creation times are not displayed.
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) CreatedBefore ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) CreatedBefore(createdBefore time.Time) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) CreatedByMe ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) CreatedByMe(createdByMe bool) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
When set, only return results for jobs created by the API caller. Other results are not displayed.
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Execute ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Execute() (*JobsOut, *http.Response, error)
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Model ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Model(model string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
The model name used for fine-tuning to filter on. When set, the other results are not displayed.
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Page ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Page(page int32) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
The page number of the results to be returned.
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) PageSize ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) PageSize(pageSize int32) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
The number of items to return per page.
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Status ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Status(status string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
The current job state to filter on. When set, the other results are not displayed.
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Suffix ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) Suffix(suffix string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
The model suffix to filter on. When set, the other results are not displayed.
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) WandbName ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) WandbName(wandbName string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
The Weight and Biases run name to filter on. When set, the other results are not displayed.
func (ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) WandbProject ¶
func (r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) WandbProject(wandbProject string) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
The Weights and Biases project to filter on. When set, the other results are not displayed.
type ApiJobsApiRoutesFineTuningStartFineTuningJobRequest ¶
type ApiJobsApiRoutesFineTuningStartFineTuningJobRequest struct {
ApiService FineTuningAPI
// contains filtered or unexported fields
}
type ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest ¶
type ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest struct {
ApiService ModelsAPI
// contains filtered or unexported fields
}
func (ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest) Execute ¶
func (r ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest) Execute() (*UnarchiveFTModelOut, *http.Response, error)
type ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest ¶
type ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest struct {
ApiService ModelsAPI
// contains filtered or unexported fields
}
func (ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest) Execute ¶
func (r ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest) Execute() (*Response2, *http.Response, error)
func (ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest) UpdateFTModelIn ¶
func (r ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest) UpdateFTModelIn(updateFTModelIn UpdateFTModelIn) ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest
type ApiLibrariesCreateV1Request ¶ added in v0.6.0
type ApiLibrariesCreateV1Request struct {
ApiService BetaLibrariesAPI
// contains filtered or unexported fields
}
func (ApiLibrariesCreateV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesCreateV1Request) Execute() (*LibraryOut, *http.Response, error)
func (ApiLibrariesCreateV1Request) LibraryIn ¶ added in v0.6.0
func (r ApiLibrariesCreateV1Request) LibraryIn(libraryIn LibraryIn) ApiLibrariesCreateV1Request
type ApiLibrariesDeleteV1Request ¶ added in v0.6.0
type ApiLibrariesDeleteV1Request struct {
ApiService BetaLibrariesAPI
// contains filtered or unexported fields
}
func (ApiLibrariesDeleteV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesDeleteV1Request) Execute() (*LibraryOut, *http.Response, error)
type ApiLibrariesDocumentsDeleteV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsDeleteV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
type ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
type ApiLibrariesDocumentsGetSignedUrlV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsGetSignedUrlV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
type ApiLibrariesDocumentsGetStatusV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsGetStatusV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
func (ApiLibrariesDocumentsGetStatusV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesDocumentsGetStatusV1Request) Execute() (*ProcessingStatusOut, *http.Response, error)
type ApiLibrariesDocumentsGetTextContentV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsGetTextContentV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
func (ApiLibrariesDocumentsGetTextContentV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesDocumentsGetTextContentV1Request) Execute() (*DocumentTextContent, *http.Response, error)
type ApiLibrariesDocumentsGetV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsGetV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
func (ApiLibrariesDocumentsGetV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesDocumentsGetV1Request) Execute() (*DocumentOut, *http.Response, error)
type ApiLibrariesDocumentsListV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsListV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
func (ApiLibrariesDocumentsListV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesDocumentsListV1Request) Execute() (*ListDocumentOut, *http.Response, error)
func (ApiLibrariesDocumentsListV1Request) FiltersAttributes ¶ added in v0.15.0
func (r ApiLibrariesDocumentsListV1Request) FiltersAttributes(filtersAttributes string) ApiLibrariesDocumentsListV1Request
func (ApiLibrariesDocumentsListV1Request) Page ¶ added in v0.6.0
func (r ApiLibrariesDocumentsListV1Request) Page(page int32) ApiLibrariesDocumentsListV1Request
func (ApiLibrariesDocumentsListV1Request) PageSize ¶ added in v0.6.0
func (r ApiLibrariesDocumentsListV1Request) PageSize(pageSize int32) ApiLibrariesDocumentsListV1Request
func (ApiLibrariesDocumentsListV1Request) Search ¶ added in v0.6.0
func (r ApiLibrariesDocumentsListV1Request) Search(search string) ApiLibrariesDocumentsListV1Request
func (ApiLibrariesDocumentsListV1Request) SortBy ¶ added in v0.6.0
func (r ApiLibrariesDocumentsListV1Request) SortBy(sortBy string) ApiLibrariesDocumentsListV1Request
func (ApiLibrariesDocumentsListV1Request) SortOrder ¶ added in v0.6.0
func (r ApiLibrariesDocumentsListV1Request) SortOrder(sortOrder string) ApiLibrariesDocumentsListV1Request
type ApiLibrariesDocumentsReprocessV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsReprocessV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
type ApiLibrariesDocumentsUpdateV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsUpdateV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
func (ApiLibrariesDocumentsUpdateV1Request) DocumentUpdateIn ¶ added in v0.6.0
func (r ApiLibrariesDocumentsUpdateV1Request) DocumentUpdateIn(documentUpdateIn DocumentUpdateIn) ApiLibrariesDocumentsUpdateV1Request
func (ApiLibrariesDocumentsUpdateV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesDocumentsUpdateV1Request) Execute() (*DocumentOut, *http.Response, error)
type ApiLibrariesDocumentsUploadV1Request ¶ added in v0.6.0
type ApiLibrariesDocumentsUploadV1Request struct {
ApiService BetaLibrariesDocumentsAPI
// contains filtered or unexported fields
}
func (ApiLibrariesDocumentsUploadV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesDocumentsUploadV1Request) Execute() (*DocumentOut, *http.Response, error)
func (ApiLibrariesDocumentsUploadV1Request) File ¶ added in v0.6.0
func (r ApiLibrariesDocumentsUploadV1Request) File(file *os.File) ApiLibrariesDocumentsUploadV1Request
The File object (not file name) to be uploaded. To upload a file and specify a custom file name you should format your request as such: ```bash file=@path/to/your/file.jsonl;filename=custom_name.jsonl ``` Otherwise, you can just keep the original file name: ```bash file=@path/to/your/file.jsonl ```
type ApiLibrariesGetV1Request ¶ added in v0.6.0
type ApiLibrariesGetV1Request struct {
ApiService BetaLibrariesAPI
// contains filtered or unexported fields
}
func (ApiLibrariesGetV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesGetV1Request) Execute() (*LibraryOut, *http.Response, error)
type ApiLibrariesListV1Request ¶ added in v0.6.0
type ApiLibrariesListV1Request struct {
ApiService BetaLibrariesAPI
// contains filtered or unexported fields
}
func (ApiLibrariesListV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesListV1Request) Execute() (*ListLibraryOut, *http.Response, error)
type ApiLibrariesShareCreateV1Request ¶ added in v0.6.0
type ApiLibrariesShareCreateV1Request struct {
// contains filtered or unexported fields
}
func (ApiLibrariesShareCreateV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesShareCreateV1Request) Execute() (*SharingOut, *http.Response, error)
func (ApiLibrariesShareCreateV1Request) SharingIn ¶ added in v0.6.0
func (r ApiLibrariesShareCreateV1Request) SharingIn(sharingIn SharingIn) ApiLibrariesShareCreateV1Request
type ApiLibrariesShareDeleteV1Request ¶ added in v0.6.0
type ApiLibrariesShareDeleteV1Request struct {
// contains filtered or unexported fields
}
func (ApiLibrariesShareDeleteV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesShareDeleteV1Request) Execute() (*SharingOut, *http.Response, error)
func (ApiLibrariesShareDeleteV1Request) SharingDelete ¶ added in v0.6.0
func (r ApiLibrariesShareDeleteV1Request) SharingDelete(sharingDelete SharingDelete) ApiLibrariesShareDeleteV1Request
type ApiLibrariesShareListV1Request ¶ added in v0.6.0
type ApiLibrariesShareListV1Request struct {
// contains filtered or unexported fields
}
func (ApiLibrariesShareListV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesShareListV1Request) Execute() (*ListSharingOut, *http.Response, error)
type ApiLibrariesUpdateV1Request ¶ added in v0.6.0
type ApiLibrariesUpdateV1Request struct {
ApiService BetaLibrariesAPI
// contains filtered or unexported fields
}
func (ApiLibrariesUpdateV1Request) Execute ¶ added in v0.6.0
func (r ApiLibrariesUpdateV1Request) Execute() (*LibraryOut, *http.Response, error)
func (ApiLibrariesUpdateV1Request) LibraryInUpdate ¶ added in v0.6.0
func (r ApiLibrariesUpdateV1Request) LibraryInUpdate(libraryInUpdate LibraryInUpdate) ApiLibrariesUpdateV1Request
type ApiListModelsV1ModelsGetRequest ¶
type ApiListModelsV1ModelsGetRequest struct {
ApiService ModelsAPI
// contains filtered or unexported fields
}
type ApiModerationsV1ModerationsPostRequest ¶
type ApiModerationsV1ModerationsPostRequest struct {
ApiService ClassifiersAPI
// contains filtered or unexported fields
}
func (ApiModerationsV1ModerationsPostRequest) ClassificationRequest ¶
func (r ApiModerationsV1ModerationsPostRequest) ClassificationRequest(classificationRequest ClassificationRequest) ApiModerationsV1ModerationsPostRequest
func (ApiModerationsV1ModerationsPostRequest) Execute ¶
func (r ApiModerationsV1ModerationsPostRequest) Execute() (*ModerationResponse, *http.Response, error)
type ApiOcrV1OcrPostRequest ¶
type ApiOcrV1OcrPostRequest struct {
ApiService OcrAPI
// contains filtered or unexported fields
}
func (ApiOcrV1OcrPostRequest) Execute ¶
func (r ApiOcrV1OcrPostRequest) Execute() (*OCRResponse, *http.Response, error)
func (ApiOcrV1OcrPostRequest) OCRRequest ¶
func (r ApiOcrV1OcrPostRequest) OCRRequest(oCRRequest OCRRequest) ApiOcrV1OcrPostRequest
type ApiRetrieveModelV1ModelsModelIdGetRequest ¶
type ApiRetrieveModelV1ModelsModelIdGetRequest struct {
ApiService ModelsAPI
// contains filtered or unexported fields
}
func (ApiRetrieveModelV1ModelsModelIdGetRequest) Execute ¶
func (r ApiRetrieveModelV1ModelsModelIdGetRequest) Execute() (*ResponseRetrieveModelV1ModelsModelIdGet, *http.Response, error)
type ArchiveFTModelOut ¶
type ArchiveFTModelOut struct {
Id string `json:"id"`
Object *string `json:"object,omitempty"`
Archived *bool `json:"archived,omitempty"`
AdditionalProperties map[string]interface{}
}
ArchiveFTModelOut struct for ArchiveFTModelOut
func NewArchiveFTModelOut ¶
func NewArchiveFTModelOut(id string) *ArchiveFTModelOut
NewArchiveFTModelOut instantiates a new ArchiveFTModelOut 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 NewArchiveFTModelOutWithDefaults ¶
func NewArchiveFTModelOutWithDefaults() *ArchiveFTModelOut
NewArchiveFTModelOutWithDefaults instantiates a new ArchiveFTModelOut 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 (*ArchiveFTModelOut) GetArchived ¶
func (o *ArchiveFTModelOut) GetArchived() bool
GetArchived returns the Archived field value if set, zero value otherwise.
func (*ArchiveFTModelOut) GetArchivedOk ¶
func (o *ArchiveFTModelOut) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArchiveFTModelOut) GetId ¶
func (o *ArchiveFTModelOut) GetId() string
GetId returns the Id field value
func (*ArchiveFTModelOut) GetIdOk ¶
func (o *ArchiveFTModelOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ArchiveFTModelOut) GetObject ¶
func (o *ArchiveFTModelOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ArchiveFTModelOut) GetObjectOk ¶
func (o *ArchiveFTModelOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ArchiveFTModelOut) HasArchived ¶
func (o *ArchiveFTModelOut) HasArchived() bool
HasArchived returns a boolean if a field has been set.
func (*ArchiveFTModelOut) HasObject ¶
func (o *ArchiveFTModelOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (ArchiveFTModelOut) MarshalJSON ¶
func (o ArchiveFTModelOut) MarshalJSON() ([]byte, error)
func (*ArchiveFTModelOut) SetArchived ¶
func (o *ArchiveFTModelOut) SetArchived(v bool)
SetArchived gets a reference to the given bool and assigns it to the Archived field.
func (*ArchiveFTModelOut) SetId ¶
func (o *ArchiveFTModelOut) SetId(v string)
SetId sets field value
func (*ArchiveFTModelOut) SetObject ¶
func (o *ArchiveFTModelOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (ArchiveFTModelOut) ToMap ¶
func (o ArchiveFTModelOut) ToMap() (map[string]interface{}, error)
func (*ArchiveFTModelOut) UnmarshalJSON ¶
func (o *ArchiveFTModelOut) UnmarshalJSON(data []byte) (err error)
type Arguments ¶
Arguments struct for Arguments
func (Arguments) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Arguments) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type AssistantMessage ¶
type AssistantMessage struct {
Content NullableContent3 `json:"content,omitempty"`
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
// Set this to `true` when adding an assistant message as prefix to condition the model response. The role of the prefix message is to force the model to start its answer by the content of the message.
Prefix *bool `json:"prefix,omitempty"`
Role *string `json:"role,omitempty"`
}
AssistantMessage struct for AssistantMessage
func NewAssistantMessage ¶
func NewAssistantMessage() *AssistantMessage
NewAssistantMessage instantiates a new AssistantMessage 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 NewAssistantMessageWithDefaults ¶
func NewAssistantMessageWithDefaults() *AssistantMessage
NewAssistantMessageWithDefaults instantiates a new AssistantMessage 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 (*AssistantMessage) GetContent ¶
func (o *AssistantMessage) GetContent() Content3
GetContent returns the Content field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssistantMessage) GetContentOk ¶
func (o *AssistantMessage) GetContentOk() (*Content3, bool)
GetContentOk returns a tuple with the Content 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 (*AssistantMessage) GetPrefix ¶
func (o *AssistantMessage) GetPrefix() bool
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*AssistantMessage) GetPrefixOk ¶
func (o *AssistantMessage) GetPrefixOk() (*bool, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssistantMessage) GetRole ¶
func (o *AssistantMessage) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*AssistantMessage) GetRoleOk ¶
func (o *AssistantMessage) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AssistantMessage) GetToolCalls ¶
func (o *AssistantMessage) GetToolCalls() []ToolCall
GetToolCalls returns the ToolCalls field value if set, zero value otherwise (both if not set or set to explicit null).
func (*AssistantMessage) GetToolCallsOk ¶
func (o *AssistantMessage) GetToolCallsOk() ([]ToolCall, bool)
GetToolCallsOk returns a tuple with the ToolCalls 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 (*AssistantMessage) HasContent ¶
func (o *AssistantMessage) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*AssistantMessage) HasPrefix ¶
func (o *AssistantMessage) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*AssistantMessage) HasRole ¶
func (o *AssistantMessage) HasRole() bool
HasRole returns a boolean if a field has been set.
func (*AssistantMessage) HasToolCalls ¶
func (o *AssistantMessage) HasToolCalls() bool
HasToolCalls returns a boolean if a field has been set.
func (AssistantMessage) MarshalJSON ¶
func (o AssistantMessage) MarshalJSON() ([]byte, error)
func (*AssistantMessage) SetContent ¶
func (o *AssistantMessage) SetContent(v Content3)
SetContent gets a reference to the given NullableContent3 and assigns it to the Content field.
func (*AssistantMessage) SetContentNil ¶
func (o *AssistantMessage) SetContentNil()
SetContentNil sets the value for Content to be an explicit nil
func (*AssistantMessage) SetPrefix ¶
func (o *AssistantMessage) SetPrefix(v bool)
SetPrefix gets a reference to the given bool and assigns it to the Prefix field.
func (*AssistantMessage) SetRole ¶
func (o *AssistantMessage) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (*AssistantMessage) SetToolCalls ¶
func (o *AssistantMessage) SetToolCalls(v []ToolCall)
SetToolCalls gets a reference to the given []ToolCall and assigns it to the ToolCalls field.
func (AssistantMessage) ToMap ¶
func (o AssistantMessage) ToMap() (map[string]interface{}, error)
func (*AssistantMessage) UnsetContent ¶
func (o *AssistantMessage) UnsetContent()
UnsetContent ensures that no value is present for Content, not even an explicit nil
type AudioChunk ¶ added in v0.15.0
type AudioChunk struct {
InputAudio InputAudio `json:"input_audio"`
Type *string `json:"type,omitempty"`
}
AudioChunk struct for AudioChunk
func NewAudioChunk ¶ added in v0.15.0
func NewAudioChunk(inputAudio InputAudio) *AudioChunk
NewAudioChunk instantiates a new AudioChunk 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 NewAudioChunkWithDefaults ¶ added in v0.15.0
func NewAudioChunkWithDefaults() *AudioChunk
NewAudioChunkWithDefaults instantiates a new AudioChunk 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 (*AudioChunk) GetInputAudio ¶ added in v0.15.0
func (o *AudioChunk) GetInputAudio() InputAudio
GetInputAudio returns the InputAudio field value
func (*AudioChunk) GetInputAudioOk ¶ added in v0.15.0
func (o *AudioChunk) GetInputAudioOk() (*InputAudio, bool)
GetInputAudioOk returns a tuple with the InputAudio field value and a boolean to check if the value has been set.
func (*AudioChunk) GetType ¶ added in v0.15.0
func (o *AudioChunk) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*AudioChunk) GetTypeOk ¶ added in v0.15.0
func (o *AudioChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AudioChunk) HasType ¶ added in v0.15.0
func (o *AudioChunk) HasType() bool
HasType returns a boolean if a field has been set.
func (AudioChunk) MarshalJSON ¶ added in v0.15.0
func (o AudioChunk) MarshalJSON() ([]byte, error)
func (*AudioChunk) SetInputAudio ¶ added in v0.15.0
func (o *AudioChunk) SetInputAudio(v InputAudio)
SetInputAudio sets field value
func (*AudioChunk) SetType ¶ added in v0.15.0
func (o *AudioChunk) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (AudioChunk) ToMap ¶ added in v0.15.0
func (o AudioChunk) ToMap() (map[string]interface{}, error)
func (*AudioChunk) UnmarshalJSON ¶ added in v0.15.0
func (o *AudioChunk) UnmarshalJSON(data []byte) (err error)
type AudioEncoding ¶ added in v0.15.0
type AudioEncoding string
AudioEncoding the model 'AudioEncoding'
const ( AUDIOENCODING_PCM_S16LE AudioEncoding = "pcm_s16le" AUDIOENCODING_PCM_S32LE AudioEncoding = "pcm_s32le" AUDIOENCODING_PCM_F16LE AudioEncoding = "pcm_f16le" AUDIOENCODING_PCM_F32LE AudioEncoding = "pcm_f32le" AUDIOENCODING_PCM_MULAW AudioEncoding = "pcm_mulaw" AUDIOENCODING_PCM_ALAW AudioEncoding = "pcm_alaw" )
List of AudioEncoding
func NewAudioEncodingFromValue ¶ added in v0.15.0
func NewAudioEncodingFromValue(v string) (*AudioEncoding, error)
NewAudioEncodingFromValue returns a pointer to a valid AudioEncoding for the value passed as argument, or an error if the value passed is not allowed by the enum
func (AudioEncoding) IsValid ¶ added in v0.15.0
func (v AudioEncoding) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (AudioEncoding) Ptr ¶ added in v0.15.0
func (v AudioEncoding) Ptr() *AudioEncoding
Ptr returns reference to AudioEncoding value
func (*AudioEncoding) UnmarshalJSON ¶ added in v0.15.0
func (v *AudioEncoding) UnmarshalJSON(src []byte) error
type AudioFormat ¶ added in v0.15.0
type AudioFormat struct {
Encoding AudioEncoding `json:"encoding"`
SampleRate int32 `json:"sample_rate"`
AdditionalProperties map[string]interface{}
}
AudioFormat struct for AudioFormat
func NewAudioFormat ¶ added in v0.15.0
func NewAudioFormat(encoding AudioEncoding, sampleRate int32) *AudioFormat
NewAudioFormat instantiates a new AudioFormat 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 NewAudioFormatWithDefaults ¶ added in v0.15.0
func NewAudioFormatWithDefaults() *AudioFormat
NewAudioFormatWithDefaults instantiates a new AudioFormat 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 (*AudioFormat) GetEncoding ¶ added in v0.15.0
func (o *AudioFormat) GetEncoding() AudioEncoding
GetEncoding returns the Encoding field value
func (*AudioFormat) GetEncodingOk ¶ added in v0.15.0
func (o *AudioFormat) GetEncodingOk() (*AudioEncoding, bool)
GetEncodingOk returns a tuple with the Encoding field value and a boolean to check if the value has been set.
func (*AudioFormat) GetSampleRate ¶ added in v0.15.0
func (o *AudioFormat) GetSampleRate() int32
GetSampleRate returns the SampleRate field value
func (*AudioFormat) GetSampleRateOk ¶ added in v0.15.0
func (o *AudioFormat) GetSampleRateOk() (*int32, bool)
GetSampleRateOk returns a tuple with the SampleRate field value and a boolean to check if the value has been set.
func (AudioFormat) MarshalJSON ¶ added in v0.15.0
func (o AudioFormat) MarshalJSON() ([]byte, error)
func (*AudioFormat) SetEncoding ¶ added in v0.15.0
func (o *AudioFormat) SetEncoding(v AudioEncoding)
SetEncoding sets field value
func (*AudioFormat) SetSampleRate ¶ added in v0.15.0
func (o *AudioFormat) SetSampleRate(v int32)
SetSampleRate sets field value
func (AudioFormat) ToMap ¶ added in v0.15.0
func (o AudioFormat) ToMap() (map[string]interface{}, error)
func (*AudioFormat) UnmarshalJSON ¶ added in v0.15.0
func (o *AudioFormat) UnmarshalJSON(data []byte) (err error)
type AudioTranscriptionsAPI ¶ added in v0.15.0
type AudioTranscriptionsAPI interface {
/*
AudioApiV1TranscriptionsPost Create Transcription
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAudioApiV1TranscriptionsPostRequest
*/
AudioApiV1TranscriptionsPost(ctx context.Context) ApiAudioApiV1TranscriptionsPostRequest
// AudioApiV1TranscriptionsPostExecute executes the request
// @return TranscriptionResponse
AudioApiV1TranscriptionsPostExecute(r ApiAudioApiV1TranscriptionsPostRequest) (*TranscriptionResponse, *http.Response, error)
/*
AudioApiV1TranscriptionsPostStream Create Streaming Transcription (SSE)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAudioApiV1TranscriptionsPostStreamRequest
*/
AudioApiV1TranscriptionsPostStream(ctx context.Context) ApiAudioApiV1TranscriptionsPostStreamRequest
// AudioApiV1TranscriptionsPostStreamExecute executes the request
// @return TranscriptionStreamEvents
AudioApiV1TranscriptionsPostStreamExecute(r ApiAudioApiV1TranscriptionsPostStreamRequest) (*TranscriptionStreamEvents, *http.Response, error)
}
type AudioTranscriptionsAPIService ¶ added in v0.15.0
type AudioTranscriptionsAPIService service
AudioTranscriptionsAPIService AudioTranscriptionsAPI service
func (*AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPost ¶ added in v0.15.0
func (a *AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPost(ctx context.Context) ApiAudioApiV1TranscriptionsPostRequest
AudioApiV1TranscriptionsPost Create Transcription
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAudioApiV1TranscriptionsPostRequest
func (*AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPostExecute ¶ added in v0.15.0
func (a *AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPostExecute(r ApiAudioApiV1TranscriptionsPostRequest) (*TranscriptionResponse, *http.Response, error)
Execute executes the request
@return TranscriptionResponse
func (*AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPostStream ¶ added in v0.15.0
func (a *AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPostStream(ctx context.Context) ApiAudioApiV1TranscriptionsPostStreamRequest
AudioApiV1TranscriptionsPostStream Create Streaming Transcription (SSE)
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAudioApiV1TranscriptionsPostStreamRequest
func (*AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPostStreamExecute ¶ added in v0.15.0
func (a *AudioTranscriptionsAPIService) AudioApiV1TranscriptionsPostStreamExecute(r ApiAudioApiV1TranscriptionsPostStreamRequest) (*TranscriptionStreamEvents, *http.Response, error)
Execute executes the request
@return TranscriptionStreamEvents
type BaseModelCard ¶
type BaseModelCard struct {
Id string `json:"id"`
Object *string `json:"object,omitempty"`
Created *int32 `json:"created,omitempty"`
OwnedBy *string `json:"owned_by,omitempty"`
Capabilities ModelCapabilities `json:"capabilities"`
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
MaxContextLength *int32 `json:"max_context_length,omitempty"`
Aliases []string `json:"aliases,omitempty"`
Deprecation NullableTime `json:"deprecation,omitempty"`
DeprecationReplacementModel NullableString `json:"deprecation_replacement_model,omitempty"`
DefaultModelTemperature NullableFloat32 `json:"default_model_temperature,omitempty"`
Type *string `json:"type,omitempty"`
AdditionalProperties map[string]interface{}
}
BaseModelCard struct for BaseModelCard
func NewBaseModelCard ¶
func NewBaseModelCard(id string, capabilities ModelCapabilities) *BaseModelCard
NewBaseModelCard instantiates a new BaseModelCard 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 NewBaseModelCardWithDefaults ¶
func NewBaseModelCardWithDefaults() *BaseModelCard
NewBaseModelCardWithDefaults instantiates a new BaseModelCard 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 (*BaseModelCard) GetAliases ¶
func (o *BaseModelCard) GetAliases() []string
GetAliases returns the Aliases field value if set, zero value otherwise.
func (*BaseModelCard) GetAliasesOk ¶
func (o *BaseModelCard) GetAliasesOk() ([]string, bool)
GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseModelCard) GetCapabilities ¶
func (o *BaseModelCard) GetCapabilities() ModelCapabilities
GetCapabilities returns the Capabilities field value
func (*BaseModelCard) GetCapabilitiesOk ¶
func (o *BaseModelCard) GetCapabilitiesOk() (*ModelCapabilities, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field value and a boolean to check if the value has been set.
func (*BaseModelCard) GetCreated ¶
func (o *BaseModelCard) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*BaseModelCard) GetCreatedOk ¶
func (o *BaseModelCard) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseModelCard) GetDefaultModelTemperature ¶
func (o *BaseModelCard) GetDefaultModelTemperature() float32
GetDefaultModelTemperature returns the DefaultModelTemperature field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BaseModelCard) GetDefaultModelTemperatureOk ¶
func (o *BaseModelCard) GetDefaultModelTemperatureOk() (*float32, bool)
GetDefaultModelTemperatureOk returns a tuple with the DefaultModelTemperature 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 (*BaseModelCard) GetDeprecation ¶
func (o *BaseModelCard) GetDeprecation() time.Time
GetDeprecation returns the Deprecation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BaseModelCard) GetDeprecationOk ¶
func (o *BaseModelCard) GetDeprecationOk() (*time.Time, bool)
GetDeprecationOk returns a tuple with the Deprecation 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 (*BaseModelCard) GetDeprecationReplacementModel ¶ added in v0.6.0
func (o *BaseModelCard) GetDeprecationReplacementModel() string
GetDeprecationReplacementModel returns the DeprecationReplacementModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BaseModelCard) GetDeprecationReplacementModelOk ¶ added in v0.6.0
func (o *BaseModelCard) GetDeprecationReplacementModelOk() (*string, bool)
GetDeprecationReplacementModelOk returns a tuple with the DeprecationReplacementModel 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 (*BaseModelCard) GetDescription ¶
func (o *BaseModelCard) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BaseModelCard) GetDescriptionOk ¶
func (o *BaseModelCard) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*BaseModelCard) GetId ¶
func (o *BaseModelCard) GetId() string
GetId returns the Id field value
func (*BaseModelCard) GetIdOk ¶
func (o *BaseModelCard) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*BaseModelCard) GetMaxContextLength ¶
func (o *BaseModelCard) GetMaxContextLength() int32
GetMaxContextLength returns the MaxContextLength field value if set, zero value otherwise.
func (*BaseModelCard) GetMaxContextLengthOk ¶
func (o *BaseModelCard) GetMaxContextLengthOk() (*int32, bool)
GetMaxContextLengthOk returns a tuple with the MaxContextLength field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseModelCard) GetName ¶
func (o *BaseModelCard) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BaseModelCard) GetNameOk ¶
func (o *BaseModelCard) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*BaseModelCard) GetObject ¶
func (o *BaseModelCard) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*BaseModelCard) GetObjectOk ¶
func (o *BaseModelCard) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseModelCard) GetOwnedBy ¶
func (o *BaseModelCard) GetOwnedBy() string
GetOwnedBy returns the OwnedBy field value if set, zero value otherwise.
func (*BaseModelCard) GetOwnedByOk ¶
func (o *BaseModelCard) GetOwnedByOk() (*string, bool)
GetOwnedByOk returns a tuple with the OwnedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseModelCard) GetType ¶
func (o *BaseModelCard) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*BaseModelCard) GetTypeOk ¶
func (o *BaseModelCard) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseModelCard) HasAliases ¶
func (o *BaseModelCard) HasAliases() bool
HasAliases returns a boolean if a field has been set.
func (*BaseModelCard) HasCreated ¶
func (o *BaseModelCard) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*BaseModelCard) HasDefaultModelTemperature ¶
func (o *BaseModelCard) HasDefaultModelTemperature() bool
HasDefaultModelTemperature returns a boolean if a field has been set.
func (*BaseModelCard) HasDeprecation ¶
func (o *BaseModelCard) HasDeprecation() bool
HasDeprecation returns a boolean if a field has been set.
func (*BaseModelCard) HasDeprecationReplacementModel ¶ added in v0.6.0
func (o *BaseModelCard) HasDeprecationReplacementModel() bool
HasDeprecationReplacementModel returns a boolean if a field has been set.
func (*BaseModelCard) HasDescription ¶
func (o *BaseModelCard) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*BaseModelCard) HasMaxContextLength ¶
func (o *BaseModelCard) HasMaxContextLength() bool
HasMaxContextLength returns a boolean if a field has been set.
func (*BaseModelCard) HasName ¶
func (o *BaseModelCard) HasName() bool
HasName returns a boolean if a field has been set.
func (*BaseModelCard) HasObject ¶
func (o *BaseModelCard) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*BaseModelCard) HasOwnedBy ¶
func (o *BaseModelCard) HasOwnedBy() bool
HasOwnedBy returns a boolean if a field has been set.
func (*BaseModelCard) HasType ¶
func (o *BaseModelCard) HasType() bool
HasType returns a boolean if a field has been set.
func (BaseModelCard) MarshalJSON ¶
func (o BaseModelCard) MarshalJSON() ([]byte, error)
func (*BaseModelCard) SetAliases ¶
func (o *BaseModelCard) SetAliases(v []string)
SetAliases gets a reference to the given []string and assigns it to the Aliases field.
func (*BaseModelCard) SetCapabilities ¶
func (o *BaseModelCard) SetCapabilities(v ModelCapabilities)
SetCapabilities sets field value
func (*BaseModelCard) SetCreated ¶
func (o *BaseModelCard) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*BaseModelCard) SetDefaultModelTemperature ¶
func (o *BaseModelCard) SetDefaultModelTemperature(v float32)
SetDefaultModelTemperature gets a reference to the given NullableFloat32 and assigns it to the DefaultModelTemperature field.
func (*BaseModelCard) SetDefaultModelTemperatureNil ¶
func (o *BaseModelCard) SetDefaultModelTemperatureNil()
SetDefaultModelTemperatureNil sets the value for DefaultModelTemperature to be an explicit nil
func (*BaseModelCard) SetDeprecation ¶
func (o *BaseModelCard) SetDeprecation(v time.Time)
SetDeprecation gets a reference to the given NullableTime and assigns it to the Deprecation field.
func (*BaseModelCard) SetDeprecationNil ¶
func (o *BaseModelCard) SetDeprecationNil()
SetDeprecationNil sets the value for Deprecation to be an explicit nil
func (*BaseModelCard) SetDeprecationReplacementModel ¶ added in v0.6.0
func (o *BaseModelCard) SetDeprecationReplacementModel(v string)
SetDeprecationReplacementModel gets a reference to the given NullableString and assigns it to the DeprecationReplacementModel field.
func (*BaseModelCard) SetDeprecationReplacementModelNil ¶ added in v0.6.0
func (o *BaseModelCard) SetDeprecationReplacementModelNil()
SetDeprecationReplacementModelNil sets the value for DeprecationReplacementModel to be an explicit nil
func (*BaseModelCard) SetDescription ¶
func (o *BaseModelCard) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*BaseModelCard) SetDescriptionNil ¶
func (o *BaseModelCard) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*BaseModelCard) SetMaxContextLength ¶
func (o *BaseModelCard) SetMaxContextLength(v int32)
SetMaxContextLength gets a reference to the given int32 and assigns it to the MaxContextLength field.
func (*BaseModelCard) SetName ¶
func (o *BaseModelCard) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*BaseModelCard) SetNameNil ¶
func (o *BaseModelCard) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*BaseModelCard) SetObject ¶
func (o *BaseModelCard) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*BaseModelCard) SetOwnedBy ¶
func (o *BaseModelCard) SetOwnedBy(v string)
SetOwnedBy gets a reference to the given string and assigns it to the OwnedBy field.
func (*BaseModelCard) SetType ¶
func (o *BaseModelCard) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (BaseModelCard) ToMap ¶
func (o BaseModelCard) ToMap() (map[string]interface{}, error)
func (*BaseModelCard) UnmarshalJSON ¶
func (o *BaseModelCard) UnmarshalJSON(data []byte) (err error)
func (*BaseModelCard) UnsetDefaultModelTemperature ¶
func (o *BaseModelCard) UnsetDefaultModelTemperature()
UnsetDefaultModelTemperature ensures that no value is present for DefaultModelTemperature, not even an explicit nil
func (*BaseModelCard) UnsetDeprecation ¶
func (o *BaseModelCard) UnsetDeprecation()
UnsetDeprecation ensures that no value is present for Deprecation, not even an explicit nil
func (*BaseModelCard) UnsetDeprecationReplacementModel ¶ added in v0.6.0
func (o *BaseModelCard) UnsetDeprecationReplacementModel()
UnsetDeprecationReplacementModel ensures that no value is present for DeprecationReplacementModel, not even an explicit nil
func (*BaseModelCard) UnsetDescription ¶
func (o *BaseModelCard) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*BaseModelCard) UnsetName ¶
func (o *BaseModelCard) UnsetName()
UnsetName ensures that no value is present for Name, 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 BatchAPI ¶
type BatchAPI interface {
/*
JobsApiRoutesBatchCancelBatchJob Cancel Batch Job
Request the cancellation of a batch job.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param jobId
@return ApiJobsApiRoutesBatchCancelBatchJobRequest
*/
JobsApiRoutesBatchCancelBatchJob(ctx context.Context, jobId string) ApiJobsApiRoutesBatchCancelBatchJobRequest
// JobsApiRoutesBatchCancelBatchJobExecute executes the request
// @return BatchJobOut
JobsApiRoutesBatchCancelBatchJobExecute(r ApiJobsApiRoutesBatchCancelBatchJobRequest) (*BatchJobOut, *http.Response, error)
/*
JobsApiRoutesBatchCreateBatchJob Create Batch Job
Create a new batch job, it will be queued for processing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiJobsApiRoutesBatchCreateBatchJobRequest
*/
JobsApiRoutesBatchCreateBatchJob(ctx context.Context) ApiJobsApiRoutesBatchCreateBatchJobRequest
// JobsApiRoutesBatchCreateBatchJobExecute executes the request
// @return BatchJobOut
JobsApiRoutesBatchCreateBatchJobExecute(r ApiJobsApiRoutesBatchCreateBatchJobRequest) (*BatchJobOut, *http.Response, error)
/*
JobsApiRoutesBatchGetBatchJob Get Batch Job
Get a batch job details by its UUID.
Args:
inline: If True, return results inline in the response.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param jobId
@return ApiJobsApiRoutesBatchGetBatchJobRequest
*/
JobsApiRoutesBatchGetBatchJob(ctx context.Context, jobId string) ApiJobsApiRoutesBatchGetBatchJobRequest
// JobsApiRoutesBatchGetBatchJobExecute executes the request
// @return BatchJobOut
JobsApiRoutesBatchGetBatchJobExecute(r ApiJobsApiRoutesBatchGetBatchJobRequest) (*BatchJobOut, *http.Response, error)
/*
JobsApiRoutesBatchGetBatchJobs Get Batch Jobs
Get a list of batch jobs for your organization and user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiJobsApiRoutesBatchGetBatchJobsRequest
*/
JobsApiRoutesBatchGetBatchJobs(ctx context.Context) ApiJobsApiRoutesBatchGetBatchJobsRequest
// JobsApiRoutesBatchGetBatchJobsExecute executes the request
// @return BatchJobsOut
JobsApiRoutesBatchGetBatchJobsExecute(r ApiJobsApiRoutesBatchGetBatchJobsRequest) (*BatchJobsOut, *http.Response, error)
}
type BatchAPIService ¶
type BatchAPIService service
BatchAPIService BatchAPI service
func (*BatchAPIService) JobsApiRoutesBatchCancelBatchJob ¶
func (a *BatchAPIService) JobsApiRoutesBatchCancelBatchJob(ctx context.Context, jobId string) ApiJobsApiRoutesBatchCancelBatchJobRequest
JobsApiRoutesBatchCancelBatchJob Cancel Batch Job
Request the cancellation of a batch job.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId @return ApiJobsApiRoutesBatchCancelBatchJobRequest
func (*BatchAPIService) JobsApiRoutesBatchCancelBatchJobExecute ¶
func (a *BatchAPIService) JobsApiRoutesBatchCancelBatchJobExecute(r ApiJobsApiRoutesBatchCancelBatchJobRequest) (*BatchJobOut, *http.Response, error)
Execute executes the request
@return BatchJobOut
func (*BatchAPIService) JobsApiRoutesBatchCreateBatchJob ¶
func (a *BatchAPIService) JobsApiRoutesBatchCreateBatchJob(ctx context.Context) ApiJobsApiRoutesBatchCreateBatchJobRequest
JobsApiRoutesBatchCreateBatchJob Create Batch Job
Create a new batch job, it will be queued for processing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiJobsApiRoutesBatchCreateBatchJobRequest
func (*BatchAPIService) JobsApiRoutesBatchCreateBatchJobExecute ¶
func (a *BatchAPIService) JobsApiRoutesBatchCreateBatchJobExecute(r ApiJobsApiRoutesBatchCreateBatchJobRequest) (*BatchJobOut, *http.Response, error)
Execute executes the request
@return BatchJobOut
func (*BatchAPIService) JobsApiRoutesBatchGetBatchJob ¶
func (a *BatchAPIService) JobsApiRoutesBatchGetBatchJob(ctx context.Context, jobId string) ApiJobsApiRoutesBatchGetBatchJobRequest
JobsApiRoutesBatchGetBatchJob Get Batch Job
Get a batch job details by its UUID.
Args:
inline: If True, return results inline in the response. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId @return ApiJobsApiRoutesBatchGetBatchJobRequest
func (*BatchAPIService) JobsApiRoutesBatchGetBatchJobExecute ¶
func (a *BatchAPIService) JobsApiRoutesBatchGetBatchJobExecute(r ApiJobsApiRoutesBatchGetBatchJobRequest) (*BatchJobOut, *http.Response, error)
Execute executes the request
@return BatchJobOut
func (*BatchAPIService) JobsApiRoutesBatchGetBatchJobs ¶
func (a *BatchAPIService) JobsApiRoutesBatchGetBatchJobs(ctx context.Context) ApiJobsApiRoutesBatchGetBatchJobsRequest
JobsApiRoutesBatchGetBatchJobs Get Batch Jobs
Get a list of batch jobs for your organization and user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiJobsApiRoutesBatchGetBatchJobsRequest
func (*BatchAPIService) JobsApiRoutesBatchGetBatchJobsExecute ¶
func (a *BatchAPIService) JobsApiRoutesBatchGetBatchJobsExecute(r ApiJobsApiRoutesBatchGetBatchJobsRequest) (*BatchJobsOut, *http.Response, error)
Execute executes the request
@return BatchJobsOut
type BatchError ¶
type BatchError struct {
Message string `json:"message"`
Count *int32 `json:"count,omitempty"`
AdditionalProperties map[string]interface{}
}
BatchError struct for BatchError
func NewBatchError ¶
func NewBatchError(message string) *BatchError
NewBatchError instantiates a new BatchError 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 NewBatchErrorWithDefaults ¶
func NewBatchErrorWithDefaults() *BatchError
NewBatchErrorWithDefaults instantiates a new BatchError 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 (*BatchError) GetCount ¶
func (o *BatchError) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*BatchError) GetCountOk ¶
func (o *BatchError) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchError) GetMessage ¶
func (o *BatchError) GetMessage() string
GetMessage returns the Message field value
func (*BatchError) GetMessageOk ¶
func (o *BatchError) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*BatchError) HasCount ¶
func (o *BatchError) HasCount() bool
HasCount returns a boolean if a field has been set.
func (BatchError) MarshalJSON ¶
func (o BatchError) MarshalJSON() ([]byte, error)
func (*BatchError) SetCount ¶
func (o *BatchError) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*BatchError) SetMessage ¶
func (o *BatchError) SetMessage(v string)
SetMessage sets field value
func (BatchError) ToMap ¶
func (o BatchError) ToMap() (map[string]interface{}, error)
func (*BatchError) UnmarshalJSON ¶
func (o *BatchError) UnmarshalJSON(data []byte) (err error)
type BatchJobIn ¶
type BatchJobIn struct {
InputFiles []string `json:"input_files,omitempty"`
Requests []BatchRequest `json:"requests,omitempty"`
// The endpoint to be used for batch inference.
Endpoint ApiEndpoint `json:"endpoint"`
Model NullableString `json:"model,omitempty"`
AgentId NullableString `json:"agent_id,omitempty"`
Metadata map[string]string `json:"metadata,omitempty"`
// The timeout in hours for the batch inference job.
TimeoutHours *int32 `json:"timeout_hours,omitempty"`
AdditionalProperties map[string]interface{}
}
BatchJobIn struct for BatchJobIn
func NewBatchJobIn ¶
func NewBatchJobIn(endpoint ApiEndpoint) *BatchJobIn
NewBatchJobIn instantiates a new BatchJobIn 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 NewBatchJobInWithDefaults ¶
func NewBatchJobInWithDefaults() *BatchJobIn
NewBatchJobInWithDefaults instantiates a new BatchJobIn 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 (*BatchJobIn) GetAgentId ¶ added in v0.15.0
func (o *BatchJobIn) GetAgentId() string
GetAgentId returns the AgentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobIn) GetAgentIdOk ¶ added in v0.15.0
func (o *BatchJobIn) GetAgentIdOk() (*string, bool)
GetAgentIdOk returns a tuple with the AgentId 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 (*BatchJobIn) GetEndpoint ¶
func (o *BatchJobIn) GetEndpoint() ApiEndpoint
GetEndpoint returns the Endpoint field value
func (*BatchJobIn) GetEndpointOk ¶
func (o *BatchJobIn) GetEndpointOk() (*ApiEndpoint, bool)
GetEndpointOk returns a tuple with the Endpoint field value and a boolean to check if the value has been set.
func (*BatchJobIn) GetInputFiles ¶
func (o *BatchJobIn) GetInputFiles() []string
GetInputFiles returns the InputFiles field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobIn) GetInputFilesOk ¶
func (o *BatchJobIn) GetInputFilesOk() ([]string, bool)
GetInputFilesOk returns a tuple with the InputFiles 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 (*BatchJobIn) GetMetadata ¶
func (o *BatchJobIn) GetMetadata() map[string]string
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobIn) GetMetadataOk ¶
func (o *BatchJobIn) GetMetadataOk() (map[string]string, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*BatchJobIn) GetModel ¶
func (o *BatchJobIn) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobIn) GetModelOk ¶
func (o *BatchJobIn) 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 (*BatchJobIn) GetRequests ¶ added in v0.15.0
func (o *BatchJobIn) GetRequests() []BatchRequest
GetRequests returns the Requests field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobIn) GetRequestsOk ¶ added in v0.15.0
func (o *BatchJobIn) GetRequestsOk() ([]BatchRequest, bool)
GetRequestsOk returns a tuple with the Requests 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 (*BatchJobIn) GetTimeoutHours ¶
func (o *BatchJobIn) GetTimeoutHours() int32
GetTimeoutHours returns the TimeoutHours field value if set, zero value otherwise.
func (*BatchJobIn) GetTimeoutHoursOk ¶
func (o *BatchJobIn) GetTimeoutHoursOk() (*int32, bool)
GetTimeoutHoursOk returns a tuple with the TimeoutHours field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchJobIn) HasAgentId ¶ added in v0.15.0
func (o *BatchJobIn) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*BatchJobIn) HasInputFiles ¶ added in v0.15.0
func (o *BatchJobIn) HasInputFiles() bool
HasInputFiles returns a boolean if a field has been set.
func (*BatchJobIn) HasMetadata ¶
func (o *BatchJobIn) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*BatchJobIn) HasModel ¶ added in v0.15.0
func (o *BatchJobIn) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*BatchJobIn) HasRequests ¶ added in v0.15.0
func (o *BatchJobIn) HasRequests() bool
HasRequests returns a boolean if a field has been set.
func (*BatchJobIn) HasTimeoutHours ¶
func (o *BatchJobIn) HasTimeoutHours() bool
HasTimeoutHours returns a boolean if a field has been set.
func (BatchJobIn) MarshalJSON ¶
func (o BatchJobIn) MarshalJSON() ([]byte, error)
func (*BatchJobIn) SetAgentId ¶ added in v0.15.0
func (o *BatchJobIn) SetAgentId(v string)
SetAgentId gets a reference to the given NullableString and assigns it to the AgentId field.
func (*BatchJobIn) SetAgentIdNil ¶ added in v0.15.0
func (o *BatchJobIn) SetAgentIdNil()
SetAgentIdNil sets the value for AgentId to be an explicit nil
func (*BatchJobIn) SetEndpoint ¶
func (o *BatchJobIn) SetEndpoint(v ApiEndpoint)
SetEndpoint sets field value
func (*BatchJobIn) SetInputFiles ¶
func (o *BatchJobIn) SetInputFiles(v []string)
SetInputFiles gets a reference to the given []string and assigns it to the InputFiles field.
func (*BatchJobIn) SetMetadata ¶
func (o *BatchJobIn) SetMetadata(v map[string]string)
SetMetadata gets a reference to the given map[string]string and assigns it to the Metadata field.
func (*BatchJobIn) SetModel ¶
func (o *BatchJobIn) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*BatchJobIn) SetModelNil ¶ added in v0.15.0
func (o *BatchJobIn) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*BatchJobIn) SetRequests ¶ added in v0.15.0
func (o *BatchJobIn) SetRequests(v []BatchRequest)
SetRequests gets a reference to the given []BatchRequest and assigns it to the Requests field.
func (*BatchJobIn) SetTimeoutHours ¶
func (o *BatchJobIn) SetTimeoutHours(v int32)
SetTimeoutHours gets a reference to the given int32 and assigns it to the TimeoutHours field.
func (BatchJobIn) ToMap ¶
func (o BatchJobIn) ToMap() (map[string]interface{}, error)
func (*BatchJobIn) UnmarshalJSON ¶
func (o *BatchJobIn) UnmarshalJSON(data []byte) (err error)
func (*BatchJobIn) UnsetAgentId ¶ added in v0.15.0
func (o *BatchJobIn) UnsetAgentId()
UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil
func (*BatchJobIn) UnsetModel ¶ added in v0.15.0
func (o *BatchJobIn) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
type BatchJobOut ¶
type BatchJobOut struct {
Id string `json:"id"`
Object *string `json:"object,omitempty"`
InputFiles []string `json:"input_files"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Endpoint string `json:"endpoint"`
Model NullableString `json:"model,omitempty"`
AgentId NullableString `json:"agent_id,omitempty"`
OutputFile NullableString `json:"output_file,omitempty"`
ErrorFile NullableString `json:"error_file,omitempty"`
Errors []BatchError `json:"errors"`
Outputs []map[string]interface{} `json:"outputs,omitempty"`
Status BatchJobStatus `json:"status"`
CreatedAt int32 `json:"created_at"`
TotalRequests int32 `json:"total_requests"`
CompletedRequests int32 `json:"completed_requests"`
SucceededRequests int32 `json:"succeeded_requests"`
FailedRequests int32 `json:"failed_requests"`
StartedAt NullableInt32 `json:"started_at,omitempty"`
CompletedAt NullableInt32 `json:"completed_at,omitempty"`
AdditionalProperties map[string]interface{}
}
BatchJobOut struct for BatchJobOut
func NewBatchJobOut ¶
func NewBatchJobOut(id string, inputFiles []string, endpoint string, errors []BatchError, status BatchJobStatus, createdAt int32, totalRequests int32, completedRequests int32, succeededRequests int32, failedRequests int32) *BatchJobOut
NewBatchJobOut instantiates a new BatchJobOut 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 NewBatchJobOutWithDefaults ¶
func NewBatchJobOutWithDefaults() *BatchJobOut
NewBatchJobOutWithDefaults instantiates a new BatchJobOut 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 (*BatchJobOut) GetAgentId ¶ added in v0.15.0
func (o *BatchJobOut) GetAgentId() string
GetAgentId returns the AgentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobOut) GetAgentIdOk ¶ added in v0.15.0
func (o *BatchJobOut) GetAgentIdOk() (*string, bool)
GetAgentIdOk returns a tuple with the AgentId 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 (*BatchJobOut) GetCompletedAt ¶
func (o *BatchJobOut) GetCompletedAt() int32
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobOut) GetCompletedAtOk ¶
func (o *BatchJobOut) GetCompletedAtOk() (*int32, bool)
GetCompletedAtOk returns a tuple with the CompletedAt 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 (*BatchJobOut) GetCompletedRequests ¶
func (o *BatchJobOut) GetCompletedRequests() int32
GetCompletedRequests returns the CompletedRequests field value
func (*BatchJobOut) GetCompletedRequestsOk ¶
func (o *BatchJobOut) GetCompletedRequestsOk() (*int32, bool)
GetCompletedRequestsOk returns a tuple with the CompletedRequests field value and a boolean to check if the value has been set.
func (*BatchJobOut) GetCreatedAt ¶
func (o *BatchJobOut) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field value
func (*BatchJobOut) GetCreatedAtOk ¶
func (o *BatchJobOut) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*BatchJobOut) GetEndpoint ¶
func (o *BatchJobOut) GetEndpoint() string
GetEndpoint returns the Endpoint field value
func (*BatchJobOut) GetEndpointOk ¶
func (o *BatchJobOut) GetEndpointOk() (*string, bool)
GetEndpointOk returns a tuple with the Endpoint field value and a boolean to check if the value has been set.
func (*BatchJobOut) GetErrorFile ¶
func (o *BatchJobOut) GetErrorFile() string
GetErrorFile returns the ErrorFile field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobOut) GetErrorFileOk ¶
func (o *BatchJobOut) GetErrorFileOk() (*string, bool)
GetErrorFileOk returns a tuple with the ErrorFile 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 (*BatchJobOut) GetErrors ¶
func (o *BatchJobOut) GetErrors() []BatchError
GetErrors returns the Errors field value
func (*BatchJobOut) GetErrorsOk ¶
func (o *BatchJobOut) GetErrorsOk() ([]BatchError, bool)
GetErrorsOk returns a tuple with the Errors field value and a boolean to check if the value has been set.
func (*BatchJobOut) GetFailedRequests ¶
func (o *BatchJobOut) GetFailedRequests() int32
GetFailedRequests returns the FailedRequests field value
func (*BatchJobOut) GetFailedRequestsOk ¶
func (o *BatchJobOut) GetFailedRequestsOk() (*int32, bool)
GetFailedRequestsOk returns a tuple with the FailedRequests field value and a boolean to check if the value has been set.
func (*BatchJobOut) GetIdOk ¶
func (o *BatchJobOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*BatchJobOut) GetInputFiles ¶
func (o *BatchJobOut) GetInputFiles() []string
GetInputFiles returns the InputFiles field value
func (*BatchJobOut) GetInputFilesOk ¶
func (o *BatchJobOut) GetInputFilesOk() ([]string, bool)
GetInputFilesOk returns a tuple with the InputFiles field value and a boolean to check if the value has been set.
func (*BatchJobOut) GetMetadata ¶
func (o *BatchJobOut) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobOut) GetMetadataOk ¶
func (o *BatchJobOut) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*BatchJobOut) GetModel ¶
func (o *BatchJobOut) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobOut) GetModelOk ¶
func (o *BatchJobOut) 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 (*BatchJobOut) GetObject ¶
func (o *BatchJobOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*BatchJobOut) GetObjectOk ¶
func (o *BatchJobOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchJobOut) GetOutputFile ¶
func (o *BatchJobOut) GetOutputFile() string
GetOutputFile returns the OutputFile field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobOut) GetOutputFileOk ¶
func (o *BatchJobOut) GetOutputFileOk() (*string, bool)
GetOutputFileOk returns a tuple with the OutputFile 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 (*BatchJobOut) GetOutputs ¶ added in v0.15.0
func (o *BatchJobOut) GetOutputs() []map[string]interface{}
GetOutputs returns the Outputs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobOut) GetOutputsOk ¶ added in v0.15.0
func (o *BatchJobOut) GetOutputsOk() ([]map[string]interface{}, bool)
GetOutputsOk returns a tuple with the Outputs 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 (*BatchJobOut) GetStartedAt ¶
func (o *BatchJobOut) GetStartedAt() int32
GetStartedAt returns the StartedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchJobOut) GetStartedAtOk ¶
func (o *BatchJobOut) GetStartedAtOk() (*int32, bool)
GetStartedAtOk returns a tuple with the StartedAt 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 (*BatchJobOut) GetStatus ¶
func (o *BatchJobOut) GetStatus() BatchJobStatus
GetStatus returns the Status field value
func (*BatchJobOut) GetStatusOk ¶
func (o *BatchJobOut) GetStatusOk() (*BatchJobStatus, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*BatchJobOut) GetSucceededRequests ¶
func (o *BatchJobOut) GetSucceededRequests() int32
GetSucceededRequests returns the SucceededRequests field value
func (*BatchJobOut) GetSucceededRequestsOk ¶
func (o *BatchJobOut) GetSucceededRequestsOk() (*int32, bool)
GetSucceededRequestsOk returns a tuple with the SucceededRequests field value and a boolean to check if the value has been set.
func (*BatchJobOut) GetTotalRequests ¶
func (o *BatchJobOut) GetTotalRequests() int32
GetTotalRequests returns the TotalRequests field value
func (*BatchJobOut) GetTotalRequestsOk ¶
func (o *BatchJobOut) GetTotalRequestsOk() (*int32, bool)
GetTotalRequestsOk returns a tuple with the TotalRequests field value and a boolean to check if the value has been set.
func (*BatchJobOut) HasAgentId ¶ added in v0.15.0
func (o *BatchJobOut) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*BatchJobOut) HasCompletedAt ¶
func (o *BatchJobOut) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*BatchJobOut) HasErrorFile ¶
func (o *BatchJobOut) HasErrorFile() bool
HasErrorFile returns a boolean if a field has been set.
func (*BatchJobOut) HasMetadata ¶
func (o *BatchJobOut) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*BatchJobOut) HasModel ¶ added in v0.15.0
func (o *BatchJobOut) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*BatchJobOut) HasObject ¶
func (o *BatchJobOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*BatchJobOut) HasOutputFile ¶
func (o *BatchJobOut) HasOutputFile() bool
HasOutputFile returns a boolean if a field has been set.
func (*BatchJobOut) HasOutputs ¶ added in v0.15.0
func (o *BatchJobOut) HasOutputs() bool
HasOutputs returns a boolean if a field has been set.
func (*BatchJobOut) HasStartedAt ¶
func (o *BatchJobOut) HasStartedAt() bool
HasStartedAt returns a boolean if a field has been set.
func (BatchJobOut) MarshalJSON ¶
func (o BatchJobOut) MarshalJSON() ([]byte, error)
func (*BatchJobOut) SetAgentId ¶ added in v0.15.0
func (o *BatchJobOut) SetAgentId(v string)
SetAgentId gets a reference to the given NullableString and assigns it to the AgentId field.
func (*BatchJobOut) SetAgentIdNil ¶ added in v0.15.0
func (o *BatchJobOut) SetAgentIdNil()
SetAgentIdNil sets the value for AgentId to be an explicit nil
func (*BatchJobOut) SetCompletedAt ¶
func (o *BatchJobOut) SetCompletedAt(v int32)
SetCompletedAt gets a reference to the given NullableInt32 and assigns it to the CompletedAt field.
func (*BatchJobOut) SetCompletedAtNil ¶
func (o *BatchJobOut) SetCompletedAtNil()
SetCompletedAtNil sets the value for CompletedAt to be an explicit nil
func (*BatchJobOut) SetCompletedRequests ¶
func (o *BatchJobOut) SetCompletedRequests(v int32)
SetCompletedRequests sets field value
func (*BatchJobOut) SetCreatedAt ¶
func (o *BatchJobOut) SetCreatedAt(v int32)
SetCreatedAt sets field value
func (*BatchJobOut) SetEndpoint ¶
func (o *BatchJobOut) SetEndpoint(v string)
SetEndpoint sets field value
func (*BatchJobOut) SetErrorFile ¶
func (o *BatchJobOut) SetErrorFile(v string)
SetErrorFile gets a reference to the given NullableString and assigns it to the ErrorFile field.
func (*BatchJobOut) SetErrorFileNil ¶
func (o *BatchJobOut) SetErrorFileNil()
SetErrorFileNil sets the value for ErrorFile to be an explicit nil
func (*BatchJobOut) SetErrors ¶
func (o *BatchJobOut) SetErrors(v []BatchError)
SetErrors sets field value
func (*BatchJobOut) SetFailedRequests ¶
func (o *BatchJobOut) SetFailedRequests(v int32)
SetFailedRequests sets field value
func (*BatchJobOut) SetInputFiles ¶
func (o *BatchJobOut) SetInputFiles(v []string)
SetInputFiles sets field value
func (*BatchJobOut) SetMetadata ¶
func (o *BatchJobOut) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*BatchJobOut) SetModel ¶
func (o *BatchJobOut) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*BatchJobOut) SetModelNil ¶ added in v0.15.0
func (o *BatchJobOut) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*BatchJobOut) SetObject ¶
func (o *BatchJobOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*BatchJobOut) SetOutputFile ¶
func (o *BatchJobOut) SetOutputFile(v string)
SetOutputFile gets a reference to the given NullableString and assigns it to the OutputFile field.
func (*BatchJobOut) SetOutputFileNil ¶
func (o *BatchJobOut) SetOutputFileNil()
SetOutputFileNil sets the value for OutputFile to be an explicit nil
func (*BatchJobOut) SetOutputs ¶ added in v0.15.0
func (o *BatchJobOut) SetOutputs(v []map[string]interface{})
SetOutputs gets a reference to the given []map[string]interface{} and assigns it to the Outputs field.
func (*BatchJobOut) SetStartedAt ¶
func (o *BatchJobOut) SetStartedAt(v int32)
SetStartedAt gets a reference to the given NullableInt32 and assigns it to the StartedAt field.
func (*BatchJobOut) SetStartedAtNil ¶
func (o *BatchJobOut) SetStartedAtNil()
SetStartedAtNil sets the value for StartedAt to be an explicit nil
func (*BatchJobOut) SetStatus ¶
func (o *BatchJobOut) SetStatus(v BatchJobStatus)
SetStatus sets field value
func (*BatchJobOut) SetSucceededRequests ¶
func (o *BatchJobOut) SetSucceededRequests(v int32)
SetSucceededRequests sets field value
func (*BatchJobOut) SetTotalRequests ¶
func (o *BatchJobOut) SetTotalRequests(v int32)
SetTotalRequests sets field value
func (BatchJobOut) ToMap ¶
func (o BatchJobOut) ToMap() (map[string]interface{}, error)
func (*BatchJobOut) UnmarshalJSON ¶
func (o *BatchJobOut) UnmarshalJSON(data []byte) (err error)
func (*BatchJobOut) UnsetAgentId ¶ added in v0.15.0
func (o *BatchJobOut) UnsetAgentId()
UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil
func (*BatchJobOut) UnsetCompletedAt ¶
func (o *BatchJobOut) UnsetCompletedAt()
UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil
func (*BatchJobOut) UnsetErrorFile ¶
func (o *BatchJobOut) UnsetErrorFile()
UnsetErrorFile ensures that no value is present for ErrorFile, not even an explicit nil
func (*BatchJobOut) UnsetModel ¶ added in v0.15.0
func (o *BatchJobOut) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
func (*BatchJobOut) UnsetOutputFile ¶
func (o *BatchJobOut) UnsetOutputFile()
UnsetOutputFile ensures that no value is present for OutputFile, not even an explicit nil
func (*BatchJobOut) UnsetStartedAt ¶
func (o *BatchJobOut) UnsetStartedAt()
UnsetStartedAt ensures that no value is present for StartedAt, not even an explicit nil
type BatchJobStatus ¶
type BatchJobStatus string
BatchJobStatus the model 'BatchJobStatus'
const ( BATCHJOBSTATUS_QUEUED BatchJobStatus = "QUEUED" BATCHJOBSTATUS_RUNNING BatchJobStatus = "RUNNING" BATCHJOBSTATUS_SUCCESS BatchJobStatus = "SUCCESS" BATCHJOBSTATUS_FAILED BatchJobStatus = "FAILED" BATCHJOBSTATUS_TIMEOUT_EXCEEDED BatchJobStatus = "TIMEOUT_EXCEEDED" BATCHJOBSTATUS_CANCELLATION_REQUESTED BatchJobStatus = "CANCELLATION_REQUESTED" BATCHJOBSTATUS_CANCELLED BatchJobStatus = "CANCELLED" )
List of BatchJobStatus
func NewBatchJobStatusFromValue ¶
func NewBatchJobStatusFromValue(v string) (*BatchJobStatus, error)
NewBatchJobStatusFromValue returns a pointer to a valid BatchJobStatus for the value passed as argument, or an error if the value passed is not allowed by the enum
func (BatchJobStatus) IsValid ¶
func (v BatchJobStatus) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (BatchJobStatus) Ptr ¶
func (v BatchJobStatus) Ptr() *BatchJobStatus
Ptr returns reference to BatchJobStatus value
func (*BatchJobStatus) UnmarshalJSON ¶
func (v *BatchJobStatus) UnmarshalJSON(src []byte) error
type BatchJobsOut ¶
type BatchJobsOut struct {
Data []BatchJobOut `json:"data,omitempty"`
Object *string `json:"object,omitempty"`
Total int32 `json:"total"`
AdditionalProperties map[string]interface{}
}
BatchJobsOut struct for BatchJobsOut
func NewBatchJobsOut ¶
func NewBatchJobsOut(total int32) *BatchJobsOut
NewBatchJobsOut instantiates a new BatchJobsOut 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 NewBatchJobsOutWithDefaults ¶
func NewBatchJobsOutWithDefaults() *BatchJobsOut
NewBatchJobsOutWithDefaults instantiates a new BatchJobsOut 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 (*BatchJobsOut) GetData ¶
func (o *BatchJobsOut) GetData() []BatchJobOut
GetData returns the Data field value if set, zero value otherwise.
func (*BatchJobsOut) GetDataOk ¶
func (o *BatchJobsOut) GetDataOk() ([]BatchJobOut, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchJobsOut) GetObject ¶
func (o *BatchJobsOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*BatchJobsOut) GetObjectOk ¶
func (o *BatchJobsOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BatchJobsOut) GetTotal ¶
func (o *BatchJobsOut) GetTotal() int32
GetTotal returns the Total field value
func (*BatchJobsOut) GetTotalOk ¶
func (o *BatchJobsOut) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (*BatchJobsOut) HasData ¶
func (o *BatchJobsOut) HasData() bool
HasData returns a boolean if a field has been set.
func (*BatchJobsOut) HasObject ¶
func (o *BatchJobsOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (BatchJobsOut) MarshalJSON ¶
func (o BatchJobsOut) MarshalJSON() ([]byte, error)
func (*BatchJobsOut) SetData ¶
func (o *BatchJobsOut) SetData(v []BatchJobOut)
SetData gets a reference to the given []BatchJobOut and assigns it to the Data field.
func (*BatchJobsOut) SetObject ¶
func (o *BatchJobsOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (BatchJobsOut) ToMap ¶
func (o BatchJobsOut) ToMap() (map[string]interface{}, error)
func (*BatchJobsOut) UnmarshalJSON ¶
func (o *BatchJobsOut) UnmarshalJSON(data []byte) (err error)
type BatchRequest ¶ added in v0.15.0
type BatchRequest struct {
CustomId NullableString `json:"custom_id,omitempty"`
Body map[string]interface{} `json:"body"`
AdditionalProperties map[string]interface{}
}
BatchRequest struct for BatchRequest
func NewBatchRequest ¶ added in v0.15.0
func NewBatchRequest(body map[string]interface{}) *BatchRequest
NewBatchRequest instantiates a new BatchRequest 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 NewBatchRequestWithDefaults ¶ added in v0.15.0
func NewBatchRequestWithDefaults() *BatchRequest
NewBatchRequestWithDefaults instantiates a new BatchRequest 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 (*BatchRequest) GetBody ¶ added in v0.15.0
func (o *BatchRequest) GetBody() map[string]interface{}
GetBody returns the Body field value
func (*BatchRequest) GetBodyOk ¶ added in v0.15.0
func (o *BatchRequest) GetBodyOk() (map[string]interface{}, bool)
GetBodyOk returns a tuple with the Body field value and a boolean to check if the value has been set.
func (*BatchRequest) GetCustomId ¶ added in v0.15.0
func (o *BatchRequest) GetCustomId() string
GetCustomId returns the CustomId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*BatchRequest) GetCustomIdOk ¶ added in v0.15.0
func (o *BatchRequest) GetCustomIdOk() (*string, bool)
GetCustomIdOk returns a tuple with the CustomId 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 (*BatchRequest) HasCustomId ¶ added in v0.15.0
func (o *BatchRequest) HasCustomId() bool
HasCustomId returns a boolean if a field has been set.
func (BatchRequest) MarshalJSON ¶ added in v0.15.0
func (o BatchRequest) MarshalJSON() ([]byte, error)
func (*BatchRequest) SetBody ¶ added in v0.15.0
func (o *BatchRequest) SetBody(v map[string]interface{})
SetBody sets field value
func (*BatchRequest) SetCustomId ¶ added in v0.15.0
func (o *BatchRequest) SetCustomId(v string)
SetCustomId gets a reference to the given NullableString and assigns it to the CustomId field.
func (*BatchRequest) SetCustomIdNil ¶ added in v0.15.0
func (o *BatchRequest) SetCustomIdNil()
SetCustomIdNil sets the value for CustomId to be an explicit nil
func (BatchRequest) ToMap ¶ added in v0.15.0
func (o BatchRequest) ToMap() (map[string]interface{}, error)
func (*BatchRequest) UnmarshalJSON ¶ added in v0.15.0
func (o *BatchRequest) UnmarshalJSON(data []byte) (err error)
func (*BatchRequest) UnsetCustomId ¶ added in v0.15.0
func (o *BatchRequest) UnsetCustomId()
UnsetCustomId ensures that no value is present for CustomId, not even an explicit nil
type BetaAgentsAPI ¶
type BetaAgentsAPI interface {
/*
AgentsApiV1AgentsCreate Create a agent that can be used within a conversation.
Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAgentsApiV1AgentsCreateRequest
*/
AgentsApiV1AgentsCreate(ctx context.Context) ApiAgentsApiV1AgentsCreateRequest
// AgentsApiV1AgentsCreateExecute executes the request
// @return Agent
AgentsApiV1AgentsCreateExecute(r ApiAgentsApiV1AgentsCreateRequest) (*Agent, *http.Response, error)
/*
AgentsApiV1AgentsCreateOrUpdateAlias Create or update an agent version alias.
Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId
@return ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest
*/
AgentsApiV1AgentsCreateOrUpdateAlias(ctx context.Context, agentId string) ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest
// AgentsApiV1AgentsCreateOrUpdateAliasExecute executes the request
// @return AgentAliasResponse
AgentsApiV1AgentsCreateOrUpdateAliasExecute(r ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) (*AgentAliasResponse, *http.Response, error)
/*
AgentsApiV1AgentsDelete Delete an agent entity.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId
@return ApiAgentsApiV1AgentsDeleteRequest
*/
AgentsApiV1AgentsDelete(ctx context.Context, agentId string) ApiAgentsApiV1AgentsDeleteRequest
// AgentsApiV1AgentsDeleteExecute executes the request
AgentsApiV1AgentsDeleteExecute(r ApiAgentsApiV1AgentsDeleteRequest) (*http.Response, error)
/*
AgentsApiV1AgentsGet Retrieve an agent entity.
Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId
@return ApiAgentsApiV1AgentsGetRequest
*/
AgentsApiV1AgentsGet(ctx context.Context, agentId string) ApiAgentsApiV1AgentsGetRequest
// AgentsApiV1AgentsGetExecute executes the request
// @return Agent
AgentsApiV1AgentsGetExecute(r ApiAgentsApiV1AgentsGetRequest) (*Agent, *http.Response, error)
/*
AgentsApiV1AgentsGetVersion Retrieve a specific version of an agent.
Get a specific agent version by version number.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId
@param version
@return ApiAgentsApiV1AgentsGetVersionRequest
*/
AgentsApiV1AgentsGetVersion(ctx context.Context, agentId string, version string) ApiAgentsApiV1AgentsGetVersionRequest
// AgentsApiV1AgentsGetVersionExecute executes the request
// @return Agent
AgentsApiV1AgentsGetVersionExecute(r ApiAgentsApiV1AgentsGetVersionRequest) (*Agent, *http.Response, error)
/*
AgentsApiV1AgentsList List agent entities.
Retrieve a list of agent entities sorted by creation time.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAgentsApiV1AgentsListRequest
*/
AgentsApiV1AgentsList(ctx context.Context) ApiAgentsApiV1AgentsListRequest
// AgentsApiV1AgentsListExecute executes the request
// @return []Agent
AgentsApiV1AgentsListExecute(r ApiAgentsApiV1AgentsListRequest) ([]Agent, *http.Response, error)
/*
AgentsApiV1AgentsListVersionAliases List all aliases for an agent.
Retrieve all version aliases for a specific agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId
@return ApiAgentsApiV1AgentsListVersionAliasesRequest
*/
AgentsApiV1AgentsListVersionAliases(ctx context.Context, agentId string) ApiAgentsApiV1AgentsListVersionAliasesRequest
// AgentsApiV1AgentsListVersionAliasesExecute executes the request
// @return []AgentAliasResponse
AgentsApiV1AgentsListVersionAliasesExecute(r ApiAgentsApiV1AgentsListVersionAliasesRequest) ([]AgentAliasResponse, *http.Response, error)
/*
AgentsApiV1AgentsListVersions List all versions of an agent.
Retrieve all versions for a specific agent with full agent context. Supports pagination.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId
@return ApiAgentsApiV1AgentsListVersionsRequest
*/
AgentsApiV1AgentsListVersions(ctx context.Context, agentId string) ApiAgentsApiV1AgentsListVersionsRequest
// AgentsApiV1AgentsListVersionsExecute executes the request
// @return []Agent
AgentsApiV1AgentsListVersionsExecute(r ApiAgentsApiV1AgentsListVersionsRequest) ([]Agent, *http.Response, error)
/*
AgentsApiV1AgentsUpdate Update an agent entity.
Update an agent attributes and create a new version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId
@return ApiAgentsApiV1AgentsUpdateRequest
*/
AgentsApiV1AgentsUpdate(ctx context.Context, agentId string) ApiAgentsApiV1AgentsUpdateRequest
// AgentsApiV1AgentsUpdateExecute executes the request
// @return Agent
AgentsApiV1AgentsUpdateExecute(r ApiAgentsApiV1AgentsUpdateRequest) (*Agent, *http.Response, error)
/*
AgentsApiV1AgentsUpdateVersion Update an agent version.
Switch the version of an agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param agentId
@return ApiAgentsApiV1AgentsUpdateVersionRequest
*/
AgentsApiV1AgentsUpdateVersion(ctx context.Context, agentId string) ApiAgentsApiV1AgentsUpdateVersionRequest
// AgentsApiV1AgentsUpdateVersionExecute executes the request
// @return Agent
AgentsApiV1AgentsUpdateVersionExecute(r ApiAgentsApiV1AgentsUpdateVersionRequest) (*Agent, *http.Response, error)
}
type BetaAgentsAPIService ¶
type BetaAgentsAPIService service
BetaAgentsAPIService BetaAgentsAPI service
func (*BetaAgentsAPIService) AgentsApiV1AgentsCreate ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsCreate(ctx context.Context) ApiAgentsApiV1AgentsCreateRequest
AgentsApiV1AgentsCreate Create a agent that can be used within a conversation.
Create a new agent giving it instructions, tools, description. The agent is then available to be used as a regular assistant in a conversation or as part of an agent pool from which it can be used.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAgentsApiV1AgentsCreateRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsCreateExecute ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsCreateExecute(r ApiAgentsApiV1AgentsCreateRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*BetaAgentsAPIService) AgentsApiV1AgentsCreateOrUpdateAlias ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsCreateOrUpdateAlias(ctx context.Context, agentId string) ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest
AgentsApiV1AgentsCreateOrUpdateAlias Create or update an agent version alias.
Create a new alias or update an existing alias to point to a specific version. Aliases are unique per agent and can be reassigned to different versions.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId @return ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsCreateOrUpdateAliasExecute ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsCreateOrUpdateAliasExecute(r ApiAgentsApiV1AgentsCreateOrUpdateAliasRequest) (*AgentAliasResponse, *http.Response, error)
Execute executes the request
@return AgentAliasResponse
func (*BetaAgentsAPIService) AgentsApiV1AgentsDelete ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsDelete(ctx context.Context, agentId string) ApiAgentsApiV1AgentsDeleteRequest
AgentsApiV1AgentsDelete Delete an agent entity.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId @return ApiAgentsApiV1AgentsDeleteRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsDeleteExecute ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsDeleteExecute(r ApiAgentsApiV1AgentsDeleteRequest) (*http.Response, error)
Execute executes the request
func (*BetaAgentsAPIService) AgentsApiV1AgentsGet ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsGet(ctx context.Context, agentId string) ApiAgentsApiV1AgentsGetRequest
AgentsApiV1AgentsGet Retrieve an agent entity.
Given an agent, retrieve an agent entity with its attributes. The agent_version parameter can be an integer version number or a string alias.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId @return ApiAgentsApiV1AgentsGetRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsGetExecute ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsGetExecute(r ApiAgentsApiV1AgentsGetRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*BetaAgentsAPIService) AgentsApiV1AgentsGetVersion ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsGetVersion(ctx context.Context, agentId string, version string) ApiAgentsApiV1AgentsGetVersionRequest
AgentsApiV1AgentsGetVersion Retrieve a specific version of an agent.
Get a specific agent version by version number.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId @param version @return ApiAgentsApiV1AgentsGetVersionRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsGetVersionExecute ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsGetVersionExecute(r ApiAgentsApiV1AgentsGetVersionRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*BetaAgentsAPIService) AgentsApiV1AgentsList ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsList(ctx context.Context) ApiAgentsApiV1AgentsListRequest
AgentsApiV1AgentsList List agent entities.
Retrieve a list of agent entities sorted by creation time.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAgentsApiV1AgentsListRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsListExecute ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsListExecute(r ApiAgentsApiV1AgentsListRequest) ([]Agent, *http.Response, error)
Execute executes the request
@return []Agent
func (*BetaAgentsAPIService) AgentsApiV1AgentsListVersionAliases ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsListVersionAliases(ctx context.Context, agentId string) ApiAgentsApiV1AgentsListVersionAliasesRequest
AgentsApiV1AgentsListVersionAliases List all aliases for an agent.
Retrieve all version aliases for a specific agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId @return ApiAgentsApiV1AgentsListVersionAliasesRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsListVersionAliasesExecute ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsListVersionAliasesExecute(r ApiAgentsApiV1AgentsListVersionAliasesRequest) ([]AgentAliasResponse, *http.Response, error)
Execute executes the request
@return []AgentAliasResponse
func (*BetaAgentsAPIService) AgentsApiV1AgentsListVersions ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsListVersions(ctx context.Context, agentId string) ApiAgentsApiV1AgentsListVersionsRequest
AgentsApiV1AgentsListVersions List all versions of an agent.
Retrieve all versions for a specific agent with full agent context. Supports pagination.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId @return ApiAgentsApiV1AgentsListVersionsRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsListVersionsExecute ¶ added in v0.15.0
func (a *BetaAgentsAPIService) AgentsApiV1AgentsListVersionsExecute(r ApiAgentsApiV1AgentsListVersionsRequest) ([]Agent, *http.Response, error)
Execute executes the request
@return []Agent
func (*BetaAgentsAPIService) AgentsApiV1AgentsUpdate ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsUpdate(ctx context.Context, agentId string) ApiAgentsApiV1AgentsUpdateRequest
AgentsApiV1AgentsUpdate Update an agent entity.
Update an agent attributes and create a new version.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId @return ApiAgentsApiV1AgentsUpdateRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsUpdateExecute ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsUpdateExecute(r ApiAgentsApiV1AgentsUpdateRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
func (*BetaAgentsAPIService) AgentsApiV1AgentsUpdateVersion ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsUpdateVersion(ctx context.Context, agentId string) ApiAgentsApiV1AgentsUpdateVersionRequest
AgentsApiV1AgentsUpdateVersion Update an agent version.
Switch the version of an agent.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param agentId @return ApiAgentsApiV1AgentsUpdateVersionRequest
func (*BetaAgentsAPIService) AgentsApiV1AgentsUpdateVersionExecute ¶
func (a *BetaAgentsAPIService) AgentsApiV1AgentsUpdateVersionExecute(r ApiAgentsApiV1AgentsUpdateVersionRequest) (*Agent, *http.Response, error)
Execute executes the request
@return Agent
type BetaConversationsAPI ¶
type BetaConversationsAPI interface {
/*
AgentsApiV1ConversationsAppend Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conversationId ID of the conversation to which we append entries.
@return ApiAgentsApiV1ConversationsAppendRequest
*/
AgentsApiV1ConversationsAppend(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsAppendRequest
// AgentsApiV1ConversationsAppendExecute executes the request
// @return ConversationResponse
AgentsApiV1ConversationsAppendExecute(r ApiAgentsApiV1ConversationsAppendRequest) (*ConversationResponse, *http.Response, error)
/*
AgentsApiV1ConversationsAppendStream Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conversationId ID of the conversation to which we append entries.
@return ApiAgentsApiV1ConversationsAppendStreamRequest
*/
AgentsApiV1ConversationsAppendStream(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsAppendStreamRequest
// AgentsApiV1ConversationsAppendStreamExecute executes the request
// @return ConversationEvents
AgentsApiV1ConversationsAppendStreamExecute(r ApiAgentsApiV1ConversationsAppendStreamRequest) (*ConversationEvents, *http.Response, error)
/*
AgentsApiV1ConversationsDelete Delete a conversation.
Delete a conversation given a conversation_id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conversationId ID of the conversation from which we are fetching metadata.
@return ApiAgentsApiV1ConversationsDeleteRequest
*/
AgentsApiV1ConversationsDelete(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsDeleteRequest
// AgentsApiV1ConversationsDeleteExecute executes the request
AgentsApiV1ConversationsDeleteExecute(r ApiAgentsApiV1ConversationsDeleteRequest) (*http.Response, error)
/*
AgentsApiV1ConversationsGet Retrieve a conversation information.
Given a conversation_id retrieve a conversation entity with its attributes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conversationId ID of the conversation from which we are fetching metadata.
@return ApiAgentsApiV1ConversationsGetRequest
*/
AgentsApiV1ConversationsGet(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsGetRequest
// AgentsApiV1ConversationsGetExecute executes the request
// @return ResponseV1ConversationsGet
AgentsApiV1ConversationsGetExecute(r ApiAgentsApiV1ConversationsGetRequest) (*ResponseV1ConversationsGet, *http.Response, error)
/*
AgentsApiV1ConversationsHistory Retrieve all entries in a conversation.
Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conversationId ID of the conversation from which we are fetching entries.
@return ApiAgentsApiV1ConversationsHistoryRequest
*/
AgentsApiV1ConversationsHistory(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsHistoryRequest
// AgentsApiV1ConversationsHistoryExecute executes the request
// @return ConversationHistory
AgentsApiV1ConversationsHistoryExecute(r ApiAgentsApiV1ConversationsHistoryRequest) (*ConversationHistory, *http.Response, error)
/*
AgentsApiV1ConversationsList List all created conversations.
Retrieve a list of conversation entities sorted by creation time.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAgentsApiV1ConversationsListRequest
*/
AgentsApiV1ConversationsList(ctx context.Context) ApiAgentsApiV1ConversationsListRequest
// AgentsApiV1ConversationsListExecute executes the request
// @return []ResponseV1ConversationsListInner
AgentsApiV1ConversationsListExecute(r ApiAgentsApiV1ConversationsListRequest) ([]ResponseV1ConversationsListInner, *http.Response, error)
/*
AgentsApiV1ConversationsMessages Retrieve all messages in a conversation.
Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conversationId ID of the conversation from which we are fetching messages.
@return ApiAgentsApiV1ConversationsMessagesRequest
*/
AgentsApiV1ConversationsMessages(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsMessagesRequest
// AgentsApiV1ConversationsMessagesExecute executes the request
// @return ConversationMessages
AgentsApiV1ConversationsMessagesExecute(r ApiAgentsApiV1ConversationsMessagesRequest) (*ConversationMessages, *http.Response, error)
/*
AgentsApiV1ConversationsRestart Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conversationId ID of the original conversation which is being restarted.
@return ApiAgentsApiV1ConversationsRestartRequest
*/
AgentsApiV1ConversationsRestart(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsRestartRequest
// AgentsApiV1ConversationsRestartExecute executes the request
// @return ConversationResponse
AgentsApiV1ConversationsRestartExecute(r ApiAgentsApiV1ConversationsRestartRequest) (*ConversationResponse, *http.Response, error)
/*
AgentsApiV1ConversationsRestartStream Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param conversationId ID of the original conversation which is being restarted.
@return ApiAgentsApiV1ConversationsRestartStreamRequest
*/
AgentsApiV1ConversationsRestartStream(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsRestartStreamRequest
// AgentsApiV1ConversationsRestartStreamExecute executes the request
// @return ConversationEvents
AgentsApiV1ConversationsRestartStreamExecute(r ApiAgentsApiV1ConversationsRestartStreamRequest) (*ConversationEvents, *http.Response, error)
/*
AgentsApiV1ConversationsStart Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAgentsApiV1ConversationsStartRequest
*/
AgentsApiV1ConversationsStart(ctx context.Context) ApiAgentsApiV1ConversationsStartRequest
// AgentsApiV1ConversationsStartExecute executes the request
// @return ConversationResponse
AgentsApiV1ConversationsStartExecute(r ApiAgentsApiV1ConversationsStartRequest) (*ConversationResponse, *http.Response, error)
/*
AgentsApiV1ConversationsStartStream Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiAgentsApiV1ConversationsStartStreamRequest
*/
AgentsApiV1ConversationsStartStream(ctx context.Context) ApiAgentsApiV1ConversationsStartStreamRequest
// AgentsApiV1ConversationsStartStreamExecute executes the request
// @return ConversationEvents
AgentsApiV1ConversationsStartStreamExecute(r ApiAgentsApiV1ConversationsStartStreamRequest) (*ConversationEvents, *http.Response, error)
}
type BetaConversationsAPIService ¶
type BetaConversationsAPIService service
BetaConversationsAPIService BetaConversationsAPI service
func (*BetaConversationsAPIService) AgentsApiV1ConversationsAppend ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsAppend(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsAppendRequest
AgentsApiV1ConversationsAppend Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param conversationId ID of the conversation to which we append entries. @return ApiAgentsApiV1ConversationsAppendRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsAppendExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsAppendExecute(r ApiAgentsApiV1ConversationsAppendRequest) (*ConversationResponse, *http.Response, error)
Execute executes the request
@return ConversationResponse
func (*BetaConversationsAPIService) AgentsApiV1ConversationsAppendStream ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsAppendStream(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsAppendStreamRequest
AgentsApiV1ConversationsAppendStream Append new entries to an existing conversation.
Run completion on the history of the conversation and the user entries. Return the new created entries.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param conversationId ID of the conversation to which we append entries. @return ApiAgentsApiV1ConversationsAppendStreamRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsAppendStreamExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsAppendStreamExecute(r ApiAgentsApiV1ConversationsAppendStreamRequest) (*ConversationEvents, *http.Response, error)
Execute executes the request
@return ConversationEvents
func (*BetaConversationsAPIService) AgentsApiV1ConversationsDelete ¶ added in v0.15.0
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsDelete(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsDeleteRequest
AgentsApiV1ConversationsDelete Delete a conversation.
Delete a conversation given a conversation_id.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param conversationId ID of the conversation from which we are fetching metadata. @return ApiAgentsApiV1ConversationsDeleteRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsDeleteExecute ¶ added in v0.15.0
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsDeleteExecute(r ApiAgentsApiV1ConversationsDeleteRequest) (*http.Response, error)
Execute executes the request
func (*BetaConversationsAPIService) AgentsApiV1ConversationsGet ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsGet(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsGetRequest
AgentsApiV1ConversationsGet Retrieve a conversation information.
Given a conversation_id retrieve a conversation entity with its attributes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param conversationId ID of the conversation from which we are fetching metadata. @return ApiAgentsApiV1ConversationsGetRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsGetExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsGetExecute(r ApiAgentsApiV1ConversationsGetRequest) (*ResponseV1ConversationsGet, *http.Response, error)
Execute executes the request
@return ResponseV1ConversationsGet
func (*BetaConversationsAPIService) AgentsApiV1ConversationsHistory ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsHistory(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsHistoryRequest
AgentsApiV1ConversationsHistory Retrieve all entries in a conversation.
Given a conversation_id retrieve all the entries belonging to that conversation. The entries are sorted in the order they were appended, those can be messages, connectors or function_call.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param conversationId ID of the conversation from which we are fetching entries. @return ApiAgentsApiV1ConversationsHistoryRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsHistoryExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsHistoryExecute(r ApiAgentsApiV1ConversationsHistoryRequest) (*ConversationHistory, *http.Response, error)
Execute executes the request
@return ConversationHistory
func (*BetaConversationsAPIService) AgentsApiV1ConversationsList ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsList(ctx context.Context) ApiAgentsApiV1ConversationsListRequest
AgentsApiV1ConversationsList List all created conversations.
Retrieve a list of conversation entities sorted by creation time.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAgentsApiV1ConversationsListRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsListExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsListExecute(r ApiAgentsApiV1ConversationsListRequest) ([]ResponseV1ConversationsListInner, *http.Response, error)
Execute executes the request
@return []ResponseV1ConversationsListInner
func (*BetaConversationsAPIService) AgentsApiV1ConversationsMessages ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsMessages(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsMessagesRequest
AgentsApiV1ConversationsMessages Retrieve all messages in a conversation.
Given a conversation_id retrieve all the messages belonging to that conversation. This is similar to retrieving all entries except we filter the messages only.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param conversationId ID of the conversation from which we are fetching messages. @return ApiAgentsApiV1ConversationsMessagesRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsMessagesExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsMessagesExecute(r ApiAgentsApiV1ConversationsMessagesRequest) (*ConversationMessages, *http.Response, error)
Execute executes the request
@return ConversationMessages
func (*BetaConversationsAPIService) AgentsApiV1ConversationsRestart ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsRestart(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsRestartRequest
AgentsApiV1ConversationsRestart Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param conversationId ID of the original conversation which is being restarted. @return ApiAgentsApiV1ConversationsRestartRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsRestartExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsRestartExecute(r ApiAgentsApiV1ConversationsRestartRequest) (*ConversationResponse, *http.Response, error)
Execute executes the request
@return ConversationResponse
func (*BetaConversationsAPIService) AgentsApiV1ConversationsRestartStream ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsRestartStream(ctx context.Context, conversationId string) ApiAgentsApiV1ConversationsRestartStreamRequest
AgentsApiV1ConversationsRestartStream Restart a conversation starting from a given entry.
Given a conversation_id and an id, recreate a conversation from this point and run completion. A new conversation is returned with the new entries returned.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param conversationId ID of the original conversation which is being restarted. @return ApiAgentsApiV1ConversationsRestartStreamRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsRestartStreamExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsRestartStreamExecute(r ApiAgentsApiV1ConversationsRestartStreamRequest) (*ConversationEvents, *http.Response, error)
Execute executes the request
@return ConversationEvents
func (*BetaConversationsAPIService) AgentsApiV1ConversationsStart ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsStart(ctx context.Context) ApiAgentsApiV1ConversationsStartRequest
AgentsApiV1ConversationsStart Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAgentsApiV1ConversationsStartRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsStartExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsStartExecute(r ApiAgentsApiV1ConversationsStartRequest) (*ConversationResponse, *http.Response, error)
Execute executes the request
@return ConversationResponse
func (*BetaConversationsAPIService) AgentsApiV1ConversationsStartStream ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsStartStream(ctx context.Context) ApiAgentsApiV1ConversationsStartStreamRequest
AgentsApiV1ConversationsStartStream Create a conversation and append entries to it.
Create a new conversation, using a base model or an agent and append entries. Completion and tool executions are run and the response is appended to the conversation.Use the returned conversation_id to continue the conversation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiAgentsApiV1ConversationsStartStreamRequest
func (*BetaConversationsAPIService) AgentsApiV1ConversationsStartStreamExecute ¶
func (a *BetaConversationsAPIService) AgentsApiV1ConversationsStartStreamExecute(r ApiAgentsApiV1ConversationsStartStreamRequest) (*ConversationEvents, *http.Response, error)
Execute executes the request
@return ConversationEvents
type BetaLibrariesAPI ¶ added in v0.6.0
type BetaLibrariesAPI interface {
/*
LibrariesCreateV1 Create a new Library.
Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLibrariesCreateV1Request
*/
LibrariesCreateV1(ctx context.Context) ApiLibrariesCreateV1Request
// LibrariesCreateV1Execute executes the request
// @return LibraryOut
LibrariesCreateV1Execute(r ApiLibrariesCreateV1Request) (*LibraryOut, *http.Response, error)
/*
LibrariesDeleteV1 Delete a library and all of it's document.
Given a library id, deletes it together with all documents that have been uploaded to that library.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@return ApiLibrariesDeleteV1Request
*/
LibrariesDeleteV1(ctx context.Context, libraryId string) ApiLibrariesDeleteV1Request
// LibrariesDeleteV1Execute executes the request
// @return LibraryOut
LibrariesDeleteV1Execute(r ApiLibrariesDeleteV1Request) (*LibraryOut, *http.Response, error)
/*
LibrariesGetV1 Detailed information about a specific Library.
Given a library id, details information about that Library.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@return ApiLibrariesGetV1Request
*/
LibrariesGetV1(ctx context.Context, libraryId string) ApiLibrariesGetV1Request
// LibrariesGetV1Execute executes the request
// @return LibraryOut
LibrariesGetV1Execute(r ApiLibrariesGetV1Request) (*LibraryOut, *http.Response, error)
/*
LibrariesListV1 List all libraries you have access to.
List all libraries that you have created or have been shared with you.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiLibrariesListV1Request
*/
LibrariesListV1(ctx context.Context) ApiLibrariesListV1Request
// LibrariesListV1Execute executes the request
// @return ListLibraryOut
LibrariesListV1Execute(r ApiLibrariesListV1Request) (*ListLibraryOut, *http.Response, error)
/*
LibrariesUpdateV1 Update a library.
Given a library id, you can update the name and description.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@return ApiLibrariesUpdateV1Request
*/
LibrariesUpdateV1(ctx context.Context, libraryId string) ApiLibrariesUpdateV1Request
// LibrariesUpdateV1Execute executes the request
// @return LibraryOut
LibrariesUpdateV1Execute(r ApiLibrariesUpdateV1Request) (*LibraryOut, *http.Response, error)
}
type BetaLibrariesAPIService ¶ added in v0.6.0
type BetaLibrariesAPIService service
BetaLibrariesAPIService BetaLibrariesAPI service
func (*BetaLibrariesAPIService) LibrariesCreateV1 ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesCreateV1(ctx context.Context) ApiLibrariesCreateV1Request
LibrariesCreateV1 Create a new Library.
Create a new Library, you will be marked as the owner and only you will have the possibility to share it with others. When first created this will only be accessible by you.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLibrariesCreateV1Request
func (*BetaLibrariesAPIService) LibrariesCreateV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesCreateV1Execute(r ApiLibrariesCreateV1Request) (*LibraryOut, *http.Response, error)
Execute executes the request
@return LibraryOut
func (*BetaLibrariesAPIService) LibrariesDeleteV1 ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesDeleteV1(ctx context.Context, libraryId string) ApiLibrariesDeleteV1Request
LibrariesDeleteV1 Delete a library and all of it's document.
Given a library id, deletes it together with all documents that have been uploaded to that library.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @return ApiLibrariesDeleteV1Request
func (*BetaLibrariesAPIService) LibrariesDeleteV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesDeleteV1Execute(r ApiLibrariesDeleteV1Request) (*LibraryOut, *http.Response, error)
Execute executes the request
@return LibraryOut
func (*BetaLibrariesAPIService) LibrariesGetV1 ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesGetV1(ctx context.Context, libraryId string) ApiLibrariesGetV1Request
LibrariesGetV1 Detailed information about a specific Library.
Given a library id, details information about that Library.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @return ApiLibrariesGetV1Request
func (*BetaLibrariesAPIService) LibrariesGetV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesGetV1Execute(r ApiLibrariesGetV1Request) (*LibraryOut, *http.Response, error)
Execute executes the request
@return LibraryOut
func (*BetaLibrariesAPIService) LibrariesListV1 ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesListV1(ctx context.Context) ApiLibrariesListV1Request
LibrariesListV1 List all libraries you have access to.
List all libraries that you have created or have been shared with you.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLibrariesListV1Request
func (*BetaLibrariesAPIService) LibrariesListV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesListV1Execute(r ApiLibrariesListV1Request) (*ListLibraryOut, *http.Response, error)
Execute executes the request
@return ListLibraryOut
func (*BetaLibrariesAPIService) LibrariesUpdateV1 ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesUpdateV1(ctx context.Context, libraryId string) ApiLibrariesUpdateV1Request
LibrariesUpdateV1 Update a library.
Given a library id, you can update the name and description.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @return ApiLibrariesUpdateV1Request
func (*BetaLibrariesAPIService) LibrariesUpdateV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesAPIService) LibrariesUpdateV1Execute(r ApiLibrariesUpdateV1Request) (*LibraryOut, *http.Response, error)
Execute executes the request
@return LibraryOut
type BetaLibrariesAccessesAPI ¶ added in v0.6.0
type BetaLibrariesAccessesAPI interface {
LibrariesShareCreateV1(ctx context.Context, libraryId string) ApiLibrariesShareCreateV1Request
// @return SharingOut
LibrariesShareCreateV1Execute(r ApiLibrariesShareCreateV1Request) (*SharingOut, *http.Response, error)
LibrariesShareDeleteV1(ctx context.Context, libraryId string) ApiLibrariesShareDeleteV1Request
// @return SharingOut
LibrariesShareDeleteV1Execute(r ApiLibrariesShareDeleteV1Request) (*SharingOut, *http.Response, error)
LibrariesShareListV1(ctx context.Context, libraryId string) ApiLibrariesShareListV1Request
// @return ListSharingOut
LibrariesShareListV1Execute(r ApiLibrariesShareListV1Request) (*ListSharingOut, *http.Response, error)
}
type BetaLibrariesAccessesAPIService ¶ added in v0.6.0
type BetaLibrariesAccessesAPIService service
BetaLibrariesAccessesAPIService BetaLibrariesAccessesAPI service
func (*BetaLibrariesAccessesAPIService) LibrariesShareCreateV1 ¶ added in v0.6.0
func (a *BetaLibrariesAccessesAPIService) LibrariesShareCreateV1(ctx context.Context, libraryId string) ApiLibrariesShareCreateV1Request
LibrariesShareCreateV1 Create or update an access level.
Given a library id, you can create or update the access level of an entity. You have to be owner of the library to share a library. An owner cannot change their own role. A library cannot be shared outside of the organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @return ApiLibrariesShareCreateV1Request
func (*BetaLibrariesAccessesAPIService) LibrariesShareCreateV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesAccessesAPIService) LibrariesShareCreateV1Execute(r ApiLibrariesShareCreateV1Request) (*SharingOut, *http.Response, error)
Execute executes the request
@return SharingOut
func (*BetaLibrariesAccessesAPIService) LibrariesShareDeleteV1 ¶ added in v0.6.0
func (a *BetaLibrariesAccessesAPIService) LibrariesShareDeleteV1(ctx context.Context, libraryId string) ApiLibrariesShareDeleteV1Request
LibrariesShareDeleteV1 Delete an access level.
Given a library id, you can delete the access level of an entity. An owner cannot delete it's own access. You have to be the owner of the library to delete an acces other than yours.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @return ApiLibrariesShareDeleteV1Request
func (*BetaLibrariesAccessesAPIService) LibrariesShareDeleteV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesAccessesAPIService) LibrariesShareDeleteV1Execute(r ApiLibrariesShareDeleteV1Request) (*SharingOut, *http.Response, error)
Execute executes the request
@return SharingOut
func (*BetaLibrariesAccessesAPIService) LibrariesShareListV1 ¶ added in v0.6.0
func (a *BetaLibrariesAccessesAPIService) LibrariesShareListV1(ctx context.Context, libraryId string) ApiLibrariesShareListV1Request
LibrariesShareListV1 List all of the access to this library.
Given a library, list all of the Entity that have access and to what level.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @return ApiLibrariesShareListV1Request
func (*BetaLibrariesAccessesAPIService) LibrariesShareListV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesAccessesAPIService) LibrariesShareListV1Execute(r ApiLibrariesShareListV1Request) (*ListSharingOut, *http.Response, error)
Execute executes the request
@return ListSharingOut
type BetaLibrariesDocumentsAPI ¶ added in v0.6.0
type BetaLibrariesDocumentsAPI interface {
/*
LibrariesDocumentsDeleteV1 Delete a document.
Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@param documentId
@return ApiLibrariesDocumentsDeleteV1Request
*/
LibrariesDocumentsDeleteV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsDeleteV1Request
// LibrariesDocumentsDeleteV1Execute executes the request
LibrariesDocumentsDeleteV1Execute(r ApiLibrariesDocumentsDeleteV1Request) (*http.Response, error)
/*
LibrariesDocumentsGetExtractedTextSignedUrlV1 Retrieve the signed URL of text extracted from a given document.
Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@param documentId
@return ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request
*/
LibrariesDocumentsGetExtractedTextSignedUrlV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request
// LibrariesDocumentsGetExtractedTextSignedUrlV1Execute executes the request
// @return string
LibrariesDocumentsGetExtractedTextSignedUrlV1Execute(r ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request) (string, *http.Response, error)
/*
LibrariesDocumentsGetSignedUrlV1 Retrieve the signed URL of a specific document.
Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@param documentId
@return ApiLibrariesDocumentsGetSignedUrlV1Request
*/
LibrariesDocumentsGetSignedUrlV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetSignedUrlV1Request
// LibrariesDocumentsGetSignedUrlV1Execute executes the request
// @return string
LibrariesDocumentsGetSignedUrlV1Execute(r ApiLibrariesDocumentsGetSignedUrlV1Request) (string, *http.Response, error)
/*
LibrariesDocumentsGetStatusV1 Retrieve the processing status of a specific document.
Given a library and a document in that library, retrieve the processing status of that document.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@param documentId
@return ApiLibrariesDocumentsGetStatusV1Request
*/
LibrariesDocumentsGetStatusV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetStatusV1Request
// LibrariesDocumentsGetStatusV1Execute executes the request
// @return ProcessingStatusOut
LibrariesDocumentsGetStatusV1Execute(r ApiLibrariesDocumentsGetStatusV1Request) (*ProcessingStatusOut, *http.Response, error)
/*
LibrariesDocumentsGetTextContentV1 Retrieve the text content of a specific document.
Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@param documentId
@return ApiLibrariesDocumentsGetTextContentV1Request
*/
LibrariesDocumentsGetTextContentV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetTextContentV1Request
// LibrariesDocumentsGetTextContentV1Execute executes the request
// @return DocumentTextContent
LibrariesDocumentsGetTextContentV1Execute(r ApiLibrariesDocumentsGetTextContentV1Request) (*DocumentTextContent, *http.Response, error)
/*
LibrariesDocumentsGetV1 Retrieve the metadata of a specific document.
Given a library and a document in this library, you can retrieve the metadata of that document.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@param documentId
@return ApiLibrariesDocumentsGetV1Request
*/
LibrariesDocumentsGetV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetV1Request
// LibrariesDocumentsGetV1Execute executes the request
// @return DocumentOut
LibrariesDocumentsGetV1Execute(r ApiLibrariesDocumentsGetV1Request) (*DocumentOut, *http.Response, error)
/*
LibrariesDocumentsListV1 List documents in a given library.
Given a library, lists the document that have been uploaded to that library.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@return ApiLibrariesDocumentsListV1Request
*/
LibrariesDocumentsListV1(ctx context.Context, libraryId string) ApiLibrariesDocumentsListV1Request
// LibrariesDocumentsListV1Execute executes the request
// @return ListDocumentOut
LibrariesDocumentsListV1Execute(r ApiLibrariesDocumentsListV1Request) (*ListDocumentOut, *http.Response, error)
/*
LibrariesDocumentsReprocessV1 Reprocess a document.
Given a library and a document in that library, reprocess that document, it will be billed again.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@param documentId
@return ApiLibrariesDocumentsReprocessV1Request
*/
LibrariesDocumentsReprocessV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsReprocessV1Request
// LibrariesDocumentsReprocessV1Execute executes the request
LibrariesDocumentsReprocessV1Execute(r ApiLibrariesDocumentsReprocessV1Request) (*http.Response, error)
/*
LibrariesDocumentsUpdateV1 Update the metadata of a specific document.
Given a library and a document in that library, update the name of that document.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@param documentId
@return ApiLibrariesDocumentsUpdateV1Request
*/
LibrariesDocumentsUpdateV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsUpdateV1Request
// LibrariesDocumentsUpdateV1Execute executes the request
// @return DocumentOut
LibrariesDocumentsUpdateV1Execute(r ApiLibrariesDocumentsUpdateV1Request) (*DocumentOut, *http.Response, error)
/*
LibrariesDocumentsUploadV1 Upload a new document.
Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param libraryId
@return ApiLibrariesDocumentsUploadV1Request
*/
LibrariesDocumentsUploadV1(ctx context.Context, libraryId string) ApiLibrariesDocumentsUploadV1Request
// LibrariesDocumentsUploadV1Execute executes the request
// @return DocumentOut
LibrariesDocumentsUploadV1Execute(r ApiLibrariesDocumentsUploadV1Request) (*DocumentOut, *http.Response, error)
}
type BetaLibrariesDocumentsAPIService ¶ added in v0.6.0
type BetaLibrariesDocumentsAPIService service
BetaLibrariesDocumentsAPIService BetaLibrariesDocumentsAPI service
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsDeleteV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsDeleteV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsDeleteV1Request
LibrariesDocumentsDeleteV1 Delete a document.
Given a library and a document in that library, delete that document. The document will be deleted from the library and the search index.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @param documentId @return ApiLibrariesDocumentsDeleteV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsDeleteV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsDeleteV1Execute(r ApiLibrariesDocumentsDeleteV1Request) (*http.Response, error)
Execute executes the request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetExtractedTextSignedUrlV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetExtractedTextSignedUrlV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request
LibrariesDocumentsGetExtractedTextSignedUrlV1 Retrieve the signed URL of text extracted from a given document.
Given a library and a document in that library, retrieve the signed URL of text extracted. For documents that are sent to the OCR this returns the result of the OCR queries.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @param documentId @return ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetExtractedTextSignedUrlV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetExtractedTextSignedUrlV1Execute(r ApiLibrariesDocumentsGetExtractedTextSignedUrlV1Request) (string, *http.Response, error)
Execute executes the request
@return string
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetSignedUrlV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetSignedUrlV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetSignedUrlV1Request
LibrariesDocumentsGetSignedUrlV1 Retrieve the signed URL of a specific document.
Given a library and a document in that library, retrieve the signed URL of a specific document.The url will expire after 30 minutes and can be accessed by anyone with the link.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @param documentId @return ApiLibrariesDocumentsGetSignedUrlV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetSignedUrlV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetSignedUrlV1Execute(r ApiLibrariesDocumentsGetSignedUrlV1Request) (string, *http.Response, error)
Execute executes the request
@return string
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetStatusV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetStatusV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetStatusV1Request
LibrariesDocumentsGetStatusV1 Retrieve the processing status of a specific document.
Given a library and a document in that library, retrieve the processing status of that document.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @param documentId @return ApiLibrariesDocumentsGetStatusV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetStatusV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetStatusV1Execute(r ApiLibrariesDocumentsGetStatusV1Request) (*ProcessingStatusOut, *http.Response, error)
Execute executes the request
@return ProcessingStatusOut
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetTextContentV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetTextContentV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetTextContentV1Request
LibrariesDocumentsGetTextContentV1 Retrieve the text content of a specific document.
Given a library and a document in that library, you can retrieve the text content of that document if it exists. For documents like pdf, docx and pptx the text content results from our processing using Mistral OCR.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @param documentId @return ApiLibrariesDocumentsGetTextContentV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetTextContentV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetTextContentV1Execute(r ApiLibrariesDocumentsGetTextContentV1Request) (*DocumentTextContent, *http.Response, error)
Execute executes the request
@return DocumentTextContent
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsGetV1Request
LibrariesDocumentsGetV1 Retrieve the metadata of a specific document.
Given a library and a document in this library, you can retrieve the metadata of that document.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @param documentId @return ApiLibrariesDocumentsGetV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsGetV1Execute(r ApiLibrariesDocumentsGetV1Request) (*DocumentOut, *http.Response, error)
Execute executes the request
@return DocumentOut
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsListV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsListV1(ctx context.Context, libraryId string) ApiLibrariesDocumentsListV1Request
LibrariesDocumentsListV1 List documents in a given library.
Given a library, lists the document that have been uploaded to that library.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @return ApiLibrariesDocumentsListV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsListV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsListV1Execute(r ApiLibrariesDocumentsListV1Request) (*ListDocumentOut, *http.Response, error)
Execute executes the request
@return ListDocumentOut
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsReprocessV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsReprocessV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsReprocessV1Request
LibrariesDocumentsReprocessV1 Reprocess a document.
Given a library and a document in that library, reprocess that document, it will be billed again.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @param documentId @return ApiLibrariesDocumentsReprocessV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsReprocessV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsReprocessV1Execute(r ApiLibrariesDocumentsReprocessV1Request) (*http.Response, error)
Execute executes the request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsUpdateV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsUpdateV1(ctx context.Context, libraryId string, documentId string) ApiLibrariesDocumentsUpdateV1Request
LibrariesDocumentsUpdateV1 Update the metadata of a specific document.
Given a library and a document in that library, update the name of that document.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @param documentId @return ApiLibrariesDocumentsUpdateV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsUpdateV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsUpdateV1Execute(r ApiLibrariesDocumentsUpdateV1Request) (*DocumentOut, *http.Response, error)
Execute executes the request
@return DocumentOut
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsUploadV1 ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsUploadV1(ctx context.Context, libraryId string) ApiLibrariesDocumentsUploadV1Request
LibrariesDocumentsUploadV1 Upload a new document.
Given a library, upload a new document to that library. It is queued for processing, it status will change it has been processed. The processing has to be completed in order be discoverable for the library search
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param libraryId @return ApiLibrariesDocumentsUploadV1Request
func (*BetaLibrariesDocumentsAPIService) LibrariesDocumentsUploadV1Execute ¶ added in v0.6.0
func (a *BetaLibrariesDocumentsAPIService) LibrariesDocumentsUploadV1Execute(r ApiLibrariesDocumentsUploadV1Request) (*DocumentOut, *http.Response, error)
Execute executes the request
@return DocumentOut
type BuiltInConnectors ¶
type BuiltInConnectors string
BuiltInConnectors the model 'BuiltInConnectors'
const ( BUILTINCONNECTORS_WEB_SEARCH BuiltInConnectors = "web_search" BUILTINCONNECTORS_WEB_SEARCH_PREMIUM BuiltInConnectors = "web_search_premium" BUILTINCONNECTORS_CODE_INTERPRETER BuiltInConnectors = "code_interpreter" BUILTINCONNECTORS_IMAGE_GENERATION BuiltInConnectors = "image_generation" BUILTINCONNECTORS_DOCUMENT_LIBRARY BuiltInConnectors = "document_library" )
List of BuiltInConnectors
func NewBuiltInConnectorsFromValue ¶
func NewBuiltInConnectorsFromValue(v string) (*BuiltInConnectors, error)
NewBuiltInConnectorsFromValue returns a pointer to a valid BuiltInConnectors for the value passed as argument, or an error if the value passed is not allowed by the enum
func (BuiltInConnectors) IsValid ¶
func (v BuiltInConnectors) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (BuiltInConnectors) Ptr ¶
func (v BuiltInConnectors) Ptr() *BuiltInConnectors
Ptr returns reference to BuiltInConnectors value
func (*BuiltInConnectors) UnmarshalJSON ¶
func (v *BuiltInConnectors) UnmarshalJSON(src []byte) error
type ChatAPI ¶
type ChatAPI interface {
/*
ChatCompletionV1ChatCompletionsPost Chat Completion
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiChatCompletionV1ChatCompletionsPostRequest
*/
ChatCompletionV1ChatCompletionsPost(ctx context.Context) ApiChatCompletionV1ChatCompletionsPostRequest
// ChatCompletionV1ChatCompletionsPostExecute executes the request
// @return ChatCompletionResponse
ChatCompletionV1ChatCompletionsPostExecute(r ApiChatCompletionV1ChatCompletionsPostRequest) (*ChatCompletionResponse, *http.Response, error)
}
type ChatAPIService ¶
type ChatAPIService service
ChatAPIService ChatAPI service
func (*ChatAPIService) ChatCompletionV1ChatCompletionsPost ¶
func (a *ChatAPIService) ChatCompletionV1ChatCompletionsPost(ctx context.Context) ApiChatCompletionV1ChatCompletionsPostRequest
ChatCompletionV1ChatCompletionsPost Chat Completion
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiChatCompletionV1ChatCompletionsPostRequest
func (*ChatAPIService) ChatCompletionV1ChatCompletionsPostExecute ¶
func (a *ChatAPIService) ChatCompletionV1ChatCompletionsPostExecute(r ApiChatCompletionV1ChatCompletionsPostRequest) (*ChatCompletionResponse, *http.Response, error)
Execute executes the request
@return ChatCompletionResponse
type ChatClassificationRequest ¶
type ChatClassificationRequest struct {
Model string `json:"model"`
Input ChatClassificationRequestInputs `json:"input"`
}
ChatClassificationRequest struct for ChatClassificationRequest
func NewChatClassificationRequest ¶
func NewChatClassificationRequest(model string, input ChatClassificationRequestInputs) *ChatClassificationRequest
NewChatClassificationRequest instantiates a new ChatClassificationRequest 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 NewChatClassificationRequestWithDefaults ¶
func NewChatClassificationRequestWithDefaults() *ChatClassificationRequest
NewChatClassificationRequestWithDefaults instantiates a new ChatClassificationRequest 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 (*ChatClassificationRequest) GetInput ¶
func (o *ChatClassificationRequest) GetInput() ChatClassificationRequestInputs
GetInput returns the Input field value
func (*ChatClassificationRequest) GetInputOk ¶
func (o *ChatClassificationRequest) GetInputOk() (*ChatClassificationRequestInputs, bool)
GetInputOk returns a tuple with the Input field value and a boolean to check if the value has been set.
func (*ChatClassificationRequest) GetModel ¶
func (o *ChatClassificationRequest) GetModel() string
GetModel returns the Model field value
func (*ChatClassificationRequest) GetModelOk ¶
func (o *ChatClassificationRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (ChatClassificationRequest) MarshalJSON ¶
func (o ChatClassificationRequest) MarshalJSON() ([]byte, error)
func (*ChatClassificationRequest) SetInput ¶
func (o *ChatClassificationRequest) SetInput(v ChatClassificationRequestInputs)
SetInput sets field value
func (*ChatClassificationRequest) SetModel ¶
func (o *ChatClassificationRequest) SetModel(v string)
SetModel sets field value
func (ChatClassificationRequest) ToMap ¶
func (o ChatClassificationRequest) ToMap() (map[string]interface{}, error)
func (*ChatClassificationRequest) UnmarshalJSON ¶
func (o *ChatClassificationRequest) UnmarshalJSON(data []byte) (err error)
type ChatClassificationRequestInputs ¶
type ChatClassificationRequestInputs struct {
InstructRequest *InstructRequest
ArrayOfInstructRequest *[]InstructRequest
}
ChatClassificationRequestInputs Chat to classify
func (ChatClassificationRequestInputs) MarshalJSON ¶
func (src ChatClassificationRequestInputs) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ChatClassificationRequestInputs) UnmarshalJSON ¶
func (dst *ChatClassificationRequestInputs) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type ChatCompletionChoice ¶
type ChatCompletionChoice struct {
Index int32 `json:"index"`
Message AssistantMessage `json:"message"`
FinishReason string `json:"finish_reason"`
AdditionalProperties map[string]interface{}
}
ChatCompletionChoice struct for ChatCompletionChoice
func NewChatCompletionChoice ¶
func NewChatCompletionChoice(index int32, message AssistantMessage, finishReason string) *ChatCompletionChoice
NewChatCompletionChoice instantiates a new ChatCompletionChoice 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 NewChatCompletionChoiceWithDefaults ¶
func NewChatCompletionChoiceWithDefaults() *ChatCompletionChoice
NewChatCompletionChoiceWithDefaults instantiates a new ChatCompletionChoice 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 (*ChatCompletionChoice) GetFinishReason ¶
func (o *ChatCompletionChoice) GetFinishReason() string
GetFinishReason returns the FinishReason field value
func (*ChatCompletionChoice) GetFinishReasonOk ¶
func (o *ChatCompletionChoice) GetFinishReasonOk() (*string, bool)
GetFinishReasonOk returns a tuple with the FinishReason field value and a boolean to check if the value has been set.
func (*ChatCompletionChoice) GetIndex ¶
func (o *ChatCompletionChoice) GetIndex() int32
GetIndex returns the Index field value
func (*ChatCompletionChoice) GetIndexOk ¶
func (o *ChatCompletionChoice) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*ChatCompletionChoice) GetMessage ¶
func (o *ChatCompletionChoice) GetMessage() AssistantMessage
GetMessage returns the Message field value
func (*ChatCompletionChoice) GetMessageOk ¶
func (o *ChatCompletionChoice) GetMessageOk() (*AssistantMessage, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (ChatCompletionChoice) MarshalJSON ¶
func (o ChatCompletionChoice) MarshalJSON() ([]byte, error)
func (*ChatCompletionChoice) SetFinishReason ¶
func (o *ChatCompletionChoice) SetFinishReason(v string)
SetFinishReason sets field value
func (*ChatCompletionChoice) SetIndex ¶
func (o *ChatCompletionChoice) SetIndex(v int32)
SetIndex sets field value
func (*ChatCompletionChoice) SetMessage ¶
func (o *ChatCompletionChoice) SetMessage(v AssistantMessage)
SetMessage sets field value
func (ChatCompletionChoice) ToMap ¶
func (o ChatCompletionChoice) ToMap() (map[string]interface{}, error)
func (*ChatCompletionChoice) UnmarshalJSON ¶
func (o *ChatCompletionChoice) UnmarshalJSON(data []byte) (err error)
type ChatCompletionRequest ¶
type ChatCompletionRequest struct {
// ID of the model to use. You can use the [List Available Models](/api/#tag/models/operation/list_models_v1_models_get) API to see all of your available models, or see our [Model overview](/models) for model descriptions.
Model string `json:"model"`
Temperature NullableFloat32 `json:"temperature,omitempty"`
// Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both.
TopP *float32 `json:"top_p,omitempty"`
MaxTokens NullableInt32 `json:"max_tokens,omitempty"`
// Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
Stop *Stop `json:"stop,omitempty"`
RandomSeed NullableInt32 `json:"random_seed,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
// The prompt(s) to generate completions for, encoded as a list of dict with role and content.
Messages []MessagesInner `json:"messages"`
ResponseFormat *ResponseFormat `json:"response_format,omitempty"`
Tools []Tool `json:"tools,omitempty"`
ToolChoice *ToolChoiceEnum `json:"tool_choice,omitempty"`
// The `presence_penalty` determines how much the model penalizes the repetition of words or phrases. A higher presence penalty encourages the model to use a wider variety of words and phrases, making the output more diverse and creative.
PresencePenalty *float32 `json:"presence_penalty,omitempty"`
// The `frequency_penalty` penalizes the repetition of words based on their frequency in the generated text. A higher frequency penalty discourages the model from repeating words that have already appeared frequently in the output, promoting diversity and reducing repetition.
FrequencyPenalty *float32 `json:"frequency_penalty,omitempty"`
N NullableInt32 `json:"n,omitempty"`
// Enable users to specify expected results, optimizing response times by leveraging known or predictable content. This approach is especially effective for updating text documents or code files with minimal changes, reducing latency while maintaining high-quality results.
Prediction *Prediction `json:"prediction,omitempty"`
// Whether to enable parallel function calling during tool use, when enabled the model can call multiple tools in parallel.
ParallelToolCalls *bool `json:"parallel_tool_calls,omitempty"`
PromptMode NullableMistralPromptMode `json:"prompt_mode,omitempty"`
// Whether to inject a safety prompt before all conversations.
SafePrompt *bool `json:"safe_prompt,omitempty"`
AdditionalProperties map[string]interface{}
}
ChatCompletionRequest struct for ChatCompletionRequest
func NewChatCompletionRequest ¶
func NewChatCompletionRequest(model string, messages []MessagesInner) *ChatCompletionRequest
NewChatCompletionRequest instantiates a new ChatCompletionRequest 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 NewChatCompletionRequestWithDefaults ¶
func NewChatCompletionRequestWithDefaults() *ChatCompletionRequest
NewChatCompletionRequestWithDefaults instantiates a new ChatCompletionRequest 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 (*ChatCompletionRequest) GetFrequencyPenalty ¶
func (o *ChatCompletionRequest) GetFrequencyPenalty() float32
GetFrequencyPenalty returns the FrequencyPenalty field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetFrequencyPenaltyOk ¶
func (o *ChatCompletionRequest) GetFrequencyPenaltyOk() (*float32, bool)
GetFrequencyPenaltyOk returns a tuple with the FrequencyPenalty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetMaxTokens ¶
func (o *ChatCompletionRequest) GetMaxTokens() int32
GetMaxTokens returns the MaxTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChatCompletionRequest) GetMaxTokensOk ¶
func (o *ChatCompletionRequest) GetMaxTokensOk() (*int32, bool)
GetMaxTokensOk returns a tuple with the MaxTokens 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 (*ChatCompletionRequest) GetMessages ¶
func (o *ChatCompletionRequest) GetMessages() []MessagesInner
GetMessages returns the Messages field value
func (*ChatCompletionRequest) GetMessagesOk ¶
func (o *ChatCompletionRequest) GetMessagesOk() ([]MessagesInner, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetMetadata ¶ added in v0.15.0
func (o *ChatCompletionRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChatCompletionRequest) GetMetadataOk ¶ added in v0.15.0
func (o *ChatCompletionRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*ChatCompletionRequest) GetModel ¶
func (o *ChatCompletionRequest) GetModel() string
GetModel returns the Model field value
func (*ChatCompletionRequest) GetModelOk ¶
func (o *ChatCompletionRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetN ¶
func (o *ChatCompletionRequest) GetN() int32
GetN returns the N field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChatCompletionRequest) GetNOk ¶
func (o *ChatCompletionRequest) GetNOk() (*int32, bool)
GetNOk returns a tuple with the N 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 (*ChatCompletionRequest) GetParallelToolCalls ¶
func (o *ChatCompletionRequest) GetParallelToolCalls() bool
GetParallelToolCalls returns the ParallelToolCalls field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetParallelToolCallsOk ¶
func (o *ChatCompletionRequest) GetParallelToolCallsOk() (*bool, bool)
GetParallelToolCallsOk returns a tuple with the ParallelToolCalls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetPrediction ¶
func (o *ChatCompletionRequest) GetPrediction() Prediction
GetPrediction returns the Prediction field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetPredictionOk ¶
func (o *ChatCompletionRequest) GetPredictionOk() (*Prediction, bool)
GetPredictionOk returns a tuple with the Prediction field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetPresencePenalty ¶
func (o *ChatCompletionRequest) GetPresencePenalty() float32
GetPresencePenalty returns the PresencePenalty field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetPresencePenaltyOk ¶
func (o *ChatCompletionRequest) GetPresencePenaltyOk() (*float32, bool)
GetPresencePenaltyOk returns a tuple with the PresencePenalty field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetPromptMode ¶
func (o *ChatCompletionRequest) GetPromptMode() MistralPromptMode
GetPromptMode returns the PromptMode field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChatCompletionRequest) GetPromptModeOk ¶
func (o *ChatCompletionRequest) GetPromptModeOk() (*MistralPromptMode, bool)
GetPromptModeOk returns a tuple with the PromptMode 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 (*ChatCompletionRequest) GetRandomSeed ¶
func (o *ChatCompletionRequest) GetRandomSeed() int32
GetRandomSeed returns the RandomSeed field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChatCompletionRequest) GetRandomSeedOk ¶
func (o *ChatCompletionRequest) GetRandomSeedOk() (*int32, bool)
GetRandomSeedOk returns a tuple with the RandomSeed 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 (*ChatCompletionRequest) GetResponseFormat ¶
func (o *ChatCompletionRequest) GetResponseFormat() ResponseFormat
GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetResponseFormatOk ¶
func (o *ChatCompletionRequest) GetResponseFormatOk() (*ResponseFormat, bool)
GetResponseFormatOk returns a tuple with the ResponseFormat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetSafePrompt ¶
func (o *ChatCompletionRequest) GetSafePrompt() bool
GetSafePrompt returns the SafePrompt field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetSafePromptOk ¶
func (o *ChatCompletionRequest) GetSafePromptOk() (*bool, bool)
GetSafePromptOk returns a tuple with the SafePrompt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetStop ¶
func (o *ChatCompletionRequest) GetStop() Stop
GetStop returns the Stop field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetStopOk ¶
func (o *ChatCompletionRequest) GetStopOk() (*Stop, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetStream ¶
func (o *ChatCompletionRequest) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetStreamOk ¶
func (o *ChatCompletionRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetTemperature ¶
func (o *ChatCompletionRequest) GetTemperature() float32
GetTemperature returns the Temperature field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChatCompletionRequest) GetTemperatureOk ¶
func (o *ChatCompletionRequest) GetTemperatureOk() (*float32, bool)
GetTemperatureOk returns a tuple with the Temperature 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 (*ChatCompletionRequest) GetToolChoice ¶
func (o *ChatCompletionRequest) GetToolChoice() ToolChoiceEnum
GetToolChoice returns the ToolChoice field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetToolChoiceOk ¶
func (o *ChatCompletionRequest) GetToolChoiceOk() (*ToolChoiceEnum, bool)
GetToolChoiceOk returns a tuple with the ToolChoice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) GetTools ¶
func (o *ChatCompletionRequest) GetTools() []Tool
GetTools returns the Tools field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ChatCompletionRequest) GetToolsOk ¶
func (o *ChatCompletionRequest) GetToolsOk() ([]Tool, bool)
GetToolsOk returns a tuple with the Tools 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 (*ChatCompletionRequest) GetTopP ¶
func (o *ChatCompletionRequest) GetTopP() float32
GetTopP returns the TopP field value if set, zero value otherwise.
func (*ChatCompletionRequest) GetTopPOk ¶
func (o *ChatCompletionRequest) GetTopPOk() (*float32, bool)
GetTopPOk returns a tuple with the TopP field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionRequest) HasFrequencyPenalty ¶
func (o *ChatCompletionRequest) HasFrequencyPenalty() bool
HasFrequencyPenalty returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasMaxTokens ¶
func (o *ChatCompletionRequest) HasMaxTokens() bool
HasMaxTokens returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasMetadata ¶ added in v0.15.0
func (o *ChatCompletionRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasN ¶
func (o *ChatCompletionRequest) HasN() bool
HasN returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasParallelToolCalls ¶
func (o *ChatCompletionRequest) HasParallelToolCalls() bool
HasParallelToolCalls returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasPrediction ¶
func (o *ChatCompletionRequest) HasPrediction() bool
HasPrediction returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasPresencePenalty ¶
func (o *ChatCompletionRequest) HasPresencePenalty() bool
HasPresencePenalty returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasPromptMode ¶
func (o *ChatCompletionRequest) HasPromptMode() bool
HasPromptMode returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasRandomSeed ¶
func (o *ChatCompletionRequest) HasRandomSeed() bool
HasRandomSeed returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasResponseFormat ¶
func (o *ChatCompletionRequest) HasResponseFormat() bool
HasResponseFormat returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasSafePrompt ¶
func (o *ChatCompletionRequest) HasSafePrompt() bool
HasSafePrompt returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasStop ¶
func (o *ChatCompletionRequest) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasStream ¶
func (o *ChatCompletionRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasTemperature ¶
func (o *ChatCompletionRequest) HasTemperature() bool
HasTemperature returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasToolChoice ¶
func (o *ChatCompletionRequest) HasToolChoice() bool
HasToolChoice returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasTools ¶
func (o *ChatCompletionRequest) HasTools() bool
HasTools returns a boolean if a field has been set.
func (*ChatCompletionRequest) HasTopP ¶
func (o *ChatCompletionRequest) HasTopP() bool
HasTopP returns a boolean if a field has been set.
func (ChatCompletionRequest) MarshalJSON ¶
func (o ChatCompletionRequest) MarshalJSON() ([]byte, error)
func (*ChatCompletionRequest) SetFrequencyPenalty ¶
func (o *ChatCompletionRequest) SetFrequencyPenalty(v float32)
SetFrequencyPenalty gets a reference to the given float32 and assigns it to the FrequencyPenalty field.
func (*ChatCompletionRequest) SetMaxTokens ¶
func (o *ChatCompletionRequest) SetMaxTokens(v int32)
SetMaxTokens gets a reference to the given NullableInt32 and assigns it to the MaxTokens field.
func (*ChatCompletionRequest) SetMaxTokensNil ¶
func (o *ChatCompletionRequest) SetMaxTokensNil()
SetMaxTokensNil sets the value for MaxTokens to be an explicit nil
func (*ChatCompletionRequest) SetMessages ¶
func (o *ChatCompletionRequest) SetMessages(v []MessagesInner)
SetMessages sets field value
func (*ChatCompletionRequest) SetMetadata ¶ added in v0.15.0
func (o *ChatCompletionRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ChatCompletionRequest) SetModel ¶
func (o *ChatCompletionRequest) SetModel(v string)
SetModel sets field value
func (*ChatCompletionRequest) SetN ¶
func (o *ChatCompletionRequest) SetN(v int32)
SetN gets a reference to the given NullableInt32 and assigns it to the N field.
func (*ChatCompletionRequest) SetNNil ¶
func (o *ChatCompletionRequest) SetNNil()
SetNNil sets the value for N to be an explicit nil
func (*ChatCompletionRequest) SetParallelToolCalls ¶
func (o *ChatCompletionRequest) SetParallelToolCalls(v bool)
SetParallelToolCalls gets a reference to the given bool and assigns it to the ParallelToolCalls field.
func (*ChatCompletionRequest) SetPrediction ¶
func (o *ChatCompletionRequest) SetPrediction(v Prediction)
SetPrediction gets a reference to the given Prediction and assigns it to the Prediction field.
func (*ChatCompletionRequest) SetPresencePenalty ¶
func (o *ChatCompletionRequest) SetPresencePenalty(v float32)
SetPresencePenalty gets a reference to the given float32 and assigns it to the PresencePenalty field.
func (*ChatCompletionRequest) SetPromptMode ¶
func (o *ChatCompletionRequest) SetPromptMode(v MistralPromptMode)
SetPromptMode gets a reference to the given NullableMistralPromptMode and assigns it to the PromptMode field.
func (*ChatCompletionRequest) SetPromptModeNil ¶
func (o *ChatCompletionRequest) SetPromptModeNil()
SetPromptModeNil sets the value for PromptMode to be an explicit nil
func (*ChatCompletionRequest) SetRandomSeed ¶
func (o *ChatCompletionRequest) SetRandomSeed(v int32)
SetRandomSeed gets a reference to the given NullableInt32 and assigns it to the RandomSeed field.
func (*ChatCompletionRequest) SetRandomSeedNil ¶
func (o *ChatCompletionRequest) SetRandomSeedNil()
SetRandomSeedNil sets the value for RandomSeed to be an explicit nil
func (*ChatCompletionRequest) SetResponseFormat ¶
func (o *ChatCompletionRequest) SetResponseFormat(v ResponseFormat)
SetResponseFormat gets a reference to the given ResponseFormat and assigns it to the ResponseFormat field.
func (*ChatCompletionRequest) SetSafePrompt ¶
func (o *ChatCompletionRequest) SetSafePrompt(v bool)
SetSafePrompt gets a reference to the given bool and assigns it to the SafePrompt field.
func (*ChatCompletionRequest) SetStop ¶
func (o *ChatCompletionRequest) SetStop(v Stop)
SetStop gets a reference to the given Stop and assigns it to the Stop field.
func (*ChatCompletionRequest) SetStream ¶
func (o *ChatCompletionRequest) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (*ChatCompletionRequest) SetTemperature ¶
func (o *ChatCompletionRequest) SetTemperature(v float32)
SetTemperature gets a reference to the given NullableFloat32 and assigns it to the Temperature field.
func (*ChatCompletionRequest) SetTemperatureNil ¶
func (o *ChatCompletionRequest) SetTemperatureNil()
SetTemperatureNil sets the value for Temperature to be an explicit nil
func (*ChatCompletionRequest) SetToolChoice ¶
func (o *ChatCompletionRequest) SetToolChoice(v ToolChoiceEnum)
SetToolChoice gets a reference to the given ToolChoiceEnum and assigns it to the ToolChoice field.
func (*ChatCompletionRequest) SetTools ¶
func (o *ChatCompletionRequest) SetTools(v []Tool)
SetTools gets a reference to the given []Tool and assigns it to the Tools field.
func (*ChatCompletionRequest) SetTopP ¶
func (o *ChatCompletionRequest) SetTopP(v float32)
SetTopP gets a reference to the given float32 and assigns it to the TopP field.
func (ChatCompletionRequest) ToMap ¶
func (o ChatCompletionRequest) ToMap() (map[string]interface{}, error)
func (*ChatCompletionRequest) UnmarshalJSON ¶
func (o *ChatCompletionRequest) UnmarshalJSON(data []byte) (err error)
func (*ChatCompletionRequest) UnsetMaxTokens ¶
func (o *ChatCompletionRequest) UnsetMaxTokens()
UnsetMaxTokens ensures that no value is present for MaxTokens, not even an explicit nil
func (*ChatCompletionRequest) UnsetN ¶
func (o *ChatCompletionRequest) UnsetN()
UnsetN ensures that no value is present for N, not even an explicit nil
func (*ChatCompletionRequest) UnsetPromptMode ¶
func (o *ChatCompletionRequest) UnsetPromptMode()
UnsetPromptMode ensures that no value is present for PromptMode, not even an explicit nil
func (*ChatCompletionRequest) UnsetRandomSeed ¶
func (o *ChatCompletionRequest) UnsetRandomSeed()
UnsetRandomSeed ensures that no value is present for RandomSeed, not even an explicit nil
func (*ChatCompletionRequest) UnsetTemperature ¶
func (o *ChatCompletionRequest) UnsetTemperature()
UnsetTemperature ensures that no value is present for Temperature, not even an explicit nil
type ChatCompletionResponse ¶
type ChatCompletionResponse struct {
Id *string `json:"id,omitempty"`
Object *string `json:"object,omitempty"`
Model *string `json:"model,omitempty"`
Usage *UsageInfo `json:"usage,omitempty"`
Created *int32 `json:"created,omitempty"`
Choices []ChatCompletionChoice `json:"choices"`
AdditionalProperties map[string]interface{}
}
ChatCompletionResponse struct for ChatCompletionResponse
func NewChatCompletionResponse ¶
func NewChatCompletionResponse(choices []ChatCompletionChoice) *ChatCompletionResponse
NewChatCompletionResponse instantiates a new ChatCompletionResponse 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 NewChatCompletionResponseWithDefaults ¶
func NewChatCompletionResponseWithDefaults() *ChatCompletionResponse
NewChatCompletionResponseWithDefaults instantiates a new ChatCompletionResponse 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 (*ChatCompletionResponse) GetChoices ¶
func (o *ChatCompletionResponse) GetChoices() []ChatCompletionChoice
GetChoices returns the Choices field value
func (*ChatCompletionResponse) GetChoicesOk ¶
func (o *ChatCompletionResponse) GetChoicesOk() ([]ChatCompletionChoice, bool)
GetChoicesOk returns a tuple with the Choices field value and a boolean to check if the value has been set.
func (*ChatCompletionResponse) GetCreated ¶
func (o *ChatCompletionResponse) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*ChatCompletionResponse) GetCreatedOk ¶
func (o *ChatCompletionResponse) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionResponse) GetId ¶
func (o *ChatCompletionResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ChatCompletionResponse) GetIdOk ¶
func (o *ChatCompletionResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionResponse) GetModel ¶
func (o *ChatCompletionResponse) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*ChatCompletionResponse) GetModelOk ¶
func (o *ChatCompletionResponse) 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.
func (*ChatCompletionResponse) GetObject ¶
func (o *ChatCompletionResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ChatCompletionResponse) GetObjectOk ¶
func (o *ChatCompletionResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionResponse) GetUsage ¶
func (o *ChatCompletionResponse) GetUsage() UsageInfo
GetUsage returns the Usage field value if set, zero value otherwise.
func (*ChatCompletionResponse) GetUsageOk ¶
func (o *ChatCompletionResponse) GetUsageOk() (*UsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionResponse) HasCreated ¶
func (o *ChatCompletionResponse) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*ChatCompletionResponse) HasId ¶
func (o *ChatCompletionResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*ChatCompletionResponse) HasModel ¶
func (o *ChatCompletionResponse) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*ChatCompletionResponse) HasObject ¶
func (o *ChatCompletionResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ChatCompletionResponse) HasUsage ¶
func (o *ChatCompletionResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (ChatCompletionResponse) MarshalJSON ¶
func (o ChatCompletionResponse) MarshalJSON() ([]byte, error)
func (*ChatCompletionResponse) SetChoices ¶
func (o *ChatCompletionResponse) SetChoices(v []ChatCompletionChoice)
SetChoices sets field value
func (*ChatCompletionResponse) SetCreated ¶
func (o *ChatCompletionResponse) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*ChatCompletionResponse) SetId ¶
func (o *ChatCompletionResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ChatCompletionResponse) SetModel ¶
func (o *ChatCompletionResponse) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*ChatCompletionResponse) SetObject ¶
func (o *ChatCompletionResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ChatCompletionResponse) SetUsage ¶
func (o *ChatCompletionResponse) SetUsage(v UsageInfo)
SetUsage gets a reference to the given UsageInfo and assigns it to the Usage field.
func (ChatCompletionResponse) ToMap ¶
func (o ChatCompletionResponse) ToMap() (map[string]interface{}, error)
func (*ChatCompletionResponse) UnmarshalJSON ¶
func (o *ChatCompletionResponse) UnmarshalJSON(data []byte) (err error)
type ChatCompletionResponseBase ¶
type ChatCompletionResponseBase struct {
Id *string `json:"id,omitempty"`
Object *string `json:"object,omitempty"`
Model *string `json:"model,omitempty"`
Usage *UsageInfo `json:"usage,omitempty"`
Created *int32 `json:"created,omitempty"`
AdditionalProperties map[string]interface{}
}
ChatCompletionResponseBase struct for ChatCompletionResponseBase
func NewChatCompletionResponseBase ¶
func NewChatCompletionResponseBase() *ChatCompletionResponseBase
NewChatCompletionResponseBase instantiates a new ChatCompletionResponseBase 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 NewChatCompletionResponseBaseWithDefaults ¶
func NewChatCompletionResponseBaseWithDefaults() *ChatCompletionResponseBase
NewChatCompletionResponseBaseWithDefaults instantiates a new ChatCompletionResponseBase 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 (*ChatCompletionResponseBase) GetCreated ¶
func (o *ChatCompletionResponseBase) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*ChatCompletionResponseBase) GetCreatedOk ¶
func (o *ChatCompletionResponseBase) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionResponseBase) GetId ¶
func (o *ChatCompletionResponseBase) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ChatCompletionResponseBase) GetIdOk ¶
func (o *ChatCompletionResponseBase) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionResponseBase) GetModel ¶
func (o *ChatCompletionResponseBase) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*ChatCompletionResponseBase) GetModelOk ¶
func (o *ChatCompletionResponseBase) 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.
func (*ChatCompletionResponseBase) GetObject ¶
func (o *ChatCompletionResponseBase) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ChatCompletionResponseBase) GetObjectOk ¶
func (o *ChatCompletionResponseBase) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionResponseBase) GetUsage ¶
func (o *ChatCompletionResponseBase) GetUsage() UsageInfo
GetUsage returns the Usage field value if set, zero value otherwise.
func (*ChatCompletionResponseBase) GetUsageOk ¶
func (o *ChatCompletionResponseBase) GetUsageOk() (*UsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ChatCompletionResponseBase) HasCreated ¶
func (o *ChatCompletionResponseBase) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*ChatCompletionResponseBase) HasId ¶
func (o *ChatCompletionResponseBase) HasId() bool
HasId returns a boolean if a field has been set.
func (*ChatCompletionResponseBase) HasModel ¶
func (o *ChatCompletionResponseBase) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*ChatCompletionResponseBase) HasObject ¶
func (o *ChatCompletionResponseBase) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ChatCompletionResponseBase) HasUsage ¶
func (o *ChatCompletionResponseBase) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (ChatCompletionResponseBase) MarshalJSON ¶
func (o ChatCompletionResponseBase) MarshalJSON() ([]byte, error)
func (*ChatCompletionResponseBase) SetCreated ¶
func (o *ChatCompletionResponseBase) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*ChatCompletionResponseBase) SetId ¶
func (o *ChatCompletionResponseBase) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ChatCompletionResponseBase) SetModel ¶
func (o *ChatCompletionResponseBase) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*ChatCompletionResponseBase) SetObject ¶
func (o *ChatCompletionResponseBase) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ChatCompletionResponseBase) SetUsage ¶
func (o *ChatCompletionResponseBase) SetUsage(v UsageInfo)
SetUsage gets a reference to the given UsageInfo and assigns it to the Usage field.
func (ChatCompletionResponseBase) ToMap ¶
func (o ChatCompletionResponseBase) ToMap() (map[string]interface{}, error)
func (*ChatCompletionResponseBase) UnmarshalJSON ¶
func (o *ChatCompletionResponseBase) UnmarshalJSON(data []byte) (err error)
type ChatModerationRequest ¶
ChatModerationRequest struct for ChatModerationRequest
func NewChatModerationRequest ¶
func NewChatModerationRequest(input Input, model string) *ChatModerationRequest
NewChatModerationRequest instantiates a new ChatModerationRequest 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 NewChatModerationRequestWithDefaults ¶
func NewChatModerationRequestWithDefaults() *ChatModerationRequest
NewChatModerationRequestWithDefaults instantiates a new ChatModerationRequest 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 (*ChatModerationRequest) GetInput ¶
func (o *ChatModerationRequest) GetInput() Input
GetInput returns the Input field value
func (*ChatModerationRequest) GetInputOk ¶
func (o *ChatModerationRequest) GetInputOk() (*Input, bool)
GetInputOk returns a tuple with the Input field value and a boolean to check if the value has been set.
func (*ChatModerationRequest) GetModel ¶
func (o *ChatModerationRequest) GetModel() string
GetModel returns the Model field value
func (*ChatModerationRequest) GetModelOk ¶
func (o *ChatModerationRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (ChatModerationRequest) MarshalJSON ¶
func (o ChatModerationRequest) MarshalJSON() ([]byte, error)
func (*ChatModerationRequest) SetInput ¶
func (o *ChatModerationRequest) SetInput(v Input)
SetInput sets field value
func (*ChatModerationRequest) SetModel ¶
func (o *ChatModerationRequest) SetModel(v string)
SetModel sets field value
func (ChatModerationRequest) ToMap ¶
func (o ChatModerationRequest) ToMap() (map[string]interface{}, error)
func (*ChatModerationRequest) UnmarshalJSON ¶
func (o *ChatModerationRequest) UnmarshalJSON(data []byte) (err error)
type CheckpointOut ¶
type CheckpointOut struct {
Metrics MetricOut `json:"metrics"`
// The step number that the checkpoint was created at.
StepNumber int32 `json:"step_number"`
// The UNIX timestamp (in seconds) for when the checkpoint was created.
CreatedAt int32 `json:"created_at"`
AdditionalProperties map[string]interface{}
}
CheckpointOut struct for CheckpointOut
func NewCheckpointOut ¶
func NewCheckpointOut(metrics MetricOut, stepNumber int32, createdAt int32) *CheckpointOut
NewCheckpointOut instantiates a new CheckpointOut 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 NewCheckpointOutWithDefaults ¶
func NewCheckpointOutWithDefaults() *CheckpointOut
NewCheckpointOutWithDefaults instantiates a new CheckpointOut 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 (*CheckpointOut) GetCreatedAt ¶
func (o *CheckpointOut) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field value
func (*CheckpointOut) GetCreatedAtOk ¶
func (o *CheckpointOut) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CheckpointOut) GetMetrics ¶
func (o *CheckpointOut) GetMetrics() MetricOut
GetMetrics returns the Metrics field value
func (*CheckpointOut) GetMetricsOk ¶
func (o *CheckpointOut) GetMetricsOk() (*MetricOut, bool)
GetMetricsOk returns a tuple with the Metrics field value and a boolean to check if the value has been set.
func (*CheckpointOut) GetStepNumber ¶
func (o *CheckpointOut) GetStepNumber() int32
GetStepNumber returns the StepNumber field value
func (*CheckpointOut) GetStepNumberOk ¶
func (o *CheckpointOut) GetStepNumberOk() (*int32, bool)
GetStepNumberOk returns a tuple with the StepNumber field value and a boolean to check if the value has been set.
func (CheckpointOut) MarshalJSON ¶
func (o CheckpointOut) MarshalJSON() ([]byte, error)
func (*CheckpointOut) SetCreatedAt ¶
func (o *CheckpointOut) SetCreatedAt(v int32)
SetCreatedAt sets field value
func (*CheckpointOut) SetMetrics ¶
func (o *CheckpointOut) SetMetrics(v MetricOut)
SetMetrics sets field value
func (*CheckpointOut) SetStepNumber ¶
func (o *CheckpointOut) SetStepNumber(v int32)
SetStepNumber sets field value
func (CheckpointOut) ToMap ¶
func (o CheckpointOut) ToMap() (map[string]interface{}, error)
func (*CheckpointOut) UnmarshalJSON ¶
func (o *CheckpointOut) UnmarshalJSON(data []byte) (err error)
type ClassificationRequest ¶
type ClassificationRequest struct {
// ID of the model to use.
Model string `json:"model"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Input Input1 `json:"input"`
}
ClassificationRequest struct for ClassificationRequest
func NewClassificationRequest ¶
func NewClassificationRequest(model string, input Input1) *ClassificationRequest
NewClassificationRequest instantiates a new ClassificationRequest 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 NewClassificationRequestWithDefaults ¶
func NewClassificationRequestWithDefaults() *ClassificationRequest
NewClassificationRequestWithDefaults instantiates a new ClassificationRequest 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 (*ClassificationRequest) GetInput ¶
func (o *ClassificationRequest) GetInput() Input1
GetInput returns the Input field value
func (*ClassificationRequest) GetInputOk ¶
func (o *ClassificationRequest) GetInputOk() (*Input1, bool)
GetInputOk returns a tuple with the Input field value and a boolean to check if the value has been set.
func (*ClassificationRequest) GetMetadata ¶ added in v0.15.0
func (o *ClassificationRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassificationRequest) GetMetadataOk ¶ added in v0.15.0
func (o *ClassificationRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*ClassificationRequest) GetModel ¶
func (o *ClassificationRequest) GetModel() string
GetModel returns the Model field value
func (*ClassificationRequest) GetModelOk ¶
func (o *ClassificationRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*ClassificationRequest) HasMetadata ¶ added in v0.15.0
func (o *ClassificationRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (ClassificationRequest) MarshalJSON ¶
func (o ClassificationRequest) MarshalJSON() ([]byte, error)
func (*ClassificationRequest) SetInput ¶
func (o *ClassificationRequest) SetInput(v Input1)
SetInput sets field value
func (*ClassificationRequest) SetMetadata ¶ added in v0.15.0
func (o *ClassificationRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ClassificationRequest) SetModel ¶
func (o *ClassificationRequest) SetModel(v string)
SetModel sets field value
func (ClassificationRequest) ToMap ¶
func (o ClassificationRequest) ToMap() (map[string]interface{}, error)
func (*ClassificationRequest) UnmarshalJSON ¶
func (o *ClassificationRequest) UnmarshalJSON(data []byte) (err error)
type ClassificationResponse ¶
type ClassificationResponse struct {
Id string `json:"id"`
Model string `json:"model"`
Results []map[string]ClassificationTargetResult `json:"results"`
AdditionalProperties map[string]interface{}
}
ClassificationResponse struct for ClassificationResponse
func NewClassificationResponse ¶
func NewClassificationResponse(id string, model string, results []map[string]ClassificationTargetResult) *ClassificationResponse
NewClassificationResponse instantiates a new ClassificationResponse 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 NewClassificationResponseWithDefaults ¶
func NewClassificationResponseWithDefaults() *ClassificationResponse
NewClassificationResponseWithDefaults instantiates a new ClassificationResponse 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 (*ClassificationResponse) GetId ¶
func (o *ClassificationResponse) GetId() string
GetId returns the Id field value
func (*ClassificationResponse) GetIdOk ¶
func (o *ClassificationResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ClassificationResponse) GetModel ¶
func (o *ClassificationResponse) GetModel() string
GetModel returns the Model field value
func (*ClassificationResponse) GetModelOk ¶
func (o *ClassificationResponse) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*ClassificationResponse) GetResults ¶
func (o *ClassificationResponse) GetResults() []map[string]ClassificationTargetResult
GetResults returns the Results field value
func (*ClassificationResponse) GetResultsOk ¶
func (o *ClassificationResponse) GetResultsOk() ([]map[string]ClassificationTargetResult, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (ClassificationResponse) MarshalJSON ¶
func (o ClassificationResponse) MarshalJSON() ([]byte, error)
func (*ClassificationResponse) SetId ¶
func (o *ClassificationResponse) SetId(v string)
SetId sets field value
func (*ClassificationResponse) SetModel ¶
func (o *ClassificationResponse) SetModel(v string)
SetModel sets field value
func (*ClassificationResponse) SetResults ¶
func (o *ClassificationResponse) SetResults(v []map[string]ClassificationTargetResult)
SetResults sets field value
func (ClassificationResponse) ToMap ¶
func (o ClassificationResponse) ToMap() (map[string]interface{}, error)
func (*ClassificationResponse) UnmarshalJSON ¶
func (o *ClassificationResponse) UnmarshalJSON(data []byte) (err error)
type ClassificationTargetResult ¶
type ClassificationTargetResult struct {
Scores map[string]float32 `json:"scores"`
AdditionalProperties map[string]interface{}
}
ClassificationTargetResult struct for ClassificationTargetResult
func NewClassificationTargetResult ¶
func NewClassificationTargetResult(scores map[string]float32) *ClassificationTargetResult
NewClassificationTargetResult instantiates a new ClassificationTargetResult 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 NewClassificationTargetResultWithDefaults ¶
func NewClassificationTargetResultWithDefaults() *ClassificationTargetResult
NewClassificationTargetResultWithDefaults instantiates a new ClassificationTargetResult 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 (*ClassificationTargetResult) GetScores ¶
func (o *ClassificationTargetResult) GetScores() map[string]float32
GetScores returns the Scores field value
func (*ClassificationTargetResult) GetScoresOk ¶
func (o *ClassificationTargetResult) GetScoresOk() (map[string]float32, bool)
GetScoresOk returns a tuple with the Scores field value and a boolean to check if the value has been set.
func (ClassificationTargetResult) MarshalJSON ¶
func (o ClassificationTargetResult) MarshalJSON() ([]byte, error)
func (*ClassificationTargetResult) SetScores ¶
func (o *ClassificationTargetResult) SetScores(v map[string]float32)
SetScores sets field value
func (ClassificationTargetResult) ToMap ¶
func (o ClassificationTargetResult) ToMap() (map[string]interface{}, error)
func (*ClassificationTargetResult) UnmarshalJSON ¶
func (o *ClassificationTargetResult) UnmarshalJSON(data []byte) (err error)
type ClassifierDetailedJobOut ¶
type ClassifierDetailedJobOut struct {
Id string `json:"id"`
AutoStart bool `json:"auto_start"`
Model FineTuneableModel `json:"model"`
Status string `json:"status"`
CreatedAt int32 `json:"created_at"`
ModifiedAt int32 `json:"modified_at"`
TrainingFiles []string `json:"training_files"`
ValidationFiles []string `json:"validation_files,omitempty"`
Object *string `json:"object,omitempty"`
FineTunedModel NullableString `json:"fine_tuned_model,omitempty"`
Suffix NullableString `json:"suffix,omitempty"`
Integrations []WandbIntegrationOut `json:"integrations,omitempty"`
TrainedTokens NullableInt32 `json:"trained_tokens,omitempty"`
Metadata NullableJobMetadataOut `json:"metadata,omitempty"`
JobType *string `json:"job_type,omitempty"`
Hyperparameters ClassifierTrainingParameters `json:"hyperparameters"`
// Event items are created every time the status of a fine-tuning job changes. The timestamped list of all events is accessible here.
Events []EventOut `json:"events,omitempty"`
Checkpoints []CheckpointOut `json:"checkpoints,omitempty"`
ClassifierTargets []ClassifierTargetOut `json:"classifier_targets"`
AdditionalProperties map[string]interface{}
}
ClassifierDetailedJobOut struct for ClassifierDetailedJobOut
func NewClassifierDetailedJobOut ¶
func NewClassifierDetailedJobOut(id string, autoStart bool, model FineTuneableModel, status string, createdAt int32, modifiedAt int32, trainingFiles []string, hyperparameters ClassifierTrainingParameters, classifierTargets []ClassifierTargetOut) *ClassifierDetailedJobOut
NewClassifierDetailedJobOut instantiates a new ClassifierDetailedJobOut 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 NewClassifierDetailedJobOutWithDefaults ¶
func NewClassifierDetailedJobOutWithDefaults() *ClassifierDetailedJobOut
NewClassifierDetailedJobOutWithDefaults instantiates a new ClassifierDetailedJobOut 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 (*ClassifierDetailedJobOut) GetAutoStart ¶
func (o *ClassifierDetailedJobOut) GetAutoStart() bool
GetAutoStart returns the AutoStart field value
func (*ClassifierDetailedJobOut) GetAutoStartOk ¶
func (o *ClassifierDetailedJobOut) GetAutoStartOk() (*bool, bool)
GetAutoStartOk returns a tuple with the AutoStart field value and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetCheckpoints ¶
func (o *ClassifierDetailedJobOut) GetCheckpoints() []CheckpointOut
GetCheckpoints returns the Checkpoints field value if set, zero value otherwise.
func (*ClassifierDetailedJobOut) GetCheckpointsOk ¶
func (o *ClassifierDetailedJobOut) GetCheckpointsOk() ([]CheckpointOut, bool)
GetCheckpointsOk returns a tuple with the Checkpoints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetClassifierTargets ¶
func (o *ClassifierDetailedJobOut) GetClassifierTargets() []ClassifierTargetOut
GetClassifierTargets returns the ClassifierTargets field value
func (*ClassifierDetailedJobOut) GetClassifierTargetsOk ¶
func (o *ClassifierDetailedJobOut) GetClassifierTargetsOk() ([]ClassifierTargetOut, bool)
GetClassifierTargetsOk returns a tuple with the ClassifierTargets field value and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetCreatedAt ¶
func (o *ClassifierDetailedJobOut) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field value
func (*ClassifierDetailedJobOut) GetCreatedAtOk ¶
func (o *ClassifierDetailedJobOut) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetEvents ¶
func (o *ClassifierDetailedJobOut) GetEvents() []EventOut
GetEvents returns the Events field value if set, zero value otherwise.
func (*ClassifierDetailedJobOut) GetEventsOk ¶
func (o *ClassifierDetailedJobOut) GetEventsOk() ([]EventOut, bool)
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetFineTunedModel ¶
func (o *ClassifierDetailedJobOut) GetFineTunedModel() string
GetFineTunedModel returns the FineTunedModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierDetailedJobOut) GetFineTunedModelOk ¶
func (o *ClassifierDetailedJobOut) GetFineTunedModelOk() (*string, bool)
GetFineTunedModelOk returns a tuple with the FineTunedModel 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 (*ClassifierDetailedJobOut) GetHyperparameters ¶
func (o *ClassifierDetailedJobOut) GetHyperparameters() ClassifierTrainingParameters
GetHyperparameters returns the Hyperparameters field value
func (*ClassifierDetailedJobOut) GetHyperparametersOk ¶
func (o *ClassifierDetailedJobOut) GetHyperparametersOk() (*ClassifierTrainingParameters, bool)
GetHyperparametersOk returns a tuple with the Hyperparameters field value and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetId ¶
func (o *ClassifierDetailedJobOut) GetId() string
GetId returns the Id field value
func (*ClassifierDetailedJobOut) GetIdOk ¶
func (o *ClassifierDetailedJobOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetIntegrations ¶
func (o *ClassifierDetailedJobOut) GetIntegrations() []WandbIntegrationOut
GetIntegrations returns the Integrations field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierDetailedJobOut) GetIntegrationsOk ¶
func (o *ClassifierDetailedJobOut) GetIntegrationsOk() ([]WandbIntegrationOut, bool)
GetIntegrationsOk returns a tuple with the Integrations 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 (*ClassifierDetailedJobOut) GetJobType ¶
func (o *ClassifierDetailedJobOut) GetJobType() string
GetJobType returns the JobType field value if set, zero value otherwise.
func (*ClassifierDetailedJobOut) GetJobTypeOk ¶
func (o *ClassifierDetailedJobOut) GetJobTypeOk() (*string, bool)
GetJobTypeOk returns a tuple with the JobType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetMetadata ¶
func (o *ClassifierDetailedJobOut) GetMetadata() JobMetadataOut
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierDetailedJobOut) GetMetadataOk ¶
func (o *ClassifierDetailedJobOut) GetMetadataOk() (*JobMetadataOut, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*ClassifierDetailedJobOut) GetModel ¶
func (o *ClassifierDetailedJobOut) GetModel() FineTuneableModel
GetModel returns the Model field value
func (*ClassifierDetailedJobOut) GetModelOk ¶
func (o *ClassifierDetailedJobOut) GetModelOk() (*FineTuneableModel, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetModifiedAt ¶
func (o *ClassifierDetailedJobOut) GetModifiedAt() int32
GetModifiedAt returns the ModifiedAt field value
func (*ClassifierDetailedJobOut) GetModifiedAtOk ¶
func (o *ClassifierDetailedJobOut) GetModifiedAtOk() (*int32, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetObject ¶
func (o *ClassifierDetailedJobOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ClassifierDetailedJobOut) GetObjectOk ¶
func (o *ClassifierDetailedJobOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetStatus ¶
func (o *ClassifierDetailedJobOut) GetStatus() string
GetStatus returns the Status field value
func (*ClassifierDetailedJobOut) GetStatusOk ¶
func (o *ClassifierDetailedJobOut) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetSuffix ¶
func (o *ClassifierDetailedJobOut) GetSuffix() string
GetSuffix returns the Suffix field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierDetailedJobOut) GetSuffixOk ¶
func (o *ClassifierDetailedJobOut) GetSuffixOk() (*string, bool)
GetSuffixOk returns a tuple with the Suffix 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 (*ClassifierDetailedJobOut) GetTrainedTokens ¶
func (o *ClassifierDetailedJobOut) GetTrainedTokens() int32
GetTrainedTokens returns the TrainedTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierDetailedJobOut) GetTrainedTokensOk ¶
func (o *ClassifierDetailedJobOut) GetTrainedTokensOk() (*int32, bool)
GetTrainedTokensOk returns a tuple with the TrainedTokens 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 (*ClassifierDetailedJobOut) GetTrainingFiles ¶
func (o *ClassifierDetailedJobOut) GetTrainingFiles() []string
GetTrainingFiles returns the TrainingFiles field value
func (*ClassifierDetailedJobOut) GetTrainingFilesOk ¶
func (o *ClassifierDetailedJobOut) GetTrainingFilesOk() ([]string, bool)
GetTrainingFilesOk returns a tuple with the TrainingFiles field value and a boolean to check if the value has been set.
func (*ClassifierDetailedJobOut) GetValidationFiles ¶
func (o *ClassifierDetailedJobOut) GetValidationFiles() []string
GetValidationFiles returns the ValidationFiles field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierDetailedJobOut) GetValidationFilesOk ¶
func (o *ClassifierDetailedJobOut) GetValidationFilesOk() ([]string, bool)
GetValidationFilesOk returns a tuple with the ValidationFiles 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 (*ClassifierDetailedJobOut) HasCheckpoints ¶
func (o *ClassifierDetailedJobOut) HasCheckpoints() bool
HasCheckpoints returns a boolean if a field has been set.
func (*ClassifierDetailedJobOut) HasEvents ¶
func (o *ClassifierDetailedJobOut) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (*ClassifierDetailedJobOut) HasFineTunedModel ¶
func (o *ClassifierDetailedJobOut) HasFineTunedModel() bool
HasFineTunedModel returns a boolean if a field has been set.
func (*ClassifierDetailedJobOut) HasIntegrations ¶
func (o *ClassifierDetailedJobOut) HasIntegrations() bool
HasIntegrations returns a boolean if a field has been set.
func (*ClassifierDetailedJobOut) HasJobType ¶
func (o *ClassifierDetailedJobOut) HasJobType() bool
HasJobType returns a boolean if a field has been set.
func (*ClassifierDetailedJobOut) HasMetadata ¶
func (o *ClassifierDetailedJobOut) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ClassifierDetailedJobOut) HasObject ¶
func (o *ClassifierDetailedJobOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ClassifierDetailedJobOut) HasSuffix ¶
func (o *ClassifierDetailedJobOut) HasSuffix() bool
HasSuffix returns a boolean if a field has been set.
func (*ClassifierDetailedJobOut) HasTrainedTokens ¶
func (o *ClassifierDetailedJobOut) HasTrainedTokens() bool
HasTrainedTokens returns a boolean if a field has been set.
func (*ClassifierDetailedJobOut) HasValidationFiles ¶
func (o *ClassifierDetailedJobOut) HasValidationFiles() bool
HasValidationFiles returns a boolean if a field has been set.
func (ClassifierDetailedJobOut) MarshalJSON ¶
func (o ClassifierDetailedJobOut) MarshalJSON() ([]byte, error)
func (*ClassifierDetailedJobOut) SetAutoStart ¶
func (o *ClassifierDetailedJobOut) SetAutoStart(v bool)
SetAutoStart sets field value
func (*ClassifierDetailedJobOut) SetCheckpoints ¶
func (o *ClassifierDetailedJobOut) SetCheckpoints(v []CheckpointOut)
SetCheckpoints gets a reference to the given []CheckpointOut and assigns it to the Checkpoints field.
func (*ClassifierDetailedJobOut) SetClassifierTargets ¶
func (o *ClassifierDetailedJobOut) SetClassifierTargets(v []ClassifierTargetOut)
SetClassifierTargets sets field value
func (*ClassifierDetailedJobOut) SetCreatedAt ¶
func (o *ClassifierDetailedJobOut) SetCreatedAt(v int32)
SetCreatedAt sets field value
func (*ClassifierDetailedJobOut) SetEvents ¶
func (o *ClassifierDetailedJobOut) SetEvents(v []EventOut)
SetEvents gets a reference to the given []EventOut and assigns it to the Events field.
func (*ClassifierDetailedJobOut) SetFineTunedModel ¶
func (o *ClassifierDetailedJobOut) SetFineTunedModel(v string)
SetFineTunedModel gets a reference to the given NullableString and assigns it to the FineTunedModel field.
func (*ClassifierDetailedJobOut) SetFineTunedModelNil ¶
func (o *ClassifierDetailedJobOut) SetFineTunedModelNil()
SetFineTunedModelNil sets the value for FineTunedModel to be an explicit nil
func (*ClassifierDetailedJobOut) SetHyperparameters ¶
func (o *ClassifierDetailedJobOut) SetHyperparameters(v ClassifierTrainingParameters)
SetHyperparameters sets field value
func (*ClassifierDetailedJobOut) SetId ¶
func (o *ClassifierDetailedJobOut) SetId(v string)
SetId sets field value
func (*ClassifierDetailedJobOut) SetIntegrations ¶
func (o *ClassifierDetailedJobOut) SetIntegrations(v []WandbIntegrationOut)
SetIntegrations gets a reference to the given []WandbIntegrationOut and assigns it to the Integrations field.
func (*ClassifierDetailedJobOut) SetJobType ¶
func (o *ClassifierDetailedJobOut) SetJobType(v string)
SetJobType gets a reference to the given string and assigns it to the JobType field.
func (*ClassifierDetailedJobOut) SetMetadata ¶
func (o *ClassifierDetailedJobOut) SetMetadata(v JobMetadataOut)
SetMetadata gets a reference to the given NullableJobMetadataOut and assigns it to the Metadata field.
func (*ClassifierDetailedJobOut) SetMetadataNil ¶
func (o *ClassifierDetailedJobOut) SetMetadataNil()
SetMetadataNil sets the value for Metadata to be an explicit nil
func (*ClassifierDetailedJobOut) SetModel ¶
func (o *ClassifierDetailedJobOut) SetModel(v FineTuneableModel)
SetModel sets field value
func (*ClassifierDetailedJobOut) SetModifiedAt ¶
func (o *ClassifierDetailedJobOut) SetModifiedAt(v int32)
SetModifiedAt sets field value
func (*ClassifierDetailedJobOut) SetObject ¶
func (o *ClassifierDetailedJobOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ClassifierDetailedJobOut) SetStatus ¶
func (o *ClassifierDetailedJobOut) SetStatus(v string)
SetStatus sets field value
func (*ClassifierDetailedJobOut) SetSuffix ¶
func (o *ClassifierDetailedJobOut) SetSuffix(v string)
SetSuffix gets a reference to the given NullableString and assigns it to the Suffix field.
func (*ClassifierDetailedJobOut) SetSuffixNil ¶
func (o *ClassifierDetailedJobOut) SetSuffixNil()
SetSuffixNil sets the value for Suffix to be an explicit nil
func (*ClassifierDetailedJobOut) SetTrainedTokens ¶
func (o *ClassifierDetailedJobOut) SetTrainedTokens(v int32)
SetTrainedTokens gets a reference to the given NullableInt32 and assigns it to the TrainedTokens field.
func (*ClassifierDetailedJobOut) SetTrainedTokensNil ¶
func (o *ClassifierDetailedJobOut) SetTrainedTokensNil()
SetTrainedTokensNil sets the value for TrainedTokens to be an explicit nil
func (*ClassifierDetailedJobOut) SetTrainingFiles ¶
func (o *ClassifierDetailedJobOut) SetTrainingFiles(v []string)
SetTrainingFiles sets field value
func (*ClassifierDetailedJobOut) SetValidationFiles ¶
func (o *ClassifierDetailedJobOut) SetValidationFiles(v []string)
SetValidationFiles gets a reference to the given []string and assigns it to the ValidationFiles field.
func (ClassifierDetailedJobOut) ToMap ¶
func (o ClassifierDetailedJobOut) ToMap() (map[string]interface{}, error)
func (*ClassifierDetailedJobOut) UnmarshalJSON ¶
func (o *ClassifierDetailedJobOut) UnmarshalJSON(data []byte) (err error)
func (*ClassifierDetailedJobOut) UnsetFineTunedModel ¶
func (o *ClassifierDetailedJobOut) UnsetFineTunedModel()
UnsetFineTunedModel ensures that no value is present for FineTunedModel, not even an explicit nil
func (*ClassifierDetailedJobOut) UnsetMetadata ¶
func (o *ClassifierDetailedJobOut) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (*ClassifierDetailedJobOut) UnsetSuffix ¶
func (o *ClassifierDetailedJobOut) UnsetSuffix()
UnsetSuffix ensures that no value is present for Suffix, not even an explicit nil
func (*ClassifierDetailedJobOut) UnsetTrainedTokens ¶
func (o *ClassifierDetailedJobOut) UnsetTrainedTokens()
UnsetTrainedTokens ensures that no value is present for TrainedTokens, not even an explicit nil
type ClassifierFTModelOut ¶
type ClassifierFTModelOut struct {
Id string `json:"id"`
Object *string `json:"object,omitempty"`
Created int32 `json:"created"`
OwnedBy string `json:"owned_by"`
WorkspaceId string `json:"workspace_id"`
Root string `json:"root"`
RootVersion string `json:"root_version"`
Archived bool `json:"archived"`
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
Capabilities FTModelCapabilitiesOut `json:"capabilities"`
MaxContextLength *int32 `json:"max_context_length,omitempty"`
Aliases []string `json:"aliases,omitempty"`
Job string `json:"job"`
ClassifierTargets []ClassifierTargetOut `json:"classifier_targets"`
ModelType *string `json:"model_type,omitempty"`
AdditionalProperties map[string]interface{}
}
ClassifierFTModelOut struct for ClassifierFTModelOut
func NewClassifierFTModelOut ¶
func NewClassifierFTModelOut(id string, created int32, ownedBy string, workspaceId string, root string, rootVersion string, archived bool, capabilities FTModelCapabilitiesOut, job string, classifierTargets []ClassifierTargetOut) *ClassifierFTModelOut
NewClassifierFTModelOut instantiates a new ClassifierFTModelOut 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 NewClassifierFTModelOutWithDefaults ¶
func NewClassifierFTModelOutWithDefaults() *ClassifierFTModelOut
NewClassifierFTModelOutWithDefaults instantiates a new ClassifierFTModelOut 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 (*ClassifierFTModelOut) GetAliases ¶
func (o *ClassifierFTModelOut) GetAliases() []string
GetAliases returns the Aliases field value if set, zero value otherwise.
func (*ClassifierFTModelOut) GetAliasesOk ¶
func (o *ClassifierFTModelOut) GetAliasesOk() ([]string, bool)
GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetArchived ¶
func (o *ClassifierFTModelOut) GetArchived() bool
GetArchived returns the Archived field value
func (*ClassifierFTModelOut) GetArchivedOk ¶
func (o *ClassifierFTModelOut) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetCapabilities ¶
func (o *ClassifierFTModelOut) GetCapabilities() FTModelCapabilitiesOut
GetCapabilities returns the Capabilities field value
func (*ClassifierFTModelOut) GetCapabilitiesOk ¶
func (o *ClassifierFTModelOut) GetCapabilitiesOk() (*FTModelCapabilitiesOut, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetClassifierTargets ¶
func (o *ClassifierFTModelOut) GetClassifierTargets() []ClassifierTargetOut
GetClassifierTargets returns the ClassifierTargets field value
func (*ClassifierFTModelOut) GetClassifierTargetsOk ¶
func (o *ClassifierFTModelOut) GetClassifierTargetsOk() ([]ClassifierTargetOut, bool)
GetClassifierTargetsOk returns a tuple with the ClassifierTargets field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetCreated ¶
func (o *ClassifierFTModelOut) GetCreated() int32
GetCreated returns the Created field value
func (*ClassifierFTModelOut) GetCreatedOk ¶
func (o *ClassifierFTModelOut) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetDescription ¶
func (o *ClassifierFTModelOut) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierFTModelOut) GetDescriptionOk ¶
func (o *ClassifierFTModelOut) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*ClassifierFTModelOut) GetId ¶
func (o *ClassifierFTModelOut) GetId() string
GetId returns the Id field value
func (*ClassifierFTModelOut) GetIdOk ¶
func (o *ClassifierFTModelOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetJob ¶
func (o *ClassifierFTModelOut) GetJob() string
GetJob returns the Job field value
func (*ClassifierFTModelOut) GetJobOk ¶
func (o *ClassifierFTModelOut) GetJobOk() (*string, bool)
GetJobOk returns a tuple with the Job field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetMaxContextLength ¶
func (o *ClassifierFTModelOut) GetMaxContextLength() int32
GetMaxContextLength returns the MaxContextLength field value if set, zero value otherwise.
func (*ClassifierFTModelOut) GetMaxContextLengthOk ¶
func (o *ClassifierFTModelOut) GetMaxContextLengthOk() (*int32, bool)
GetMaxContextLengthOk returns a tuple with the MaxContextLength field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetModelType ¶
func (o *ClassifierFTModelOut) GetModelType() string
GetModelType returns the ModelType field value if set, zero value otherwise.
func (*ClassifierFTModelOut) GetModelTypeOk ¶
func (o *ClassifierFTModelOut) GetModelTypeOk() (*string, bool)
GetModelTypeOk returns a tuple with the ModelType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetName ¶
func (o *ClassifierFTModelOut) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierFTModelOut) GetNameOk ¶
func (o *ClassifierFTModelOut) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*ClassifierFTModelOut) GetObject ¶
func (o *ClassifierFTModelOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ClassifierFTModelOut) GetObjectOk ¶
func (o *ClassifierFTModelOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetOwnedBy ¶
func (o *ClassifierFTModelOut) GetOwnedBy() string
GetOwnedBy returns the OwnedBy field value
func (*ClassifierFTModelOut) GetOwnedByOk ¶
func (o *ClassifierFTModelOut) GetOwnedByOk() (*string, bool)
GetOwnedByOk returns a tuple with the OwnedBy field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetRoot ¶
func (o *ClassifierFTModelOut) GetRoot() string
GetRoot returns the Root field value
func (*ClassifierFTModelOut) GetRootOk ¶
func (o *ClassifierFTModelOut) GetRootOk() (*string, bool)
GetRootOk returns a tuple with the Root field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetRootVersion ¶ added in v0.15.0
func (o *ClassifierFTModelOut) GetRootVersion() string
GetRootVersion returns the RootVersion field value
func (*ClassifierFTModelOut) GetRootVersionOk ¶ added in v0.15.0
func (o *ClassifierFTModelOut) GetRootVersionOk() (*string, bool)
GetRootVersionOk returns a tuple with the RootVersion field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) GetWorkspaceId ¶ added in v0.15.0
func (o *ClassifierFTModelOut) GetWorkspaceId() string
GetWorkspaceId returns the WorkspaceId field value
func (*ClassifierFTModelOut) GetWorkspaceIdOk ¶ added in v0.15.0
func (o *ClassifierFTModelOut) GetWorkspaceIdOk() (*string, bool)
GetWorkspaceIdOk returns a tuple with the WorkspaceId field value and a boolean to check if the value has been set.
func (*ClassifierFTModelOut) HasAliases ¶
func (o *ClassifierFTModelOut) HasAliases() bool
HasAliases returns a boolean if a field has been set.
func (*ClassifierFTModelOut) HasDescription ¶
func (o *ClassifierFTModelOut) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ClassifierFTModelOut) HasMaxContextLength ¶
func (o *ClassifierFTModelOut) HasMaxContextLength() bool
HasMaxContextLength returns a boolean if a field has been set.
func (*ClassifierFTModelOut) HasModelType ¶
func (o *ClassifierFTModelOut) HasModelType() bool
HasModelType returns a boolean if a field has been set.
func (*ClassifierFTModelOut) HasName ¶
func (o *ClassifierFTModelOut) HasName() bool
HasName returns a boolean if a field has been set.
func (*ClassifierFTModelOut) HasObject ¶
func (o *ClassifierFTModelOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (ClassifierFTModelOut) MarshalJSON ¶
func (o ClassifierFTModelOut) MarshalJSON() ([]byte, error)
func (*ClassifierFTModelOut) SetAliases ¶
func (o *ClassifierFTModelOut) SetAliases(v []string)
SetAliases gets a reference to the given []string and assigns it to the Aliases field.
func (*ClassifierFTModelOut) SetArchived ¶
func (o *ClassifierFTModelOut) SetArchived(v bool)
SetArchived sets field value
func (*ClassifierFTModelOut) SetCapabilities ¶
func (o *ClassifierFTModelOut) SetCapabilities(v FTModelCapabilitiesOut)
SetCapabilities sets field value
func (*ClassifierFTModelOut) SetClassifierTargets ¶
func (o *ClassifierFTModelOut) SetClassifierTargets(v []ClassifierTargetOut)
SetClassifierTargets sets field value
func (*ClassifierFTModelOut) SetCreated ¶
func (o *ClassifierFTModelOut) SetCreated(v int32)
SetCreated sets field value
func (*ClassifierFTModelOut) SetDescription ¶
func (o *ClassifierFTModelOut) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ClassifierFTModelOut) SetDescriptionNil ¶
func (o *ClassifierFTModelOut) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ClassifierFTModelOut) SetId ¶
func (o *ClassifierFTModelOut) SetId(v string)
SetId sets field value
func (*ClassifierFTModelOut) SetJob ¶
func (o *ClassifierFTModelOut) SetJob(v string)
SetJob sets field value
func (*ClassifierFTModelOut) SetMaxContextLength ¶
func (o *ClassifierFTModelOut) SetMaxContextLength(v int32)
SetMaxContextLength gets a reference to the given int32 and assigns it to the MaxContextLength field.
func (*ClassifierFTModelOut) SetModelType ¶
func (o *ClassifierFTModelOut) SetModelType(v string)
SetModelType gets a reference to the given string and assigns it to the ModelType field.
func (*ClassifierFTModelOut) SetName ¶
func (o *ClassifierFTModelOut) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*ClassifierFTModelOut) SetNameNil ¶
func (o *ClassifierFTModelOut) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*ClassifierFTModelOut) SetObject ¶
func (o *ClassifierFTModelOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ClassifierFTModelOut) SetOwnedBy ¶
func (o *ClassifierFTModelOut) SetOwnedBy(v string)
SetOwnedBy sets field value
func (*ClassifierFTModelOut) SetRoot ¶
func (o *ClassifierFTModelOut) SetRoot(v string)
SetRoot sets field value
func (*ClassifierFTModelOut) SetRootVersion ¶ added in v0.15.0
func (o *ClassifierFTModelOut) SetRootVersion(v string)
SetRootVersion sets field value
func (*ClassifierFTModelOut) SetWorkspaceId ¶ added in v0.15.0
func (o *ClassifierFTModelOut) SetWorkspaceId(v string)
SetWorkspaceId sets field value
func (ClassifierFTModelOut) ToMap ¶
func (o ClassifierFTModelOut) ToMap() (map[string]interface{}, error)
func (*ClassifierFTModelOut) UnmarshalJSON ¶
func (o *ClassifierFTModelOut) UnmarshalJSON(data []byte) (err error)
func (*ClassifierFTModelOut) UnsetDescription ¶
func (o *ClassifierFTModelOut) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*ClassifierFTModelOut) UnsetName ¶
func (o *ClassifierFTModelOut) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type ClassifierJobOut ¶
type ClassifierJobOut struct {
// The ID of the job.
Id string `json:"id"`
AutoStart bool `json:"auto_start"`
Model FineTuneableModel `json:"model"`
// The current status of the fine-tuning job.
Status string `json:"status"`
// The UNIX timestamp (in seconds) for when the fine-tuning job was created.
CreatedAt int32 `json:"created_at"`
// The UNIX timestamp (in seconds) for when the fine-tuning job was last modified.
ModifiedAt int32 `json:"modified_at"`
// A list containing the IDs of uploaded files that contain training data.
TrainingFiles []string `json:"training_files"`
ValidationFiles []string `json:"validation_files,omitempty"`
// The object type of the fine-tuning job.
Object *string `json:"object,omitempty"`
FineTunedModel NullableString `json:"fine_tuned_model,omitempty"`
Suffix NullableString `json:"suffix,omitempty"`
Integrations []WandbIntegrationOut `json:"integrations,omitempty"`
TrainedTokens NullableInt32 `json:"trained_tokens,omitempty"`
Metadata NullableJobMetadataOut `json:"metadata,omitempty"`
// The type of job (`FT` for fine-tuning).
JobType *string `json:"job_type,omitempty"`
Hyperparameters ClassifierTrainingParameters `json:"hyperparameters"`
AdditionalProperties map[string]interface{}
}
ClassifierJobOut struct for ClassifierJobOut
func NewClassifierJobOut ¶
func NewClassifierJobOut(id string, autoStart bool, model FineTuneableModel, status string, createdAt int32, modifiedAt int32, trainingFiles []string, hyperparameters ClassifierTrainingParameters) *ClassifierJobOut
NewClassifierJobOut instantiates a new ClassifierJobOut 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 NewClassifierJobOutWithDefaults ¶
func NewClassifierJobOutWithDefaults() *ClassifierJobOut
NewClassifierJobOutWithDefaults instantiates a new ClassifierJobOut 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 (*ClassifierJobOut) GetAutoStart ¶
func (o *ClassifierJobOut) GetAutoStart() bool
GetAutoStart returns the AutoStart field value
func (*ClassifierJobOut) GetAutoStartOk ¶
func (o *ClassifierJobOut) GetAutoStartOk() (*bool, bool)
GetAutoStartOk returns a tuple with the AutoStart field value and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetCreatedAt ¶
func (o *ClassifierJobOut) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field value
func (*ClassifierJobOut) GetCreatedAtOk ¶
func (o *ClassifierJobOut) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetFineTunedModel ¶
func (o *ClassifierJobOut) GetFineTunedModel() string
GetFineTunedModel returns the FineTunedModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierJobOut) GetFineTunedModelOk ¶
func (o *ClassifierJobOut) GetFineTunedModelOk() (*string, bool)
GetFineTunedModelOk returns a tuple with the FineTunedModel 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 (*ClassifierJobOut) GetHyperparameters ¶
func (o *ClassifierJobOut) GetHyperparameters() ClassifierTrainingParameters
GetHyperparameters returns the Hyperparameters field value
func (*ClassifierJobOut) GetHyperparametersOk ¶
func (o *ClassifierJobOut) GetHyperparametersOk() (*ClassifierTrainingParameters, bool)
GetHyperparametersOk returns a tuple with the Hyperparameters field value and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetId ¶
func (o *ClassifierJobOut) GetId() string
GetId returns the Id field value
func (*ClassifierJobOut) GetIdOk ¶
func (o *ClassifierJobOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetIntegrations ¶
func (o *ClassifierJobOut) GetIntegrations() []WandbIntegrationOut
GetIntegrations returns the Integrations field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierJobOut) GetIntegrationsOk ¶
func (o *ClassifierJobOut) GetIntegrationsOk() ([]WandbIntegrationOut, bool)
GetIntegrationsOk returns a tuple with the Integrations 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 (*ClassifierJobOut) GetJobType ¶
func (o *ClassifierJobOut) GetJobType() string
GetJobType returns the JobType field value if set, zero value otherwise.
func (*ClassifierJobOut) GetJobTypeOk ¶
func (o *ClassifierJobOut) GetJobTypeOk() (*string, bool)
GetJobTypeOk returns a tuple with the JobType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetMetadata ¶
func (o *ClassifierJobOut) GetMetadata() JobMetadataOut
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierJobOut) GetMetadataOk ¶
func (o *ClassifierJobOut) GetMetadataOk() (*JobMetadataOut, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*ClassifierJobOut) GetModel ¶
func (o *ClassifierJobOut) GetModel() FineTuneableModel
GetModel returns the Model field value
func (*ClassifierJobOut) GetModelOk ¶
func (o *ClassifierJobOut) GetModelOk() (*FineTuneableModel, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetModifiedAt ¶
func (o *ClassifierJobOut) GetModifiedAt() int32
GetModifiedAt returns the ModifiedAt field value
func (*ClassifierJobOut) GetModifiedAtOk ¶
func (o *ClassifierJobOut) GetModifiedAtOk() (*int32, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetObject ¶
func (o *ClassifierJobOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ClassifierJobOut) GetObjectOk ¶
func (o *ClassifierJobOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetStatus ¶
func (o *ClassifierJobOut) GetStatus() string
GetStatus returns the Status field value
func (*ClassifierJobOut) GetStatusOk ¶
func (o *ClassifierJobOut) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetSuffix ¶
func (o *ClassifierJobOut) GetSuffix() string
GetSuffix returns the Suffix field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierJobOut) GetSuffixOk ¶
func (o *ClassifierJobOut) GetSuffixOk() (*string, bool)
GetSuffixOk returns a tuple with the Suffix 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 (*ClassifierJobOut) GetTrainedTokens ¶
func (o *ClassifierJobOut) GetTrainedTokens() int32
GetTrainedTokens returns the TrainedTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierJobOut) GetTrainedTokensOk ¶
func (o *ClassifierJobOut) GetTrainedTokensOk() (*int32, bool)
GetTrainedTokensOk returns a tuple with the TrainedTokens 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 (*ClassifierJobOut) GetTrainingFiles ¶
func (o *ClassifierJobOut) GetTrainingFiles() []string
GetTrainingFiles returns the TrainingFiles field value
func (*ClassifierJobOut) GetTrainingFilesOk ¶
func (o *ClassifierJobOut) GetTrainingFilesOk() ([]string, bool)
GetTrainingFilesOk returns a tuple with the TrainingFiles field value and a boolean to check if the value has been set.
func (*ClassifierJobOut) GetValidationFiles ¶
func (o *ClassifierJobOut) GetValidationFiles() []string
GetValidationFiles returns the ValidationFiles field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierJobOut) GetValidationFilesOk ¶
func (o *ClassifierJobOut) GetValidationFilesOk() ([]string, bool)
GetValidationFilesOk returns a tuple with the ValidationFiles 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 (*ClassifierJobOut) HasFineTunedModel ¶
func (o *ClassifierJobOut) HasFineTunedModel() bool
HasFineTunedModel returns a boolean if a field has been set.
func (*ClassifierJobOut) HasIntegrations ¶
func (o *ClassifierJobOut) HasIntegrations() bool
HasIntegrations returns a boolean if a field has been set.
func (*ClassifierJobOut) HasJobType ¶
func (o *ClassifierJobOut) HasJobType() bool
HasJobType returns a boolean if a field has been set.
func (*ClassifierJobOut) HasMetadata ¶
func (o *ClassifierJobOut) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ClassifierJobOut) HasObject ¶
func (o *ClassifierJobOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ClassifierJobOut) HasSuffix ¶
func (o *ClassifierJobOut) HasSuffix() bool
HasSuffix returns a boolean if a field has been set.
func (*ClassifierJobOut) HasTrainedTokens ¶
func (o *ClassifierJobOut) HasTrainedTokens() bool
HasTrainedTokens returns a boolean if a field has been set.
func (*ClassifierJobOut) HasValidationFiles ¶
func (o *ClassifierJobOut) HasValidationFiles() bool
HasValidationFiles returns a boolean if a field has been set.
func (ClassifierJobOut) MarshalJSON ¶
func (o ClassifierJobOut) MarshalJSON() ([]byte, error)
func (*ClassifierJobOut) SetAutoStart ¶
func (o *ClassifierJobOut) SetAutoStart(v bool)
SetAutoStart sets field value
func (*ClassifierJobOut) SetCreatedAt ¶
func (o *ClassifierJobOut) SetCreatedAt(v int32)
SetCreatedAt sets field value
func (*ClassifierJobOut) SetFineTunedModel ¶
func (o *ClassifierJobOut) SetFineTunedModel(v string)
SetFineTunedModel gets a reference to the given NullableString and assigns it to the FineTunedModel field.
func (*ClassifierJobOut) SetFineTunedModelNil ¶
func (o *ClassifierJobOut) SetFineTunedModelNil()
SetFineTunedModelNil sets the value for FineTunedModel to be an explicit nil
func (*ClassifierJobOut) SetHyperparameters ¶
func (o *ClassifierJobOut) SetHyperparameters(v ClassifierTrainingParameters)
SetHyperparameters sets field value
func (*ClassifierJobOut) SetIntegrations ¶
func (o *ClassifierJobOut) SetIntegrations(v []WandbIntegrationOut)
SetIntegrations gets a reference to the given []WandbIntegrationOut and assigns it to the Integrations field.
func (*ClassifierJobOut) SetJobType ¶
func (o *ClassifierJobOut) SetJobType(v string)
SetJobType gets a reference to the given string and assigns it to the JobType field.
func (*ClassifierJobOut) SetMetadata ¶
func (o *ClassifierJobOut) SetMetadata(v JobMetadataOut)
SetMetadata gets a reference to the given NullableJobMetadataOut and assigns it to the Metadata field.
func (*ClassifierJobOut) SetMetadataNil ¶
func (o *ClassifierJobOut) SetMetadataNil()
SetMetadataNil sets the value for Metadata to be an explicit nil
func (*ClassifierJobOut) SetModel ¶
func (o *ClassifierJobOut) SetModel(v FineTuneableModel)
SetModel sets field value
func (*ClassifierJobOut) SetModifiedAt ¶
func (o *ClassifierJobOut) SetModifiedAt(v int32)
SetModifiedAt sets field value
func (*ClassifierJobOut) SetObject ¶
func (o *ClassifierJobOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ClassifierJobOut) SetStatus ¶
func (o *ClassifierJobOut) SetStatus(v string)
SetStatus sets field value
func (*ClassifierJobOut) SetSuffix ¶
func (o *ClassifierJobOut) SetSuffix(v string)
SetSuffix gets a reference to the given NullableString and assigns it to the Suffix field.
func (*ClassifierJobOut) SetSuffixNil ¶
func (o *ClassifierJobOut) SetSuffixNil()
SetSuffixNil sets the value for Suffix to be an explicit nil
func (*ClassifierJobOut) SetTrainedTokens ¶
func (o *ClassifierJobOut) SetTrainedTokens(v int32)
SetTrainedTokens gets a reference to the given NullableInt32 and assigns it to the TrainedTokens field.
func (*ClassifierJobOut) SetTrainedTokensNil ¶
func (o *ClassifierJobOut) SetTrainedTokensNil()
SetTrainedTokensNil sets the value for TrainedTokens to be an explicit nil
func (*ClassifierJobOut) SetTrainingFiles ¶
func (o *ClassifierJobOut) SetTrainingFiles(v []string)
SetTrainingFiles sets field value
func (*ClassifierJobOut) SetValidationFiles ¶
func (o *ClassifierJobOut) SetValidationFiles(v []string)
SetValidationFiles gets a reference to the given []string and assigns it to the ValidationFiles field.
func (ClassifierJobOut) ToMap ¶
func (o ClassifierJobOut) ToMap() (map[string]interface{}, error)
func (*ClassifierJobOut) UnmarshalJSON ¶
func (o *ClassifierJobOut) UnmarshalJSON(data []byte) (err error)
func (*ClassifierJobOut) UnsetFineTunedModel ¶
func (o *ClassifierJobOut) UnsetFineTunedModel()
UnsetFineTunedModel ensures that no value is present for FineTunedModel, not even an explicit nil
func (*ClassifierJobOut) UnsetMetadata ¶
func (o *ClassifierJobOut) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (*ClassifierJobOut) UnsetSuffix ¶
func (o *ClassifierJobOut) UnsetSuffix()
UnsetSuffix ensures that no value is present for Suffix, not even an explicit nil
func (*ClassifierJobOut) UnsetTrainedTokens ¶
func (o *ClassifierJobOut) UnsetTrainedTokens()
UnsetTrainedTokens ensures that no value is present for TrainedTokens, not even an explicit nil
type ClassifierTargetIn ¶
type ClassifierTargetIn struct {
Name string `json:"name"`
Labels []string `json:"labels"`
Weight *float32 `json:"weight,omitempty"`
LossFunction NullableFTClassifierLossFunction `json:"loss_function,omitempty"`
AdditionalProperties map[string]interface{}
}
ClassifierTargetIn struct for ClassifierTargetIn
func NewClassifierTargetIn ¶
func NewClassifierTargetIn(name string, labels []string) *ClassifierTargetIn
NewClassifierTargetIn instantiates a new ClassifierTargetIn 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 NewClassifierTargetInWithDefaults ¶
func NewClassifierTargetInWithDefaults() *ClassifierTargetIn
NewClassifierTargetInWithDefaults instantiates a new ClassifierTargetIn 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 (*ClassifierTargetIn) GetLabels ¶
func (o *ClassifierTargetIn) GetLabels() []string
GetLabels returns the Labels field value
func (*ClassifierTargetIn) GetLabelsOk ¶
func (o *ClassifierTargetIn) GetLabelsOk() ([]string, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*ClassifierTargetIn) GetLossFunction ¶
func (o *ClassifierTargetIn) GetLossFunction() FTClassifierLossFunction
GetLossFunction returns the LossFunction field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTargetIn) GetLossFunctionOk ¶
func (o *ClassifierTargetIn) GetLossFunctionOk() (*FTClassifierLossFunction, bool)
GetLossFunctionOk returns a tuple with the LossFunction 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 (*ClassifierTargetIn) GetName ¶
func (o *ClassifierTargetIn) GetName() string
GetName returns the Name field value
func (*ClassifierTargetIn) GetNameOk ¶
func (o *ClassifierTargetIn) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ClassifierTargetIn) GetWeight ¶
func (o *ClassifierTargetIn) GetWeight() float32
GetWeight returns the Weight field value if set, zero value otherwise.
func (*ClassifierTargetIn) GetWeightOk ¶
func (o *ClassifierTargetIn) GetWeightOk() (*float32, bool)
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierTargetIn) HasLossFunction ¶
func (o *ClassifierTargetIn) HasLossFunction() bool
HasLossFunction returns a boolean if a field has been set.
func (*ClassifierTargetIn) HasWeight ¶
func (o *ClassifierTargetIn) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (ClassifierTargetIn) MarshalJSON ¶
func (o ClassifierTargetIn) MarshalJSON() ([]byte, error)
func (*ClassifierTargetIn) SetLabels ¶
func (o *ClassifierTargetIn) SetLabels(v []string)
SetLabels sets field value
func (*ClassifierTargetIn) SetLossFunction ¶
func (o *ClassifierTargetIn) SetLossFunction(v FTClassifierLossFunction)
SetLossFunction gets a reference to the given NullableFTClassifierLossFunction and assigns it to the LossFunction field.
func (*ClassifierTargetIn) SetLossFunctionNil ¶
func (o *ClassifierTargetIn) SetLossFunctionNil()
SetLossFunctionNil sets the value for LossFunction to be an explicit nil
func (*ClassifierTargetIn) SetName ¶
func (o *ClassifierTargetIn) SetName(v string)
SetName sets field value
func (*ClassifierTargetIn) SetWeight ¶
func (o *ClassifierTargetIn) SetWeight(v float32)
SetWeight gets a reference to the given float32 and assigns it to the Weight field.
func (ClassifierTargetIn) ToMap ¶
func (o ClassifierTargetIn) ToMap() (map[string]interface{}, error)
func (*ClassifierTargetIn) UnmarshalJSON ¶
func (o *ClassifierTargetIn) UnmarshalJSON(data []byte) (err error)
func (*ClassifierTargetIn) UnsetLossFunction ¶
func (o *ClassifierTargetIn) UnsetLossFunction()
UnsetLossFunction ensures that no value is present for LossFunction, not even an explicit nil
type ClassifierTargetOut ¶
type ClassifierTargetOut struct {
Name string `json:"name"`
Labels []string `json:"labels"`
Weight float32 `json:"weight"`
LossFunction FTClassifierLossFunction `json:"loss_function"`
AdditionalProperties map[string]interface{}
}
ClassifierTargetOut struct for ClassifierTargetOut
func NewClassifierTargetOut ¶
func NewClassifierTargetOut(name string, labels []string, weight float32, lossFunction FTClassifierLossFunction) *ClassifierTargetOut
NewClassifierTargetOut instantiates a new ClassifierTargetOut 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 NewClassifierTargetOutWithDefaults ¶
func NewClassifierTargetOutWithDefaults() *ClassifierTargetOut
NewClassifierTargetOutWithDefaults instantiates a new ClassifierTargetOut 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 (*ClassifierTargetOut) GetLabels ¶
func (o *ClassifierTargetOut) GetLabels() []string
GetLabels returns the Labels field value
func (*ClassifierTargetOut) GetLabelsOk ¶
func (o *ClassifierTargetOut) GetLabelsOk() ([]string, bool)
GetLabelsOk returns a tuple with the Labels field value and a boolean to check if the value has been set.
func (*ClassifierTargetOut) GetLossFunction ¶
func (o *ClassifierTargetOut) GetLossFunction() FTClassifierLossFunction
GetLossFunction returns the LossFunction field value
func (*ClassifierTargetOut) GetLossFunctionOk ¶
func (o *ClassifierTargetOut) GetLossFunctionOk() (*FTClassifierLossFunction, bool)
GetLossFunctionOk returns a tuple with the LossFunction field value and a boolean to check if the value has been set.
func (*ClassifierTargetOut) GetName ¶
func (o *ClassifierTargetOut) GetName() string
GetName returns the Name field value
func (*ClassifierTargetOut) GetNameOk ¶
func (o *ClassifierTargetOut) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ClassifierTargetOut) GetWeight ¶
func (o *ClassifierTargetOut) GetWeight() float32
GetWeight returns the Weight field value
func (*ClassifierTargetOut) GetWeightOk ¶
func (o *ClassifierTargetOut) GetWeightOk() (*float32, bool)
GetWeightOk returns a tuple with the Weight field value and a boolean to check if the value has been set.
func (ClassifierTargetOut) MarshalJSON ¶
func (o ClassifierTargetOut) MarshalJSON() ([]byte, error)
func (*ClassifierTargetOut) SetLabels ¶
func (o *ClassifierTargetOut) SetLabels(v []string)
SetLabels sets field value
func (*ClassifierTargetOut) SetLossFunction ¶
func (o *ClassifierTargetOut) SetLossFunction(v FTClassifierLossFunction)
SetLossFunction sets field value
func (*ClassifierTargetOut) SetName ¶
func (o *ClassifierTargetOut) SetName(v string)
SetName sets field value
func (*ClassifierTargetOut) SetWeight ¶
func (o *ClassifierTargetOut) SetWeight(v float32)
SetWeight sets field value
func (ClassifierTargetOut) ToMap ¶
func (o ClassifierTargetOut) ToMap() (map[string]interface{}, error)
func (*ClassifierTargetOut) UnmarshalJSON ¶
func (o *ClassifierTargetOut) UnmarshalJSON(data []byte) (err error)
type ClassifierTrainingParameters ¶
type ClassifierTrainingParameters struct {
TrainingSteps NullableInt32 `json:"training_steps,omitempty"`
LearningRate *float32 `json:"learning_rate,omitempty"`
WeightDecay NullableFloat32 `json:"weight_decay,omitempty"`
WarmupFraction NullableFloat32 `json:"warmup_fraction,omitempty"`
Epochs NullableFloat32 `json:"epochs,omitempty"`
SeqLen NullableInt32 `json:"seq_len,omitempty"`
AdditionalProperties map[string]interface{}
}
ClassifierTrainingParameters struct for ClassifierTrainingParameters
func NewClassifierTrainingParameters ¶
func NewClassifierTrainingParameters() *ClassifierTrainingParameters
NewClassifierTrainingParameters instantiates a new ClassifierTrainingParameters 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 NewClassifierTrainingParametersWithDefaults ¶
func NewClassifierTrainingParametersWithDefaults() *ClassifierTrainingParameters
NewClassifierTrainingParametersWithDefaults instantiates a new ClassifierTrainingParameters 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 (*ClassifierTrainingParameters) GetEpochs ¶
func (o *ClassifierTrainingParameters) GetEpochs() float32
GetEpochs returns the Epochs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParameters) GetEpochsOk ¶
func (o *ClassifierTrainingParameters) GetEpochsOk() (*float32, bool)
GetEpochsOk returns a tuple with the Epochs 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 (*ClassifierTrainingParameters) GetLearningRate ¶
func (o *ClassifierTrainingParameters) GetLearningRate() float32
GetLearningRate returns the LearningRate field value if set, zero value otherwise.
func (*ClassifierTrainingParameters) GetLearningRateOk ¶
func (o *ClassifierTrainingParameters) GetLearningRateOk() (*float32, bool)
GetLearningRateOk returns a tuple with the LearningRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierTrainingParameters) GetSeqLen ¶
func (o *ClassifierTrainingParameters) GetSeqLen() int32
GetSeqLen returns the SeqLen field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParameters) GetSeqLenOk ¶
func (o *ClassifierTrainingParameters) GetSeqLenOk() (*int32, bool)
GetSeqLenOk returns a tuple with the SeqLen 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 (*ClassifierTrainingParameters) GetTrainingSteps ¶
func (o *ClassifierTrainingParameters) GetTrainingSteps() int32
GetTrainingSteps returns the TrainingSteps field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParameters) GetTrainingStepsOk ¶
func (o *ClassifierTrainingParameters) GetTrainingStepsOk() (*int32, bool)
GetTrainingStepsOk returns a tuple with the TrainingSteps 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 (*ClassifierTrainingParameters) GetWarmupFraction ¶
func (o *ClassifierTrainingParameters) GetWarmupFraction() float32
GetWarmupFraction returns the WarmupFraction field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParameters) GetWarmupFractionOk ¶
func (o *ClassifierTrainingParameters) GetWarmupFractionOk() (*float32, bool)
GetWarmupFractionOk returns a tuple with the WarmupFraction 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 (*ClassifierTrainingParameters) GetWeightDecay ¶
func (o *ClassifierTrainingParameters) GetWeightDecay() float32
GetWeightDecay returns the WeightDecay field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParameters) GetWeightDecayOk ¶
func (o *ClassifierTrainingParameters) GetWeightDecayOk() (*float32, bool)
GetWeightDecayOk returns a tuple with the WeightDecay 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 (*ClassifierTrainingParameters) HasEpochs ¶
func (o *ClassifierTrainingParameters) HasEpochs() bool
HasEpochs returns a boolean if a field has been set.
func (*ClassifierTrainingParameters) HasLearningRate ¶
func (o *ClassifierTrainingParameters) HasLearningRate() bool
HasLearningRate returns a boolean if a field has been set.
func (*ClassifierTrainingParameters) HasSeqLen ¶
func (o *ClassifierTrainingParameters) HasSeqLen() bool
HasSeqLen returns a boolean if a field has been set.
func (*ClassifierTrainingParameters) HasTrainingSteps ¶
func (o *ClassifierTrainingParameters) HasTrainingSteps() bool
HasTrainingSteps returns a boolean if a field has been set.
func (*ClassifierTrainingParameters) HasWarmupFraction ¶
func (o *ClassifierTrainingParameters) HasWarmupFraction() bool
HasWarmupFraction returns a boolean if a field has been set.
func (*ClassifierTrainingParameters) HasWeightDecay ¶
func (o *ClassifierTrainingParameters) HasWeightDecay() bool
HasWeightDecay returns a boolean if a field has been set.
func (ClassifierTrainingParameters) MarshalJSON ¶
func (o ClassifierTrainingParameters) MarshalJSON() ([]byte, error)
func (*ClassifierTrainingParameters) SetEpochs ¶
func (o *ClassifierTrainingParameters) SetEpochs(v float32)
SetEpochs gets a reference to the given NullableFloat32 and assigns it to the Epochs field.
func (*ClassifierTrainingParameters) SetEpochsNil ¶
func (o *ClassifierTrainingParameters) SetEpochsNil()
SetEpochsNil sets the value for Epochs to be an explicit nil
func (*ClassifierTrainingParameters) SetLearningRate ¶
func (o *ClassifierTrainingParameters) SetLearningRate(v float32)
SetLearningRate gets a reference to the given float32 and assigns it to the LearningRate field.
func (*ClassifierTrainingParameters) SetSeqLen ¶
func (o *ClassifierTrainingParameters) SetSeqLen(v int32)
SetSeqLen gets a reference to the given NullableInt32 and assigns it to the SeqLen field.
func (*ClassifierTrainingParameters) SetSeqLenNil ¶
func (o *ClassifierTrainingParameters) SetSeqLenNil()
SetSeqLenNil sets the value for SeqLen to be an explicit nil
func (*ClassifierTrainingParameters) SetTrainingSteps ¶
func (o *ClassifierTrainingParameters) SetTrainingSteps(v int32)
SetTrainingSteps gets a reference to the given NullableInt32 and assigns it to the TrainingSteps field.
func (*ClassifierTrainingParameters) SetTrainingStepsNil ¶
func (o *ClassifierTrainingParameters) SetTrainingStepsNil()
SetTrainingStepsNil sets the value for TrainingSteps to be an explicit nil
func (*ClassifierTrainingParameters) SetWarmupFraction ¶
func (o *ClassifierTrainingParameters) SetWarmupFraction(v float32)
SetWarmupFraction gets a reference to the given NullableFloat32 and assigns it to the WarmupFraction field.
func (*ClassifierTrainingParameters) SetWarmupFractionNil ¶
func (o *ClassifierTrainingParameters) SetWarmupFractionNil()
SetWarmupFractionNil sets the value for WarmupFraction to be an explicit nil
func (*ClassifierTrainingParameters) SetWeightDecay ¶
func (o *ClassifierTrainingParameters) SetWeightDecay(v float32)
SetWeightDecay gets a reference to the given NullableFloat32 and assigns it to the WeightDecay field.
func (*ClassifierTrainingParameters) SetWeightDecayNil ¶
func (o *ClassifierTrainingParameters) SetWeightDecayNil()
SetWeightDecayNil sets the value for WeightDecay to be an explicit nil
func (ClassifierTrainingParameters) ToMap ¶
func (o ClassifierTrainingParameters) ToMap() (map[string]interface{}, error)
func (*ClassifierTrainingParameters) UnmarshalJSON ¶
func (o *ClassifierTrainingParameters) UnmarshalJSON(data []byte) (err error)
func (*ClassifierTrainingParameters) UnsetEpochs ¶
func (o *ClassifierTrainingParameters) UnsetEpochs()
UnsetEpochs ensures that no value is present for Epochs, not even an explicit nil
func (*ClassifierTrainingParameters) UnsetSeqLen ¶
func (o *ClassifierTrainingParameters) UnsetSeqLen()
UnsetSeqLen ensures that no value is present for SeqLen, not even an explicit nil
func (*ClassifierTrainingParameters) UnsetTrainingSteps ¶
func (o *ClassifierTrainingParameters) UnsetTrainingSteps()
UnsetTrainingSteps ensures that no value is present for TrainingSteps, not even an explicit nil
func (*ClassifierTrainingParameters) UnsetWarmupFraction ¶
func (o *ClassifierTrainingParameters) UnsetWarmupFraction()
UnsetWarmupFraction ensures that no value is present for WarmupFraction, not even an explicit nil
func (*ClassifierTrainingParameters) UnsetWeightDecay ¶
func (o *ClassifierTrainingParameters) UnsetWeightDecay()
UnsetWeightDecay ensures that no value is present for WeightDecay, not even an explicit nil
type ClassifierTrainingParametersIn ¶
type ClassifierTrainingParametersIn struct {
TrainingSteps NullableInt32 `json:"training_steps,omitempty"`
// A parameter describing how much to adjust the pre-trained model's weights in response to the estimated error each time the weights are updated during the fine-tuning process.
LearningRate *float32 `json:"learning_rate,omitempty"`
WeightDecay NullableFloat32 `json:"weight_decay,omitempty"`
WarmupFraction NullableFloat32 `json:"warmup_fraction,omitempty"`
Epochs NullableFloat32 `json:"epochs,omitempty"`
SeqLen NullableInt32 `json:"seq_len,omitempty"`
AdditionalProperties map[string]interface{}
}
ClassifierTrainingParametersIn The fine-tuning hyperparameter settings used in a classifier fine-tune job.
func NewClassifierTrainingParametersIn ¶
func NewClassifierTrainingParametersIn() *ClassifierTrainingParametersIn
NewClassifierTrainingParametersIn instantiates a new ClassifierTrainingParametersIn 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 NewClassifierTrainingParametersInWithDefaults ¶
func NewClassifierTrainingParametersInWithDefaults() *ClassifierTrainingParametersIn
NewClassifierTrainingParametersInWithDefaults instantiates a new ClassifierTrainingParametersIn 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 (*ClassifierTrainingParametersIn) GetEpochs ¶
func (o *ClassifierTrainingParametersIn) GetEpochs() float32
GetEpochs returns the Epochs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParametersIn) GetEpochsOk ¶
func (o *ClassifierTrainingParametersIn) GetEpochsOk() (*float32, bool)
GetEpochsOk returns a tuple with the Epochs 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 (*ClassifierTrainingParametersIn) GetLearningRate ¶
func (o *ClassifierTrainingParametersIn) GetLearningRate() float32
GetLearningRate returns the LearningRate field value if set, zero value otherwise.
func (*ClassifierTrainingParametersIn) GetLearningRateOk ¶
func (o *ClassifierTrainingParametersIn) GetLearningRateOk() (*float32, bool)
GetLearningRateOk returns a tuple with the LearningRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClassifierTrainingParametersIn) GetSeqLen ¶
func (o *ClassifierTrainingParametersIn) GetSeqLen() int32
GetSeqLen returns the SeqLen field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParametersIn) GetSeqLenOk ¶
func (o *ClassifierTrainingParametersIn) GetSeqLenOk() (*int32, bool)
GetSeqLenOk returns a tuple with the SeqLen 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 (*ClassifierTrainingParametersIn) GetTrainingSteps ¶
func (o *ClassifierTrainingParametersIn) GetTrainingSteps() int32
GetTrainingSteps returns the TrainingSteps field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParametersIn) GetTrainingStepsOk ¶
func (o *ClassifierTrainingParametersIn) GetTrainingStepsOk() (*int32, bool)
GetTrainingStepsOk returns a tuple with the TrainingSteps 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 (*ClassifierTrainingParametersIn) GetWarmupFraction ¶
func (o *ClassifierTrainingParametersIn) GetWarmupFraction() float32
GetWarmupFraction returns the WarmupFraction field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParametersIn) GetWarmupFractionOk ¶
func (o *ClassifierTrainingParametersIn) GetWarmupFractionOk() (*float32, bool)
GetWarmupFractionOk returns a tuple with the WarmupFraction 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 (*ClassifierTrainingParametersIn) GetWeightDecay ¶
func (o *ClassifierTrainingParametersIn) GetWeightDecay() float32
GetWeightDecay returns the WeightDecay field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ClassifierTrainingParametersIn) GetWeightDecayOk ¶
func (o *ClassifierTrainingParametersIn) GetWeightDecayOk() (*float32, bool)
GetWeightDecayOk returns a tuple with the WeightDecay 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 (*ClassifierTrainingParametersIn) HasEpochs ¶
func (o *ClassifierTrainingParametersIn) HasEpochs() bool
HasEpochs returns a boolean if a field has been set.
func (*ClassifierTrainingParametersIn) HasLearningRate ¶
func (o *ClassifierTrainingParametersIn) HasLearningRate() bool
HasLearningRate returns a boolean if a field has been set.
func (*ClassifierTrainingParametersIn) HasSeqLen ¶
func (o *ClassifierTrainingParametersIn) HasSeqLen() bool
HasSeqLen returns a boolean if a field has been set.
func (*ClassifierTrainingParametersIn) HasTrainingSteps ¶
func (o *ClassifierTrainingParametersIn) HasTrainingSteps() bool
HasTrainingSteps returns a boolean if a field has been set.
func (*ClassifierTrainingParametersIn) HasWarmupFraction ¶
func (o *ClassifierTrainingParametersIn) HasWarmupFraction() bool
HasWarmupFraction returns a boolean if a field has been set.
func (*ClassifierTrainingParametersIn) HasWeightDecay ¶
func (o *ClassifierTrainingParametersIn) HasWeightDecay() bool
HasWeightDecay returns a boolean if a field has been set.
func (ClassifierTrainingParametersIn) MarshalJSON ¶
func (o ClassifierTrainingParametersIn) MarshalJSON() ([]byte, error)
func (*ClassifierTrainingParametersIn) SetEpochs ¶
func (o *ClassifierTrainingParametersIn) SetEpochs(v float32)
SetEpochs gets a reference to the given NullableFloat32 and assigns it to the Epochs field.
func (*ClassifierTrainingParametersIn) SetEpochsNil ¶
func (o *ClassifierTrainingParametersIn) SetEpochsNil()
SetEpochsNil sets the value for Epochs to be an explicit nil
func (*ClassifierTrainingParametersIn) SetLearningRate ¶
func (o *ClassifierTrainingParametersIn) SetLearningRate(v float32)
SetLearningRate gets a reference to the given float32 and assigns it to the LearningRate field.
func (*ClassifierTrainingParametersIn) SetSeqLen ¶
func (o *ClassifierTrainingParametersIn) SetSeqLen(v int32)
SetSeqLen gets a reference to the given NullableInt32 and assigns it to the SeqLen field.
func (*ClassifierTrainingParametersIn) SetSeqLenNil ¶
func (o *ClassifierTrainingParametersIn) SetSeqLenNil()
SetSeqLenNil sets the value for SeqLen to be an explicit nil
func (*ClassifierTrainingParametersIn) SetTrainingSteps ¶
func (o *ClassifierTrainingParametersIn) SetTrainingSteps(v int32)
SetTrainingSteps gets a reference to the given NullableInt32 and assigns it to the TrainingSteps field.
func (*ClassifierTrainingParametersIn) SetTrainingStepsNil ¶
func (o *ClassifierTrainingParametersIn) SetTrainingStepsNil()
SetTrainingStepsNil sets the value for TrainingSteps to be an explicit nil
func (*ClassifierTrainingParametersIn) SetWarmupFraction ¶
func (o *ClassifierTrainingParametersIn) SetWarmupFraction(v float32)
SetWarmupFraction gets a reference to the given NullableFloat32 and assigns it to the WarmupFraction field.
func (*ClassifierTrainingParametersIn) SetWarmupFractionNil ¶
func (o *ClassifierTrainingParametersIn) SetWarmupFractionNil()
SetWarmupFractionNil sets the value for WarmupFraction to be an explicit nil
func (*ClassifierTrainingParametersIn) SetWeightDecay ¶
func (o *ClassifierTrainingParametersIn) SetWeightDecay(v float32)
SetWeightDecay gets a reference to the given NullableFloat32 and assigns it to the WeightDecay field.
func (*ClassifierTrainingParametersIn) SetWeightDecayNil ¶
func (o *ClassifierTrainingParametersIn) SetWeightDecayNil()
SetWeightDecayNil sets the value for WeightDecay to be an explicit nil
func (ClassifierTrainingParametersIn) ToMap ¶
func (o ClassifierTrainingParametersIn) ToMap() (map[string]interface{}, error)
func (*ClassifierTrainingParametersIn) UnmarshalJSON ¶
func (o *ClassifierTrainingParametersIn) UnmarshalJSON(data []byte) (err error)
func (*ClassifierTrainingParametersIn) UnsetEpochs ¶
func (o *ClassifierTrainingParametersIn) UnsetEpochs()
UnsetEpochs ensures that no value is present for Epochs, not even an explicit nil
func (*ClassifierTrainingParametersIn) UnsetSeqLen ¶
func (o *ClassifierTrainingParametersIn) UnsetSeqLen()
UnsetSeqLen ensures that no value is present for SeqLen, not even an explicit nil
func (*ClassifierTrainingParametersIn) UnsetTrainingSteps ¶
func (o *ClassifierTrainingParametersIn) UnsetTrainingSteps()
UnsetTrainingSteps ensures that no value is present for TrainingSteps, not even an explicit nil
func (*ClassifierTrainingParametersIn) UnsetWarmupFraction ¶
func (o *ClassifierTrainingParametersIn) UnsetWarmupFraction()
UnsetWarmupFraction ensures that no value is present for WarmupFraction, not even an explicit nil
func (*ClassifierTrainingParametersIn) UnsetWeightDecay ¶
func (o *ClassifierTrainingParametersIn) UnsetWeightDecay()
UnsetWeightDecay ensures that no value is present for WeightDecay, not even an explicit nil
type ClassifiersAPI ¶
type ClassifiersAPI interface {
/*
ChatClassificationsV1ChatClassificationsPost Chat Classifications
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiChatClassificationsV1ChatClassificationsPostRequest
*/
ChatClassificationsV1ChatClassificationsPost(ctx context.Context) ApiChatClassificationsV1ChatClassificationsPostRequest
// ChatClassificationsV1ChatClassificationsPostExecute executes the request
// @return ClassificationResponse
ChatClassificationsV1ChatClassificationsPostExecute(r ApiChatClassificationsV1ChatClassificationsPostRequest) (*ClassificationResponse, *http.Response, error)
/*
ChatModerationsV1ChatModerationsPost Chat Moderations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiChatModerationsV1ChatModerationsPostRequest
*/
ChatModerationsV1ChatModerationsPost(ctx context.Context) ApiChatModerationsV1ChatModerationsPostRequest
// ChatModerationsV1ChatModerationsPostExecute executes the request
// @return ModerationResponse
ChatModerationsV1ChatModerationsPostExecute(r ApiChatModerationsV1ChatModerationsPostRequest) (*ModerationResponse, *http.Response, error)
/*
ClassificationsV1ClassificationsPost Classifications
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiClassificationsV1ClassificationsPostRequest
*/
ClassificationsV1ClassificationsPost(ctx context.Context) ApiClassificationsV1ClassificationsPostRequest
// ClassificationsV1ClassificationsPostExecute executes the request
// @return ClassificationResponse
ClassificationsV1ClassificationsPostExecute(r ApiClassificationsV1ClassificationsPostRequest) (*ClassificationResponse, *http.Response, error)
/*
ModerationsV1ModerationsPost Moderations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiModerationsV1ModerationsPostRequest
*/
ModerationsV1ModerationsPost(ctx context.Context) ApiModerationsV1ModerationsPostRequest
// ModerationsV1ModerationsPostExecute executes the request
// @return ModerationResponse
ModerationsV1ModerationsPostExecute(r ApiModerationsV1ModerationsPostRequest) (*ModerationResponse, *http.Response, error)
}
type ClassifiersAPIService ¶
type ClassifiersAPIService service
ClassifiersAPIService ClassifiersAPI service
func (*ClassifiersAPIService) ChatClassificationsV1ChatClassificationsPost ¶
func (a *ClassifiersAPIService) ChatClassificationsV1ChatClassificationsPost(ctx context.Context) ApiChatClassificationsV1ChatClassificationsPostRequest
ChatClassificationsV1ChatClassificationsPost Chat Classifications
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiChatClassificationsV1ChatClassificationsPostRequest
func (*ClassifiersAPIService) ChatClassificationsV1ChatClassificationsPostExecute ¶
func (a *ClassifiersAPIService) ChatClassificationsV1ChatClassificationsPostExecute(r ApiChatClassificationsV1ChatClassificationsPostRequest) (*ClassificationResponse, *http.Response, error)
Execute executes the request
@return ClassificationResponse
func (*ClassifiersAPIService) ChatModerationsV1ChatModerationsPost ¶
func (a *ClassifiersAPIService) ChatModerationsV1ChatModerationsPost(ctx context.Context) ApiChatModerationsV1ChatModerationsPostRequest
ChatModerationsV1ChatModerationsPost Chat Moderations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiChatModerationsV1ChatModerationsPostRequest
func (*ClassifiersAPIService) ChatModerationsV1ChatModerationsPostExecute ¶
func (a *ClassifiersAPIService) ChatModerationsV1ChatModerationsPostExecute(r ApiChatModerationsV1ChatModerationsPostRequest) (*ModerationResponse, *http.Response, error)
Execute executes the request
@return ModerationResponse
func (*ClassifiersAPIService) ClassificationsV1ClassificationsPost ¶
func (a *ClassifiersAPIService) ClassificationsV1ClassificationsPost(ctx context.Context) ApiClassificationsV1ClassificationsPostRequest
ClassificationsV1ClassificationsPost Classifications
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiClassificationsV1ClassificationsPostRequest
func (*ClassifiersAPIService) ClassificationsV1ClassificationsPostExecute ¶
func (a *ClassifiersAPIService) ClassificationsV1ClassificationsPostExecute(r ApiClassificationsV1ClassificationsPostRequest) (*ClassificationResponse, *http.Response, error)
Execute executes the request
@return ClassificationResponse
func (*ClassifiersAPIService) ModerationsV1ModerationsPost ¶
func (a *ClassifiersAPIService) ModerationsV1ModerationsPost(ctx context.Context) ApiModerationsV1ModerationsPostRequest
ModerationsV1ModerationsPost Moderations
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiModerationsV1ModerationsPostRequest
func (*ClassifiersAPIService) ModerationsV1ModerationsPostExecute ¶
func (a *ClassifiersAPIService) ModerationsV1ModerationsPostExecute(r ApiModerationsV1ModerationsPostRequest) (*ModerationResponse, *http.Response, error)
Execute executes the request
@return ModerationResponse
type CodeInterpreterTool ¶
type CodeInterpreterTool struct {
Type *string `json:"type,omitempty"`
}
CodeInterpreterTool struct for CodeInterpreterTool
func NewCodeInterpreterTool ¶
func NewCodeInterpreterTool() *CodeInterpreterTool
NewCodeInterpreterTool instantiates a new CodeInterpreterTool 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 NewCodeInterpreterToolWithDefaults ¶
func NewCodeInterpreterToolWithDefaults() *CodeInterpreterTool
NewCodeInterpreterToolWithDefaults instantiates a new CodeInterpreterTool 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 (*CodeInterpreterTool) GetType ¶
func (o *CodeInterpreterTool) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CodeInterpreterTool) GetTypeOk ¶
func (o *CodeInterpreterTool) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CodeInterpreterTool) HasType ¶
func (o *CodeInterpreterTool) HasType() bool
HasType returns a boolean if a field has been set.
func (CodeInterpreterTool) MarshalJSON ¶
func (o CodeInterpreterTool) MarshalJSON() ([]byte, error)
func (*CodeInterpreterTool) SetType ¶
func (o *CodeInterpreterTool) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (CodeInterpreterTool) ToMap ¶
func (o CodeInterpreterTool) ToMap() (map[string]interface{}, error)
type CompletionArgs ¶
type CompletionArgs struct {
Stop NullableCompletionArgsStop `json:"stop,omitempty"`
PresencePenalty NullableFloat32 `json:"presence_penalty,omitempty"`
FrequencyPenalty NullableFloat32 `json:"frequency_penalty,omitempty"`
Temperature NullableFloat32 `json:"temperature,omitempty"`
TopP NullableFloat32 `json:"top_p,omitempty"`
MaxTokens NullableInt32 `json:"max_tokens,omitempty"`
RandomSeed NullableInt32 `json:"random_seed,omitempty"`
Prediction NullablePrediction `json:"prediction,omitempty"`
ResponseFormat NullableResponseFormat `json:"response_format,omitempty"`
ToolChoice *ToolChoiceEnum `json:"tool_choice,omitempty"`
}
CompletionArgs White-listed arguments from the completion API
func NewCompletionArgs ¶
func NewCompletionArgs() *CompletionArgs
NewCompletionArgs instantiates a new CompletionArgs 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 NewCompletionArgsWithDefaults ¶
func NewCompletionArgsWithDefaults() *CompletionArgs
NewCompletionArgsWithDefaults instantiates a new CompletionArgs 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 (*CompletionArgs) GetFrequencyPenalty ¶
func (o *CompletionArgs) GetFrequencyPenalty() float32
GetFrequencyPenalty returns the FrequencyPenalty field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionArgs) GetFrequencyPenaltyOk ¶
func (o *CompletionArgs) GetFrequencyPenaltyOk() (*float32, bool)
GetFrequencyPenaltyOk returns a tuple with the FrequencyPenalty 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 (*CompletionArgs) GetMaxTokens ¶
func (o *CompletionArgs) GetMaxTokens() int32
GetMaxTokens returns the MaxTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionArgs) GetMaxTokensOk ¶
func (o *CompletionArgs) GetMaxTokensOk() (*int32, bool)
GetMaxTokensOk returns a tuple with the MaxTokens 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 (*CompletionArgs) GetPrediction ¶
func (o *CompletionArgs) GetPrediction() Prediction
GetPrediction returns the Prediction field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionArgs) GetPredictionOk ¶
func (o *CompletionArgs) GetPredictionOk() (*Prediction, bool)
GetPredictionOk returns a tuple with the Prediction 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 (*CompletionArgs) GetPresencePenalty ¶
func (o *CompletionArgs) GetPresencePenalty() float32
GetPresencePenalty returns the PresencePenalty field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionArgs) GetPresencePenaltyOk ¶
func (o *CompletionArgs) GetPresencePenaltyOk() (*float32, bool)
GetPresencePenaltyOk returns a tuple with the PresencePenalty 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 (*CompletionArgs) GetRandomSeed ¶
func (o *CompletionArgs) GetRandomSeed() int32
GetRandomSeed returns the RandomSeed field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionArgs) GetRandomSeedOk ¶
func (o *CompletionArgs) GetRandomSeedOk() (*int32, bool)
GetRandomSeedOk returns a tuple with the RandomSeed 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 (*CompletionArgs) GetResponseFormat ¶
func (o *CompletionArgs) GetResponseFormat() ResponseFormat
GetResponseFormat returns the ResponseFormat field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionArgs) GetResponseFormatOk ¶
func (o *CompletionArgs) GetResponseFormatOk() (*ResponseFormat, bool)
GetResponseFormatOk returns a tuple with the ResponseFormat 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 (*CompletionArgs) GetStop ¶
func (o *CompletionArgs) GetStop() CompletionArgsStop
GetStop returns the Stop field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionArgs) GetStopOk ¶
func (o *CompletionArgs) GetStopOk() (*CompletionArgsStop, bool)
GetStopOk returns a tuple with the Stop 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 (*CompletionArgs) GetTemperature ¶
func (o *CompletionArgs) GetTemperature() float32
GetTemperature returns the Temperature field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionArgs) GetTemperatureOk ¶
func (o *CompletionArgs) GetTemperatureOk() (*float32, bool)
GetTemperatureOk returns a tuple with the Temperature 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 (*CompletionArgs) GetToolChoice ¶
func (o *CompletionArgs) GetToolChoice() ToolChoiceEnum
GetToolChoice returns the ToolChoice field value if set, zero value otherwise.
func (*CompletionArgs) GetToolChoiceOk ¶
func (o *CompletionArgs) GetToolChoiceOk() (*ToolChoiceEnum, bool)
GetToolChoiceOk returns a tuple with the ToolChoice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionArgs) GetTopP ¶
func (o *CompletionArgs) GetTopP() float32
GetTopP returns the TopP field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionArgs) GetTopPOk ¶
func (o *CompletionArgs) GetTopPOk() (*float32, bool)
GetTopPOk returns a tuple with the TopP 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 (*CompletionArgs) HasFrequencyPenalty ¶
func (o *CompletionArgs) HasFrequencyPenalty() bool
HasFrequencyPenalty returns a boolean if a field has been set.
func (*CompletionArgs) HasMaxTokens ¶
func (o *CompletionArgs) HasMaxTokens() bool
HasMaxTokens returns a boolean if a field has been set.
func (*CompletionArgs) HasPrediction ¶
func (o *CompletionArgs) HasPrediction() bool
HasPrediction returns a boolean if a field has been set.
func (*CompletionArgs) HasPresencePenalty ¶
func (o *CompletionArgs) HasPresencePenalty() bool
HasPresencePenalty returns a boolean if a field has been set.
func (*CompletionArgs) HasRandomSeed ¶
func (o *CompletionArgs) HasRandomSeed() bool
HasRandomSeed returns a boolean if a field has been set.
func (*CompletionArgs) HasResponseFormat ¶
func (o *CompletionArgs) HasResponseFormat() bool
HasResponseFormat returns a boolean if a field has been set.
func (*CompletionArgs) HasStop ¶
func (o *CompletionArgs) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*CompletionArgs) HasTemperature ¶
func (o *CompletionArgs) HasTemperature() bool
HasTemperature returns a boolean if a field has been set.
func (*CompletionArgs) HasToolChoice ¶
func (o *CompletionArgs) HasToolChoice() bool
HasToolChoice returns a boolean if a field has been set.
func (*CompletionArgs) HasTopP ¶
func (o *CompletionArgs) HasTopP() bool
HasTopP returns a boolean if a field has been set.
func (CompletionArgs) MarshalJSON ¶
func (o CompletionArgs) MarshalJSON() ([]byte, error)
func (*CompletionArgs) SetFrequencyPenalty ¶
func (o *CompletionArgs) SetFrequencyPenalty(v float32)
SetFrequencyPenalty gets a reference to the given NullableFloat32 and assigns it to the FrequencyPenalty field.
func (*CompletionArgs) SetFrequencyPenaltyNil ¶
func (o *CompletionArgs) SetFrequencyPenaltyNil()
SetFrequencyPenaltyNil sets the value for FrequencyPenalty to be an explicit nil
func (*CompletionArgs) SetMaxTokens ¶
func (o *CompletionArgs) SetMaxTokens(v int32)
SetMaxTokens gets a reference to the given NullableInt32 and assigns it to the MaxTokens field.
func (*CompletionArgs) SetMaxTokensNil ¶
func (o *CompletionArgs) SetMaxTokensNil()
SetMaxTokensNil sets the value for MaxTokens to be an explicit nil
func (*CompletionArgs) SetPrediction ¶
func (o *CompletionArgs) SetPrediction(v Prediction)
SetPrediction gets a reference to the given NullablePrediction and assigns it to the Prediction field.
func (*CompletionArgs) SetPredictionNil ¶
func (o *CompletionArgs) SetPredictionNil()
SetPredictionNil sets the value for Prediction to be an explicit nil
func (*CompletionArgs) SetPresencePenalty ¶
func (o *CompletionArgs) SetPresencePenalty(v float32)
SetPresencePenalty gets a reference to the given NullableFloat32 and assigns it to the PresencePenalty field.
func (*CompletionArgs) SetPresencePenaltyNil ¶
func (o *CompletionArgs) SetPresencePenaltyNil()
SetPresencePenaltyNil sets the value for PresencePenalty to be an explicit nil
func (*CompletionArgs) SetRandomSeed ¶
func (o *CompletionArgs) SetRandomSeed(v int32)
SetRandomSeed gets a reference to the given NullableInt32 and assigns it to the RandomSeed field.
func (*CompletionArgs) SetRandomSeedNil ¶
func (o *CompletionArgs) SetRandomSeedNil()
SetRandomSeedNil sets the value for RandomSeed to be an explicit nil
func (*CompletionArgs) SetResponseFormat ¶
func (o *CompletionArgs) SetResponseFormat(v ResponseFormat)
SetResponseFormat gets a reference to the given NullableResponseFormat and assigns it to the ResponseFormat field.
func (*CompletionArgs) SetResponseFormatNil ¶
func (o *CompletionArgs) SetResponseFormatNil()
SetResponseFormatNil sets the value for ResponseFormat to be an explicit nil
func (*CompletionArgs) SetStop ¶
func (o *CompletionArgs) SetStop(v CompletionArgsStop)
SetStop gets a reference to the given NullableCompletionArgsStop and assigns it to the Stop field.
func (*CompletionArgs) SetStopNil ¶
func (o *CompletionArgs) SetStopNil()
SetStopNil sets the value for Stop to be an explicit nil
func (*CompletionArgs) SetTemperature ¶
func (o *CompletionArgs) SetTemperature(v float32)
SetTemperature gets a reference to the given NullableFloat32 and assigns it to the Temperature field.
func (*CompletionArgs) SetTemperatureNil ¶ added in v0.15.0
func (o *CompletionArgs) SetTemperatureNil()
SetTemperatureNil sets the value for Temperature to be an explicit nil
func (*CompletionArgs) SetToolChoice ¶
func (o *CompletionArgs) SetToolChoice(v ToolChoiceEnum)
SetToolChoice gets a reference to the given ToolChoiceEnum and assigns it to the ToolChoice field.
func (*CompletionArgs) SetTopP ¶
func (o *CompletionArgs) SetTopP(v float32)
SetTopP gets a reference to the given NullableFloat32 and assigns it to the TopP field.
func (*CompletionArgs) SetTopPNil ¶
func (o *CompletionArgs) SetTopPNil()
SetTopPNil sets the value for TopP to be an explicit nil
func (CompletionArgs) ToMap ¶
func (o CompletionArgs) ToMap() (map[string]interface{}, error)
func (*CompletionArgs) UnsetFrequencyPenalty ¶
func (o *CompletionArgs) UnsetFrequencyPenalty()
UnsetFrequencyPenalty ensures that no value is present for FrequencyPenalty, not even an explicit nil
func (*CompletionArgs) UnsetMaxTokens ¶
func (o *CompletionArgs) UnsetMaxTokens()
UnsetMaxTokens ensures that no value is present for MaxTokens, not even an explicit nil
func (*CompletionArgs) UnsetPrediction ¶
func (o *CompletionArgs) UnsetPrediction()
UnsetPrediction ensures that no value is present for Prediction, not even an explicit nil
func (*CompletionArgs) UnsetPresencePenalty ¶
func (o *CompletionArgs) UnsetPresencePenalty()
UnsetPresencePenalty ensures that no value is present for PresencePenalty, not even an explicit nil
func (*CompletionArgs) UnsetRandomSeed ¶
func (o *CompletionArgs) UnsetRandomSeed()
UnsetRandomSeed ensures that no value is present for RandomSeed, not even an explicit nil
func (*CompletionArgs) UnsetResponseFormat ¶
func (o *CompletionArgs) UnsetResponseFormat()
UnsetResponseFormat ensures that no value is present for ResponseFormat, not even an explicit nil
func (*CompletionArgs) UnsetStop ¶
func (o *CompletionArgs) UnsetStop()
UnsetStop ensures that no value is present for Stop, not even an explicit nil
func (*CompletionArgs) UnsetTemperature ¶ added in v0.15.0
func (o *CompletionArgs) UnsetTemperature()
UnsetTemperature ensures that no value is present for Temperature, not even an explicit nil
func (*CompletionArgs) UnsetTopP ¶
func (o *CompletionArgs) UnsetTopP()
UnsetTopP ensures that no value is present for TopP, not even an explicit nil
type CompletionArgsStop ¶
CompletionArgsStop struct for CompletionArgsStop
func (CompletionArgsStop) MarshalJSON ¶
func (src CompletionArgsStop) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*CompletionArgsStop) UnmarshalJSON ¶
func (dst *CompletionArgsStop) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type CompletionChunk ¶
type CompletionChunk struct {
Id string `json:"id"`
Object *string `json:"object,omitempty"`
Created *int32 `json:"created,omitempty"`
Model string `json:"model"`
Usage *UsageInfo `json:"usage,omitempty"`
Choices []CompletionResponseStreamChoice `json:"choices"`
AdditionalProperties map[string]interface{}
}
CompletionChunk struct for CompletionChunk
func NewCompletionChunk ¶
func NewCompletionChunk(id string, model string, choices []CompletionResponseStreamChoice) *CompletionChunk
NewCompletionChunk instantiates a new CompletionChunk 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 NewCompletionChunkWithDefaults ¶
func NewCompletionChunkWithDefaults() *CompletionChunk
NewCompletionChunkWithDefaults instantiates a new CompletionChunk 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 (*CompletionChunk) GetChoices ¶
func (o *CompletionChunk) GetChoices() []CompletionResponseStreamChoice
GetChoices returns the Choices field value
func (*CompletionChunk) GetChoicesOk ¶
func (o *CompletionChunk) GetChoicesOk() ([]CompletionResponseStreamChoice, bool)
GetChoicesOk returns a tuple with the Choices field value and a boolean to check if the value has been set.
func (*CompletionChunk) GetCreated ¶
func (o *CompletionChunk) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*CompletionChunk) GetCreatedOk ¶
func (o *CompletionChunk) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionChunk) GetId ¶
func (o *CompletionChunk) GetId() string
GetId returns the Id field value
func (*CompletionChunk) GetIdOk ¶
func (o *CompletionChunk) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CompletionChunk) GetModel ¶
func (o *CompletionChunk) GetModel() string
GetModel returns the Model field value
func (*CompletionChunk) GetModelOk ¶
func (o *CompletionChunk) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*CompletionChunk) GetObject ¶
func (o *CompletionChunk) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CompletionChunk) GetObjectOk ¶
func (o *CompletionChunk) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionChunk) GetUsage ¶
func (o *CompletionChunk) GetUsage() UsageInfo
GetUsage returns the Usage field value if set, zero value otherwise.
func (*CompletionChunk) GetUsageOk ¶
func (o *CompletionChunk) GetUsageOk() (*UsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionChunk) HasCreated ¶
func (o *CompletionChunk) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*CompletionChunk) HasObject ¶
func (o *CompletionChunk) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CompletionChunk) HasUsage ¶
func (o *CompletionChunk) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (CompletionChunk) MarshalJSON ¶
func (o CompletionChunk) MarshalJSON() ([]byte, error)
func (*CompletionChunk) SetChoices ¶
func (o *CompletionChunk) SetChoices(v []CompletionResponseStreamChoice)
SetChoices sets field value
func (*CompletionChunk) SetCreated ¶
func (o *CompletionChunk) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*CompletionChunk) SetModel ¶
func (o *CompletionChunk) SetModel(v string)
SetModel sets field value
func (*CompletionChunk) SetObject ¶
func (o *CompletionChunk) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CompletionChunk) SetUsage ¶
func (o *CompletionChunk) SetUsage(v UsageInfo)
SetUsage gets a reference to the given UsageInfo and assigns it to the Usage field.
func (CompletionChunk) ToMap ¶
func (o CompletionChunk) ToMap() (map[string]interface{}, error)
func (*CompletionChunk) UnmarshalJSON ¶
func (o *CompletionChunk) UnmarshalJSON(data []byte) (err error)
type CompletionDetailedJobOut ¶
type CompletionDetailedJobOut struct {
Id string `json:"id"`
AutoStart bool `json:"auto_start"`
Model FineTuneableModel `json:"model"`
Status string `json:"status"`
CreatedAt int32 `json:"created_at"`
ModifiedAt int32 `json:"modified_at"`
TrainingFiles []string `json:"training_files"`
ValidationFiles []string `json:"validation_files,omitempty"`
Object *string `json:"object,omitempty"`
FineTunedModel NullableString `json:"fine_tuned_model,omitempty"`
Suffix NullableString `json:"suffix,omitempty"`
Integrations []WandbIntegrationOut `json:"integrations,omitempty"`
TrainedTokens NullableInt32 `json:"trained_tokens,omitempty"`
Metadata NullableJobMetadataOut `json:"metadata,omitempty"`
JobType *string `json:"job_type,omitempty"`
Hyperparameters CompletionTrainingParameters `json:"hyperparameters"`
Repositories []GithubRepositoryOut `json:"repositories,omitempty"`
// Event items are created every time the status of a fine-tuning job changes. The timestamped list of all events is accessible here.
Events []EventOut `json:"events,omitempty"`
Checkpoints []CheckpointOut `json:"checkpoints,omitempty"`
AdditionalProperties map[string]interface{}
}
CompletionDetailedJobOut struct for CompletionDetailedJobOut
func NewCompletionDetailedJobOut ¶
func NewCompletionDetailedJobOut(id string, autoStart bool, model FineTuneableModel, status string, createdAt int32, modifiedAt int32, trainingFiles []string, hyperparameters CompletionTrainingParameters) *CompletionDetailedJobOut
NewCompletionDetailedJobOut instantiates a new CompletionDetailedJobOut 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 NewCompletionDetailedJobOutWithDefaults ¶
func NewCompletionDetailedJobOutWithDefaults() *CompletionDetailedJobOut
NewCompletionDetailedJobOutWithDefaults instantiates a new CompletionDetailedJobOut 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 (*CompletionDetailedJobOut) GetAutoStart ¶
func (o *CompletionDetailedJobOut) GetAutoStart() bool
GetAutoStart returns the AutoStart field value
func (*CompletionDetailedJobOut) GetAutoStartOk ¶
func (o *CompletionDetailedJobOut) GetAutoStartOk() (*bool, bool)
GetAutoStartOk returns a tuple with the AutoStart field value and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetCheckpoints ¶
func (o *CompletionDetailedJobOut) GetCheckpoints() []CheckpointOut
GetCheckpoints returns the Checkpoints field value if set, zero value otherwise.
func (*CompletionDetailedJobOut) GetCheckpointsOk ¶
func (o *CompletionDetailedJobOut) GetCheckpointsOk() ([]CheckpointOut, bool)
GetCheckpointsOk returns a tuple with the Checkpoints field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetCreatedAt ¶
func (o *CompletionDetailedJobOut) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field value
func (*CompletionDetailedJobOut) GetCreatedAtOk ¶
func (o *CompletionDetailedJobOut) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetEvents ¶
func (o *CompletionDetailedJobOut) GetEvents() []EventOut
GetEvents returns the Events field value if set, zero value otherwise.
func (*CompletionDetailedJobOut) GetEventsOk ¶
func (o *CompletionDetailedJobOut) GetEventsOk() ([]EventOut, bool)
GetEventsOk returns a tuple with the Events field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetFineTunedModel ¶
func (o *CompletionDetailedJobOut) GetFineTunedModel() string
GetFineTunedModel returns the FineTunedModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionDetailedJobOut) GetFineTunedModelOk ¶
func (o *CompletionDetailedJobOut) GetFineTunedModelOk() (*string, bool)
GetFineTunedModelOk returns a tuple with the FineTunedModel 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 (*CompletionDetailedJobOut) GetHyperparameters ¶
func (o *CompletionDetailedJobOut) GetHyperparameters() CompletionTrainingParameters
GetHyperparameters returns the Hyperparameters field value
func (*CompletionDetailedJobOut) GetHyperparametersOk ¶
func (o *CompletionDetailedJobOut) GetHyperparametersOk() (*CompletionTrainingParameters, bool)
GetHyperparametersOk returns a tuple with the Hyperparameters field value and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetId ¶
func (o *CompletionDetailedJobOut) GetId() string
GetId returns the Id field value
func (*CompletionDetailedJobOut) GetIdOk ¶
func (o *CompletionDetailedJobOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetIntegrations ¶
func (o *CompletionDetailedJobOut) GetIntegrations() []WandbIntegrationOut
GetIntegrations returns the Integrations field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionDetailedJobOut) GetIntegrationsOk ¶
func (o *CompletionDetailedJobOut) GetIntegrationsOk() ([]WandbIntegrationOut, bool)
GetIntegrationsOk returns a tuple with the Integrations 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 (*CompletionDetailedJobOut) GetJobType ¶
func (o *CompletionDetailedJobOut) GetJobType() string
GetJobType returns the JobType field value if set, zero value otherwise.
func (*CompletionDetailedJobOut) GetJobTypeOk ¶
func (o *CompletionDetailedJobOut) GetJobTypeOk() (*string, bool)
GetJobTypeOk returns a tuple with the JobType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetMetadata ¶
func (o *CompletionDetailedJobOut) GetMetadata() JobMetadataOut
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionDetailedJobOut) GetMetadataOk ¶
func (o *CompletionDetailedJobOut) GetMetadataOk() (*JobMetadataOut, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*CompletionDetailedJobOut) GetModel ¶
func (o *CompletionDetailedJobOut) GetModel() FineTuneableModel
GetModel returns the Model field value
func (*CompletionDetailedJobOut) GetModelOk ¶
func (o *CompletionDetailedJobOut) GetModelOk() (*FineTuneableModel, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetModifiedAt ¶
func (o *CompletionDetailedJobOut) GetModifiedAt() int32
GetModifiedAt returns the ModifiedAt field value
func (*CompletionDetailedJobOut) GetModifiedAtOk ¶
func (o *CompletionDetailedJobOut) GetModifiedAtOk() (*int32, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetObject ¶
func (o *CompletionDetailedJobOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CompletionDetailedJobOut) GetObjectOk ¶
func (o *CompletionDetailedJobOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetRepositories ¶
func (o *CompletionDetailedJobOut) GetRepositories() []GithubRepositoryOut
GetRepositories returns the Repositories field value if set, zero value otherwise.
func (*CompletionDetailedJobOut) GetRepositoriesOk ¶
func (o *CompletionDetailedJobOut) GetRepositoriesOk() ([]GithubRepositoryOut, bool)
GetRepositoriesOk returns a tuple with the Repositories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetStatus ¶
func (o *CompletionDetailedJobOut) GetStatus() string
GetStatus returns the Status field value
func (*CompletionDetailedJobOut) GetStatusOk ¶
func (o *CompletionDetailedJobOut) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetSuffix ¶
func (o *CompletionDetailedJobOut) GetSuffix() string
GetSuffix returns the Suffix field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionDetailedJobOut) GetSuffixOk ¶
func (o *CompletionDetailedJobOut) GetSuffixOk() (*string, bool)
GetSuffixOk returns a tuple with the Suffix 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 (*CompletionDetailedJobOut) GetTrainedTokens ¶
func (o *CompletionDetailedJobOut) GetTrainedTokens() int32
GetTrainedTokens returns the TrainedTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionDetailedJobOut) GetTrainedTokensOk ¶
func (o *CompletionDetailedJobOut) GetTrainedTokensOk() (*int32, bool)
GetTrainedTokensOk returns a tuple with the TrainedTokens 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 (*CompletionDetailedJobOut) GetTrainingFiles ¶
func (o *CompletionDetailedJobOut) GetTrainingFiles() []string
GetTrainingFiles returns the TrainingFiles field value
func (*CompletionDetailedJobOut) GetTrainingFilesOk ¶
func (o *CompletionDetailedJobOut) GetTrainingFilesOk() ([]string, bool)
GetTrainingFilesOk returns a tuple with the TrainingFiles field value and a boolean to check if the value has been set.
func (*CompletionDetailedJobOut) GetValidationFiles ¶
func (o *CompletionDetailedJobOut) GetValidationFiles() []string
GetValidationFiles returns the ValidationFiles field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionDetailedJobOut) GetValidationFilesOk ¶
func (o *CompletionDetailedJobOut) GetValidationFilesOk() ([]string, bool)
GetValidationFilesOk returns a tuple with the ValidationFiles 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 (*CompletionDetailedJobOut) HasCheckpoints ¶
func (o *CompletionDetailedJobOut) HasCheckpoints() bool
HasCheckpoints returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasEvents ¶
func (o *CompletionDetailedJobOut) HasEvents() bool
HasEvents returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasFineTunedModel ¶
func (o *CompletionDetailedJobOut) HasFineTunedModel() bool
HasFineTunedModel returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasIntegrations ¶
func (o *CompletionDetailedJobOut) HasIntegrations() bool
HasIntegrations returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasJobType ¶
func (o *CompletionDetailedJobOut) HasJobType() bool
HasJobType returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasMetadata ¶
func (o *CompletionDetailedJobOut) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasObject ¶
func (o *CompletionDetailedJobOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasRepositories ¶
func (o *CompletionDetailedJobOut) HasRepositories() bool
HasRepositories returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasSuffix ¶
func (o *CompletionDetailedJobOut) HasSuffix() bool
HasSuffix returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasTrainedTokens ¶
func (o *CompletionDetailedJobOut) HasTrainedTokens() bool
HasTrainedTokens returns a boolean if a field has been set.
func (*CompletionDetailedJobOut) HasValidationFiles ¶
func (o *CompletionDetailedJobOut) HasValidationFiles() bool
HasValidationFiles returns a boolean if a field has been set.
func (CompletionDetailedJobOut) MarshalJSON ¶
func (o CompletionDetailedJobOut) MarshalJSON() ([]byte, error)
func (*CompletionDetailedJobOut) SetAutoStart ¶
func (o *CompletionDetailedJobOut) SetAutoStart(v bool)
SetAutoStart sets field value
func (*CompletionDetailedJobOut) SetCheckpoints ¶
func (o *CompletionDetailedJobOut) SetCheckpoints(v []CheckpointOut)
SetCheckpoints gets a reference to the given []CheckpointOut and assigns it to the Checkpoints field.
func (*CompletionDetailedJobOut) SetCreatedAt ¶
func (o *CompletionDetailedJobOut) SetCreatedAt(v int32)
SetCreatedAt sets field value
func (*CompletionDetailedJobOut) SetEvents ¶
func (o *CompletionDetailedJobOut) SetEvents(v []EventOut)
SetEvents gets a reference to the given []EventOut and assigns it to the Events field.
func (*CompletionDetailedJobOut) SetFineTunedModel ¶
func (o *CompletionDetailedJobOut) SetFineTunedModel(v string)
SetFineTunedModel gets a reference to the given NullableString and assigns it to the FineTunedModel field.
func (*CompletionDetailedJobOut) SetFineTunedModelNil ¶
func (o *CompletionDetailedJobOut) SetFineTunedModelNil()
SetFineTunedModelNil sets the value for FineTunedModel to be an explicit nil
func (*CompletionDetailedJobOut) SetHyperparameters ¶
func (o *CompletionDetailedJobOut) SetHyperparameters(v CompletionTrainingParameters)
SetHyperparameters sets field value
func (*CompletionDetailedJobOut) SetId ¶
func (o *CompletionDetailedJobOut) SetId(v string)
SetId sets field value
func (*CompletionDetailedJobOut) SetIntegrations ¶
func (o *CompletionDetailedJobOut) SetIntegrations(v []WandbIntegrationOut)
SetIntegrations gets a reference to the given []WandbIntegrationOut and assigns it to the Integrations field.
func (*CompletionDetailedJobOut) SetJobType ¶
func (o *CompletionDetailedJobOut) SetJobType(v string)
SetJobType gets a reference to the given string and assigns it to the JobType field.
func (*CompletionDetailedJobOut) SetMetadata ¶
func (o *CompletionDetailedJobOut) SetMetadata(v JobMetadataOut)
SetMetadata gets a reference to the given NullableJobMetadataOut and assigns it to the Metadata field.
func (*CompletionDetailedJobOut) SetMetadataNil ¶
func (o *CompletionDetailedJobOut) SetMetadataNil()
SetMetadataNil sets the value for Metadata to be an explicit nil
func (*CompletionDetailedJobOut) SetModel ¶
func (o *CompletionDetailedJobOut) SetModel(v FineTuneableModel)
SetModel sets field value
func (*CompletionDetailedJobOut) SetModifiedAt ¶
func (o *CompletionDetailedJobOut) SetModifiedAt(v int32)
SetModifiedAt sets field value
func (*CompletionDetailedJobOut) SetObject ¶
func (o *CompletionDetailedJobOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CompletionDetailedJobOut) SetRepositories ¶
func (o *CompletionDetailedJobOut) SetRepositories(v []GithubRepositoryOut)
SetRepositories gets a reference to the given []GithubRepositoryOut and assigns it to the Repositories field.
func (*CompletionDetailedJobOut) SetStatus ¶
func (o *CompletionDetailedJobOut) SetStatus(v string)
SetStatus sets field value
func (*CompletionDetailedJobOut) SetSuffix ¶
func (o *CompletionDetailedJobOut) SetSuffix(v string)
SetSuffix gets a reference to the given NullableString and assigns it to the Suffix field.
func (*CompletionDetailedJobOut) SetSuffixNil ¶
func (o *CompletionDetailedJobOut) SetSuffixNil()
SetSuffixNil sets the value for Suffix to be an explicit nil
func (*CompletionDetailedJobOut) SetTrainedTokens ¶
func (o *CompletionDetailedJobOut) SetTrainedTokens(v int32)
SetTrainedTokens gets a reference to the given NullableInt32 and assigns it to the TrainedTokens field.
func (*CompletionDetailedJobOut) SetTrainedTokensNil ¶
func (o *CompletionDetailedJobOut) SetTrainedTokensNil()
SetTrainedTokensNil sets the value for TrainedTokens to be an explicit nil
func (*CompletionDetailedJobOut) SetTrainingFiles ¶
func (o *CompletionDetailedJobOut) SetTrainingFiles(v []string)
SetTrainingFiles sets field value
func (*CompletionDetailedJobOut) SetValidationFiles ¶
func (o *CompletionDetailedJobOut) SetValidationFiles(v []string)
SetValidationFiles gets a reference to the given []string and assigns it to the ValidationFiles field.
func (CompletionDetailedJobOut) ToMap ¶
func (o CompletionDetailedJobOut) ToMap() (map[string]interface{}, error)
func (*CompletionDetailedJobOut) UnmarshalJSON ¶
func (o *CompletionDetailedJobOut) UnmarshalJSON(data []byte) (err error)
func (*CompletionDetailedJobOut) UnsetFineTunedModel ¶
func (o *CompletionDetailedJobOut) UnsetFineTunedModel()
UnsetFineTunedModel ensures that no value is present for FineTunedModel, not even an explicit nil
func (*CompletionDetailedJobOut) UnsetMetadata ¶
func (o *CompletionDetailedJobOut) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (*CompletionDetailedJobOut) UnsetSuffix ¶
func (o *CompletionDetailedJobOut) UnsetSuffix()
UnsetSuffix ensures that no value is present for Suffix, not even an explicit nil
func (*CompletionDetailedJobOut) UnsetTrainedTokens ¶
func (o *CompletionDetailedJobOut) UnsetTrainedTokens()
UnsetTrainedTokens ensures that no value is present for TrainedTokens, not even an explicit nil
type CompletionEvent ¶
type CompletionEvent struct {
Data CompletionChunk `json:"data"`
AdditionalProperties map[string]interface{}
}
CompletionEvent struct for CompletionEvent
func NewCompletionEvent ¶
func NewCompletionEvent(data CompletionChunk) *CompletionEvent
NewCompletionEvent instantiates a new CompletionEvent 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 NewCompletionEventWithDefaults ¶
func NewCompletionEventWithDefaults() *CompletionEvent
NewCompletionEventWithDefaults instantiates a new CompletionEvent 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 (*CompletionEvent) GetData ¶
func (o *CompletionEvent) GetData() CompletionChunk
GetData returns the Data field value
func (*CompletionEvent) GetDataOk ¶
func (o *CompletionEvent) GetDataOk() (*CompletionChunk, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (CompletionEvent) MarshalJSON ¶
func (o CompletionEvent) MarshalJSON() ([]byte, error)
func (*CompletionEvent) SetData ¶
func (o *CompletionEvent) SetData(v CompletionChunk)
SetData sets field value
func (CompletionEvent) ToMap ¶
func (o CompletionEvent) ToMap() (map[string]interface{}, error)
func (*CompletionEvent) UnmarshalJSON ¶
func (o *CompletionEvent) UnmarshalJSON(data []byte) (err error)
type CompletionFTModelOut ¶
type CompletionFTModelOut struct {
Id string `json:"id"`
Object *string `json:"object,omitempty"`
Created int32 `json:"created"`
OwnedBy string `json:"owned_by"`
WorkspaceId string `json:"workspace_id"`
Root string `json:"root"`
RootVersion string `json:"root_version"`
Archived bool `json:"archived"`
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
Capabilities FTModelCapabilitiesOut `json:"capabilities"`
MaxContextLength *int32 `json:"max_context_length,omitempty"`
Aliases []string `json:"aliases,omitempty"`
Job string `json:"job"`
ModelType *string `json:"model_type,omitempty"`
AdditionalProperties map[string]interface{}
}
CompletionFTModelOut struct for CompletionFTModelOut
func NewCompletionFTModelOut ¶
func NewCompletionFTModelOut(id string, created int32, ownedBy string, workspaceId string, root string, rootVersion string, archived bool, capabilities FTModelCapabilitiesOut, job string) *CompletionFTModelOut
NewCompletionFTModelOut instantiates a new CompletionFTModelOut 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 NewCompletionFTModelOutWithDefaults ¶
func NewCompletionFTModelOutWithDefaults() *CompletionFTModelOut
NewCompletionFTModelOutWithDefaults instantiates a new CompletionFTModelOut 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 (*CompletionFTModelOut) GetAliases ¶
func (o *CompletionFTModelOut) GetAliases() []string
GetAliases returns the Aliases field value if set, zero value otherwise.
func (*CompletionFTModelOut) GetAliasesOk ¶
func (o *CompletionFTModelOut) GetAliasesOk() ([]string, bool)
GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetArchived ¶
func (o *CompletionFTModelOut) GetArchived() bool
GetArchived returns the Archived field value
func (*CompletionFTModelOut) GetArchivedOk ¶
func (o *CompletionFTModelOut) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetCapabilities ¶
func (o *CompletionFTModelOut) GetCapabilities() FTModelCapabilitiesOut
GetCapabilities returns the Capabilities field value
func (*CompletionFTModelOut) GetCapabilitiesOk ¶
func (o *CompletionFTModelOut) GetCapabilitiesOk() (*FTModelCapabilitiesOut, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field value and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetCreated ¶
func (o *CompletionFTModelOut) GetCreated() int32
GetCreated returns the Created field value
func (*CompletionFTModelOut) GetCreatedOk ¶
func (o *CompletionFTModelOut) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetDescription ¶
func (o *CompletionFTModelOut) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionFTModelOut) GetDescriptionOk ¶
func (o *CompletionFTModelOut) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*CompletionFTModelOut) GetId ¶
func (o *CompletionFTModelOut) GetId() string
GetId returns the Id field value
func (*CompletionFTModelOut) GetIdOk ¶
func (o *CompletionFTModelOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetJob ¶
func (o *CompletionFTModelOut) GetJob() string
GetJob returns the Job field value
func (*CompletionFTModelOut) GetJobOk ¶
func (o *CompletionFTModelOut) GetJobOk() (*string, bool)
GetJobOk returns a tuple with the Job field value and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetMaxContextLength ¶
func (o *CompletionFTModelOut) GetMaxContextLength() int32
GetMaxContextLength returns the MaxContextLength field value if set, zero value otherwise.
func (*CompletionFTModelOut) GetMaxContextLengthOk ¶
func (o *CompletionFTModelOut) GetMaxContextLengthOk() (*int32, bool)
GetMaxContextLengthOk returns a tuple with the MaxContextLength field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetModelType ¶
func (o *CompletionFTModelOut) GetModelType() string
GetModelType returns the ModelType field value if set, zero value otherwise.
func (*CompletionFTModelOut) GetModelTypeOk ¶
func (o *CompletionFTModelOut) GetModelTypeOk() (*string, bool)
GetModelTypeOk returns a tuple with the ModelType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetName ¶
func (o *CompletionFTModelOut) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionFTModelOut) GetNameOk ¶
func (o *CompletionFTModelOut) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*CompletionFTModelOut) GetObject ¶
func (o *CompletionFTModelOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CompletionFTModelOut) GetObjectOk ¶
func (o *CompletionFTModelOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetOwnedBy ¶
func (o *CompletionFTModelOut) GetOwnedBy() string
GetOwnedBy returns the OwnedBy field value
func (*CompletionFTModelOut) GetOwnedByOk ¶
func (o *CompletionFTModelOut) GetOwnedByOk() (*string, bool)
GetOwnedByOk returns a tuple with the OwnedBy field value and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetRoot ¶
func (o *CompletionFTModelOut) GetRoot() string
GetRoot returns the Root field value
func (*CompletionFTModelOut) GetRootOk ¶
func (o *CompletionFTModelOut) GetRootOk() (*string, bool)
GetRootOk returns a tuple with the Root field value and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetRootVersion ¶ added in v0.15.0
func (o *CompletionFTModelOut) GetRootVersion() string
GetRootVersion returns the RootVersion field value
func (*CompletionFTModelOut) GetRootVersionOk ¶ added in v0.15.0
func (o *CompletionFTModelOut) GetRootVersionOk() (*string, bool)
GetRootVersionOk returns a tuple with the RootVersion field value and a boolean to check if the value has been set.
func (*CompletionFTModelOut) GetWorkspaceId ¶ added in v0.15.0
func (o *CompletionFTModelOut) GetWorkspaceId() string
GetWorkspaceId returns the WorkspaceId field value
func (*CompletionFTModelOut) GetWorkspaceIdOk ¶ added in v0.15.0
func (o *CompletionFTModelOut) GetWorkspaceIdOk() (*string, bool)
GetWorkspaceIdOk returns a tuple with the WorkspaceId field value and a boolean to check if the value has been set.
func (*CompletionFTModelOut) HasAliases ¶
func (o *CompletionFTModelOut) HasAliases() bool
HasAliases returns a boolean if a field has been set.
func (*CompletionFTModelOut) HasDescription ¶
func (o *CompletionFTModelOut) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CompletionFTModelOut) HasMaxContextLength ¶
func (o *CompletionFTModelOut) HasMaxContextLength() bool
HasMaxContextLength returns a boolean if a field has been set.
func (*CompletionFTModelOut) HasModelType ¶
func (o *CompletionFTModelOut) HasModelType() bool
HasModelType returns a boolean if a field has been set.
func (*CompletionFTModelOut) HasName ¶
func (o *CompletionFTModelOut) HasName() bool
HasName returns a boolean if a field has been set.
func (*CompletionFTModelOut) HasObject ¶
func (o *CompletionFTModelOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (CompletionFTModelOut) MarshalJSON ¶
func (o CompletionFTModelOut) MarshalJSON() ([]byte, error)
func (*CompletionFTModelOut) SetAliases ¶
func (o *CompletionFTModelOut) SetAliases(v []string)
SetAliases gets a reference to the given []string and assigns it to the Aliases field.
func (*CompletionFTModelOut) SetArchived ¶
func (o *CompletionFTModelOut) SetArchived(v bool)
SetArchived sets field value
func (*CompletionFTModelOut) SetCapabilities ¶
func (o *CompletionFTModelOut) SetCapabilities(v FTModelCapabilitiesOut)
SetCapabilities sets field value
func (*CompletionFTModelOut) SetCreated ¶
func (o *CompletionFTModelOut) SetCreated(v int32)
SetCreated sets field value
func (*CompletionFTModelOut) SetDescription ¶
func (o *CompletionFTModelOut) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*CompletionFTModelOut) SetDescriptionNil ¶
func (o *CompletionFTModelOut) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*CompletionFTModelOut) SetId ¶
func (o *CompletionFTModelOut) SetId(v string)
SetId sets field value
func (*CompletionFTModelOut) SetJob ¶
func (o *CompletionFTModelOut) SetJob(v string)
SetJob sets field value
func (*CompletionFTModelOut) SetMaxContextLength ¶
func (o *CompletionFTModelOut) SetMaxContextLength(v int32)
SetMaxContextLength gets a reference to the given int32 and assigns it to the MaxContextLength field.
func (*CompletionFTModelOut) SetModelType ¶
func (o *CompletionFTModelOut) SetModelType(v string)
SetModelType gets a reference to the given string and assigns it to the ModelType field.
func (*CompletionFTModelOut) SetName ¶
func (o *CompletionFTModelOut) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*CompletionFTModelOut) SetNameNil ¶
func (o *CompletionFTModelOut) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*CompletionFTModelOut) SetObject ¶
func (o *CompletionFTModelOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CompletionFTModelOut) SetOwnedBy ¶
func (o *CompletionFTModelOut) SetOwnedBy(v string)
SetOwnedBy sets field value
func (*CompletionFTModelOut) SetRoot ¶
func (o *CompletionFTModelOut) SetRoot(v string)
SetRoot sets field value
func (*CompletionFTModelOut) SetRootVersion ¶ added in v0.15.0
func (o *CompletionFTModelOut) SetRootVersion(v string)
SetRootVersion sets field value
func (*CompletionFTModelOut) SetWorkspaceId ¶ added in v0.15.0
func (o *CompletionFTModelOut) SetWorkspaceId(v string)
SetWorkspaceId sets field value
func (CompletionFTModelOut) ToMap ¶
func (o CompletionFTModelOut) ToMap() (map[string]interface{}, error)
func (*CompletionFTModelOut) UnmarshalJSON ¶
func (o *CompletionFTModelOut) UnmarshalJSON(data []byte) (err error)
func (*CompletionFTModelOut) UnsetDescription ¶
func (o *CompletionFTModelOut) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*CompletionFTModelOut) UnsetName ¶
func (o *CompletionFTModelOut) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type CompletionJobOut ¶
type CompletionJobOut struct {
// The ID of the job.
Id string `json:"id"`
AutoStart bool `json:"auto_start"`
Model FineTuneableModel `json:"model"`
// The current status of the fine-tuning job.
Status string `json:"status"`
// The UNIX timestamp (in seconds) for when the fine-tuning job was created.
CreatedAt int32 `json:"created_at"`
// The UNIX timestamp (in seconds) for when the fine-tuning job was last modified.
ModifiedAt int32 `json:"modified_at"`
// A list containing the IDs of uploaded files that contain training data.
TrainingFiles []string `json:"training_files"`
ValidationFiles []string `json:"validation_files,omitempty"`
// The object type of the fine-tuning job.
Object *string `json:"object,omitempty"`
FineTunedModel NullableString `json:"fine_tuned_model,omitempty"`
Suffix NullableString `json:"suffix,omitempty"`
Integrations []WandbIntegrationOut `json:"integrations,omitempty"`
TrainedTokens NullableInt32 `json:"trained_tokens,omitempty"`
Metadata NullableJobMetadataOut `json:"metadata,omitempty"`
// The type of job (`FT` for fine-tuning).
JobType *string `json:"job_type,omitempty"`
Hyperparameters CompletionTrainingParameters `json:"hyperparameters"`
Repositories []GithubRepositoryOut `json:"repositories,omitempty"`
AdditionalProperties map[string]interface{}
}
CompletionJobOut struct for CompletionJobOut
func NewCompletionJobOut ¶
func NewCompletionJobOut(id string, autoStart bool, model FineTuneableModel, status string, createdAt int32, modifiedAt int32, trainingFiles []string, hyperparameters CompletionTrainingParameters) *CompletionJobOut
NewCompletionJobOut instantiates a new CompletionJobOut 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 NewCompletionJobOutWithDefaults ¶
func NewCompletionJobOutWithDefaults() *CompletionJobOut
NewCompletionJobOutWithDefaults instantiates a new CompletionJobOut 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 (*CompletionJobOut) GetAutoStart ¶
func (o *CompletionJobOut) GetAutoStart() bool
GetAutoStart returns the AutoStart field value
func (*CompletionJobOut) GetAutoStartOk ¶
func (o *CompletionJobOut) GetAutoStartOk() (*bool, bool)
GetAutoStartOk returns a tuple with the AutoStart field value and a boolean to check if the value has been set.
func (*CompletionJobOut) GetCreatedAt ¶
func (o *CompletionJobOut) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field value
func (*CompletionJobOut) GetCreatedAtOk ¶
func (o *CompletionJobOut) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*CompletionJobOut) GetFineTunedModel ¶
func (o *CompletionJobOut) GetFineTunedModel() string
GetFineTunedModel returns the FineTunedModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionJobOut) GetFineTunedModelOk ¶
func (o *CompletionJobOut) GetFineTunedModelOk() (*string, bool)
GetFineTunedModelOk returns a tuple with the FineTunedModel 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 (*CompletionJobOut) GetHyperparameters ¶
func (o *CompletionJobOut) GetHyperparameters() CompletionTrainingParameters
GetHyperparameters returns the Hyperparameters field value
func (*CompletionJobOut) GetHyperparametersOk ¶
func (o *CompletionJobOut) GetHyperparametersOk() (*CompletionTrainingParameters, bool)
GetHyperparametersOk returns a tuple with the Hyperparameters field value and a boolean to check if the value has been set.
func (*CompletionJobOut) GetId ¶
func (o *CompletionJobOut) GetId() string
GetId returns the Id field value
func (*CompletionJobOut) GetIdOk ¶
func (o *CompletionJobOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*CompletionJobOut) GetIntegrations ¶
func (o *CompletionJobOut) GetIntegrations() []WandbIntegrationOut
GetIntegrations returns the Integrations field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionJobOut) GetIntegrationsOk ¶
func (o *CompletionJobOut) GetIntegrationsOk() ([]WandbIntegrationOut, bool)
GetIntegrationsOk returns a tuple with the Integrations 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 (*CompletionJobOut) GetJobType ¶
func (o *CompletionJobOut) GetJobType() string
GetJobType returns the JobType field value if set, zero value otherwise.
func (*CompletionJobOut) GetJobTypeOk ¶
func (o *CompletionJobOut) GetJobTypeOk() (*string, bool)
GetJobTypeOk returns a tuple with the JobType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionJobOut) GetMetadata ¶
func (o *CompletionJobOut) GetMetadata() JobMetadataOut
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionJobOut) GetMetadataOk ¶
func (o *CompletionJobOut) GetMetadataOk() (*JobMetadataOut, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*CompletionJobOut) GetModel ¶
func (o *CompletionJobOut) GetModel() FineTuneableModel
GetModel returns the Model field value
func (*CompletionJobOut) GetModelOk ¶
func (o *CompletionJobOut) GetModelOk() (*FineTuneableModel, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*CompletionJobOut) GetModifiedAt ¶
func (o *CompletionJobOut) GetModifiedAt() int32
GetModifiedAt returns the ModifiedAt field value
func (*CompletionJobOut) GetModifiedAtOk ¶
func (o *CompletionJobOut) GetModifiedAtOk() (*int32, bool)
GetModifiedAtOk returns a tuple with the ModifiedAt field value and a boolean to check if the value has been set.
func (*CompletionJobOut) GetObject ¶
func (o *CompletionJobOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*CompletionJobOut) GetObjectOk ¶
func (o *CompletionJobOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionJobOut) GetRepositories ¶
func (o *CompletionJobOut) GetRepositories() []GithubRepositoryOut
GetRepositories returns the Repositories field value if set, zero value otherwise.
func (*CompletionJobOut) GetRepositoriesOk ¶
func (o *CompletionJobOut) GetRepositoriesOk() ([]GithubRepositoryOut, bool)
GetRepositoriesOk returns a tuple with the Repositories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionJobOut) GetStatus ¶
func (o *CompletionJobOut) GetStatus() string
GetStatus returns the Status field value
func (*CompletionJobOut) GetStatusOk ¶
func (o *CompletionJobOut) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*CompletionJobOut) GetSuffix ¶
func (o *CompletionJobOut) GetSuffix() string
GetSuffix returns the Suffix field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionJobOut) GetSuffixOk ¶
func (o *CompletionJobOut) GetSuffixOk() (*string, bool)
GetSuffixOk returns a tuple with the Suffix 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 (*CompletionJobOut) GetTrainedTokens ¶
func (o *CompletionJobOut) GetTrainedTokens() int32
GetTrainedTokens returns the TrainedTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionJobOut) GetTrainedTokensOk ¶
func (o *CompletionJobOut) GetTrainedTokensOk() (*int32, bool)
GetTrainedTokensOk returns a tuple with the TrainedTokens 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 (*CompletionJobOut) GetTrainingFiles ¶
func (o *CompletionJobOut) GetTrainingFiles() []string
GetTrainingFiles returns the TrainingFiles field value
func (*CompletionJobOut) GetTrainingFilesOk ¶
func (o *CompletionJobOut) GetTrainingFilesOk() ([]string, bool)
GetTrainingFilesOk returns a tuple with the TrainingFiles field value and a boolean to check if the value has been set.
func (*CompletionJobOut) GetValidationFiles ¶
func (o *CompletionJobOut) GetValidationFiles() []string
GetValidationFiles returns the ValidationFiles field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionJobOut) GetValidationFilesOk ¶
func (o *CompletionJobOut) GetValidationFilesOk() ([]string, bool)
GetValidationFilesOk returns a tuple with the ValidationFiles 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 (*CompletionJobOut) HasFineTunedModel ¶
func (o *CompletionJobOut) HasFineTunedModel() bool
HasFineTunedModel returns a boolean if a field has been set.
func (*CompletionJobOut) HasIntegrations ¶
func (o *CompletionJobOut) HasIntegrations() bool
HasIntegrations returns a boolean if a field has been set.
func (*CompletionJobOut) HasJobType ¶
func (o *CompletionJobOut) HasJobType() bool
HasJobType returns a boolean if a field has been set.
func (*CompletionJobOut) HasMetadata ¶
func (o *CompletionJobOut) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*CompletionJobOut) HasObject ¶
func (o *CompletionJobOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*CompletionJobOut) HasRepositories ¶
func (o *CompletionJobOut) HasRepositories() bool
HasRepositories returns a boolean if a field has been set.
func (*CompletionJobOut) HasSuffix ¶
func (o *CompletionJobOut) HasSuffix() bool
HasSuffix returns a boolean if a field has been set.
func (*CompletionJobOut) HasTrainedTokens ¶
func (o *CompletionJobOut) HasTrainedTokens() bool
HasTrainedTokens returns a boolean if a field has been set.
func (*CompletionJobOut) HasValidationFiles ¶
func (o *CompletionJobOut) HasValidationFiles() bool
HasValidationFiles returns a boolean if a field has been set.
func (CompletionJobOut) MarshalJSON ¶
func (o CompletionJobOut) MarshalJSON() ([]byte, error)
func (*CompletionJobOut) SetAutoStart ¶
func (o *CompletionJobOut) SetAutoStart(v bool)
SetAutoStart sets field value
func (*CompletionJobOut) SetCreatedAt ¶
func (o *CompletionJobOut) SetCreatedAt(v int32)
SetCreatedAt sets field value
func (*CompletionJobOut) SetFineTunedModel ¶
func (o *CompletionJobOut) SetFineTunedModel(v string)
SetFineTunedModel gets a reference to the given NullableString and assigns it to the FineTunedModel field.
func (*CompletionJobOut) SetFineTunedModelNil ¶
func (o *CompletionJobOut) SetFineTunedModelNil()
SetFineTunedModelNil sets the value for FineTunedModel to be an explicit nil
func (*CompletionJobOut) SetHyperparameters ¶
func (o *CompletionJobOut) SetHyperparameters(v CompletionTrainingParameters)
SetHyperparameters sets field value
func (*CompletionJobOut) SetIntegrations ¶
func (o *CompletionJobOut) SetIntegrations(v []WandbIntegrationOut)
SetIntegrations gets a reference to the given []WandbIntegrationOut and assigns it to the Integrations field.
func (*CompletionJobOut) SetJobType ¶
func (o *CompletionJobOut) SetJobType(v string)
SetJobType gets a reference to the given string and assigns it to the JobType field.
func (*CompletionJobOut) SetMetadata ¶
func (o *CompletionJobOut) SetMetadata(v JobMetadataOut)
SetMetadata gets a reference to the given NullableJobMetadataOut and assigns it to the Metadata field.
func (*CompletionJobOut) SetMetadataNil ¶
func (o *CompletionJobOut) SetMetadataNil()
SetMetadataNil sets the value for Metadata to be an explicit nil
func (*CompletionJobOut) SetModel ¶
func (o *CompletionJobOut) SetModel(v FineTuneableModel)
SetModel sets field value
func (*CompletionJobOut) SetModifiedAt ¶
func (o *CompletionJobOut) SetModifiedAt(v int32)
SetModifiedAt sets field value
func (*CompletionJobOut) SetObject ¶
func (o *CompletionJobOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*CompletionJobOut) SetRepositories ¶
func (o *CompletionJobOut) SetRepositories(v []GithubRepositoryOut)
SetRepositories gets a reference to the given []GithubRepositoryOut and assigns it to the Repositories field.
func (*CompletionJobOut) SetStatus ¶
func (o *CompletionJobOut) SetStatus(v string)
SetStatus sets field value
func (*CompletionJobOut) SetSuffix ¶
func (o *CompletionJobOut) SetSuffix(v string)
SetSuffix gets a reference to the given NullableString and assigns it to the Suffix field.
func (*CompletionJobOut) SetSuffixNil ¶
func (o *CompletionJobOut) SetSuffixNil()
SetSuffixNil sets the value for Suffix to be an explicit nil
func (*CompletionJobOut) SetTrainedTokens ¶
func (o *CompletionJobOut) SetTrainedTokens(v int32)
SetTrainedTokens gets a reference to the given NullableInt32 and assigns it to the TrainedTokens field.
func (*CompletionJobOut) SetTrainedTokensNil ¶
func (o *CompletionJobOut) SetTrainedTokensNil()
SetTrainedTokensNil sets the value for TrainedTokens to be an explicit nil
func (*CompletionJobOut) SetTrainingFiles ¶
func (o *CompletionJobOut) SetTrainingFiles(v []string)
SetTrainingFiles sets field value
func (*CompletionJobOut) SetValidationFiles ¶
func (o *CompletionJobOut) SetValidationFiles(v []string)
SetValidationFiles gets a reference to the given []string and assigns it to the ValidationFiles field.
func (CompletionJobOut) ToMap ¶
func (o CompletionJobOut) ToMap() (map[string]interface{}, error)
func (*CompletionJobOut) UnmarshalJSON ¶
func (o *CompletionJobOut) UnmarshalJSON(data []byte) (err error)
func (*CompletionJobOut) UnsetFineTunedModel ¶
func (o *CompletionJobOut) UnsetFineTunedModel()
UnsetFineTunedModel ensures that no value is present for FineTunedModel, not even an explicit nil
func (*CompletionJobOut) UnsetMetadata ¶
func (o *CompletionJobOut) UnsetMetadata()
UnsetMetadata ensures that no value is present for Metadata, not even an explicit nil
func (*CompletionJobOut) UnsetSuffix ¶
func (o *CompletionJobOut) UnsetSuffix()
UnsetSuffix ensures that no value is present for Suffix, not even an explicit nil
func (*CompletionJobOut) UnsetTrainedTokens ¶
func (o *CompletionJobOut) UnsetTrainedTokens()
UnsetTrainedTokens ensures that no value is present for TrainedTokens, not even an explicit nil
type CompletionResponseStreamChoice ¶
type CompletionResponseStreamChoice struct {
Index int32 `json:"index"`
Delta DeltaMessage `json:"delta"`
FinishReason NullableString `json:"finish_reason"`
AdditionalProperties map[string]interface{}
}
CompletionResponseStreamChoice struct for CompletionResponseStreamChoice
func NewCompletionResponseStreamChoice ¶
func NewCompletionResponseStreamChoice(index int32, delta DeltaMessage, finishReason NullableString) *CompletionResponseStreamChoice
NewCompletionResponseStreamChoice instantiates a new CompletionResponseStreamChoice 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 NewCompletionResponseStreamChoiceWithDefaults ¶
func NewCompletionResponseStreamChoiceWithDefaults() *CompletionResponseStreamChoice
NewCompletionResponseStreamChoiceWithDefaults instantiates a new CompletionResponseStreamChoice 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 (*CompletionResponseStreamChoice) GetDelta ¶
func (o *CompletionResponseStreamChoice) GetDelta() DeltaMessage
GetDelta returns the Delta field value
func (*CompletionResponseStreamChoice) GetDeltaOk ¶
func (o *CompletionResponseStreamChoice) GetDeltaOk() (*DeltaMessage, bool)
GetDeltaOk returns a tuple with the Delta field value and a boolean to check if the value has been set.
func (*CompletionResponseStreamChoice) GetFinishReason ¶
func (o *CompletionResponseStreamChoice) GetFinishReason() string
GetFinishReason returns the FinishReason field value If the value is explicit nil, the zero value for string will be returned
func (*CompletionResponseStreamChoice) GetFinishReasonOk ¶
func (o *CompletionResponseStreamChoice) GetFinishReasonOk() (*string, bool)
GetFinishReasonOk returns a tuple with the FinishReason 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 (*CompletionResponseStreamChoice) GetIndex ¶
func (o *CompletionResponseStreamChoice) GetIndex() int32
GetIndex returns the Index field value
func (*CompletionResponseStreamChoice) GetIndexOk ¶
func (o *CompletionResponseStreamChoice) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (CompletionResponseStreamChoice) MarshalJSON ¶
func (o CompletionResponseStreamChoice) MarshalJSON() ([]byte, error)
func (*CompletionResponseStreamChoice) SetDelta ¶
func (o *CompletionResponseStreamChoice) SetDelta(v DeltaMessage)
SetDelta sets field value
func (*CompletionResponseStreamChoice) SetFinishReason ¶
func (o *CompletionResponseStreamChoice) SetFinishReason(v string)
SetFinishReason sets field value
func (*CompletionResponseStreamChoice) SetIndex ¶
func (o *CompletionResponseStreamChoice) SetIndex(v int32)
SetIndex sets field value
func (CompletionResponseStreamChoice) ToMap ¶
func (o CompletionResponseStreamChoice) ToMap() (map[string]interface{}, error)
func (*CompletionResponseStreamChoice) UnmarshalJSON ¶
func (o *CompletionResponseStreamChoice) UnmarshalJSON(data []byte) (err error)
type CompletionTrainingParameters ¶
type CompletionTrainingParameters struct {
TrainingSteps NullableInt32 `json:"training_steps,omitempty"`
LearningRate *float32 `json:"learning_rate,omitempty"`
WeightDecay NullableFloat32 `json:"weight_decay,omitempty"`
WarmupFraction NullableFloat32 `json:"warmup_fraction,omitempty"`
Epochs NullableFloat32 `json:"epochs,omitempty"`
SeqLen NullableInt32 `json:"seq_len,omitempty"`
FimRatio NullableFloat32 `json:"fim_ratio,omitempty"`
AdditionalProperties map[string]interface{}
}
CompletionTrainingParameters struct for CompletionTrainingParameters
func NewCompletionTrainingParameters ¶
func NewCompletionTrainingParameters() *CompletionTrainingParameters
NewCompletionTrainingParameters instantiates a new CompletionTrainingParameters 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 NewCompletionTrainingParametersWithDefaults ¶
func NewCompletionTrainingParametersWithDefaults() *CompletionTrainingParameters
NewCompletionTrainingParametersWithDefaults instantiates a new CompletionTrainingParameters 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 (*CompletionTrainingParameters) GetEpochs ¶
func (o *CompletionTrainingParameters) GetEpochs() float32
GetEpochs returns the Epochs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParameters) GetEpochsOk ¶
func (o *CompletionTrainingParameters) GetEpochsOk() (*float32, bool)
GetEpochsOk returns a tuple with the Epochs 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 (*CompletionTrainingParameters) GetFimRatio ¶
func (o *CompletionTrainingParameters) GetFimRatio() float32
GetFimRatio returns the FimRatio field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParameters) GetFimRatioOk ¶
func (o *CompletionTrainingParameters) GetFimRatioOk() (*float32, bool)
GetFimRatioOk returns a tuple with the FimRatio 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 (*CompletionTrainingParameters) GetLearningRate ¶
func (o *CompletionTrainingParameters) GetLearningRate() float32
GetLearningRate returns the LearningRate field value if set, zero value otherwise.
func (*CompletionTrainingParameters) GetLearningRateOk ¶
func (o *CompletionTrainingParameters) GetLearningRateOk() (*float32, bool)
GetLearningRateOk returns a tuple with the LearningRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionTrainingParameters) GetSeqLen ¶
func (o *CompletionTrainingParameters) GetSeqLen() int32
GetSeqLen returns the SeqLen field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParameters) GetSeqLenOk ¶
func (o *CompletionTrainingParameters) GetSeqLenOk() (*int32, bool)
GetSeqLenOk returns a tuple with the SeqLen 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 (*CompletionTrainingParameters) GetTrainingSteps ¶
func (o *CompletionTrainingParameters) GetTrainingSteps() int32
GetTrainingSteps returns the TrainingSteps field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParameters) GetTrainingStepsOk ¶
func (o *CompletionTrainingParameters) GetTrainingStepsOk() (*int32, bool)
GetTrainingStepsOk returns a tuple with the TrainingSteps 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 (*CompletionTrainingParameters) GetWarmupFraction ¶
func (o *CompletionTrainingParameters) GetWarmupFraction() float32
GetWarmupFraction returns the WarmupFraction field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParameters) GetWarmupFractionOk ¶
func (o *CompletionTrainingParameters) GetWarmupFractionOk() (*float32, bool)
GetWarmupFractionOk returns a tuple with the WarmupFraction 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 (*CompletionTrainingParameters) GetWeightDecay ¶
func (o *CompletionTrainingParameters) GetWeightDecay() float32
GetWeightDecay returns the WeightDecay field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParameters) GetWeightDecayOk ¶
func (o *CompletionTrainingParameters) GetWeightDecayOk() (*float32, bool)
GetWeightDecayOk returns a tuple with the WeightDecay 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 (*CompletionTrainingParameters) HasEpochs ¶
func (o *CompletionTrainingParameters) HasEpochs() bool
HasEpochs returns a boolean if a field has been set.
func (*CompletionTrainingParameters) HasFimRatio ¶
func (o *CompletionTrainingParameters) HasFimRatio() bool
HasFimRatio returns a boolean if a field has been set.
func (*CompletionTrainingParameters) HasLearningRate ¶
func (o *CompletionTrainingParameters) HasLearningRate() bool
HasLearningRate returns a boolean if a field has been set.
func (*CompletionTrainingParameters) HasSeqLen ¶
func (o *CompletionTrainingParameters) HasSeqLen() bool
HasSeqLen returns a boolean if a field has been set.
func (*CompletionTrainingParameters) HasTrainingSteps ¶
func (o *CompletionTrainingParameters) HasTrainingSteps() bool
HasTrainingSteps returns a boolean if a field has been set.
func (*CompletionTrainingParameters) HasWarmupFraction ¶
func (o *CompletionTrainingParameters) HasWarmupFraction() bool
HasWarmupFraction returns a boolean if a field has been set.
func (*CompletionTrainingParameters) HasWeightDecay ¶
func (o *CompletionTrainingParameters) HasWeightDecay() bool
HasWeightDecay returns a boolean if a field has been set.
func (CompletionTrainingParameters) MarshalJSON ¶
func (o CompletionTrainingParameters) MarshalJSON() ([]byte, error)
func (*CompletionTrainingParameters) SetEpochs ¶
func (o *CompletionTrainingParameters) SetEpochs(v float32)
SetEpochs gets a reference to the given NullableFloat32 and assigns it to the Epochs field.
func (*CompletionTrainingParameters) SetEpochsNil ¶
func (o *CompletionTrainingParameters) SetEpochsNil()
SetEpochsNil sets the value for Epochs to be an explicit nil
func (*CompletionTrainingParameters) SetFimRatio ¶
func (o *CompletionTrainingParameters) SetFimRatio(v float32)
SetFimRatio gets a reference to the given NullableFloat32 and assigns it to the FimRatio field.
func (*CompletionTrainingParameters) SetFimRatioNil ¶
func (o *CompletionTrainingParameters) SetFimRatioNil()
SetFimRatioNil sets the value for FimRatio to be an explicit nil
func (*CompletionTrainingParameters) SetLearningRate ¶
func (o *CompletionTrainingParameters) SetLearningRate(v float32)
SetLearningRate gets a reference to the given float32 and assigns it to the LearningRate field.
func (*CompletionTrainingParameters) SetSeqLen ¶
func (o *CompletionTrainingParameters) SetSeqLen(v int32)
SetSeqLen gets a reference to the given NullableInt32 and assigns it to the SeqLen field.
func (*CompletionTrainingParameters) SetSeqLenNil ¶
func (o *CompletionTrainingParameters) SetSeqLenNil()
SetSeqLenNil sets the value for SeqLen to be an explicit nil
func (*CompletionTrainingParameters) SetTrainingSteps ¶
func (o *CompletionTrainingParameters) SetTrainingSteps(v int32)
SetTrainingSteps gets a reference to the given NullableInt32 and assigns it to the TrainingSteps field.
func (*CompletionTrainingParameters) SetTrainingStepsNil ¶
func (o *CompletionTrainingParameters) SetTrainingStepsNil()
SetTrainingStepsNil sets the value for TrainingSteps to be an explicit nil
func (*CompletionTrainingParameters) SetWarmupFraction ¶
func (o *CompletionTrainingParameters) SetWarmupFraction(v float32)
SetWarmupFraction gets a reference to the given NullableFloat32 and assigns it to the WarmupFraction field.
func (*CompletionTrainingParameters) SetWarmupFractionNil ¶
func (o *CompletionTrainingParameters) SetWarmupFractionNil()
SetWarmupFractionNil sets the value for WarmupFraction to be an explicit nil
func (*CompletionTrainingParameters) SetWeightDecay ¶
func (o *CompletionTrainingParameters) SetWeightDecay(v float32)
SetWeightDecay gets a reference to the given NullableFloat32 and assigns it to the WeightDecay field.
func (*CompletionTrainingParameters) SetWeightDecayNil ¶
func (o *CompletionTrainingParameters) SetWeightDecayNil()
SetWeightDecayNil sets the value for WeightDecay to be an explicit nil
func (CompletionTrainingParameters) ToMap ¶
func (o CompletionTrainingParameters) ToMap() (map[string]interface{}, error)
func (*CompletionTrainingParameters) UnmarshalJSON ¶
func (o *CompletionTrainingParameters) UnmarshalJSON(data []byte) (err error)
func (*CompletionTrainingParameters) UnsetEpochs ¶
func (o *CompletionTrainingParameters) UnsetEpochs()
UnsetEpochs ensures that no value is present for Epochs, not even an explicit nil
func (*CompletionTrainingParameters) UnsetFimRatio ¶
func (o *CompletionTrainingParameters) UnsetFimRatio()
UnsetFimRatio ensures that no value is present for FimRatio, not even an explicit nil
func (*CompletionTrainingParameters) UnsetSeqLen ¶
func (o *CompletionTrainingParameters) UnsetSeqLen()
UnsetSeqLen ensures that no value is present for SeqLen, not even an explicit nil
func (*CompletionTrainingParameters) UnsetTrainingSteps ¶
func (o *CompletionTrainingParameters) UnsetTrainingSteps()
UnsetTrainingSteps ensures that no value is present for TrainingSteps, not even an explicit nil
func (*CompletionTrainingParameters) UnsetWarmupFraction ¶
func (o *CompletionTrainingParameters) UnsetWarmupFraction()
UnsetWarmupFraction ensures that no value is present for WarmupFraction, not even an explicit nil
func (*CompletionTrainingParameters) UnsetWeightDecay ¶
func (o *CompletionTrainingParameters) UnsetWeightDecay()
UnsetWeightDecay ensures that no value is present for WeightDecay, not even an explicit nil
type CompletionTrainingParametersIn ¶
type CompletionTrainingParametersIn struct {
TrainingSteps NullableInt32 `json:"training_steps,omitempty"`
// A parameter describing how much to adjust the pre-trained model's weights in response to the estimated error each time the weights are updated during the fine-tuning process.
LearningRate *float32 `json:"learning_rate,omitempty"`
WeightDecay NullableFloat32 `json:"weight_decay,omitempty"`
WarmupFraction NullableFloat32 `json:"warmup_fraction,omitempty"`
Epochs NullableFloat32 `json:"epochs,omitempty"`
SeqLen NullableInt32 `json:"seq_len,omitempty"`
FimRatio NullableFloat32 `json:"fim_ratio,omitempty"`
AdditionalProperties map[string]interface{}
}
CompletionTrainingParametersIn The fine-tuning hyperparameter settings used in a fine-tune job.
func NewCompletionTrainingParametersIn ¶
func NewCompletionTrainingParametersIn() *CompletionTrainingParametersIn
NewCompletionTrainingParametersIn instantiates a new CompletionTrainingParametersIn 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 NewCompletionTrainingParametersInWithDefaults ¶
func NewCompletionTrainingParametersInWithDefaults() *CompletionTrainingParametersIn
NewCompletionTrainingParametersInWithDefaults instantiates a new CompletionTrainingParametersIn 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 (*CompletionTrainingParametersIn) GetEpochs ¶
func (o *CompletionTrainingParametersIn) GetEpochs() float32
GetEpochs returns the Epochs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParametersIn) GetEpochsOk ¶
func (o *CompletionTrainingParametersIn) GetEpochsOk() (*float32, bool)
GetEpochsOk returns a tuple with the Epochs 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 (*CompletionTrainingParametersIn) GetFimRatio ¶
func (o *CompletionTrainingParametersIn) GetFimRatio() float32
GetFimRatio returns the FimRatio field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParametersIn) GetFimRatioOk ¶
func (o *CompletionTrainingParametersIn) GetFimRatioOk() (*float32, bool)
GetFimRatioOk returns a tuple with the FimRatio 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 (*CompletionTrainingParametersIn) GetLearningRate ¶
func (o *CompletionTrainingParametersIn) GetLearningRate() float32
GetLearningRate returns the LearningRate field value if set, zero value otherwise.
func (*CompletionTrainingParametersIn) GetLearningRateOk ¶
func (o *CompletionTrainingParametersIn) GetLearningRateOk() (*float32, bool)
GetLearningRateOk returns a tuple with the LearningRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompletionTrainingParametersIn) GetSeqLen ¶
func (o *CompletionTrainingParametersIn) GetSeqLen() int32
GetSeqLen returns the SeqLen field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParametersIn) GetSeqLenOk ¶
func (o *CompletionTrainingParametersIn) GetSeqLenOk() (*int32, bool)
GetSeqLenOk returns a tuple with the SeqLen 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 (*CompletionTrainingParametersIn) GetTrainingSteps ¶
func (o *CompletionTrainingParametersIn) GetTrainingSteps() int32
GetTrainingSteps returns the TrainingSteps field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParametersIn) GetTrainingStepsOk ¶
func (o *CompletionTrainingParametersIn) GetTrainingStepsOk() (*int32, bool)
GetTrainingStepsOk returns a tuple with the TrainingSteps 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 (*CompletionTrainingParametersIn) GetWarmupFraction ¶
func (o *CompletionTrainingParametersIn) GetWarmupFraction() float32
GetWarmupFraction returns the WarmupFraction field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParametersIn) GetWarmupFractionOk ¶
func (o *CompletionTrainingParametersIn) GetWarmupFractionOk() (*float32, bool)
GetWarmupFractionOk returns a tuple with the WarmupFraction 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 (*CompletionTrainingParametersIn) GetWeightDecay ¶
func (o *CompletionTrainingParametersIn) GetWeightDecay() float32
GetWeightDecay returns the WeightDecay field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CompletionTrainingParametersIn) GetWeightDecayOk ¶
func (o *CompletionTrainingParametersIn) GetWeightDecayOk() (*float32, bool)
GetWeightDecayOk returns a tuple with the WeightDecay 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 (*CompletionTrainingParametersIn) HasEpochs ¶
func (o *CompletionTrainingParametersIn) HasEpochs() bool
HasEpochs returns a boolean if a field has been set.
func (*CompletionTrainingParametersIn) HasFimRatio ¶
func (o *CompletionTrainingParametersIn) HasFimRatio() bool
HasFimRatio returns a boolean if a field has been set.
func (*CompletionTrainingParametersIn) HasLearningRate ¶
func (o *CompletionTrainingParametersIn) HasLearningRate() bool
HasLearningRate returns a boolean if a field has been set.
func (*CompletionTrainingParametersIn) HasSeqLen ¶
func (o *CompletionTrainingParametersIn) HasSeqLen() bool
HasSeqLen returns a boolean if a field has been set.
func (*CompletionTrainingParametersIn) HasTrainingSteps ¶
func (o *CompletionTrainingParametersIn) HasTrainingSteps() bool
HasTrainingSteps returns a boolean if a field has been set.
func (*CompletionTrainingParametersIn) HasWarmupFraction ¶
func (o *CompletionTrainingParametersIn) HasWarmupFraction() bool
HasWarmupFraction returns a boolean if a field has been set.
func (*CompletionTrainingParametersIn) HasWeightDecay ¶
func (o *CompletionTrainingParametersIn) HasWeightDecay() bool
HasWeightDecay returns a boolean if a field has been set.
func (CompletionTrainingParametersIn) MarshalJSON ¶
func (o CompletionTrainingParametersIn) MarshalJSON() ([]byte, error)
func (*CompletionTrainingParametersIn) SetEpochs ¶
func (o *CompletionTrainingParametersIn) SetEpochs(v float32)
SetEpochs gets a reference to the given NullableFloat32 and assigns it to the Epochs field.
func (*CompletionTrainingParametersIn) SetEpochsNil ¶
func (o *CompletionTrainingParametersIn) SetEpochsNil()
SetEpochsNil sets the value for Epochs to be an explicit nil
func (*CompletionTrainingParametersIn) SetFimRatio ¶
func (o *CompletionTrainingParametersIn) SetFimRatio(v float32)
SetFimRatio gets a reference to the given NullableFloat32 and assigns it to the FimRatio field.
func (*CompletionTrainingParametersIn) SetFimRatioNil ¶
func (o *CompletionTrainingParametersIn) SetFimRatioNil()
SetFimRatioNil sets the value for FimRatio to be an explicit nil
func (*CompletionTrainingParametersIn) SetLearningRate ¶
func (o *CompletionTrainingParametersIn) SetLearningRate(v float32)
SetLearningRate gets a reference to the given float32 and assigns it to the LearningRate field.
func (*CompletionTrainingParametersIn) SetSeqLen ¶
func (o *CompletionTrainingParametersIn) SetSeqLen(v int32)
SetSeqLen gets a reference to the given NullableInt32 and assigns it to the SeqLen field.
func (*CompletionTrainingParametersIn) SetSeqLenNil ¶
func (o *CompletionTrainingParametersIn) SetSeqLenNil()
SetSeqLenNil sets the value for SeqLen to be an explicit nil
func (*CompletionTrainingParametersIn) SetTrainingSteps ¶
func (o *CompletionTrainingParametersIn) SetTrainingSteps(v int32)
SetTrainingSteps gets a reference to the given NullableInt32 and assigns it to the TrainingSteps field.
func (*CompletionTrainingParametersIn) SetTrainingStepsNil ¶
func (o *CompletionTrainingParametersIn) SetTrainingStepsNil()
SetTrainingStepsNil sets the value for TrainingSteps to be an explicit nil
func (*CompletionTrainingParametersIn) SetWarmupFraction ¶
func (o *CompletionTrainingParametersIn) SetWarmupFraction(v float32)
SetWarmupFraction gets a reference to the given NullableFloat32 and assigns it to the WarmupFraction field.
func (*CompletionTrainingParametersIn) SetWarmupFractionNil ¶
func (o *CompletionTrainingParametersIn) SetWarmupFractionNil()
SetWarmupFractionNil sets the value for WarmupFraction to be an explicit nil
func (*CompletionTrainingParametersIn) SetWeightDecay ¶
func (o *CompletionTrainingParametersIn) SetWeightDecay(v float32)
SetWeightDecay gets a reference to the given NullableFloat32 and assigns it to the WeightDecay field.
func (*CompletionTrainingParametersIn) SetWeightDecayNil ¶
func (o *CompletionTrainingParametersIn) SetWeightDecayNil()
SetWeightDecayNil sets the value for WeightDecay to be an explicit nil
func (CompletionTrainingParametersIn) ToMap ¶
func (o CompletionTrainingParametersIn) ToMap() (map[string]interface{}, error)
func (*CompletionTrainingParametersIn) UnmarshalJSON ¶
func (o *CompletionTrainingParametersIn) UnmarshalJSON(data []byte) (err error)
func (*CompletionTrainingParametersIn) UnsetEpochs ¶
func (o *CompletionTrainingParametersIn) UnsetEpochs()
UnsetEpochs ensures that no value is present for Epochs, not even an explicit nil
func (*CompletionTrainingParametersIn) UnsetFimRatio ¶
func (o *CompletionTrainingParametersIn) UnsetFimRatio()
UnsetFimRatio ensures that no value is present for FimRatio, not even an explicit nil
func (*CompletionTrainingParametersIn) UnsetSeqLen ¶
func (o *CompletionTrainingParametersIn) UnsetSeqLen()
UnsetSeqLen ensures that no value is present for SeqLen, not even an explicit nil
func (*CompletionTrainingParametersIn) UnsetTrainingSteps ¶
func (o *CompletionTrainingParametersIn) UnsetTrainingSteps()
UnsetTrainingSteps ensures that no value is present for TrainingSteps, not even an explicit nil
func (*CompletionTrainingParametersIn) UnsetWarmupFraction ¶
func (o *CompletionTrainingParametersIn) UnsetWarmupFraction()
UnsetWarmupFraction ensures that no value is present for WarmupFraction, not even an explicit nil
func (*CompletionTrainingParametersIn) UnsetWeightDecay ¶
func (o *CompletionTrainingParametersIn) UnsetWeightDecay()
UnsetWeightDecay ensures that no value is present for WeightDecay, not even an explicit nil
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 *http.Client
}
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 Content ¶
type Content struct {
ArrayOfMessageInputContentChunksInner *[]MessageInputContentChunksInner
String *string
}
Content struct for Content
func (Content) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type Content1 ¶
type Content1 struct {
ArrayOfMessageOutputContentChunksInner *[]MessageOutputContentChunksInner
String *string
}
Content1 struct for Content1
func (Content1) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content1) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type Content2 ¶
type Content2 struct {
OutputContentChunks *OutputContentChunks
String *string
}
Content2 struct for Content2
func (Content2) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content2) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type Content3 ¶
type Content3 struct {
ArrayOfContentChunk *[]ContentChunk
String *string
}
Content3 struct for Content3
func (Content3) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content3) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type Content4 ¶
type Content4 struct {
ArrayOfSystemMessageContentChunks *[]SystemMessageContentChunks
String *string
}
Content4 struct for Content4
func (Content4) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Content4) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type ContentChunk ¶
type ContentChunk struct {
AudioChunk *AudioChunk
DocumentURLChunk *DocumentURLChunk
FileChunk *FileChunk
ImageURLChunk *ImageURLChunk
ReferenceChunk *ReferenceChunk
TextChunk *TextChunk
ThinkChunk *ThinkChunk
}
ContentChunk - struct for ContentChunk
func AudioChunkAsContentChunk ¶ added in v0.15.0
func AudioChunkAsContentChunk(v *AudioChunk) ContentChunk
AudioChunkAsContentChunk is a convenience function that returns AudioChunk wrapped in ContentChunk
func DocumentURLChunkAsContentChunk ¶
func DocumentURLChunkAsContentChunk(v *DocumentURLChunk) ContentChunk
DocumentURLChunkAsContentChunk is a convenience function that returns DocumentURLChunk wrapped in ContentChunk
func FileChunkAsContentChunk ¶ added in v0.6.0
func FileChunkAsContentChunk(v *FileChunk) ContentChunk
FileChunkAsContentChunk is a convenience function that returns FileChunk wrapped in ContentChunk
func ImageURLChunkAsContentChunk ¶
func ImageURLChunkAsContentChunk(v *ImageURLChunk) ContentChunk
ImageURLChunkAsContentChunk is a convenience function that returns ImageURLChunk wrapped in ContentChunk
func ReferenceChunkAsContentChunk ¶
func ReferenceChunkAsContentChunk(v *ReferenceChunk) ContentChunk
ReferenceChunkAsContentChunk is a convenience function that returns ReferenceChunk wrapped in ContentChunk
func TextChunkAsContentChunk ¶
func TextChunkAsContentChunk(v *TextChunk) ContentChunk
TextChunkAsContentChunk is a convenience function that returns TextChunk wrapped in ContentChunk
func ThinkChunkAsContentChunk ¶ added in v0.15.0
func ThinkChunkAsContentChunk(v *ThinkChunk) ContentChunk
ThinkChunkAsContentChunk is a convenience function that returns ThinkChunk wrapped in ContentChunk
func (*ContentChunk) GetActualInstance ¶
func (obj *ContentChunk) GetActualInstance() interface{}
Get the actual instance
func (ContentChunk) GetActualInstanceValue ¶
func (obj ContentChunk) GetActualInstanceValue() interface{}
Get the actual instance value
func (ContentChunk) MarshalJSON ¶
func (src ContentChunk) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ContentChunk) UnmarshalJSON ¶
func (dst *ContentChunk) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ConversationAppendRequest ¶
type ConversationAppendRequest struct {
Inputs ConversationInputs `json:"inputs"`
Stream *bool `json:"stream,omitempty"`
// Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
HandoffExecution *string `json:"handoff_execution,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
AdditionalProperties map[string]interface{}
}
ConversationAppendRequest struct for ConversationAppendRequest
func NewConversationAppendRequest ¶
func NewConversationAppendRequest(inputs ConversationInputs) *ConversationAppendRequest
NewConversationAppendRequest instantiates a new ConversationAppendRequest 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 NewConversationAppendRequestWithDefaults ¶
func NewConversationAppendRequestWithDefaults() *ConversationAppendRequest
NewConversationAppendRequestWithDefaults instantiates a new ConversationAppendRequest 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 (*ConversationAppendRequest) GetCompletionArgs ¶
func (o *ConversationAppendRequest) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*ConversationAppendRequest) GetCompletionArgsOk ¶
func (o *ConversationAppendRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendRequest) GetHandoffExecution ¶
func (o *ConversationAppendRequest) GetHandoffExecution() string
GetHandoffExecution returns the HandoffExecution field value if set, zero value otherwise.
func (*ConversationAppendRequest) GetHandoffExecutionOk ¶
func (o *ConversationAppendRequest) GetHandoffExecutionOk() (*string, bool)
GetHandoffExecutionOk returns a tuple with the HandoffExecution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendRequest) GetInputs ¶
func (o *ConversationAppendRequest) GetInputs() ConversationInputs
GetInputs returns the Inputs field value
func (*ConversationAppendRequest) GetInputsOk ¶
func (o *ConversationAppendRequest) GetInputsOk() (*ConversationInputs, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*ConversationAppendRequest) GetStore ¶
func (o *ConversationAppendRequest) GetStore() bool
GetStore returns the Store field value if set, zero value otherwise.
func (*ConversationAppendRequest) GetStoreOk ¶
func (o *ConversationAppendRequest) GetStoreOk() (*bool, bool)
GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendRequest) GetStream ¶
func (o *ConversationAppendRequest) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*ConversationAppendRequest) GetStreamOk ¶
func (o *ConversationAppendRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendRequest) HasCompletionArgs ¶
func (o *ConversationAppendRequest) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ConversationAppendRequest) HasHandoffExecution ¶
func (o *ConversationAppendRequest) HasHandoffExecution() bool
HasHandoffExecution returns a boolean if a field has been set.
func (*ConversationAppendRequest) HasStore ¶
func (o *ConversationAppendRequest) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*ConversationAppendRequest) HasStream ¶
func (o *ConversationAppendRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
func (ConversationAppendRequest) MarshalJSON ¶
func (o ConversationAppendRequest) MarshalJSON() ([]byte, error)
func (*ConversationAppendRequest) SetCompletionArgs ¶
func (o *ConversationAppendRequest) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*ConversationAppendRequest) SetHandoffExecution ¶
func (o *ConversationAppendRequest) SetHandoffExecution(v string)
SetHandoffExecution gets a reference to the given string and assigns it to the HandoffExecution field.
func (*ConversationAppendRequest) SetInputs ¶
func (o *ConversationAppendRequest) SetInputs(v ConversationInputs)
SetInputs sets field value
func (*ConversationAppendRequest) SetStore ¶
func (o *ConversationAppendRequest) SetStore(v bool)
SetStore gets a reference to the given bool and assigns it to the Store field.
func (*ConversationAppendRequest) SetStream ¶
func (o *ConversationAppendRequest) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (ConversationAppendRequest) ToMap ¶
func (o ConversationAppendRequest) ToMap() (map[string]interface{}, error)
func (*ConversationAppendRequest) UnmarshalJSON ¶
func (o *ConversationAppendRequest) UnmarshalJSON(data []byte) (err error)
type ConversationAppendRequestBase ¶
type ConversationAppendRequestBase struct {
Inputs ConversationInputs `json:"inputs"`
// Whether to stream back partial progress. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
// Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
HandoffExecution *string `json:"handoff_execution,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
}
ConversationAppendRequestBase struct for ConversationAppendRequestBase
func NewConversationAppendRequestBase ¶
func NewConversationAppendRequestBase(inputs ConversationInputs) *ConversationAppendRequestBase
NewConversationAppendRequestBase instantiates a new ConversationAppendRequestBase 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 NewConversationAppendRequestBaseWithDefaults ¶
func NewConversationAppendRequestBaseWithDefaults() *ConversationAppendRequestBase
NewConversationAppendRequestBaseWithDefaults instantiates a new ConversationAppendRequestBase 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 (*ConversationAppendRequestBase) GetCompletionArgs ¶
func (o *ConversationAppendRequestBase) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*ConversationAppendRequestBase) GetCompletionArgsOk ¶
func (o *ConversationAppendRequestBase) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendRequestBase) GetHandoffExecution ¶
func (o *ConversationAppendRequestBase) GetHandoffExecution() string
GetHandoffExecution returns the HandoffExecution field value if set, zero value otherwise.
func (*ConversationAppendRequestBase) GetHandoffExecutionOk ¶
func (o *ConversationAppendRequestBase) GetHandoffExecutionOk() (*string, bool)
GetHandoffExecutionOk returns a tuple with the HandoffExecution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendRequestBase) GetInputs ¶
func (o *ConversationAppendRequestBase) GetInputs() ConversationInputs
GetInputs returns the Inputs field value
func (*ConversationAppendRequestBase) GetInputsOk ¶
func (o *ConversationAppendRequestBase) GetInputsOk() (*ConversationInputs, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*ConversationAppendRequestBase) GetStore ¶
func (o *ConversationAppendRequestBase) GetStore() bool
GetStore returns the Store field value if set, zero value otherwise.
func (*ConversationAppendRequestBase) GetStoreOk ¶
func (o *ConversationAppendRequestBase) GetStoreOk() (*bool, bool)
GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendRequestBase) GetStream ¶
func (o *ConversationAppendRequestBase) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*ConversationAppendRequestBase) GetStreamOk ¶
func (o *ConversationAppendRequestBase) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendRequestBase) HasCompletionArgs ¶
func (o *ConversationAppendRequestBase) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ConversationAppendRequestBase) HasHandoffExecution ¶
func (o *ConversationAppendRequestBase) HasHandoffExecution() bool
HasHandoffExecution returns a boolean if a field has been set.
func (*ConversationAppendRequestBase) HasStore ¶
func (o *ConversationAppendRequestBase) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*ConversationAppendRequestBase) HasStream ¶
func (o *ConversationAppendRequestBase) HasStream() bool
HasStream returns a boolean if a field has been set.
func (ConversationAppendRequestBase) MarshalJSON ¶
func (o ConversationAppendRequestBase) MarshalJSON() ([]byte, error)
func (*ConversationAppendRequestBase) SetCompletionArgs ¶
func (o *ConversationAppendRequestBase) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*ConversationAppendRequestBase) SetHandoffExecution ¶
func (o *ConversationAppendRequestBase) SetHandoffExecution(v string)
SetHandoffExecution gets a reference to the given string and assigns it to the HandoffExecution field.
func (*ConversationAppendRequestBase) SetInputs ¶
func (o *ConversationAppendRequestBase) SetInputs(v ConversationInputs)
SetInputs sets field value
func (*ConversationAppendRequestBase) SetStore ¶
func (o *ConversationAppendRequestBase) SetStore(v bool)
SetStore gets a reference to the given bool and assigns it to the Store field.
func (*ConversationAppendRequestBase) SetStream ¶
func (o *ConversationAppendRequestBase) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (ConversationAppendRequestBase) ToMap ¶
func (o ConversationAppendRequestBase) ToMap() (map[string]interface{}, error)
func (*ConversationAppendRequestBase) UnmarshalJSON ¶
func (o *ConversationAppendRequestBase) UnmarshalJSON(data []byte) (err error)
type ConversationAppendStreamRequest ¶
type ConversationAppendStreamRequest struct {
Inputs ConversationInputs `json:"inputs"`
Stream *bool `json:"stream,omitempty"`
// Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
HandoffExecution *string `json:"handoff_execution,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
AdditionalProperties map[string]interface{}
}
ConversationAppendStreamRequest struct for ConversationAppendStreamRequest
func NewConversationAppendStreamRequest ¶
func NewConversationAppendStreamRequest(inputs ConversationInputs) *ConversationAppendStreamRequest
NewConversationAppendStreamRequest instantiates a new ConversationAppendStreamRequest 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 NewConversationAppendStreamRequestWithDefaults ¶
func NewConversationAppendStreamRequestWithDefaults() *ConversationAppendStreamRequest
NewConversationAppendStreamRequestWithDefaults instantiates a new ConversationAppendStreamRequest 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 (*ConversationAppendStreamRequest) GetCompletionArgs ¶
func (o *ConversationAppendStreamRequest) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*ConversationAppendStreamRequest) GetCompletionArgsOk ¶
func (o *ConversationAppendStreamRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendStreamRequest) GetHandoffExecution ¶
func (o *ConversationAppendStreamRequest) GetHandoffExecution() string
GetHandoffExecution returns the HandoffExecution field value if set, zero value otherwise.
func (*ConversationAppendStreamRequest) GetHandoffExecutionOk ¶
func (o *ConversationAppendStreamRequest) GetHandoffExecutionOk() (*string, bool)
GetHandoffExecutionOk returns a tuple with the HandoffExecution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendStreamRequest) GetInputs ¶
func (o *ConversationAppendStreamRequest) GetInputs() ConversationInputs
GetInputs returns the Inputs field value
func (*ConversationAppendStreamRequest) GetInputsOk ¶
func (o *ConversationAppendStreamRequest) GetInputsOk() (*ConversationInputs, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*ConversationAppendStreamRequest) GetStore ¶
func (o *ConversationAppendStreamRequest) GetStore() bool
GetStore returns the Store field value if set, zero value otherwise.
func (*ConversationAppendStreamRequest) GetStoreOk ¶
func (o *ConversationAppendStreamRequest) GetStoreOk() (*bool, bool)
GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendStreamRequest) GetStream ¶
func (o *ConversationAppendStreamRequest) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*ConversationAppendStreamRequest) GetStreamOk ¶
func (o *ConversationAppendStreamRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationAppendStreamRequest) HasCompletionArgs ¶
func (o *ConversationAppendStreamRequest) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ConversationAppendStreamRequest) HasHandoffExecution ¶
func (o *ConversationAppendStreamRequest) HasHandoffExecution() bool
HasHandoffExecution returns a boolean if a field has been set.
func (*ConversationAppendStreamRequest) HasStore ¶
func (o *ConversationAppendStreamRequest) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*ConversationAppendStreamRequest) HasStream ¶
func (o *ConversationAppendStreamRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
func (ConversationAppendStreamRequest) MarshalJSON ¶
func (o ConversationAppendStreamRequest) MarshalJSON() ([]byte, error)
func (*ConversationAppendStreamRequest) SetCompletionArgs ¶
func (o *ConversationAppendStreamRequest) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*ConversationAppendStreamRequest) SetHandoffExecution ¶
func (o *ConversationAppendStreamRequest) SetHandoffExecution(v string)
SetHandoffExecution gets a reference to the given string and assigns it to the HandoffExecution field.
func (*ConversationAppendStreamRequest) SetInputs ¶
func (o *ConversationAppendStreamRequest) SetInputs(v ConversationInputs)
SetInputs sets field value
func (*ConversationAppendStreamRequest) SetStore ¶
func (o *ConversationAppendStreamRequest) SetStore(v bool)
SetStore gets a reference to the given bool and assigns it to the Store field.
func (*ConversationAppendStreamRequest) SetStream ¶
func (o *ConversationAppendStreamRequest) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (ConversationAppendStreamRequest) ToMap ¶
func (o ConversationAppendStreamRequest) ToMap() (map[string]interface{}, error)
func (*ConversationAppendStreamRequest) UnmarshalJSON ¶
func (o *ConversationAppendStreamRequest) UnmarshalJSON(data []byte) (err error)
type ConversationEvents ¶
type ConversationEvents struct {
Event SSETypes `json:"event"`
Data Data `json:"data"`
AdditionalProperties map[string]interface{}
}
ConversationEvents struct for ConversationEvents
func NewConversationEvents ¶
func NewConversationEvents(event SSETypes, data Data) *ConversationEvents
NewConversationEvents instantiates a new ConversationEvents 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 NewConversationEventsWithDefaults ¶
func NewConversationEventsWithDefaults() *ConversationEvents
NewConversationEventsWithDefaults instantiates a new ConversationEvents 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 (*ConversationEvents) GetData ¶
func (o *ConversationEvents) GetData() Data
GetData returns the Data field value
func (*ConversationEvents) GetDataOk ¶
func (o *ConversationEvents) GetDataOk() (*Data, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ConversationEvents) GetEvent ¶
func (o *ConversationEvents) GetEvent() SSETypes
GetEvent returns the Event field value
func (*ConversationEvents) GetEventOk ¶
func (o *ConversationEvents) GetEventOk() (*SSETypes, bool)
GetEventOk returns a tuple with the Event field value and a boolean to check if the value has been set.
func (ConversationEvents) MarshalJSON ¶
func (o ConversationEvents) MarshalJSON() ([]byte, error)
func (*ConversationEvents) SetData ¶
func (o *ConversationEvents) SetData(v Data)
SetData sets field value
func (*ConversationEvents) SetEvent ¶
func (o *ConversationEvents) SetEvent(v SSETypes)
SetEvent sets field value
func (ConversationEvents) ToMap ¶
func (o ConversationEvents) ToMap() (map[string]interface{}, error)
func (*ConversationEvents) UnmarshalJSON ¶
func (o *ConversationEvents) UnmarshalJSON(data []byte) (err error)
type ConversationHistory ¶
type ConversationHistory struct {
Object *string `json:"object,omitempty"`
ConversationId string `json:"conversation_id"`
Entries []EntriesInner `json:"entries"`
}
ConversationHistory Retrieve all entries in a conversation.
func NewConversationHistory ¶
func NewConversationHistory(conversationId string, entries []EntriesInner) *ConversationHistory
NewConversationHistory instantiates a new ConversationHistory 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 NewConversationHistoryWithDefaults ¶
func NewConversationHistoryWithDefaults() *ConversationHistory
NewConversationHistoryWithDefaults instantiates a new ConversationHistory 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 (*ConversationHistory) GetConversationId ¶
func (o *ConversationHistory) GetConversationId() string
GetConversationId returns the ConversationId field value
func (*ConversationHistory) GetConversationIdOk ¶
func (o *ConversationHistory) GetConversationIdOk() (*string, bool)
GetConversationIdOk returns a tuple with the ConversationId field value and a boolean to check if the value has been set.
func (*ConversationHistory) GetEntries ¶
func (o *ConversationHistory) GetEntries() []EntriesInner
GetEntries returns the Entries field value
func (*ConversationHistory) GetEntriesOk ¶
func (o *ConversationHistory) GetEntriesOk() ([]EntriesInner, bool)
GetEntriesOk returns a tuple with the Entries field value and a boolean to check if the value has been set.
func (*ConversationHistory) GetObject ¶
func (o *ConversationHistory) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ConversationHistory) GetObjectOk ¶
func (o *ConversationHistory) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationHistory) HasObject ¶
func (o *ConversationHistory) HasObject() bool
HasObject returns a boolean if a field has been set.
func (ConversationHistory) MarshalJSON ¶
func (o ConversationHistory) MarshalJSON() ([]byte, error)
func (*ConversationHistory) SetConversationId ¶
func (o *ConversationHistory) SetConversationId(v string)
SetConversationId sets field value
func (*ConversationHistory) SetEntries ¶
func (o *ConversationHistory) SetEntries(v []EntriesInner)
SetEntries sets field value
func (*ConversationHistory) SetObject ¶
func (o *ConversationHistory) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (ConversationHistory) ToMap ¶
func (o ConversationHistory) ToMap() (map[string]interface{}, error)
func (*ConversationHistory) UnmarshalJSON ¶
func (o *ConversationHistory) UnmarshalJSON(data []byte) (err error)
type ConversationInputs ¶
type ConversationInputs struct {
ArrayOfEntriesInner *[]EntriesInner
String *string
}
ConversationInputs struct for ConversationInputs
func (ConversationInputs) MarshalJSON ¶
func (src ConversationInputs) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ConversationInputs) UnmarshalJSON ¶
func (dst *ConversationInputs) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type ConversationMessages ¶
type ConversationMessages struct {
Object *string `json:"object,omitempty"`
ConversationId string `json:"conversation_id"`
Messages []MessageEntriesInner `json:"messages"`
}
ConversationMessages Similar to the conversation history but only keep the messages
func NewConversationMessages ¶
func NewConversationMessages(conversationId string, messages []MessageEntriesInner) *ConversationMessages
NewConversationMessages instantiates a new ConversationMessages 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 NewConversationMessagesWithDefaults ¶
func NewConversationMessagesWithDefaults() *ConversationMessages
NewConversationMessagesWithDefaults instantiates a new ConversationMessages 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 (*ConversationMessages) GetConversationId ¶
func (o *ConversationMessages) GetConversationId() string
GetConversationId returns the ConversationId field value
func (*ConversationMessages) GetConversationIdOk ¶
func (o *ConversationMessages) GetConversationIdOk() (*string, bool)
GetConversationIdOk returns a tuple with the ConversationId field value and a boolean to check if the value has been set.
func (*ConversationMessages) GetMessages ¶
func (o *ConversationMessages) GetMessages() []MessageEntriesInner
GetMessages returns the Messages field value
func (*ConversationMessages) GetMessagesOk ¶
func (o *ConversationMessages) GetMessagesOk() ([]MessageEntriesInner, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.
func (*ConversationMessages) GetObject ¶
func (o *ConversationMessages) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ConversationMessages) GetObjectOk ¶
func (o *ConversationMessages) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationMessages) HasObject ¶
func (o *ConversationMessages) HasObject() bool
HasObject returns a boolean if a field has been set.
func (ConversationMessages) MarshalJSON ¶
func (o ConversationMessages) MarshalJSON() ([]byte, error)
func (*ConversationMessages) SetConversationId ¶
func (o *ConversationMessages) SetConversationId(v string)
SetConversationId sets field value
func (*ConversationMessages) SetMessages ¶
func (o *ConversationMessages) SetMessages(v []MessageEntriesInner)
SetMessages sets field value
func (*ConversationMessages) SetObject ¶
func (o *ConversationMessages) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (ConversationMessages) ToMap ¶
func (o ConversationMessages) ToMap() (map[string]interface{}, error)
func (*ConversationMessages) UnmarshalJSON ¶
func (o *ConversationMessages) UnmarshalJSON(data []byte) (err error)
type ConversationRequest ¶
type ConversationRequest struct {
Inputs ConversationInputs `json:"inputs"`
Stream *bool `json:"stream,omitempty"`
Store *bool `json:"store,omitempty"`
HandoffExecution *string `json:"handoff_execution,omitempty"`
Instructions *string `json:"instructions,omitempty"`
// List of tools which are available to the model during the conversation.
Tools []ToolsInner `json:"tools,omitempty"`
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
AgentId *string `json:"agent_id,omitempty"`
AgentVersion NullableAgentVersion1 `json:"agent_version,omitempty"`
Model *string `json:"model,omitempty"`
AdditionalProperties map[string]interface{}
}
ConversationRequest struct for ConversationRequest
func NewConversationRequest ¶
func NewConversationRequest(inputs ConversationInputs) *ConversationRequest
NewConversationRequest instantiates a new ConversationRequest 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 NewConversationRequestWithDefaults ¶
func NewConversationRequestWithDefaults() *ConversationRequest
NewConversationRequestWithDefaults instantiates a new ConversationRequest 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 (*ConversationRequest) GetAgentId ¶
func (o *ConversationRequest) GetAgentId() string
GetAgentId returns the AgentId field value if set, zero value otherwise.
func (*ConversationRequest) GetAgentIdOk ¶
func (o *ConversationRequest) GetAgentIdOk() (*string, bool)
GetAgentIdOk returns a tuple with the AgentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) GetAgentVersion ¶ added in v0.15.0
func (o *ConversationRequest) GetAgentVersion() AgentVersion1
GetAgentVersion returns the AgentVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequest) GetAgentVersionOk ¶ added in v0.15.0
func (o *ConversationRequest) GetAgentVersionOk() (*AgentVersion1, bool)
GetAgentVersionOk returns a tuple with the AgentVersion 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 (*ConversationRequest) GetCompletionArgs ¶
func (o *ConversationRequest) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*ConversationRequest) GetCompletionArgsOk ¶
func (o *ConversationRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) GetDescription ¶
func (o *ConversationRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ConversationRequest) GetDescriptionOk ¶
func (o *ConversationRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) GetHandoffExecution ¶
func (o *ConversationRequest) GetHandoffExecution() string
GetHandoffExecution returns the HandoffExecution field value if set, zero value otherwise.
func (*ConversationRequest) GetHandoffExecutionOk ¶
func (o *ConversationRequest) GetHandoffExecutionOk() (*string, bool)
GetHandoffExecutionOk returns a tuple with the HandoffExecution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) GetInputs ¶
func (o *ConversationRequest) GetInputs() ConversationInputs
GetInputs returns the Inputs field value
func (*ConversationRequest) GetInputsOk ¶
func (o *ConversationRequest) GetInputsOk() (*ConversationInputs, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*ConversationRequest) GetInstructions ¶
func (o *ConversationRequest) GetInstructions() string
GetInstructions returns the Instructions field value if set, zero value otherwise.
func (*ConversationRequest) GetInstructionsOk ¶
func (o *ConversationRequest) GetInstructionsOk() (*string, bool)
GetInstructionsOk returns a tuple with the Instructions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) GetMetadata ¶ added in v0.15.0
func (o *ConversationRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ConversationRequest) GetMetadataOk ¶ added in v0.15.0
func (o *ConversationRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) GetModel ¶
func (o *ConversationRequest) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*ConversationRequest) GetModelOk ¶
func (o *ConversationRequest) 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.
func (*ConversationRequest) GetName ¶
func (o *ConversationRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ConversationRequest) GetNameOk ¶
func (o *ConversationRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) GetStore ¶
func (o *ConversationRequest) GetStore() bool
GetStore returns the Store field value if set, zero value otherwise.
func (*ConversationRequest) GetStoreOk ¶
func (o *ConversationRequest) GetStoreOk() (*bool, bool)
GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) GetStream ¶
func (o *ConversationRequest) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*ConversationRequest) GetStreamOk ¶
func (o *ConversationRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) GetTools ¶
func (o *ConversationRequest) GetTools() []ToolsInner
GetTools returns the Tools field value if set, zero value otherwise.
func (*ConversationRequest) GetToolsOk ¶
func (o *ConversationRequest) GetToolsOk() ([]ToolsInner, bool)
GetToolsOk returns a tuple with the Tools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequest) HasAgentId ¶
func (o *ConversationRequest) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*ConversationRequest) HasAgentVersion ¶ added in v0.15.0
func (o *ConversationRequest) HasAgentVersion() bool
HasAgentVersion returns a boolean if a field has been set.
func (*ConversationRequest) HasCompletionArgs ¶
func (o *ConversationRequest) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ConversationRequest) HasDescription ¶
func (o *ConversationRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ConversationRequest) HasHandoffExecution ¶
func (o *ConversationRequest) HasHandoffExecution() bool
HasHandoffExecution returns a boolean if a field has been set.
func (*ConversationRequest) HasInstructions ¶
func (o *ConversationRequest) HasInstructions() bool
HasInstructions returns a boolean if a field has been set.
func (*ConversationRequest) HasMetadata ¶ added in v0.15.0
func (o *ConversationRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ConversationRequest) HasModel ¶
func (o *ConversationRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*ConversationRequest) HasName ¶
func (o *ConversationRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*ConversationRequest) HasStore ¶
func (o *ConversationRequest) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*ConversationRequest) HasStream ¶
func (o *ConversationRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
func (*ConversationRequest) HasTools ¶
func (o *ConversationRequest) HasTools() bool
HasTools returns a boolean if a field has been set.
func (ConversationRequest) MarshalJSON ¶
func (o ConversationRequest) MarshalJSON() ([]byte, error)
func (*ConversationRequest) SetAgentId ¶
func (o *ConversationRequest) SetAgentId(v string)
SetAgentId gets a reference to the given string and assigns it to the AgentId field.
func (*ConversationRequest) SetAgentVersion ¶ added in v0.15.0
func (o *ConversationRequest) SetAgentVersion(v AgentVersion1)
SetAgentVersion gets a reference to the given NullableAgentVersion1 and assigns it to the AgentVersion field.
func (*ConversationRequest) SetAgentVersionNil ¶ added in v0.15.0
func (o *ConversationRequest) SetAgentVersionNil()
SetAgentVersionNil sets the value for AgentVersion to be an explicit nil
func (*ConversationRequest) SetCompletionArgs ¶
func (o *ConversationRequest) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*ConversationRequest) SetDescription ¶
func (o *ConversationRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ConversationRequest) SetHandoffExecution ¶
func (o *ConversationRequest) SetHandoffExecution(v string)
SetHandoffExecution gets a reference to the given string and assigns it to the HandoffExecution field.
func (*ConversationRequest) SetInputs ¶
func (o *ConversationRequest) SetInputs(v ConversationInputs)
SetInputs sets field value
func (*ConversationRequest) SetInstructions ¶
func (o *ConversationRequest) SetInstructions(v string)
SetInstructions gets a reference to the given string and assigns it to the Instructions field.
func (*ConversationRequest) SetMetadata ¶ added in v0.15.0
func (o *ConversationRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ConversationRequest) SetModel ¶
func (o *ConversationRequest) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*ConversationRequest) SetName ¶
func (o *ConversationRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ConversationRequest) SetStore ¶
func (o *ConversationRequest) SetStore(v bool)
SetStore gets a reference to the given bool and assigns it to the Store field.
func (*ConversationRequest) SetStream ¶
func (o *ConversationRequest) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (*ConversationRequest) SetTools ¶
func (o *ConversationRequest) SetTools(v []ToolsInner)
SetTools gets a reference to the given []ToolsInner and assigns it to the Tools field.
func (ConversationRequest) ToMap ¶
func (o ConversationRequest) ToMap() (map[string]interface{}, error)
func (*ConversationRequest) UnmarshalJSON ¶
func (o *ConversationRequest) UnmarshalJSON(data []byte) (err error)
func (*ConversationRequest) UnsetAgentVersion ¶ added in v0.15.0
func (o *ConversationRequest) UnsetAgentVersion()
UnsetAgentVersion ensures that no value is present for AgentVersion, not even an explicit nil
type ConversationRequestBase ¶
type ConversationRequestBase struct {
Inputs ConversationInputs `json:"inputs"`
Stream NullableBool `json:"stream,omitempty"`
Store NullableBool `json:"store,omitempty"`
HandoffExecution NullableString `json:"handoff_execution,omitempty"`
Instructions NullableString `json:"instructions,omitempty"`
// List of tools which are available to the model during the conversation.
Tools []ToolsInner `json:"tools,omitempty"`
CompletionArgs NullableCompletionArgs `json:"completion_args,omitempty"`
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
AgentId NullableString `json:"agent_id,omitempty"`
AgentVersion NullableAgentVersion1 `json:"agent_version,omitempty"`
Model NullableString `json:"model,omitempty"`
AdditionalProperties map[string]interface{}
}
ConversationRequestBase struct for ConversationRequestBase
func NewConversationRequestBase ¶
func NewConversationRequestBase(inputs ConversationInputs) *ConversationRequestBase
NewConversationRequestBase instantiates a new ConversationRequestBase 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 NewConversationRequestBaseWithDefaults ¶
func NewConversationRequestBaseWithDefaults() *ConversationRequestBase
NewConversationRequestBaseWithDefaults instantiates a new ConversationRequestBase 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 (*ConversationRequestBase) GetAgentId ¶
func (o *ConversationRequestBase) GetAgentId() string
GetAgentId returns the AgentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetAgentIdOk ¶
func (o *ConversationRequestBase) GetAgentIdOk() (*string, bool)
GetAgentIdOk returns a tuple with the AgentId 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 (*ConversationRequestBase) GetAgentVersion ¶ added in v0.15.0
func (o *ConversationRequestBase) GetAgentVersion() AgentVersion1
GetAgentVersion returns the AgentVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetAgentVersionOk ¶ added in v0.15.0
func (o *ConversationRequestBase) GetAgentVersionOk() (*AgentVersion1, bool)
GetAgentVersionOk returns a tuple with the AgentVersion 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 (*ConversationRequestBase) GetCompletionArgs ¶
func (o *ConversationRequestBase) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetCompletionArgsOk ¶
func (o *ConversationRequestBase) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs 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 (*ConversationRequestBase) GetDescription ¶
func (o *ConversationRequestBase) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetDescriptionOk ¶
func (o *ConversationRequestBase) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*ConversationRequestBase) GetHandoffExecution ¶
func (o *ConversationRequestBase) GetHandoffExecution() string
GetHandoffExecution returns the HandoffExecution field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetHandoffExecutionOk ¶
func (o *ConversationRequestBase) GetHandoffExecutionOk() (*string, bool)
GetHandoffExecutionOk returns a tuple with the HandoffExecution 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 (*ConversationRequestBase) GetInputs ¶
func (o *ConversationRequestBase) GetInputs() ConversationInputs
GetInputs returns the Inputs field value
func (*ConversationRequestBase) GetInputsOk ¶
func (o *ConversationRequestBase) GetInputsOk() (*ConversationInputs, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*ConversationRequestBase) GetInstructions ¶
func (o *ConversationRequestBase) GetInstructions() string
GetInstructions returns the Instructions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetInstructionsOk ¶
func (o *ConversationRequestBase) GetInstructionsOk() (*string, bool)
GetInstructionsOk returns a tuple with the Instructions 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 (*ConversationRequestBase) GetMetadata ¶ added in v0.15.0
func (o *ConversationRequestBase) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetMetadataOk ¶ added in v0.15.0
func (o *ConversationRequestBase) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*ConversationRequestBase) GetModel ¶
func (o *ConversationRequestBase) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetModelOk ¶
func (o *ConversationRequestBase) 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 (*ConversationRequestBase) GetName ¶
func (o *ConversationRequestBase) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetNameOk ¶
func (o *ConversationRequestBase) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*ConversationRequestBase) GetStore ¶
func (o *ConversationRequestBase) GetStore() bool
GetStore returns the Store field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetStoreOk ¶
func (o *ConversationRequestBase) GetStoreOk() (*bool, bool)
GetStoreOk returns a tuple with the Store 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 (*ConversationRequestBase) GetStream ¶
func (o *ConversationRequestBase) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRequestBase) GetStreamOk ¶
func (o *ConversationRequestBase) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream 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 (*ConversationRequestBase) GetTools ¶
func (o *ConversationRequestBase) GetTools() []ToolsInner
GetTools returns the Tools field value if set, zero value otherwise.
func (*ConversationRequestBase) GetToolsOk ¶
func (o *ConversationRequestBase) GetToolsOk() ([]ToolsInner, bool)
GetToolsOk returns a tuple with the Tools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRequestBase) HasAgentId ¶
func (o *ConversationRequestBase) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*ConversationRequestBase) HasAgentVersion ¶ added in v0.15.0
func (o *ConversationRequestBase) HasAgentVersion() bool
HasAgentVersion returns a boolean if a field has been set.
func (*ConversationRequestBase) HasCompletionArgs ¶
func (o *ConversationRequestBase) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ConversationRequestBase) HasDescription ¶
func (o *ConversationRequestBase) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ConversationRequestBase) HasHandoffExecution ¶
func (o *ConversationRequestBase) HasHandoffExecution() bool
HasHandoffExecution returns a boolean if a field has been set.
func (*ConversationRequestBase) HasInstructions ¶
func (o *ConversationRequestBase) HasInstructions() bool
HasInstructions returns a boolean if a field has been set.
func (*ConversationRequestBase) HasMetadata ¶ added in v0.15.0
func (o *ConversationRequestBase) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ConversationRequestBase) HasModel ¶
func (o *ConversationRequestBase) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*ConversationRequestBase) HasName ¶
func (o *ConversationRequestBase) HasName() bool
HasName returns a boolean if a field has been set.
func (*ConversationRequestBase) HasStore ¶
func (o *ConversationRequestBase) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*ConversationRequestBase) HasStream ¶
func (o *ConversationRequestBase) HasStream() bool
HasStream returns a boolean if a field has been set.
func (*ConversationRequestBase) HasTools ¶
func (o *ConversationRequestBase) HasTools() bool
HasTools returns a boolean if a field has been set.
func (ConversationRequestBase) MarshalJSON ¶
func (o ConversationRequestBase) MarshalJSON() ([]byte, error)
func (*ConversationRequestBase) SetAgentId ¶
func (o *ConversationRequestBase) SetAgentId(v string)
SetAgentId gets a reference to the given NullableString and assigns it to the AgentId field.
func (*ConversationRequestBase) SetAgentIdNil ¶
func (o *ConversationRequestBase) SetAgentIdNil()
SetAgentIdNil sets the value for AgentId to be an explicit nil
func (*ConversationRequestBase) SetAgentVersion ¶ added in v0.15.0
func (o *ConversationRequestBase) SetAgentVersion(v AgentVersion1)
SetAgentVersion gets a reference to the given NullableAgentVersion1 and assigns it to the AgentVersion field.
func (*ConversationRequestBase) SetAgentVersionNil ¶ added in v0.15.0
func (o *ConversationRequestBase) SetAgentVersionNil()
SetAgentVersionNil sets the value for AgentVersion to be an explicit nil
func (*ConversationRequestBase) SetCompletionArgs ¶
func (o *ConversationRequestBase) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given NullableCompletionArgs and assigns it to the CompletionArgs field.
func (*ConversationRequestBase) SetCompletionArgsNil ¶
func (o *ConversationRequestBase) SetCompletionArgsNil()
SetCompletionArgsNil sets the value for CompletionArgs to be an explicit nil
func (*ConversationRequestBase) SetDescription ¶
func (o *ConversationRequestBase) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ConversationRequestBase) SetDescriptionNil ¶
func (o *ConversationRequestBase) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ConversationRequestBase) SetHandoffExecution ¶
func (o *ConversationRequestBase) SetHandoffExecution(v string)
SetHandoffExecution gets a reference to the given NullableString and assigns it to the HandoffExecution field.
func (*ConversationRequestBase) SetHandoffExecutionNil ¶
func (o *ConversationRequestBase) SetHandoffExecutionNil()
SetHandoffExecutionNil sets the value for HandoffExecution to be an explicit nil
func (*ConversationRequestBase) SetInputs ¶
func (o *ConversationRequestBase) SetInputs(v ConversationInputs)
SetInputs sets field value
func (*ConversationRequestBase) SetInstructions ¶
func (o *ConversationRequestBase) SetInstructions(v string)
SetInstructions gets a reference to the given NullableString and assigns it to the Instructions field.
func (*ConversationRequestBase) SetInstructionsNil ¶
func (o *ConversationRequestBase) SetInstructionsNil()
SetInstructionsNil sets the value for Instructions to be an explicit nil
func (*ConversationRequestBase) SetMetadata ¶ added in v0.15.0
func (o *ConversationRequestBase) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ConversationRequestBase) SetModel ¶
func (o *ConversationRequestBase) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*ConversationRequestBase) SetModelNil ¶
func (o *ConversationRequestBase) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*ConversationRequestBase) SetName ¶
func (o *ConversationRequestBase) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*ConversationRequestBase) SetNameNil ¶
func (o *ConversationRequestBase) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*ConversationRequestBase) SetStore ¶
func (o *ConversationRequestBase) SetStore(v bool)
SetStore gets a reference to the given NullableBool and assigns it to the Store field.
func (*ConversationRequestBase) SetStoreNil ¶
func (o *ConversationRequestBase) SetStoreNil()
SetStoreNil sets the value for Store to be an explicit nil
func (*ConversationRequestBase) SetStream ¶
func (o *ConversationRequestBase) SetStream(v bool)
SetStream gets a reference to the given NullableBool and assigns it to the Stream field.
func (*ConversationRequestBase) SetStreamNil ¶
func (o *ConversationRequestBase) SetStreamNil()
SetStreamNil sets the value for Stream to be an explicit nil
func (*ConversationRequestBase) SetTools ¶
func (o *ConversationRequestBase) SetTools(v []ToolsInner)
SetTools gets a reference to the given []ToolsInner and assigns it to the Tools field.
func (ConversationRequestBase) ToMap ¶
func (o ConversationRequestBase) ToMap() (map[string]interface{}, error)
func (*ConversationRequestBase) UnmarshalJSON ¶
func (o *ConversationRequestBase) UnmarshalJSON(data []byte) (err error)
func (*ConversationRequestBase) UnsetAgentId ¶
func (o *ConversationRequestBase) UnsetAgentId()
UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil
func (*ConversationRequestBase) UnsetAgentVersion ¶ added in v0.15.0
func (o *ConversationRequestBase) UnsetAgentVersion()
UnsetAgentVersion ensures that no value is present for AgentVersion, not even an explicit nil
func (*ConversationRequestBase) UnsetCompletionArgs ¶
func (o *ConversationRequestBase) UnsetCompletionArgs()
UnsetCompletionArgs ensures that no value is present for CompletionArgs, not even an explicit nil
func (*ConversationRequestBase) UnsetDescription ¶
func (o *ConversationRequestBase) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*ConversationRequestBase) UnsetHandoffExecution ¶
func (o *ConversationRequestBase) UnsetHandoffExecution()
UnsetHandoffExecution ensures that no value is present for HandoffExecution, not even an explicit nil
func (*ConversationRequestBase) UnsetInstructions ¶
func (o *ConversationRequestBase) UnsetInstructions()
UnsetInstructions ensures that no value is present for Instructions, not even an explicit nil
func (*ConversationRequestBase) UnsetModel ¶
func (o *ConversationRequestBase) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
func (*ConversationRequestBase) UnsetName ¶
func (o *ConversationRequestBase) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*ConversationRequestBase) UnsetStore ¶
func (o *ConversationRequestBase) UnsetStore()
UnsetStore ensures that no value is present for Store, not even an explicit nil
func (*ConversationRequestBase) UnsetStream ¶
func (o *ConversationRequestBase) UnsetStream()
UnsetStream ensures that no value is present for Stream, not even an explicit nil
type ConversationResponse ¶
type ConversationResponse struct {
Object *string `json:"object,omitempty"`
ConversationId string `json:"conversation_id"`
Outputs []OutputsInner `json:"outputs"`
Usage ConversationUsageInfo `json:"usage"`
}
ConversationResponse The response after appending new entries to the conversation.
func NewConversationResponse ¶
func NewConversationResponse(conversationId string, outputs []OutputsInner, usage ConversationUsageInfo) *ConversationResponse
NewConversationResponse instantiates a new ConversationResponse 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 NewConversationResponseWithDefaults ¶
func NewConversationResponseWithDefaults() *ConversationResponse
NewConversationResponseWithDefaults instantiates a new ConversationResponse 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 (*ConversationResponse) GetConversationId ¶
func (o *ConversationResponse) GetConversationId() string
GetConversationId returns the ConversationId field value
func (*ConversationResponse) GetConversationIdOk ¶
func (o *ConversationResponse) GetConversationIdOk() (*string, bool)
GetConversationIdOk returns a tuple with the ConversationId field value and a boolean to check if the value has been set.
func (*ConversationResponse) GetObject ¶
func (o *ConversationResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ConversationResponse) GetObjectOk ¶
func (o *ConversationResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationResponse) GetOutputs ¶
func (o *ConversationResponse) GetOutputs() []OutputsInner
GetOutputs returns the Outputs field value
func (*ConversationResponse) GetOutputsOk ¶
func (o *ConversationResponse) GetOutputsOk() ([]OutputsInner, bool)
GetOutputsOk returns a tuple with the Outputs field value and a boolean to check if the value has been set.
func (*ConversationResponse) GetUsage ¶
func (o *ConversationResponse) GetUsage() ConversationUsageInfo
GetUsage returns the Usage field value
func (*ConversationResponse) GetUsageOk ¶
func (o *ConversationResponse) GetUsageOk() (*ConversationUsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value and a boolean to check if the value has been set.
func (*ConversationResponse) HasObject ¶
func (o *ConversationResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (ConversationResponse) MarshalJSON ¶
func (o ConversationResponse) MarshalJSON() ([]byte, error)
func (*ConversationResponse) SetConversationId ¶
func (o *ConversationResponse) SetConversationId(v string)
SetConversationId sets field value
func (*ConversationResponse) SetObject ¶
func (o *ConversationResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ConversationResponse) SetOutputs ¶
func (o *ConversationResponse) SetOutputs(v []OutputsInner)
SetOutputs sets field value
func (*ConversationResponse) SetUsage ¶
func (o *ConversationResponse) SetUsage(v ConversationUsageInfo)
SetUsage sets field value
func (ConversationResponse) ToMap ¶
func (o ConversationResponse) ToMap() (map[string]interface{}, error)
func (*ConversationResponse) UnmarshalJSON ¶
func (o *ConversationResponse) UnmarshalJSON(data []byte) (err error)
type ConversationRestartRequest ¶
type ConversationRestartRequest struct {
Inputs ConversationInputs `json:"inputs"`
Stream *bool `json:"stream,omitempty"`
// Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
HandoffExecution *string `json:"handoff_execution,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
FromEntryId string `json:"from_entry_id"`
AgentVersion NullableAgentVersion2 `json:"agent_version,omitempty"`
AdditionalProperties map[string]interface{}
}
ConversationRestartRequest struct for ConversationRestartRequest
func NewConversationRestartRequest ¶
func NewConversationRestartRequest(inputs ConversationInputs, fromEntryId string) *ConversationRestartRequest
NewConversationRestartRequest instantiates a new ConversationRestartRequest 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 NewConversationRestartRequestWithDefaults ¶
func NewConversationRestartRequestWithDefaults() *ConversationRestartRequest
NewConversationRestartRequestWithDefaults instantiates a new ConversationRestartRequest 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 (*ConversationRestartRequest) GetAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartRequest) GetAgentVersion() AgentVersion2
GetAgentVersion returns the AgentVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRestartRequest) GetAgentVersionOk ¶ added in v0.15.0
func (o *ConversationRestartRequest) GetAgentVersionOk() (*AgentVersion2, bool)
GetAgentVersionOk returns a tuple with the AgentVersion 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 (*ConversationRestartRequest) GetCompletionArgs ¶
func (o *ConversationRestartRequest) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*ConversationRestartRequest) GetCompletionArgsOk ¶
func (o *ConversationRestartRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartRequest) GetFromEntryId ¶
func (o *ConversationRestartRequest) GetFromEntryId() string
GetFromEntryId returns the FromEntryId field value
func (*ConversationRestartRequest) GetFromEntryIdOk ¶
func (o *ConversationRestartRequest) GetFromEntryIdOk() (*string, bool)
GetFromEntryIdOk returns a tuple with the FromEntryId field value and a boolean to check if the value has been set.
func (*ConversationRestartRequest) GetHandoffExecution ¶
func (o *ConversationRestartRequest) GetHandoffExecution() string
GetHandoffExecution returns the HandoffExecution field value if set, zero value otherwise.
func (*ConversationRestartRequest) GetHandoffExecutionOk ¶
func (o *ConversationRestartRequest) GetHandoffExecutionOk() (*string, bool)
GetHandoffExecutionOk returns a tuple with the HandoffExecution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartRequest) GetInputs ¶
func (o *ConversationRestartRequest) GetInputs() ConversationInputs
GetInputs returns the Inputs field value
func (*ConversationRestartRequest) GetInputsOk ¶
func (o *ConversationRestartRequest) GetInputsOk() (*ConversationInputs, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*ConversationRestartRequest) GetMetadata ¶ added in v0.15.0
func (o *ConversationRestartRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ConversationRestartRequest) GetMetadataOk ¶ added in v0.15.0
func (o *ConversationRestartRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartRequest) GetStore ¶
func (o *ConversationRestartRequest) GetStore() bool
GetStore returns the Store field value if set, zero value otherwise.
func (*ConversationRestartRequest) GetStoreOk ¶
func (o *ConversationRestartRequest) GetStoreOk() (*bool, bool)
GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartRequest) GetStream ¶
func (o *ConversationRestartRequest) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*ConversationRestartRequest) GetStreamOk ¶
func (o *ConversationRestartRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartRequest) HasAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartRequest) HasAgentVersion() bool
HasAgentVersion returns a boolean if a field has been set.
func (*ConversationRestartRequest) HasCompletionArgs ¶
func (o *ConversationRestartRequest) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ConversationRestartRequest) HasHandoffExecution ¶
func (o *ConversationRestartRequest) HasHandoffExecution() bool
HasHandoffExecution returns a boolean if a field has been set.
func (*ConversationRestartRequest) HasMetadata ¶ added in v0.15.0
func (o *ConversationRestartRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ConversationRestartRequest) HasStore ¶
func (o *ConversationRestartRequest) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*ConversationRestartRequest) HasStream ¶
func (o *ConversationRestartRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
func (ConversationRestartRequest) MarshalJSON ¶
func (o ConversationRestartRequest) MarshalJSON() ([]byte, error)
func (*ConversationRestartRequest) SetAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartRequest) SetAgentVersion(v AgentVersion2)
SetAgentVersion gets a reference to the given NullableAgentVersion2 and assigns it to the AgentVersion field.
func (*ConversationRestartRequest) SetAgentVersionNil ¶ added in v0.15.0
func (o *ConversationRestartRequest) SetAgentVersionNil()
SetAgentVersionNil sets the value for AgentVersion to be an explicit nil
func (*ConversationRestartRequest) SetCompletionArgs ¶
func (o *ConversationRestartRequest) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*ConversationRestartRequest) SetFromEntryId ¶
func (o *ConversationRestartRequest) SetFromEntryId(v string)
SetFromEntryId sets field value
func (*ConversationRestartRequest) SetHandoffExecution ¶
func (o *ConversationRestartRequest) SetHandoffExecution(v string)
SetHandoffExecution gets a reference to the given string and assigns it to the HandoffExecution field.
func (*ConversationRestartRequest) SetInputs ¶
func (o *ConversationRestartRequest) SetInputs(v ConversationInputs)
SetInputs sets field value
func (*ConversationRestartRequest) SetMetadata ¶ added in v0.15.0
func (o *ConversationRestartRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ConversationRestartRequest) SetStore ¶
func (o *ConversationRestartRequest) SetStore(v bool)
SetStore gets a reference to the given bool and assigns it to the Store field.
func (*ConversationRestartRequest) SetStream ¶
func (o *ConversationRestartRequest) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (ConversationRestartRequest) ToMap ¶
func (o ConversationRestartRequest) ToMap() (map[string]interface{}, error)
func (*ConversationRestartRequest) UnmarshalJSON ¶
func (o *ConversationRestartRequest) UnmarshalJSON(data []byte) (err error)
func (*ConversationRestartRequest) UnsetAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartRequest) UnsetAgentVersion()
UnsetAgentVersion ensures that no value is present for AgentVersion, not even an explicit nil
type ConversationRestartRequestBase ¶
type ConversationRestartRequestBase struct {
Inputs ConversationInputs `json:"inputs"`
// Whether to stream back partial progress. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
// Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
HandoffExecution *string `json:"handoff_execution,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
FromEntryId string `json:"from_entry_id"`
AgentVersion NullableAgentVersion2 `json:"agent_version,omitempty"`
}
ConversationRestartRequestBase Request to restart a new conversation from a given entry in the conversation.
func NewConversationRestartRequestBase ¶
func NewConversationRestartRequestBase(inputs ConversationInputs, fromEntryId string) *ConversationRestartRequestBase
NewConversationRestartRequestBase instantiates a new ConversationRestartRequestBase 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 NewConversationRestartRequestBaseWithDefaults ¶
func NewConversationRestartRequestBaseWithDefaults() *ConversationRestartRequestBase
NewConversationRestartRequestBaseWithDefaults instantiates a new ConversationRestartRequestBase 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 (*ConversationRestartRequestBase) GetAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) GetAgentVersion() AgentVersion2
GetAgentVersion returns the AgentVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRestartRequestBase) GetAgentVersionOk ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) GetAgentVersionOk() (*AgentVersion2, bool)
GetAgentVersionOk returns a tuple with the AgentVersion 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 (*ConversationRestartRequestBase) GetCompletionArgs ¶
func (o *ConversationRestartRequestBase) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*ConversationRestartRequestBase) GetCompletionArgsOk ¶
func (o *ConversationRestartRequestBase) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartRequestBase) GetFromEntryId ¶
func (o *ConversationRestartRequestBase) GetFromEntryId() string
GetFromEntryId returns the FromEntryId field value
func (*ConversationRestartRequestBase) GetFromEntryIdOk ¶
func (o *ConversationRestartRequestBase) GetFromEntryIdOk() (*string, bool)
GetFromEntryIdOk returns a tuple with the FromEntryId field value and a boolean to check if the value has been set.
func (*ConversationRestartRequestBase) GetHandoffExecution ¶
func (o *ConversationRestartRequestBase) GetHandoffExecution() string
GetHandoffExecution returns the HandoffExecution field value if set, zero value otherwise.
func (*ConversationRestartRequestBase) GetHandoffExecutionOk ¶
func (o *ConversationRestartRequestBase) GetHandoffExecutionOk() (*string, bool)
GetHandoffExecutionOk returns a tuple with the HandoffExecution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartRequestBase) GetInputs ¶
func (o *ConversationRestartRequestBase) GetInputs() ConversationInputs
GetInputs returns the Inputs field value
func (*ConversationRestartRequestBase) GetInputsOk ¶
func (o *ConversationRestartRequestBase) GetInputsOk() (*ConversationInputs, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*ConversationRestartRequestBase) GetMetadata ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRestartRequestBase) GetMetadataOk ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*ConversationRestartRequestBase) GetStore ¶
func (o *ConversationRestartRequestBase) GetStore() bool
GetStore returns the Store field value if set, zero value otherwise.
func (*ConversationRestartRequestBase) GetStoreOk ¶
func (o *ConversationRestartRequestBase) GetStoreOk() (*bool, bool)
GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartRequestBase) GetStream ¶
func (o *ConversationRestartRequestBase) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*ConversationRestartRequestBase) GetStreamOk ¶
func (o *ConversationRestartRequestBase) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartRequestBase) HasAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) HasAgentVersion() bool
HasAgentVersion returns a boolean if a field has been set.
func (*ConversationRestartRequestBase) HasCompletionArgs ¶
func (o *ConversationRestartRequestBase) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ConversationRestartRequestBase) HasHandoffExecution ¶
func (o *ConversationRestartRequestBase) HasHandoffExecution() bool
HasHandoffExecution returns a boolean if a field has been set.
func (*ConversationRestartRequestBase) HasMetadata ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ConversationRestartRequestBase) HasStore ¶
func (o *ConversationRestartRequestBase) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*ConversationRestartRequestBase) HasStream ¶
func (o *ConversationRestartRequestBase) HasStream() bool
HasStream returns a boolean if a field has been set.
func (ConversationRestartRequestBase) MarshalJSON ¶
func (o ConversationRestartRequestBase) MarshalJSON() ([]byte, error)
func (*ConversationRestartRequestBase) SetAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) SetAgentVersion(v AgentVersion2)
SetAgentVersion gets a reference to the given NullableAgentVersion2 and assigns it to the AgentVersion field.
func (*ConversationRestartRequestBase) SetAgentVersionNil ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) SetAgentVersionNil()
SetAgentVersionNil sets the value for AgentVersion to be an explicit nil
func (*ConversationRestartRequestBase) SetCompletionArgs ¶
func (o *ConversationRestartRequestBase) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*ConversationRestartRequestBase) SetFromEntryId ¶
func (o *ConversationRestartRequestBase) SetFromEntryId(v string)
SetFromEntryId sets field value
func (*ConversationRestartRequestBase) SetHandoffExecution ¶
func (o *ConversationRestartRequestBase) SetHandoffExecution(v string)
SetHandoffExecution gets a reference to the given string and assigns it to the HandoffExecution field.
func (*ConversationRestartRequestBase) SetInputs ¶
func (o *ConversationRestartRequestBase) SetInputs(v ConversationInputs)
SetInputs sets field value
func (*ConversationRestartRequestBase) SetMetadata ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ConversationRestartRequestBase) SetStore ¶
func (o *ConversationRestartRequestBase) SetStore(v bool)
SetStore gets a reference to the given bool and assigns it to the Store field.
func (*ConversationRestartRequestBase) SetStream ¶
func (o *ConversationRestartRequestBase) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (ConversationRestartRequestBase) ToMap ¶
func (o ConversationRestartRequestBase) ToMap() (map[string]interface{}, error)
func (*ConversationRestartRequestBase) UnmarshalJSON ¶
func (o *ConversationRestartRequestBase) UnmarshalJSON(data []byte) (err error)
func (*ConversationRestartRequestBase) UnsetAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartRequestBase) UnsetAgentVersion()
UnsetAgentVersion ensures that no value is present for AgentVersion, not even an explicit nil
type ConversationRestartStreamRequest ¶
type ConversationRestartStreamRequest struct {
Inputs ConversationInputs `json:"inputs"`
Stream *bool `json:"stream,omitempty"`
// Whether to store the results into our servers or not.
Store *bool `json:"store,omitempty"`
HandoffExecution *string `json:"handoff_execution,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
FromEntryId string `json:"from_entry_id"`
AgentVersion NullableAgentVersion2 `json:"agent_version,omitempty"`
AdditionalProperties map[string]interface{}
}
ConversationRestartStreamRequest struct for ConversationRestartStreamRequest
func NewConversationRestartStreamRequest ¶
func NewConversationRestartStreamRequest(inputs ConversationInputs, fromEntryId string) *ConversationRestartStreamRequest
NewConversationRestartStreamRequest instantiates a new ConversationRestartStreamRequest 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 NewConversationRestartStreamRequestWithDefaults ¶
func NewConversationRestartStreamRequestWithDefaults() *ConversationRestartStreamRequest
NewConversationRestartStreamRequestWithDefaults instantiates a new ConversationRestartStreamRequest 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 (*ConversationRestartStreamRequest) GetAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) GetAgentVersion() AgentVersion2
GetAgentVersion returns the AgentVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationRestartStreamRequest) GetAgentVersionOk ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) GetAgentVersionOk() (*AgentVersion2, bool)
GetAgentVersionOk returns a tuple with the AgentVersion 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 (*ConversationRestartStreamRequest) GetCompletionArgs ¶
func (o *ConversationRestartStreamRequest) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*ConversationRestartStreamRequest) GetCompletionArgsOk ¶
func (o *ConversationRestartStreamRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartStreamRequest) GetFromEntryId ¶
func (o *ConversationRestartStreamRequest) GetFromEntryId() string
GetFromEntryId returns the FromEntryId field value
func (*ConversationRestartStreamRequest) GetFromEntryIdOk ¶
func (o *ConversationRestartStreamRequest) GetFromEntryIdOk() (*string, bool)
GetFromEntryIdOk returns a tuple with the FromEntryId field value and a boolean to check if the value has been set.
func (*ConversationRestartStreamRequest) GetHandoffExecution ¶
func (o *ConversationRestartStreamRequest) GetHandoffExecution() string
GetHandoffExecution returns the HandoffExecution field value if set, zero value otherwise.
func (*ConversationRestartStreamRequest) GetHandoffExecutionOk ¶
func (o *ConversationRestartStreamRequest) GetHandoffExecutionOk() (*string, bool)
GetHandoffExecutionOk returns a tuple with the HandoffExecution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartStreamRequest) GetInputs ¶
func (o *ConversationRestartStreamRequest) GetInputs() ConversationInputs
GetInputs returns the Inputs field value
func (*ConversationRestartStreamRequest) GetInputsOk ¶
func (o *ConversationRestartStreamRequest) GetInputsOk() (*ConversationInputs, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*ConversationRestartStreamRequest) GetMetadata ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ConversationRestartStreamRequest) GetMetadataOk ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartStreamRequest) GetStore ¶
func (o *ConversationRestartStreamRequest) GetStore() bool
GetStore returns the Store field value if set, zero value otherwise.
func (*ConversationRestartStreamRequest) GetStoreOk ¶
func (o *ConversationRestartStreamRequest) GetStoreOk() (*bool, bool)
GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartStreamRequest) GetStream ¶
func (o *ConversationRestartStreamRequest) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*ConversationRestartStreamRequest) GetStreamOk ¶
func (o *ConversationRestartStreamRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationRestartStreamRequest) HasAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) HasAgentVersion() bool
HasAgentVersion returns a boolean if a field has been set.
func (*ConversationRestartStreamRequest) HasCompletionArgs ¶
func (o *ConversationRestartStreamRequest) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ConversationRestartStreamRequest) HasHandoffExecution ¶
func (o *ConversationRestartStreamRequest) HasHandoffExecution() bool
HasHandoffExecution returns a boolean if a field has been set.
func (*ConversationRestartStreamRequest) HasMetadata ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ConversationRestartStreamRequest) HasStore ¶
func (o *ConversationRestartStreamRequest) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*ConversationRestartStreamRequest) HasStream ¶
func (o *ConversationRestartStreamRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
func (ConversationRestartStreamRequest) MarshalJSON ¶
func (o ConversationRestartStreamRequest) MarshalJSON() ([]byte, error)
func (*ConversationRestartStreamRequest) SetAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) SetAgentVersion(v AgentVersion2)
SetAgentVersion gets a reference to the given NullableAgentVersion2 and assigns it to the AgentVersion field.
func (*ConversationRestartStreamRequest) SetAgentVersionNil ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) SetAgentVersionNil()
SetAgentVersionNil sets the value for AgentVersion to be an explicit nil
func (*ConversationRestartStreamRequest) SetCompletionArgs ¶
func (o *ConversationRestartStreamRequest) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*ConversationRestartStreamRequest) SetFromEntryId ¶
func (o *ConversationRestartStreamRequest) SetFromEntryId(v string)
SetFromEntryId sets field value
func (*ConversationRestartStreamRequest) SetHandoffExecution ¶
func (o *ConversationRestartStreamRequest) SetHandoffExecution(v string)
SetHandoffExecution gets a reference to the given string and assigns it to the HandoffExecution field.
func (*ConversationRestartStreamRequest) SetInputs ¶
func (o *ConversationRestartStreamRequest) SetInputs(v ConversationInputs)
SetInputs sets field value
func (*ConversationRestartStreamRequest) SetMetadata ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ConversationRestartStreamRequest) SetStore ¶
func (o *ConversationRestartStreamRequest) SetStore(v bool)
SetStore gets a reference to the given bool and assigns it to the Store field.
func (*ConversationRestartStreamRequest) SetStream ¶
func (o *ConversationRestartStreamRequest) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (ConversationRestartStreamRequest) ToMap ¶
func (o ConversationRestartStreamRequest) ToMap() (map[string]interface{}, error)
func (*ConversationRestartStreamRequest) UnmarshalJSON ¶
func (o *ConversationRestartStreamRequest) UnmarshalJSON(data []byte) (err error)
func (*ConversationRestartStreamRequest) UnsetAgentVersion ¶ added in v0.15.0
func (o *ConversationRestartStreamRequest) UnsetAgentVersion()
UnsetAgentVersion ensures that no value is present for AgentVersion, not even an explicit nil
type ConversationStreamRequest ¶
type ConversationStreamRequest struct {
Inputs ConversationInputs `json:"inputs"`
Stream *bool `json:"stream,omitempty"`
Store *bool `json:"store,omitempty"`
HandoffExecution *string `json:"handoff_execution,omitempty"`
Instructions *string `json:"instructions,omitempty"`
// List of tools which are available to the model during the conversation.
Tools []ToolsInner `json:"tools,omitempty"`
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Name *string `json:"name,omitempty"`
Description *string `json:"description,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
AgentId *string `json:"agent_id,omitempty"`
AgentVersion NullableAgentVersion1 `json:"agent_version,omitempty"`
Model *string `json:"model,omitempty"`
AdditionalProperties map[string]interface{}
}
ConversationStreamRequest struct for ConversationStreamRequest
func NewConversationStreamRequest ¶
func NewConversationStreamRequest(inputs ConversationInputs) *ConversationStreamRequest
NewConversationStreamRequest instantiates a new ConversationStreamRequest 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 NewConversationStreamRequestWithDefaults ¶
func NewConversationStreamRequestWithDefaults() *ConversationStreamRequest
NewConversationStreamRequestWithDefaults instantiates a new ConversationStreamRequest 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 (*ConversationStreamRequest) GetAgentId ¶
func (o *ConversationStreamRequest) GetAgentId() string
GetAgentId returns the AgentId field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetAgentIdOk ¶
func (o *ConversationStreamRequest) GetAgentIdOk() (*string, bool)
GetAgentIdOk returns a tuple with the AgentId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetAgentVersion ¶ added in v0.15.0
func (o *ConversationStreamRequest) GetAgentVersion() AgentVersion1
GetAgentVersion returns the AgentVersion field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationStreamRequest) GetAgentVersionOk ¶ added in v0.15.0
func (o *ConversationStreamRequest) GetAgentVersionOk() (*AgentVersion1, bool)
GetAgentVersionOk returns a tuple with the AgentVersion 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 (*ConversationStreamRequest) GetCompletionArgs ¶
func (o *ConversationStreamRequest) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetCompletionArgsOk ¶
func (o *ConversationStreamRequest) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetDescription ¶
func (o *ConversationStreamRequest) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetDescriptionOk ¶
func (o *ConversationStreamRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetHandoffExecution ¶
func (o *ConversationStreamRequest) GetHandoffExecution() string
GetHandoffExecution returns the HandoffExecution field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetHandoffExecutionOk ¶
func (o *ConversationStreamRequest) GetHandoffExecutionOk() (*string, bool)
GetHandoffExecutionOk returns a tuple with the HandoffExecution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetInputs ¶
func (o *ConversationStreamRequest) GetInputs() ConversationInputs
GetInputs returns the Inputs field value
func (*ConversationStreamRequest) GetInputsOk ¶
func (o *ConversationStreamRequest) GetInputsOk() (*ConversationInputs, bool)
GetInputsOk returns a tuple with the Inputs field value and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetInstructions ¶
func (o *ConversationStreamRequest) GetInstructions() string
GetInstructions returns the Instructions field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetInstructionsOk ¶
func (o *ConversationStreamRequest) GetInstructionsOk() (*string, bool)
GetInstructionsOk returns a tuple with the Instructions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetMetadata ¶ added in v0.15.0
func (o *ConversationStreamRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetMetadataOk ¶ added in v0.15.0
func (o *ConversationStreamRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetModel ¶
func (o *ConversationStreamRequest) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetModelOk ¶
func (o *ConversationStreamRequest) 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.
func (*ConversationStreamRequest) GetName ¶
func (o *ConversationStreamRequest) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetNameOk ¶
func (o *ConversationStreamRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetStore ¶
func (o *ConversationStreamRequest) GetStore() bool
GetStore returns the Store field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetStoreOk ¶
func (o *ConversationStreamRequest) GetStoreOk() (*bool, bool)
GetStoreOk returns a tuple with the Store field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetStream ¶
func (o *ConversationStreamRequest) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetStreamOk ¶
func (o *ConversationStreamRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) GetTools ¶
func (o *ConversationStreamRequest) GetTools() []ToolsInner
GetTools returns the Tools field value if set, zero value otherwise.
func (*ConversationStreamRequest) GetToolsOk ¶
func (o *ConversationStreamRequest) GetToolsOk() ([]ToolsInner, bool)
GetToolsOk returns a tuple with the Tools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationStreamRequest) HasAgentId ¶
func (o *ConversationStreamRequest) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasAgentVersion ¶ added in v0.15.0
func (o *ConversationStreamRequest) HasAgentVersion() bool
HasAgentVersion returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasCompletionArgs ¶
func (o *ConversationStreamRequest) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasDescription ¶
func (o *ConversationStreamRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasHandoffExecution ¶
func (o *ConversationStreamRequest) HasHandoffExecution() bool
HasHandoffExecution returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasInstructions ¶
func (o *ConversationStreamRequest) HasInstructions() bool
HasInstructions returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasMetadata ¶ added in v0.15.0
func (o *ConversationStreamRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasModel ¶
func (o *ConversationStreamRequest) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasName ¶
func (o *ConversationStreamRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasStore ¶
func (o *ConversationStreamRequest) HasStore() bool
HasStore returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasStream ¶
func (o *ConversationStreamRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
func (*ConversationStreamRequest) HasTools ¶
func (o *ConversationStreamRequest) HasTools() bool
HasTools returns a boolean if a field has been set.
func (ConversationStreamRequest) MarshalJSON ¶
func (o ConversationStreamRequest) MarshalJSON() ([]byte, error)
func (*ConversationStreamRequest) SetAgentId ¶
func (o *ConversationStreamRequest) SetAgentId(v string)
SetAgentId gets a reference to the given string and assigns it to the AgentId field.
func (*ConversationStreamRequest) SetAgentVersion ¶ added in v0.15.0
func (o *ConversationStreamRequest) SetAgentVersion(v AgentVersion1)
SetAgentVersion gets a reference to the given NullableAgentVersion1 and assigns it to the AgentVersion field.
func (*ConversationStreamRequest) SetAgentVersionNil ¶ added in v0.15.0
func (o *ConversationStreamRequest) SetAgentVersionNil()
SetAgentVersionNil sets the value for AgentVersion to be an explicit nil
func (*ConversationStreamRequest) SetCompletionArgs ¶
func (o *ConversationStreamRequest) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*ConversationStreamRequest) SetDescription ¶
func (o *ConversationStreamRequest) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*ConversationStreamRequest) SetHandoffExecution ¶
func (o *ConversationStreamRequest) SetHandoffExecution(v string)
SetHandoffExecution gets a reference to the given string and assigns it to the HandoffExecution field.
func (*ConversationStreamRequest) SetInputs ¶
func (o *ConversationStreamRequest) SetInputs(v ConversationInputs)
SetInputs sets field value
func (*ConversationStreamRequest) SetInstructions ¶
func (o *ConversationStreamRequest) SetInstructions(v string)
SetInstructions gets a reference to the given string and assigns it to the Instructions field.
func (*ConversationStreamRequest) SetMetadata ¶ added in v0.15.0
func (o *ConversationStreamRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ConversationStreamRequest) SetModel ¶
func (o *ConversationStreamRequest) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*ConversationStreamRequest) SetName ¶
func (o *ConversationStreamRequest) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ConversationStreamRequest) SetStore ¶
func (o *ConversationStreamRequest) SetStore(v bool)
SetStore gets a reference to the given bool and assigns it to the Store field.
func (*ConversationStreamRequest) SetStream ¶
func (o *ConversationStreamRequest) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (*ConversationStreamRequest) SetTools ¶
func (o *ConversationStreamRequest) SetTools(v []ToolsInner)
SetTools gets a reference to the given []ToolsInner and assigns it to the Tools field.
func (ConversationStreamRequest) ToMap ¶
func (o ConversationStreamRequest) ToMap() (map[string]interface{}, error)
func (*ConversationStreamRequest) UnmarshalJSON ¶
func (o *ConversationStreamRequest) UnmarshalJSON(data []byte) (err error)
func (*ConversationStreamRequest) UnsetAgentVersion ¶ added in v0.15.0
func (o *ConversationStreamRequest) UnsetAgentVersion()
UnsetAgentVersion ensures that no value is present for AgentVersion, not even an explicit nil
type ConversationUsageInfo ¶
type ConversationUsageInfo struct {
PromptTokens *int32 `json:"prompt_tokens,omitempty"`
CompletionTokens *int32 `json:"completion_tokens,omitempty"`
TotalTokens *int32 `json:"total_tokens,omitempty"`
ConnectorTokens NullableInt32 `json:"connector_tokens,omitempty"`
Connectors map[string]int32 `json:"connectors,omitempty"`
}
ConversationUsageInfo struct for ConversationUsageInfo
func NewConversationUsageInfo ¶
func NewConversationUsageInfo() *ConversationUsageInfo
NewConversationUsageInfo instantiates a new ConversationUsageInfo 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 NewConversationUsageInfoWithDefaults ¶
func NewConversationUsageInfoWithDefaults() *ConversationUsageInfo
NewConversationUsageInfoWithDefaults instantiates a new ConversationUsageInfo 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 (*ConversationUsageInfo) GetCompletionTokens ¶
func (o *ConversationUsageInfo) GetCompletionTokens() int32
GetCompletionTokens returns the CompletionTokens field value if set, zero value otherwise.
func (*ConversationUsageInfo) GetCompletionTokensOk ¶
func (o *ConversationUsageInfo) GetCompletionTokensOk() (*int32, bool)
GetCompletionTokensOk returns a tuple with the CompletionTokens field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationUsageInfo) GetConnectorTokens ¶
func (o *ConversationUsageInfo) GetConnectorTokens() int32
GetConnectorTokens returns the ConnectorTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationUsageInfo) GetConnectorTokensOk ¶
func (o *ConversationUsageInfo) GetConnectorTokensOk() (*int32, bool)
GetConnectorTokensOk returns a tuple with the ConnectorTokens 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 (*ConversationUsageInfo) GetConnectors ¶
func (o *ConversationUsageInfo) GetConnectors() map[string]int32
GetConnectors returns the Connectors field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ConversationUsageInfo) GetConnectorsOk ¶
func (o *ConversationUsageInfo) GetConnectorsOk() (map[string]int32, bool)
GetConnectorsOk returns a tuple with the Connectors 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 (*ConversationUsageInfo) GetPromptTokens ¶
func (o *ConversationUsageInfo) GetPromptTokens() int32
GetPromptTokens returns the PromptTokens field value if set, zero value otherwise.
func (*ConversationUsageInfo) GetPromptTokensOk ¶
func (o *ConversationUsageInfo) GetPromptTokensOk() (*int32, bool)
GetPromptTokensOk returns a tuple with the PromptTokens field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationUsageInfo) GetTotalTokens ¶
func (o *ConversationUsageInfo) GetTotalTokens() int32
GetTotalTokens returns the TotalTokens field value if set, zero value otherwise.
func (*ConversationUsageInfo) GetTotalTokensOk ¶
func (o *ConversationUsageInfo) GetTotalTokensOk() (*int32, bool)
GetTotalTokensOk returns a tuple with the TotalTokens field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConversationUsageInfo) HasCompletionTokens ¶
func (o *ConversationUsageInfo) HasCompletionTokens() bool
HasCompletionTokens returns a boolean if a field has been set.
func (*ConversationUsageInfo) HasConnectorTokens ¶
func (o *ConversationUsageInfo) HasConnectorTokens() bool
HasConnectorTokens returns a boolean if a field has been set.
func (*ConversationUsageInfo) HasConnectors ¶
func (o *ConversationUsageInfo) HasConnectors() bool
HasConnectors returns a boolean if a field has been set.
func (*ConversationUsageInfo) HasPromptTokens ¶
func (o *ConversationUsageInfo) HasPromptTokens() bool
HasPromptTokens returns a boolean if a field has been set.
func (*ConversationUsageInfo) HasTotalTokens ¶
func (o *ConversationUsageInfo) HasTotalTokens() bool
HasTotalTokens returns a boolean if a field has been set.
func (ConversationUsageInfo) MarshalJSON ¶
func (o ConversationUsageInfo) MarshalJSON() ([]byte, error)
func (*ConversationUsageInfo) SetCompletionTokens ¶
func (o *ConversationUsageInfo) SetCompletionTokens(v int32)
SetCompletionTokens gets a reference to the given int32 and assigns it to the CompletionTokens field.
func (*ConversationUsageInfo) SetConnectorTokens ¶
func (o *ConversationUsageInfo) SetConnectorTokens(v int32)
SetConnectorTokens gets a reference to the given NullableInt32 and assigns it to the ConnectorTokens field.
func (*ConversationUsageInfo) SetConnectorTokensNil ¶ added in v0.15.0
func (o *ConversationUsageInfo) SetConnectorTokensNil()
SetConnectorTokensNil sets the value for ConnectorTokens to be an explicit nil
func (*ConversationUsageInfo) SetConnectors ¶
func (o *ConversationUsageInfo) SetConnectors(v map[string]int32)
SetConnectors gets a reference to the given map[string]int32 and assigns it to the Connectors field.
func (*ConversationUsageInfo) SetPromptTokens ¶
func (o *ConversationUsageInfo) SetPromptTokens(v int32)
SetPromptTokens gets a reference to the given int32 and assigns it to the PromptTokens field.
func (*ConversationUsageInfo) SetTotalTokens ¶
func (o *ConversationUsageInfo) SetTotalTokens(v int32)
SetTotalTokens gets a reference to the given int32 and assigns it to the TotalTokens field.
func (ConversationUsageInfo) ToMap ¶
func (o ConversationUsageInfo) ToMap() (map[string]interface{}, error)
func (*ConversationUsageInfo) UnsetConnectorTokens ¶ added in v0.15.0
func (o *ConversationUsageInfo) UnsetConnectorTokens()
UnsetConnectorTokens ensures that no value is present for ConnectorTokens, not even an explicit nil
type Data ¶
type Data struct {
AgentHandoffDoneEvent *AgentHandoffDoneEvent
AgentHandoffStartedEvent *AgentHandoffStartedEvent
FunctionCallEvent *FunctionCallEvent
MessageOutputEvent *MessageOutputEvent
ResponseDoneEvent *ResponseDoneEvent
ResponseErrorEvent *ResponseErrorEvent
ResponseStartedEvent *ResponseStartedEvent
ToolExecutionDeltaEvent *ToolExecutionDeltaEvent
ToolExecutionDoneEvent *ToolExecutionDoneEvent
ToolExecutionStartedEvent *ToolExecutionStartedEvent
}
Data - struct for Data
func AgentHandoffDoneEventAsData ¶
func AgentHandoffDoneEventAsData(v *AgentHandoffDoneEvent) Data
AgentHandoffDoneEventAsData is a convenience function that returns AgentHandoffDoneEvent wrapped in Data
func AgentHandoffStartedEventAsData ¶
func AgentHandoffStartedEventAsData(v *AgentHandoffStartedEvent) Data
AgentHandoffStartedEventAsData is a convenience function that returns AgentHandoffStartedEvent wrapped in Data
func FunctionCallEventAsData ¶
func FunctionCallEventAsData(v *FunctionCallEvent) Data
FunctionCallEventAsData is a convenience function that returns FunctionCallEvent wrapped in Data
func MessageOutputEventAsData ¶
func MessageOutputEventAsData(v *MessageOutputEvent) Data
MessageOutputEventAsData is a convenience function that returns MessageOutputEvent wrapped in Data
func ResponseDoneEventAsData ¶
func ResponseDoneEventAsData(v *ResponseDoneEvent) Data
ResponseDoneEventAsData is a convenience function that returns ResponseDoneEvent wrapped in Data
func ResponseErrorEventAsData ¶
func ResponseErrorEventAsData(v *ResponseErrorEvent) Data
ResponseErrorEventAsData is a convenience function that returns ResponseErrorEvent wrapped in Data
func ResponseStartedEventAsData ¶
func ResponseStartedEventAsData(v *ResponseStartedEvent) Data
ResponseStartedEventAsData is a convenience function that returns ResponseStartedEvent wrapped in Data
func ToolExecutionDeltaEventAsData ¶ added in v0.6.0
func ToolExecutionDeltaEventAsData(v *ToolExecutionDeltaEvent) Data
ToolExecutionDeltaEventAsData is a convenience function that returns ToolExecutionDeltaEvent wrapped in Data
func ToolExecutionDoneEventAsData ¶
func ToolExecutionDoneEventAsData(v *ToolExecutionDoneEvent) Data
ToolExecutionDoneEventAsData is a convenience function that returns ToolExecutionDoneEvent wrapped in Data
func ToolExecutionStartedEventAsData ¶
func ToolExecutionStartedEventAsData(v *ToolExecutionStartedEvent) Data
ToolExecutionStartedEventAsData is a convenience function that returns ToolExecutionStartedEvent wrapped in Data
func (*Data) GetActualInstance ¶
func (obj *Data) GetActualInstance() interface{}
Get the actual instance
func (Data) GetActualInstanceValue ¶
func (obj Data) GetActualInstanceValue() interface{}
Get the actual instance value
func (Data) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Data) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Data1 ¶ added in v0.15.0
type Data1 struct {
TranscriptionStreamDone *TranscriptionStreamDone
TranscriptionStreamLanguage *TranscriptionStreamLanguage
TranscriptionStreamSegmentDelta *TranscriptionStreamSegmentDelta
TranscriptionStreamTextDelta *TranscriptionStreamTextDelta
}
Data1 - struct for Data1
func TranscriptionStreamDoneAsData1 ¶ added in v0.15.0
func TranscriptionStreamDoneAsData1(v *TranscriptionStreamDone) Data1
TranscriptionStreamDoneAsData1 is a convenience function that returns TranscriptionStreamDone wrapped in Data1
func TranscriptionStreamLanguageAsData1 ¶ added in v0.15.0
func TranscriptionStreamLanguageAsData1(v *TranscriptionStreamLanguage) Data1
TranscriptionStreamLanguageAsData1 is a convenience function that returns TranscriptionStreamLanguage wrapped in Data1
func TranscriptionStreamSegmentDeltaAsData1 ¶ added in v0.15.0
func TranscriptionStreamSegmentDeltaAsData1(v *TranscriptionStreamSegmentDelta) Data1
TranscriptionStreamSegmentDeltaAsData1 is a convenience function that returns TranscriptionStreamSegmentDelta wrapped in Data1
func TranscriptionStreamTextDeltaAsData1 ¶ added in v0.15.0
func TranscriptionStreamTextDeltaAsData1(v *TranscriptionStreamTextDelta) Data1
TranscriptionStreamTextDeltaAsData1 is a convenience function that returns TranscriptionStreamTextDelta wrapped in Data1
func (*Data1) GetActualInstance ¶ added in v0.15.0
func (obj *Data1) GetActualInstance() interface{}
Get the actual instance
func (Data1) GetActualInstanceValue ¶ added in v0.15.0
func (obj Data1) GetActualInstanceValue() interface{}
Get the actual instance value
func (Data1) MarshalJSON ¶ added in v0.15.0
Marshal data from the first non-nil pointers in the struct to JSON
func (*Data1) UnmarshalJSON ¶ added in v0.15.0
Unmarshal JSON data into one of the pointers in the struct
type DataInner ¶ added in v0.15.0
type DataInner struct {
BaseModelCard *BaseModelCard
FTModelCard *FTModelCard
}
DataInner - struct for DataInner
func BaseModelCardAsDataInner ¶ added in v0.15.0
func BaseModelCardAsDataInner(v *BaseModelCard) DataInner
BaseModelCardAsDataInner is a convenience function that returns BaseModelCard wrapped in DataInner
func FTModelCardAsDataInner ¶ added in v0.15.0
func FTModelCardAsDataInner(v *FTModelCard) DataInner
FTModelCardAsDataInner is a convenience function that returns FTModelCard wrapped in DataInner
func (*DataInner) GetActualInstance ¶ added in v0.15.0
func (obj *DataInner) GetActualInstance() interface{}
Get the actual instance
func (DataInner) GetActualInstanceValue ¶ added in v0.15.0
func (obj DataInner) GetActualInstanceValue() interface{}
Get the actual instance value
func (DataInner) MarshalJSON ¶ added in v0.15.0
Marshal data from the first non-nil pointers in the struct to JSON
func (*DataInner) UnmarshalJSON ¶ added in v0.15.0
Unmarshal JSON data into one of the pointers in the struct
type DeleteFileOut ¶
type DeleteFileOut struct {
// The ID of the deleted file.
Id string `json:"id"`
// The object type that was deleted
Object string `json:"object"`
// The deletion status.
Deleted bool `json:"deleted"`
AdditionalProperties map[string]interface{}
}
DeleteFileOut struct for DeleteFileOut
func NewDeleteFileOut ¶
func NewDeleteFileOut(id string, object string, deleted bool) *DeleteFileOut
NewDeleteFileOut instantiates a new DeleteFileOut 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 NewDeleteFileOutWithDefaults ¶
func NewDeleteFileOutWithDefaults() *DeleteFileOut
NewDeleteFileOutWithDefaults instantiates a new DeleteFileOut 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 (*DeleteFileOut) GetDeleted ¶
func (o *DeleteFileOut) GetDeleted() bool
GetDeleted returns the Deleted field value
func (*DeleteFileOut) GetDeletedOk ¶
func (o *DeleteFileOut) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value and a boolean to check if the value has been set.
func (*DeleteFileOut) GetId ¶
func (o *DeleteFileOut) GetId() string
GetId returns the Id field value
func (*DeleteFileOut) GetIdOk ¶
func (o *DeleteFileOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DeleteFileOut) GetObject ¶
func (o *DeleteFileOut) GetObject() string
GetObject returns the Object field value
func (*DeleteFileOut) GetObjectOk ¶
func (o *DeleteFileOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (DeleteFileOut) MarshalJSON ¶
func (o DeleteFileOut) MarshalJSON() ([]byte, error)
func (*DeleteFileOut) SetDeleted ¶
func (o *DeleteFileOut) SetDeleted(v bool)
SetDeleted sets field value
func (*DeleteFileOut) SetObject ¶
func (o *DeleteFileOut) SetObject(v string)
SetObject sets field value
func (DeleteFileOut) ToMap ¶
func (o DeleteFileOut) ToMap() (map[string]interface{}, error)
func (*DeleteFileOut) UnmarshalJSON ¶
func (o *DeleteFileOut) UnmarshalJSON(data []byte) (err error)
type DeleteModelOut ¶
type DeleteModelOut struct {
// The ID of the deleted model.
Id string `json:"id"`
// The object type that was deleted
Object *string `json:"object,omitempty"`
// The deletion status
Deleted *bool `json:"deleted,omitempty"`
AdditionalProperties map[string]interface{}
}
DeleteModelOut struct for DeleteModelOut
func NewDeleteModelOut ¶
func NewDeleteModelOut(id string) *DeleteModelOut
NewDeleteModelOut instantiates a new DeleteModelOut 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 NewDeleteModelOutWithDefaults ¶
func NewDeleteModelOutWithDefaults() *DeleteModelOut
NewDeleteModelOutWithDefaults instantiates a new DeleteModelOut 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 (*DeleteModelOut) GetDeleted ¶
func (o *DeleteModelOut) GetDeleted() bool
GetDeleted returns the Deleted field value if set, zero value otherwise.
func (*DeleteModelOut) GetDeletedOk ¶
func (o *DeleteModelOut) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteModelOut) GetId ¶
func (o *DeleteModelOut) GetId() string
GetId returns the Id field value
func (*DeleteModelOut) GetIdOk ¶
func (o *DeleteModelOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DeleteModelOut) GetObject ¶
func (o *DeleteModelOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*DeleteModelOut) GetObjectOk ¶
func (o *DeleteModelOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteModelOut) HasDeleted ¶
func (o *DeleteModelOut) HasDeleted() bool
HasDeleted returns a boolean if a field has been set.
func (*DeleteModelOut) HasObject ¶
func (o *DeleteModelOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (DeleteModelOut) MarshalJSON ¶
func (o DeleteModelOut) MarshalJSON() ([]byte, error)
func (*DeleteModelOut) SetDeleted ¶
func (o *DeleteModelOut) SetDeleted(v bool)
SetDeleted gets a reference to the given bool and assigns it to the Deleted field.
func (*DeleteModelOut) SetObject ¶
func (o *DeleteModelOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (DeleteModelOut) ToMap ¶
func (o DeleteModelOut) ToMap() (map[string]interface{}, error)
func (*DeleteModelOut) UnmarshalJSON ¶
func (o *DeleteModelOut) UnmarshalJSON(data []byte) (err error)
type DeltaMessage ¶
type DeltaMessage struct {
Role NullableString `json:"role,omitempty"`
Content NullableDeltaMessageContent `json:"content,omitempty"`
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
AdditionalProperties map[string]interface{}
}
DeltaMessage struct for DeltaMessage
func NewDeltaMessage ¶
func NewDeltaMessage() *DeltaMessage
NewDeltaMessage instantiates a new DeltaMessage 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 NewDeltaMessageWithDefaults ¶
func NewDeltaMessageWithDefaults() *DeltaMessage
NewDeltaMessageWithDefaults instantiates a new DeltaMessage 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 (*DeltaMessage) GetContent ¶
func (o *DeltaMessage) GetContent() DeltaMessageContent
GetContent returns the Content field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DeltaMessage) GetContentOk ¶
func (o *DeltaMessage) GetContentOk() (*DeltaMessageContent, bool)
GetContentOk returns a tuple with the Content 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 (*DeltaMessage) GetRole ¶
func (o *DeltaMessage) GetRole() string
GetRole returns the Role field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DeltaMessage) GetRoleOk ¶
func (o *DeltaMessage) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role 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 (*DeltaMessage) GetToolCalls ¶
func (o *DeltaMessage) GetToolCalls() []ToolCall
GetToolCalls returns the ToolCalls field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DeltaMessage) GetToolCallsOk ¶
func (o *DeltaMessage) GetToolCallsOk() ([]ToolCall, bool)
GetToolCallsOk returns a tuple with the ToolCalls 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 (*DeltaMessage) HasContent ¶
func (o *DeltaMessage) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*DeltaMessage) HasRole ¶
func (o *DeltaMessage) HasRole() bool
HasRole returns a boolean if a field has been set.
func (*DeltaMessage) HasToolCalls ¶
func (o *DeltaMessage) HasToolCalls() bool
HasToolCalls returns a boolean if a field has been set.
func (DeltaMessage) MarshalJSON ¶
func (o DeltaMessage) MarshalJSON() ([]byte, error)
func (*DeltaMessage) SetContent ¶
func (o *DeltaMessage) SetContent(v DeltaMessageContent)
SetContent gets a reference to the given NullableDeltaMessageContent and assigns it to the Content field.
func (*DeltaMessage) SetContentNil ¶
func (o *DeltaMessage) SetContentNil()
SetContentNil sets the value for Content to be an explicit nil
func (*DeltaMessage) SetRole ¶
func (o *DeltaMessage) SetRole(v string)
SetRole gets a reference to the given NullableString and assigns it to the Role field.
func (*DeltaMessage) SetRoleNil ¶
func (o *DeltaMessage) SetRoleNil()
SetRoleNil sets the value for Role to be an explicit nil
func (*DeltaMessage) SetToolCalls ¶
func (o *DeltaMessage) SetToolCalls(v []ToolCall)
SetToolCalls gets a reference to the given []ToolCall and assigns it to the ToolCalls field.
func (DeltaMessage) ToMap ¶
func (o DeltaMessage) ToMap() (map[string]interface{}, error)
func (*DeltaMessage) UnmarshalJSON ¶
func (o *DeltaMessage) UnmarshalJSON(data []byte) (err error)
func (*DeltaMessage) UnsetContent ¶
func (o *DeltaMessage) UnsetContent()
UnsetContent ensures that no value is present for Content, not even an explicit nil
func (*DeltaMessage) UnsetRole ¶
func (o *DeltaMessage) UnsetRole()
UnsetRole ensures that no value is present for Role, not even an explicit nil
type DeltaMessageContent ¶
type DeltaMessageContent struct {
ArrayOfContentChunk *[]ContentChunk
String *string
}
DeltaMessageContent struct for DeltaMessageContent
func (DeltaMessageContent) MarshalJSON ¶
func (src DeltaMessageContent) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*DeltaMessageContent) UnmarshalJSON ¶
func (dst *DeltaMessageContent) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type Document ¶
type Document struct {
DocumentURLChunk *DocumentURLChunk
FileChunk *FileChunk
ImageURLChunk *ImageURLChunk
}
Document Document to run OCR on
func (Document) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Document) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type DocumentLibraryTool ¶
type DocumentLibraryTool struct {
Type *string `json:"type,omitempty"`
// Ids of the library in which to search.
LibraryIds []string `json:"library_ids"`
}
DocumentLibraryTool struct for DocumentLibraryTool
func NewDocumentLibraryTool ¶
func NewDocumentLibraryTool(libraryIds []string) *DocumentLibraryTool
NewDocumentLibraryTool instantiates a new DocumentLibraryTool 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 NewDocumentLibraryToolWithDefaults ¶
func NewDocumentLibraryToolWithDefaults() *DocumentLibraryTool
NewDocumentLibraryToolWithDefaults instantiates a new DocumentLibraryTool 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 (*DocumentLibraryTool) GetLibraryIds ¶
func (o *DocumentLibraryTool) GetLibraryIds() []string
GetLibraryIds returns the LibraryIds field value
func (*DocumentLibraryTool) GetLibraryIdsOk ¶
func (o *DocumentLibraryTool) GetLibraryIdsOk() ([]string, bool)
GetLibraryIdsOk returns a tuple with the LibraryIds field value and a boolean to check if the value has been set.
func (*DocumentLibraryTool) GetType ¶
func (o *DocumentLibraryTool) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*DocumentLibraryTool) GetTypeOk ¶
func (o *DocumentLibraryTool) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocumentLibraryTool) HasType ¶
func (o *DocumentLibraryTool) HasType() bool
HasType returns a boolean if a field has been set.
func (DocumentLibraryTool) MarshalJSON ¶
func (o DocumentLibraryTool) MarshalJSON() ([]byte, error)
func (*DocumentLibraryTool) SetLibraryIds ¶
func (o *DocumentLibraryTool) SetLibraryIds(v []string)
SetLibraryIds sets field value
func (*DocumentLibraryTool) SetType ¶
func (o *DocumentLibraryTool) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (DocumentLibraryTool) ToMap ¶
func (o DocumentLibraryTool) ToMap() (map[string]interface{}, error)
func (*DocumentLibraryTool) UnmarshalJSON ¶
func (o *DocumentLibraryTool) UnmarshalJSON(data []byte) (err error)
type DocumentOut ¶ added in v0.6.0
type DocumentOut struct {
Id string `json:"id"`
LibraryId string `json:"library_id"`
Hash NullableString `json:"hash"`
MimeType NullableString `json:"mime_type"`
Extension NullableString `json:"extension"`
Size NullableInt32 `json:"size"`
Name string `json:"name"`
Summary NullableString `json:"summary,omitempty"`
CreatedAt time.Time `json:"created_at"`
LastProcessedAt NullableTime `json:"last_processed_at,omitempty"`
NumberOfPages NullableInt32 `json:"number_of_pages,omitempty"`
ProcessingStatus string `json:"processing_status"`
UploadedById NullableString `json:"uploaded_by_id"`
UploadedByType string `json:"uploaded_by_type"`
TokensProcessingMainContent NullableInt32 `json:"tokens_processing_main_content,omitempty"`
TokensProcessingSummary NullableInt32 `json:"tokens_processing_summary,omitempty"`
Url NullableString `json:"url,omitempty"`
Attributes map[string]interface{} `json:"attributes,omitempty"`
TokensProcessingTotal int32 `json:"tokens_processing_total"`
AdditionalProperties map[string]interface{}
}
DocumentOut struct for DocumentOut
func NewDocumentOut ¶ added in v0.6.0
func NewDocumentOut(id string, libraryId string, hash NullableString, mimeType NullableString, extension NullableString, size NullableInt32, name string, createdAt time.Time, processingStatus string, uploadedById NullableString, uploadedByType string, tokensProcessingTotal int32) *DocumentOut
NewDocumentOut instantiates a new DocumentOut 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 NewDocumentOutWithDefaults ¶ added in v0.6.0
func NewDocumentOutWithDefaults() *DocumentOut
NewDocumentOutWithDefaults instantiates a new DocumentOut 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 (*DocumentOut) GetAttributes ¶ added in v0.15.0
func (o *DocumentOut) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentOut) GetAttributesOk ¶ added in v0.15.0
func (o *DocumentOut) GetAttributesOk() (map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes 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 (*DocumentOut) GetCreatedAt ¶ added in v0.6.0
func (o *DocumentOut) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*DocumentOut) GetCreatedAtOk ¶ added in v0.6.0
func (o *DocumentOut) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*DocumentOut) GetExtension ¶ added in v0.6.0
func (o *DocumentOut) GetExtension() string
GetExtension returns the Extension field value If the value is explicit nil, the zero value for string will be returned
func (*DocumentOut) GetExtensionOk ¶ added in v0.6.0
func (o *DocumentOut) GetExtensionOk() (*string, bool)
GetExtensionOk returns a tuple with the Extension 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 (*DocumentOut) GetHash ¶ added in v0.6.0
func (o *DocumentOut) GetHash() string
GetHash returns the Hash field value If the value is explicit nil, the zero value for string will be returned
func (*DocumentOut) GetHashOk ¶ added in v0.6.0
func (o *DocumentOut) GetHashOk() (*string, bool)
GetHashOk returns a tuple with the Hash 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 (*DocumentOut) GetId ¶ added in v0.6.0
func (o *DocumentOut) GetId() string
GetId returns the Id field value
func (*DocumentOut) GetIdOk ¶ added in v0.6.0
func (o *DocumentOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*DocumentOut) GetLastProcessedAt ¶ added in v0.6.0
func (o *DocumentOut) GetLastProcessedAt() time.Time
GetLastProcessedAt returns the LastProcessedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentOut) GetLastProcessedAtOk ¶ added in v0.6.0
func (o *DocumentOut) GetLastProcessedAtOk() (*time.Time, bool)
GetLastProcessedAtOk returns a tuple with the LastProcessedAt 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 (*DocumentOut) GetLibraryId ¶ added in v0.6.0
func (o *DocumentOut) GetLibraryId() string
GetLibraryId returns the LibraryId field value
func (*DocumentOut) GetLibraryIdOk ¶ added in v0.6.0
func (o *DocumentOut) GetLibraryIdOk() (*string, bool)
GetLibraryIdOk returns a tuple with the LibraryId field value and a boolean to check if the value has been set.
func (*DocumentOut) GetMimeType ¶ added in v0.6.0
func (o *DocumentOut) GetMimeType() string
GetMimeType returns the MimeType field value If the value is explicit nil, the zero value for string will be returned
func (*DocumentOut) GetMimeTypeOk ¶ added in v0.6.0
func (o *DocumentOut) GetMimeTypeOk() (*string, bool)
GetMimeTypeOk returns a tuple with the MimeType 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 (*DocumentOut) GetName ¶ added in v0.6.0
func (o *DocumentOut) GetName() string
GetName returns the Name field value
func (*DocumentOut) GetNameOk ¶ added in v0.6.0
func (o *DocumentOut) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*DocumentOut) GetNumberOfPages ¶ added in v0.6.0
func (o *DocumentOut) GetNumberOfPages() int32
GetNumberOfPages returns the NumberOfPages field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentOut) GetNumberOfPagesOk ¶ added in v0.6.0
func (o *DocumentOut) GetNumberOfPagesOk() (*int32, bool)
GetNumberOfPagesOk returns a tuple with the NumberOfPages 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 (*DocumentOut) GetProcessingStatus ¶ added in v0.6.0
func (o *DocumentOut) GetProcessingStatus() string
GetProcessingStatus returns the ProcessingStatus field value
func (*DocumentOut) GetProcessingStatusOk ¶ added in v0.6.0
func (o *DocumentOut) GetProcessingStatusOk() (*string, bool)
GetProcessingStatusOk returns a tuple with the ProcessingStatus field value and a boolean to check if the value has been set.
func (*DocumentOut) GetSize ¶ added in v0.6.0
func (o *DocumentOut) GetSize() int32
GetSize returns the Size field value If the value is explicit nil, the zero value for int32 will be returned
func (*DocumentOut) GetSizeOk ¶ added in v0.6.0
func (o *DocumentOut) GetSizeOk() (*int32, bool)
GetSizeOk returns a tuple with the Size 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 (*DocumentOut) GetSummary ¶ added in v0.6.0
func (o *DocumentOut) GetSummary() string
GetSummary returns the Summary field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentOut) GetSummaryOk ¶ added in v0.6.0
func (o *DocumentOut) GetSummaryOk() (*string, bool)
GetSummaryOk returns a tuple with the Summary 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 (*DocumentOut) GetTokensProcessingMainContent ¶ added in v0.6.0
func (o *DocumentOut) GetTokensProcessingMainContent() int32
GetTokensProcessingMainContent returns the TokensProcessingMainContent field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentOut) GetTokensProcessingMainContentOk ¶ added in v0.6.0
func (o *DocumentOut) GetTokensProcessingMainContentOk() (*int32, bool)
GetTokensProcessingMainContentOk returns a tuple with the TokensProcessingMainContent 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 (*DocumentOut) GetTokensProcessingSummary ¶ added in v0.6.0
func (o *DocumentOut) GetTokensProcessingSummary() int32
GetTokensProcessingSummary returns the TokensProcessingSummary field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentOut) GetTokensProcessingSummaryOk ¶ added in v0.6.0
func (o *DocumentOut) GetTokensProcessingSummaryOk() (*int32, bool)
GetTokensProcessingSummaryOk returns a tuple with the TokensProcessingSummary 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 (*DocumentOut) GetTokensProcessingTotal ¶ added in v0.6.0
func (o *DocumentOut) GetTokensProcessingTotal() int32
GetTokensProcessingTotal returns the TokensProcessingTotal field value
func (*DocumentOut) GetTokensProcessingTotalOk ¶ added in v0.6.0
func (o *DocumentOut) GetTokensProcessingTotalOk() (*int32, bool)
GetTokensProcessingTotalOk returns a tuple with the TokensProcessingTotal field value and a boolean to check if the value has been set.
func (*DocumentOut) GetUploadedById ¶ added in v0.6.0
func (o *DocumentOut) GetUploadedById() string
GetUploadedById returns the UploadedById field value If the value is explicit nil, the zero value for string will be returned
func (*DocumentOut) GetUploadedByIdOk ¶ added in v0.6.0
func (o *DocumentOut) GetUploadedByIdOk() (*string, bool)
GetUploadedByIdOk returns a tuple with the UploadedById 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 (*DocumentOut) GetUploadedByType ¶ added in v0.6.0
func (o *DocumentOut) GetUploadedByType() string
GetUploadedByType returns the UploadedByType field value
func (*DocumentOut) GetUploadedByTypeOk ¶ added in v0.6.0
func (o *DocumentOut) GetUploadedByTypeOk() (*string, bool)
GetUploadedByTypeOk returns a tuple with the UploadedByType field value and a boolean to check if the value has been set.
func (*DocumentOut) GetUrl ¶ added in v0.15.0
func (o *DocumentOut) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentOut) GetUrlOk ¶ added in v0.15.0
func (o *DocumentOut) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url 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 (*DocumentOut) HasAttributes ¶ added in v0.15.0
func (o *DocumentOut) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*DocumentOut) HasLastProcessedAt ¶ added in v0.6.0
func (o *DocumentOut) HasLastProcessedAt() bool
HasLastProcessedAt returns a boolean if a field has been set.
func (*DocumentOut) HasNumberOfPages ¶ added in v0.6.0
func (o *DocumentOut) HasNumberOfPages() bool
HasNumberOfPages returns a boolean if a field has been set.
func (*DocumentOut) HasSummary ¶ added in v0.6.0
func (o *DocumentOut) HasSummary() bool
HasSummary returns a boolean if a field has been set.
func (*DocumentOut) HasTokensProcessingMainContent ¶ added in v0.6.0
func (o *DocumentOut) HasTokensProcessingMainContent() bool
HasTokensProcessingMainContent returns a boolean if a field has been set.
func (*DocumentOut) HasTokensProcessingSummary ¶ added in v0.6.0
func (o *DocumentOut) HasTokensProcessingSummary() bool
HasTokensProcessingSummary returns a boolean if a field has been set.
func (*DocumentOut) HasUrl ¶ added in v0.15.0
func (o *DocumentOut) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (DocumentOut) MarshalJSON ¶ added in v0.6.0
func (o DocumentOut) MarshalJSON() ([]byte, error)
func (*DocumentOut) SetAttributes ¶ added in v0.15.0
func (o *DocumentOut) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (*DocumentOut) SetCreatedAt ¶ added in v0.6.0
func (o *DocumentOut) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*DocumentOut) SetExtension ¶ added in v0.6.0
func (o *DocumentOut) SetExtension(v string)
SetExtension sets field value
func (*DocumentOut) SetHash ¶ added in v0.6.0
func (o *DocumentOut) SetHash(v string)
SetHash sets field value
func (*DocumentOut) SetId ¶ added in v0.6.0
func (o *DocumentOut) SetId(v string)
SetId sets field value
func (*DocumentOut) SetLastProcessedAt ¶ added in v0.6.0
func (o *DocumentOut) SetLastProcessedAt(v time.Time)
SetLastProcessedAt gets a reference to the given NullableTime and assigns it to the LastProcessedAt field.
func (*DocumentOut) SetLastProcessedAtNil ¶ added in v0.6.0
func (o *DocumentOut) SetLastProcessedAtNil()
SetLastProcessedAtNil sets the value for LastProcessedAt to be an explicit nil
func (*DocumentOut) SetLibraryId ¶ added in v0.6.0
func (o *DocumentOut) SetLibraryId(v string)
SetLibraryId sets field value
func (*DocumentOut) SetMimeType ¶ added in v0.6.0
func (o *DocumentOut) SetMimeType(v string)
SetMimeType sets field value
func (*DocumentOut) SetName ¶ added in v0.6.0
func (o *DocumentOut) SetName(v string)
SetName sets field value
func (*DocumentOut) SetNumberOfPages ¶ added in v0.6.0
func (o *DocumentOut) SetNumberOfPages(v int32)
SetNumberOfPages gets a reference to the given NullableInt32 and assigns it to the NumberOfPages field.
func (*DocumentOut) SetNumberOfPagesNil ¶ added in v0.6.0
func (o *DocumentOut) SetNumberOfPagesNil()
SetNumberOfPagesNil sets the value for NumberOfPages to be an explicit nil
func (*DocumentOut) SetProcessingStatus ¶ added in v0.6.0
func (o *DocumentOut) SetProcessingStatus(v string)
SetProcessingStatus sets field value
func (*DocumentOut) SetSize ¶ added in v0.6.0
func (o *DocumentOut) SetSize(v int32)
SetSize sets field value
func (*DocumentOut) SetSummary ¶ added in v0.6.0
func (o *DocumentOut) SetSummary(v string)
SetSummary gets a reference to the given NullableString and assigns it to the Summary field.
func (*DocumentOut) SetSummaryNil ¶ added in v0.6.0
func (o *DocumentOut) SetSummaryNil()
SetSummaryNil sets the value for Summary to be an explicit nil
func (*DocumentOut) SetTokensProcessingMainContent ¶ added in v0.6.0
func (o *DocumentOut) SetTokensProcessingMainContent(v int32)
SetTokensProcessingMainContent gets a reference to the given NullableInt32 and assigns it to the TokensProcessingMainContent field.
func (*DocumentOut) SetTokensProcessingMainContentNil ¶ added in v0.6.0
func (o *DocumentOut) SetTokensProcessingMainContentNil()
SetTokensProcessingMainContentNil sets the value for TokensProcessingMainContent to be an explicit nil
func (*DocumentOut) SetTokensProcessingSummary ¶ added in v0.6.0
func (o *DocumentOut) SetTokensProcessingSummary(v int32)
SetTokensProcessingSummary gets a reference to the given NullableInt32 and assigns it to the TokensProcessingSummary field.
func (*DocumentOut) SetTokensProcessingSummaryNil ¶ added in v0.6.0
func (o *DocumentOut) SetTokensProcessingSummaryNil()
SetTokensProcessingSummaryNil sets the value for TokensProcessingSummary to be an explicit nil
func (*DocumentOut) SetTokensProcessingTotal ¶ added in v0.6.0
func (o *DocumentOut) SetTokensProcessingTotal(v int32)
SetTokensProcessingTotal sets field value
func (*DocumentOut) SetUploadedById ¶ added in v0.6.0
func (o *DocumentOut) SetUploadedById(v string)
SetUploadedById sets field value
func (*DocumentOut) SetUploadedByType ¶ added in v0.6.0
func (o *DocumentOut) SetUploadedByType(v string)
SetUploadedByType sets field value
func (*DocumentOut) SetUrl ¶ added in v0.15.0
func (o *DocumentOut) SetUrl(v string)
SetUrl gets a reference to the given NullableString and assigns it to the Url field.
func (*DocumentOut) SetUrlNil ¶ added in v0.15.0
func (o *DocumentOut) SetUrlNil()
SetUrlNil sets the value for Url to be an explicit nil
func (DocumentOut) ToMap ¶ added in v0.6.0
func (o DocumentOut) ToMap() (map[string]interface{}, error)
func (*DocumentOut) UnmarshalJSON ¶ added in v0.6.0
func (o *DocumentOut) UnmarshalJSON(data []byte) (err error)
func (*DocumentOut) UnsetLastProcessedAt ¶ added in v0.6.0
func (o *DocumentOut) UnsetLastProcessedAt()
UnsetLastProcessedAt ensures that no value is present for LastProcessedAt, not even an explicit nil
func (*DocumentOut) UnsetNumberOfPages ¶ added in v0.6.0
func (o *DocumentOut) UnsetNumberOfPages()
UnsetNumberOfPages ensures that no value is present for NumberOfPages, not even an explicit nil
func (*DocumentOut) UnsetSummary ¶ added in v0.6.0
func (o *DocumentOut) UnsetSummary()
UnsetSummary ensures that no value is present for Summary, not even an explicit nil
func (*DocumentOut) UnsetTokensProcessingMainContent ¶ added in v0.6.0
func (o *DocumentOut) UnsetTokensProcessingMainContent()
UnsetTokensProcessingMainContent ensures that no value is present for TokensProcessingMainContent, not even an explicit nil
func (*DocumentOut) UnsetTokensProcessingSummary ¶ added in v0.6.0
func (o *DocumentOut) UnsetTokensProcessingSummary()
UnsetTokensProcessingSummary ensures that no value is present for TokensProcessingSummary, not even an explicit nil
func (*DocumentOut) UnsetUrl ¶ added in v0.15.0
func (o *DocumentOut) UnsetUrl()
UnsetUrl ensures that no value is present for Url, not even an explicit nil
type DocumentTextContent ¶ added in v0.6.0
type DocumentTextContent struct {
Text string `json:"text"`
AdditionalProperties map[string]interface{}
}
DocumentTextContent struct for DocumentTextContent
func NewDocumentTextContent ¶ added in v0.6.0
func NewDocumentTextContent(text string) *DocumentTextContent
NewDocumentTextContent instantiates a new DocumentTextContent 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 NewDocumentTextContentWithDefaults ¶ added in v0.6.0
func NewDocumentTextContentWithDefaults() *DocumentTextContent
NewDocumentTextContentWithDefaults instantiates a new DocumentTextContent 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 (*DocumentTextContent) GetText ¶ added in v0.6.0
func (o *DocumentTextContent) GetText() string
GetText returns the Text field value
func (*DocumentTextContent) GetTextOk ¶ added in v0.6.0
func (o *DocumentTextContent) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (DocumentTextContent) MarshalJSON ¶ added in v0.6.0
func (o DocumentTextContent) MarshalJSON() ([]byte, error)
func (*DocumentTextContent) SetText ¶ added in v0.6.0
func (o *DocumentTextContent) SetText(v string)
SetText sets field value
func (DocumentTextContent) ToMap ¶ added in v0.6.0
func (o DocumentTextContent) ToMap() (map[string]interface{}, error)
func (*DocumentTextContent) UnmarshalJSON ¶ added in v0.6.0
func (o *DocumentTextContent) UnmarshalJSON(data []byte) (err error)
type DocumentURLChunk ¶
type DocumentURLChunk struct {
DocumentUrl string `json:"document_url"`
DocumentName NullableString `json:"document_name,omitempty"`
Type *string `json:"type,omitempty"`
}
DocumentURLChunk struct for DocumentURLChunk
func NewDocumentURLChunk ¶
func NewDocumentURLChunk(documentUrl string) *DocumentURLChunk
NewDocumentURLChunk instantiates a new DocumentURLChunk 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 NewDocumentURLChunkWithDefaults ¶
func NewDocumentURLChunkWithDefaults() *DocumentURLChunk
NewDocumentURLChunkWithDefaults instantiates a new DocumentURLChunk 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 (*DocumentURLChunk) GetDocumentName ¶
func (o *DocumentURLChunk) GetDocumentName() string
GetDocumentName returns the DocumentName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentURLChunk) GetDocumentNameOk ¶
func (o *DocumentURLChunk) GetDocumentNameOk() (*string, bool)
GetDocumentNameOk returns a tuple with the DocumentName 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 (*DocumentURLChunk) GetDocumentUrl ¶
func (o *DocumentURLChunk) GetDocumentUrl() string
GetDocumentUrl returns the DocumentUrl field value
func (*DocumentURLChunk) GetDocumentUrlOk ¶
func (o *DocumentURLChunk) GetDocumentUrlOk() (*string, bool)
GetDocumentUrlOk returns a tuple with the DocumentUrl field value and a boolean to check if the value has been set.
func (*DocumentURLChunk) GetType ¶
func (o *DocumentURLChunk) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*DocumentURLChunk) GetTypeOk ¶
func (o *DocumentURLChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DocumentURLChunk) HasDocumentName ¶
func (o *DocumentURLChunk) HasDocumentName() bool
HasDocumentName returns a boolean if a field has been set.
func (*DocumentURLChunk) HasType ¶
func (o *DocumentURLChunk) HasType() bool
HasType returns a boolean if a field has been set.
func (DocumentURLChunk) MarshalJSON ¶
func (o DocumentURLChunk) MarshalJSON() ([]byte, error)
func (*DocumentURLChunk) SetDocumentName ¶
func (o *DocumentURLChunk) SetDocumentName(v string)
SetDocumentName gets a reference to the given NullableString and assigns it to the DocumentName field.
func (*DocumentURLChunk) SetDocumentNameNil ¶
func (o *DocumentURLChunk) SetDocumentNameNil()
SetDocumentNameNil sets the value for DocumentName to be an explicit nil
func (*DocumentURLChunk) SetDocumentUrl ¶
func (o *DocumentURLChunk) SetDocumentUrl(v string)
SetDocumentUrl sets field value
func (*DocumentURLChunk) SetType ¶
func (o *DocumentURLChunk) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (DocumentURLChunk) ToMap ¶
func (o DocumentURLChunk) ToMap() (map[string]interface{}, error)
func (*DocumentURLChunk) UnmarshalJSON ¶
func (o *DocumentURLChunk) UnmarshalJSON(data []byte) (err error)
func (*DocumentURLChunk) UnsetDocumentName ¶
func (o *DocumentURLChunk) UnsetDocumentName()
UnsetDocumentName ensures that no value is present for DocumentName, not even an explicit nil
type DocumentUpdateIn ¶ added in v0.6.0
type DocumentUpdateIn struct {
Name NullableString `json:"name,omitempty"`
Attributes map[string]DocumentUpdateInAttributesValue `json:"attributes,omitempty"`
AdditionalProperties map[string]interface{}
}
DocumentUpdateIn struct for DocumentUpdateIn
func NewDocumentUpdateIn ¶ added in v0.6.0
func NewDocumentUpdateIn() *DocumentUpdateIn
NewDocumentUpdateIn instantiates a new DocumentUpdateIn 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 NewDocumentUpdateInWithDefaults ¶ added in v0.6.0
func NewDocumentUpdateInWithDefaults() *DocumentUpdateIn
NewDocumentUpdateInWithDefaults instantiates a new DocumentUpdateIn 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 (*DocumentUpdateIn) GetAttributes ¶ added in v0.15.0
func (o *DocumentUpdateIn) GetAttributes() map[string]DocumentUpdateInAttributesValue
GetAttributes returns the Attributes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentUpdateIn) GetAttributesOk ¶ added in v0.15.0
func (o *DocumentUpdateIn) GetAttributesOk() (map[string]DocumentUpdateInAttributesValue, bool)
GetAttributesOk returns a tuple with the Attributes 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 (*DocumentUpdateIn) GetName ¶ added in v0.6.0
func (o *DocumentUpdateIn) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*DocumentUpdateIn) GetNameOk ¶ added in v0.6.0
func (o *DocumentUpdateIn) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*DocumentUpdateIn) HasAttributes ¶ added in v0.15.0
func (o *DocumentUpdateIn) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*DocumentUpdateIn) HasName ¶ added in v0.6.0
func (o *DocumentUpdateIn) HasName() bool
HasName returns a boolean if a field has been set.
func (DocumentUpdateIn) MarshalJSON ¶ added in v0.6.0
func (o DocumentUpdateIn) MarshalJSON() ([]byte, error)
func (*DocumentUpdateIn) SetAttributes ¶ added in v0.15.0
func (o *DocumentUpdateIn) SetAttributes(v map[string]DocumentUpdateInAttributesValue)
SetAttributes gets a reference to the given map[string]DocumentUpdateInAttributesValue and assigns it to the Attributes field.
func (*DocumentUpdateIn) SetName ¶ added in v0.6.0
func (o *DocumentUpdateIn) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*DocumentUpdateIn) SetNameNil ¶ added in v0.6.0
func (o *DocumentUpdateIn) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (DocumentUpdateIn) ToMap ¶ added in v0.6.0
func (o DocumentUpdateIn) ToMap() (map[string]interface{}, error)
func (*DocumentUpdateIn) UnmarshalJSON ¶ added in v0.6.0
func (o *DocumentUpdateIn) UnmarshalJSON(data []byte) (err error)
func (*DocumentUpdateIn) UnsetName ¶ added in v0.6.0
func (o *DocumentUpdateIn) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type DocumentUpdateInAttributesValue ¶ added in v0.15.0
type DocumentUpdateInAttributesValue struct {
ArrayOfBool *[]bool
ArrayOfFloat32 *[]float32
ArrayOfInt32 *[]int32
ArrayOfString *[]string
Bool *bool
Float32 *float32
Int32 *int32
String *string
TimeTime *time.Time
}
DocumentUpdateInAttributesValue struct for DocumentUpdateInAttributesValue
func (DocumentUpdateInAttributesValue) MarshalJSON ¶ added in v0.15.0
func (src DocumentUpdateInAttributesValue) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*DocumentUpdateInAttributesValue) UnmarshalJSON ¶ added in v0.15.0
func (dst *DocumentUpdateInAttributesValue) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type EmbeddingDtype ¶
type EmbeddingDtype string
EmbeddingDtype the model 'EmbeddingDtype'
const ( EMBEDDINGDTYPE_FLOAT EmbeddingDtype = "float" EMBEDDINGDTYPE_INT8 EmbeddingDtype = "int8" EMBEDDINGDTYPE_UINT8 EmbeddingDtype = "uint8" EMBEDDINGDTYPE_BINARY EmbeddingDtype = "binary" EMBEDDINGDTYPE_UBINARY EmbeddingDtype = "ubinary" )
List of EmbeddingDtype
func NewEmbeddingDtypeFromValue ¶
func NewEmbeddingDtypeFromValue(v string) (*EmbeddingDtype, error)
NewEmbeddingDtypeFromValue returns a pointer to a valid EmbeddingDtype for the value passed as argument, or an error if the value passed is not allowed by the enum
func (EmbeddingDtype) IsValid ¶
func (v EmbeddingDtype) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (EmbeddingDtype) Ptr ¶
func (v EmbeddingDtype) Ptr() *EmbeddingDtype
Ptr returns reference to EmbeddingDtype value
func (*EmbeddingDtype) UnmarshalJSON ¶
func (v *EmbeddingDtype) UnmarshalJSON(src []byte) error
type EmbeddingRequest ¶
type EmbeddingRequest struct {
// The ID of the model to be used for embedding.
Model string `json:"model"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Input Input2 `json:"input"`
OutputDimension NullableInt32 `json:"output_dimension,omitempty"`
// The data type of the output embeddings when feature available. If not provided, a default output data type will be used.
OutputDtype *EmbeddingDtype `json:"output_dtype,omitempty"`
// The format of embeddings in the response.
EncodingFormat *EncodingFormat `json:"encoding_format,omitempty"`
}
EmbeddingRequest struct for EmbeddingRequest
func NewEmbeddingRequest ¶
func NewEmbeddingRequest(model string, input Input2) *EmbeddingRequest
NewEmbeddingRequest instantiates a new EmbeddingRequest 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 NewEmbeddingRequestWithDefaults ¶
func NewEmbeddingRequestWithDefaults() *EmbeddingRequest
NewEmbeddingRequestWithDefaults instantiates a new EmbeddingRequest 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 (*EmbeddingRequest) GetEncodingFormat ¶ added in v0.15.0
func (o *EmbeddingRequest) GetEncodingFormat() EncodingFormat
GetEncodingFormat returns the EncodingFormat field value if set, zero value otherwise.
func (*EmbeddingRequest) GetEncodingFormatOk ¶ added in v0.15.0
func (o *EmbeddingRequest) GetEncodingFormatOk() (*EncodingFormat, bool)
GetEncodingFormatOk returns a tuple with the EncodingFormat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbeddingRequest) GetInput ¶
func (o *EmbeddingRequest) GetInput() Input2
GetInput returns the Input field value
func (*EmbeddingRequest) GetInputOk ¶
func (o *EmbeddingRequest) GetInputOk() (*Input2, bool)
GetInputOk returns a tuple with the Input field value and a boolean to check if the value has been set.
func (*EmbeddingRequest) GetMetadata ¶ added in v0.15.0
func (o *EmbeddingRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*EmbeddingRequest) GetMetadataOk ¶ added in v0.15.0
func (o *EmbeddingRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*EmbeddingRequest) GetModel ¶
func (o *EmbeddingRequest) GetModel() string
GetModel returns the Model field value
func (*EmbeddingRequest) GetModelOk ¶
func (o *EmbeddingRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*EmbeddingRequest) GetOutputDimension ¶
func (o *EmbeddingRequest) GetOutputDimension() int32
GetOutputDimension returns the OutputDimension field value if set, zero value otherwise (both if not set or set to explicit null).
func (*EmbeddingRequest) GetOutputDimensionOk ¶
func (o *EmbeddingRequest) GetOutputDimensionOk() (*int32, bool)
GetOutputDimensionOk returns a tuple with the OutputDimension 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 (*EmbeddingRequest) GetOutputDtype ¶
func (o *EmbeddingRequest) GetOutputDtype() EmbeddingDtype
GetOutputDtype returns the OutputDtype field value if set, zero value otherwise.
func (*EmbeddingRequest) GetOutputDtypeOk ¶
func (o *EmbeddingRequest) GetOutputDtypeOk() (*EmbeddingDtype, bool)
GetOutputDtypeOk returns a tuple with the OutputDtype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbeddingRequest) HasEncodingFormat ¶ added in v0.15.0
func (o *EmbeddingRequest) HasEncodingFormat() bool
HasEncodingFormat returns a boolean if a field has been set.
func (*EmbeddingRequest) HasMetadata ¶ added in v0.15.0
func (o *EmbeddingRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*EmbeddingRequest) HasOutputDimension ¶
func (o *EmbeddingRequest) HasOutputDimension() bool
HasOutputDimension returns a boolean if a field has been set.
func (*EmbeddingRequest) HasOutputDtype ¶
func (o *EmbeddingRequest) HasOutputDtype() bool
HasOutputDtype returns a boolean if a field has been set.
func (EmbeddingRequest) MarshalJSON ¶
func (o EmbeddingRequest) MarshalJSON() ([]byte, error)
func (*EmbeddingRequest) SetEncodingFormat ¶ added in v0.15.0
func (o *EmbeddingRequest) SetEncodingFormat(v EncodingFormat)
SetEncodingFormat gets a reference to the given EncodingFormat and assigns it to the EncodingFormat field.
func (*EmbeddingRequest) SetInput ¶
func (o *EmbeddingRequest) SetInput(v Input2)
SetInput sets field value
func (*EmbeddingRequest) SetMetadata ¶ added in v0.15.0
func (o *EmbeddingRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*EmbeddingRequest) SetModel ¶
func (o *EmbeddingRequest) SetModel(v string)
SetModel sets field value
func (*EmbeddingRequest) SetOutputDimension ¶
func (o *EmbeddingRequest) SetOutputDimension(v int32)
SetOutputDimension gets a reference to the given NullableInt32 and assigns it to the OutputDimension field.
func (*EmbeddingRequest) SetOutputDimensionNil ¶
func (o *EmbeddingRequest) SetOutputDimensionNil()
SetOutputDimensionNil sets the value for OutputDimension to be an explicit nil
func (*EmbeddingRequest) SetOutputDtype ¶
func (o *EmbeddingRequest) SetOutputDtype(v EmbeddingDtype)
SetOutputDtype gets a reference to the given EmbeddingDtype and assigns it to the OutputDtype field.
func (EmbeddingRequest) ToMap ¶
func (o EmbeddingRequest) ToMap() (map[string]interface{}, error)
func (*EmbeddingRequest) UnmarshalJSON ¶
func (o *EmbeddingRequest) UnmarshalJSON(data []byte) (err error)
func (*EmbeddingRequest) UnsetOutputDimension ¶
func (o *EmbeddingRequest) UnsetOutputDimension()
UnsetOutputDimension ensures that no value is present for OutputDimension, not even an explicit nil
type EmbeddingResponse ¶
type EmbeddingResponse struct {
Id *string `json:"id,omitempty"`
Object *string `json:"object,omitempty"`
Model *string `json:"model,omitempty"`
Usage *UsageInfo `json:"usage,omitempty"`
Data []EmbeddingResponseData `json:"data"`
AdditionalProperties map[string]interface{}
}
EmbeddingResponse struct for EmbeddingResponse
func NewEmbeddingResponse ¶
func NewEmbeddingResponse(data []EmbeddingResponseData) *EmbeddingResponse
NewEmbeddingResponse instantiates a new EmbeddingResponse 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 NewEmbeddingResponseWithDefaults ¶
func NewEmbeddingResponseWithDefaults() *EmbeddingResponse
NewEmbeddingResponseWithDefaults instantiates a new EmbeddingResponse 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 (*EmbeddingResponse) GetData ¶
func (o *EmbeddingResponse) GetData() []EmbeddingResponseData
GetData returns the Data field value
func (*EmbeddingResponse) GetDataOk ¶
func (o *EmbeddingResponse) GetDataOk() ([]EmbeddingResponseData, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*EmbeddingResponse) GetId ¶
func (o *EmbeddingResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*EmbeddingResponse) GetIdOk ¶
func (o *EmbeddingResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbeddingResponse) GetModel ¶
func (o *EmbeddingResponse) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*EmbeddingResponse) GetModelOk ¶
func (o *EmbeddingResponse) 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.
func (*EmbeddingResponse) GetObject ¶
func (o *EmbeddingResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*EmbeddingResponse) GetObjectOk ¶
func (o *EmbeddingResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbeddingResponse) GetUsage ¶
func (o *EmbeddingResponse) GetUsage() UsageInfo
GetUsage returns the Usage field value if set, zero value otherwise.
func (*EmbeddingResponse) GetUsageOk ¶
func (o *EmbeddingResponse) GetUsageOk() (*UsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbeddingResponse) HasId ¶
func (o *EmbeddingResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*EmbeddingResponse) HasModel ¶
func (o *EmbeddingResponse) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*EmbeddingResponse) HasObject ¶
func (o *EmbeddingResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*EmbeddingResponse) HasUsage ¶
func (o *EmbeddingResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (EmbeddingResponse) MarshalJSON ¶
func (o EmbeddingResponse) MarshalJSON() ([]byte, error)
func (*EmbeddingResponse) SetData ¶
func (o *EmbeddingResponse) SetData(v []EmbeddingResponseData)
SetData sets field value
func (*EmbeddingResponse) SetId ¶
func (o *EmbeddingResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*EmbeddingResponse) SetModel ¶
func (o *EmbeddingResponse) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*EmbeddingResponse) SetObject ¶
func (o *EmbeddingResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*EmbeddingResponse) SetUsage ¶
func (o *EmbeddingResponse) SetUsage(v UsageInfo)
SetUsage gets a reference to the given UsageInfo and assigns it to the Usage field.
func (EmbeddingResponse) ToMap ¶
func (o EmbeddingResponse) ToMap() (map[string]interface{}, error)
func (*EmbeddingResponse) UnmarshalJSON ¶
func (o *EmbeddingResponse) UnmarshalJSON(data []byte) (err error)
type EmbeddingResponseData ¶
type EmbeddingResponseData struct {
Object *string `json:"object,omitempty"`
Embedding []float32 `json:"embedding,omitempty"`
Index *int32 `json:"index,omitempty"`
AdditionalProperties map[string]interface{}
}
EmbeddingResponseData struct for EmbeddingResponseData
func NewEmbeddingResponseData ¶
func NewEmbeddingResponseData() *EmbeddingResponseData
NewEmbeddingResponseData instantiates a new EmbeddingResponseData 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 NewEmbeddingResponseDataWithDefaults ¶
func NewEmbeddingResponseDataWithDefaults() *EmbeddingResponseData
NewEmbeddingResponseDataWithDefaults instantiates a new EmbeddingResponseData 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 (*EmbeddingResponseData) GetEmbedding ¶
func (o *EmbeddingResponseData) GetEmbedding() []float32
GetEmbedding returns the Embedding field value if set, zero value otherwise.
func (*EmbeddingResponseData) GetEmbeddingOk ¶
func (o *EmbeddingResponseData) GetEmbeddingOk() ([]float32, bool)
GetEmbeddingOk returns a tuple with the Embedding field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbeddingResponseData) GetIndex ¶
func (o *EmbeddingResponseData) GetIndex() int32
GetIndex returns the Index field value if set, zero value otherwise.
func (*EmbeddingResponseData) GetIndexOk ¶
func (o *EmbeddingResponseData) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbeddingResponseData) GetObject ¶
func (o *EmbeddingResponseData) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*EmbeddingResponseData) GetObjectOk ¶
func (o *EmbeddingResponseData) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*EmbeddingResponseData) HasEmbedding ¶
func (o *EmbeddingResponseData) HasEmbedding() bool
HasEmbedding returns a boolean if a field has been set.
func (*EmbeddingResponseData) HasIndex ¶
func (o *EmbeddingResponseData) HasIndex() bool
HasIndex returns a boolean if a field has been set.
func (*EmbeddingResponseData) HasObject ¶
func (o *EmbeddingResponseData) HasObject() bool
HasObject returns a boolean if a field has been set.
func (EmbeddingResponseData) MarshalJSON ¶
func (o EmbeddingResponseData) MarshalJSON() ([]byte, error)
func (*EmbeddingResponseData) SetEmbedding ¶
func (o *EmbeddingResponseData) SetEmbedding(v []float32)
SetEmbedding gets a reference to the given []float32 and assigns it to the Embedding field.
func (*EmbeddingResponseData) SetIndex ¶
func (o *EmbeddingResponseData) SetIndex(v int32)
SetIndex gets a reference to the given int32 and assigns it to the Index field.
func (*EmbeddingResponseData) SetObject ¶
func (o *EmbeddingResponseData) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (EmbeddingResponseData) ToMap ¶
func (o EmbeddingResponseData) ToMap() (map[string]interface{}, error)
func (*EmbeddingResponseData) UnmarshalJSON ¶
func (o *EmbeddingResponseData) UnmarshalJSON(data []byte) (err error)
type EmbeddingsAPI ¶
type EmbeddingsAPI interface {
/*
EmbeddingsV1EmbeddingsPost Embeddings
Embeddings
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiEmbeddingsV1EmbeddingsPostRequest
*/
EmbeddingsV1EmbeddingsPost(ctx context.Context) ApiEmbeddingsV1EmbeddingsPostRequest
// EmbeddingsV1EmbeddingsPostExecute executes the request
// @return EmbeddingResponse
EmbeddingsV1EmbeddingsPostExecute(r ApiEmbeddingsV1EmbeddingsPostRequest) (*EmbeddingResponse, *http.Response, error)
}
type EmbeddingsAPIService ¶
type EmbeddingsAPIService service
EmbeddingsAPIService EmbeddingsAPI service
func (*EmbeddingsAPIService) EmbeddingsV1EmbeddingsPost ¶
func (a *EmbeddingsAPIService) EmbeddingsV1EmbeddingsPost(ctx context.Context) ApiEmbeddingsV1EmbeddingsPostRequest
EmbeddingsV1EmbeddingsPost Embeddings
Embeddings
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiEmbeddingsV1EmbeddingsPostRequest
func (*EmbeddingsAPIService) EmbeddingsV1EmbeddingsPostExecute ¶
func (a *EmbeddingsAPIService) EmbeddingsV1EmbeddingsPostExecute(r ApiEmbeddingsV1EmbeddingsPostRequest) (*EmbeddingResponse, *http.Response, error)
Execute executes the request
@return EmbeddingResponse
type EncodingFormat ¶ added in v0.15.0
type EncodingFormat string
EncodingFormat the model 'EncodingFormat'
const ( ENCODINGFORMAT_FLOAT EncodingFormat = "float" ENCODINGFORMAT_BASE64 EncodingFormat = "base64" )
List of EncodingFormat
func NewEncodingFormatFromValue ¶ added in v0.15.0
func NewEncodingFormatFromValue(v string) (*EncodingFormat, error)
NewEncodingFormatFromValue returns a pointer to a valid EncodingFormat for the value passed as argument, or an error if the value passed is not allowed by the enum
func (EncodingFormat) IsValid ¶ added in v0.15.0
func (v EncodingFormat) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (EncodingFormat) Ptr ¶ added in v0.15.0
func (v EncodingFormat) Ptr() *EncodingFormat
Ptr returns reference to EncodingFormat value
func (*EncodingFormat) UnmarshalJSON ¶ added in v0.15.0
func (v *EncodingFormat) UnmarshalJSON(src []byte) error
type EntityType ¶ added in v0.6.0
type EntityType string
EntityType The type of entity, used to share a library.
const ( ENTITYTYPE_USER EntityType = "User" ENTITYTYPE_WORKSPACE EntityType = "Workspace" ENTITYTYPE_ORG EntityType = "Org" )
List of EntityType
func NewEntityTypeFromValue ¶ added in v0.6.0
func NewEntityTypeFromValue(v string) (*EntityType, error)
NewEntityTypeFromValue returns a pointer to a valid EntityType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (EntityType) IsValid ¶ added in v0.6.0
func (v EntityType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (EntityType) Ptr ¶ added in v0.6.0
func (v EntityType) Ptr() *EntityType
Ptr returns reference to EntityType value
func (*EntityType) UnmarshalJSON ¶ added in v0.6.0
func (v *EntityType) UnmarshalJSON(src []byte) error
type EntriesInner ¶ added in v0.15.0
type EntriesInner struct {
AgentHandoffEntry *AgentHandoffEntry
FunctionCallEntry *FunctionCallEntry
FunctionResultEntry *FunctionResultEntry
MessageInputEntry *MessageInputEntry
MessageOutputEntry *MessageOutputEntry
ToolExecutionEntry *ToolExecutionEntry
}
EntriesInner struct for EntriesInner
func (EntriesInner) MarshalJSON ¶ added in v0.15.0
func (src EntriesInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*EntriesInner) UnmarshalJSON ¶ added in v0.15.0
func (dst *EntriesInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type EventOut ¶
type EventOut struct {
// The name of the event.
Name string `json:"name"`
Data map[string]interface{} `json:"data,omitempty"`
// The UNIX timestamp (in seconds) of the event.
CreatedAt int32 `json:"created_at"`
AdditionalProperties map[string]interface{}
}
EventOut struct for EventOut
func NewEventOut ¶
NewEventOut instantiates a new EventOut 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 NewEventOutWithDefaults ¶
func NewEventOutWithDefaults() *EventOut
NewEventOutWithDefaults instantiates a new EventOut 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 (*EventOut) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value
func (*EventOut) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*EventOut) GetData ¶
GetData returns the Data field value if set, zero value otherwise (both if not set or set to explicit null).
func (*EventOut) GetDataOk ¶
GetDataOk returns a tuple with the Data 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 (*EventOut) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (EventOut) MarshalJSON ¶
func (*EventOut) SetCreatedAt ¶
SetCreatedAt sets field value
func (*EventOut) SetData ¶
SetData gets a reference to the given map[string]interface{} and assigns it to the Data field.
func (*EventOut) UnmarshalJSON ¶
type FIMCompletionRequest ¶
type FIMCompletionRequest struct {
// ID of the model with FIM to use.
Model string `json:"model"`
Temperature NullableFloat32 `json:"temperature,omitempty"`
// Nucleus sampling, where the model considers the results of the tokens with `top_p` probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or `temperature` but not both.
TopP *float32 `json:"top_p,omitempty"`
MaxTokens NullableInt32 `json:"max_tokens,omitempty"`
// Whether to stream back partial progress. If set, tokens will be sent as data-only server-side events as they become available, with the stream terminated by a data: [DONE] message. Otherwise, the server will hold the request open until the timeout or until completion, with the response containing the full result as JSON.
Stream *bool `json:"stream,omitempty"`
Stop *Stop `json:"stop,omitempty"`
RandomSeed NullableInt32 `json:"random_seed,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
// The text/code to complete.
Prompt string `json:"prompt"`
Suffix NullableString `json:"suffix,omitempty"`
MinTokens NullableInt32 `json:"min_tokens,omitempty"`
}
FIMCompletionRequest struct for FIMCompletionRequest
func NewFIMCompletionRequest ¶
func NewFIMCompletionRequest(model string, prompt string) *FIMCompletionRequest
NewFIMCompletionRequest instantiates a new FIMCompletionRequest 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 NewFIMCompletionRequestWithDefaults ¶
func NewFIMCompletionRequestWithDefaults() *FIMCompletionRequest
NewFIMCompletionRequestWithDefaults instantiates a new FIMCompletionRequest 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 (*FIMCompletionRequest) GetMaxTokens ¶
func (o *FIMCompletionRequest) GetMaxTokens() int32
GetMaxTokens returns the MaxTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FIMCompletionRequest) GetMaxTokensOk ¶
func (o *FIMCompletionRequest) GetMaxTokensOk() (*int32, bool)
GetMaxTokensOk returns a tuple with the MaxTokens 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 (*FIMCompletionRequest) GetMetadata ¶ added in v0.15.0
func (o *FIMCompletionRequest) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FIMCompletionRequest) GetMetadataOk ¶ added in v0.15.0
func (o *FIMCompletionRequest) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*FIMCompletionRequest) GetMinTokens ¶
func (o *FIMCompletionRequest) GetMinTokens() int32
GetMinTokens returns the MinTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FIMCompletionRequest) GetMinTokensOk ¶
func (o *FIMCompletionRequest) GetMinTokensOk() (*int32, bool)
GetMinTokensOk returns a tuple with the MinTokens 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 (*FIMCompletionRequest) GetModel ¶
func (o *FIMCompletionRequest) GetModel() string
GetModel returns the Model field value
func (*FIMCompletionRequest) GetModelOk ¶
func (o *FIMCompletionRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*FIMCompletionRequest) GetPrompt ¶
func (o *FIMCompletionRequest) GetPrompt() string
GetPrompt returns the Prompt field value
func (*FIMCompletionRequest) GetPromptOk ¶
func (o *FIMCompletionRequest) GetPromptOk() (*string, bool)
GetPromptOk returns a tuple with the Prompt field value and a boolean to check if the value has been set.
func (*FIMCompletionRequest) GetRandomSeed ¶
func (o *FIMCompletionRequest) GetRandomSeed() int32
GetRandomSeed returns the RandomSeed field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FIMCompletionRequest) GetRandomSeedOk ¶
func (o *FIMCompletionRequest) GetRandomSeedOk() (*int32, bool)
GetRandomSeedOk returns a tuple with the RandomSeed 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 (*FIMCompletionRequest) GetStop ¶
func (o *FIMCompletionRequest) GetStop() Stop
GetStop returns the Stop field value if set, zero value otherwise.
func (*FIMCompletionRequest) GetStopOk ¶
func (o *FIMCompletionRequest) GetStopOk() (*Stop, bool)
GetStopOk returns a tuple with the Stop field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FIMCompletionRequest) GetStream ¶
func (o *FIMCompletionRequest) GetStream() bool
GetStream returns the Stream field value if set, zero value otherwise.
func (*FIMCompletionRequest) GetStreamOk ¶
func (o *FIMCompletionRequest) GetStreamOk() (*bool, bool)
GetStreamOk returns a tuple with the Stream field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FIMCompletionRequest) GetSuffix ¶
func (o *FIMCompletionRequest) GetSuffix() string
GetSuffix returns the Suffix field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FIMCompletionRequest) GetSuffixOk ¶
func (o *FIMCompletionRequest) GetSuffixOk() (*string, bool)
GetSuffixOk returns a tuple with the Suffix 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 (*FIMCompletionRequest) GetTemperature ¶
func (o *FIMCompletionRequest) GetTemperature() float32
GetTemperature returns the Temperature field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FIMCompletionRequest) GetTemperatureOk ¶
func (o *FIMCompletionRequest) GetTemperatureOk() (*float32, bool)
GetTemperatureOk returns a tuple with the Temperature 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 (*FIMCompletionRequest) GetTopP ¶
func (o *FIMCompletionRequest) GetTopP() float32
GetTopP returns the TopP field value if set, zero value otherwise.
func (*FIMCompletionRequest) GetTopPOk ¶
func (o *FIMCompletionRequest) GetTopPOk() (*float32, bool)
GetTopPOk returns a tuple with the TopP field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FIMCompletionRequest) HasMaxTokens ¶
func (o *FIMCompletionRequest) HasMaxTokens() bool
HasMaxTokens returns a boolean if a field has been set.
func (*FIMCompletionRequest) HasMetadata ¶ added in v0.15.0
func (o *FIMCompletionRequest) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*FIMCompletionRequest) HasMinTokens ¶
func (o *FIMCompletionRequest) HasMinTokens() bool
HasMinTokens returns a boolean if a field has been set.
func (*FIMCompletionRequest) HasRandomSeed ¶
func (o *FIMCompletionRequest) HasRandomSeed() bool
HasRandomSeed returns a boolean if a field has been set.
func (*FIMCompletionRequest) HasStop ¶
func (o *FIMCompletionRequest) HasStop() bool
HasStop returns a boolean if a field has been set.
func (*FIMCompletionRequest) HasStream ¶
func (o *FIMCompletionRequest) HasStream() bool
HasStream returns a boolean if a field has been set.
func (*FIMCompletionRequest) HasSuffix ¶
func (o *FIMCompletionRequest) HasSuffix() bool
HasSuffix returns a boolean if a field has been set.
func (*FIMCompletionRequest) HasTemperature ¶
func (o *FIMCompletionRequest) HasTemperature() bool
HasTemperature returns a boolean if a field has been set.
func (*FIMCompletionRequest) HasTopP ¶
func (o *FIMCompletionRequest) HasTopP() bool
HasTopP returns a boolean if a field has been set.
func (FIMCompletionRequest) MarshalJSON ¶
func (o FIMCompletionRequest) MarshalJSON() ([]byte, error)
func (*FIMCompletionRequest) SetMaxTokens ¶
func (o *FIMCompletionRequest) SetMaxTokens(v int32)
SetMaxTokens gets a reference to the given NullableInt32 and assigns it to the MaxTokens field.
func (*FIMCompletionRequest) SetMaxTokensNil ¶
func (o *FIMCompletionRequest) SetMaxTokensNil()
SetMaxTokensNil sets the value for MaxTokens to be an explicit nil
func (*FIMCompletionRequest) SetMetadata ¶ added in v0.15.0
func (o *FIMCompletionRequest) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*FIMCompletionRequest) SetMinTokens ¶
func (o *FIMCompletionRequest) SetMinTokens(v int32)
SetMinTokens gets a reference to the given NullableInt32 and assigns it to the MinTokens field.
func (*FIMCompletionRequest) SetMinTokensNil ¶
func (o *FIMCompletionRequest) SetMinTokensNil()
SetMinTokensNil sets the value for MinTokens to be an explicit nil
func (*FIMCompletionRequest) SetModel ¶
func (o *FIMCompletionRequest) SetModel(v string)
SetModel sets field value
func (*FIMCompletionRequest) SetPrompt ¶
func (o *FIMCompletionRequest) SetPrompt(v string)
SetPrompt sets field value
func (*FIMCompletionRequest) SetRandomSeed ¶
func (o *FIMCompletionRequest) SetRandomSeed(v int32)
SetRandomSeed gets a reference to the given NullableInt32 and assigns it to the RandomSeed field.
func (*FIMCompletionRequest) SetRandomSeedNil ¶
func (o *FIMCompletionRequest) SetRandomSeedNil()
SetRandomSeedNil sets the value for RandomSeed to be an explicit nil
func (*FIMCompletionRequest) SetStop ¶
func (o *FIMCompletionRequest) SetStop(v Stop)
SetStop gets a reference to the given Stop and assigns it to the Stop field.
func (*FIMCompletionRequest) SetStream ¶
func (o *FIMCompletionRequest) SetStream(v bool)
SetStream gets a reference to the given bool and assigns it to the Stream field.
func (*FIMCompletionRequest) SetSuffix ¶
func (o *FIMCompletionRequest) SetSuffix(v string)
SetSuffix gets a reference to the given NullableString and assigns it to the Suffix field.
func (*FIMCompletionRequest) SetSuffixNil ¶
func (o *FIMCompletionRequest) SetSuffixNil()
SetSuffixNil sets the value for Suffix to be an explicit nil
func (*FIMCompletionRequest) SetTemperature ¶
func (o *FIMCompletionRequest) SetTemperature(v float32)
SetTemperature gets a reference to the given NullableFloat32 and assigns it to the Temperature field.
func (*FIMCompletionRequest) SetTemperatureNil ¶
func (o *FIMCompletionRequest) SetTemperatureNil()
SetTemperatureNil sets the value for Temperature to be an explicit nil
func (*FIMCompletionRequest) SetTopP ¶
func (o *FIMCompletionRequest) SetTopP(v float32)
SetTopP gets a reference to the given float32 and assigns it to the TopP field.
func (FIMCompletionRequest) ToMap ¶
func (o FIMCompletionRequest) ToMap() (map[string]interface{}, error)
func (*FIMCompletionRequest) UnmarshalJSON ¶
func (o *FIMCompletionRequest) UnmarshalJSON(data []byte) (err error)
func (*FIMCompletionRequest) UnsetMaxTokens ¶
func (o *FIMCompletionRequest) UnsetMaxTokens()
UnsetMaxTokens ensures that no value is present for MaxTokens, not even an explicit nil
func (*FIMCompletionRequest) UnsetMinTokens ¶
func (o *FIMCompletionRequest) UnsetMinTokens()
UnsetMinTokens ensures that no value is present for MinTokens, not even an explicit nil
func (*FIMCompletionRequest) UnsetRandomSeed ¶
func (o *FIMCompletionRequest) UnsetRandomSeed()
UnsetRandomSeed ensures that no value is present for RandomSeed, not even an explicit nil
func (*FIMCompletionRequest) UnsetSuffix ¶
func (o *FIMCompletionRequest) UnsetSuffix()
UnsetSuffix ensures that no value is present for Suffix, not even an explicit nil
func (*FIMCompletionRequest) UnsetTemperature ¶
func (o *FIMCompletionRequest) UnsetTemperature()
UnsetTemperature ensures that no value is present for Temperature, not even an explicit nil
type FIMCompletionResponse ¶
type FIMCompletionResponse struct {
Id *string `json:"id,omitempty"`
Object *string `json:"object,omitempty"`
Model *string `json:"model,omitempty"`
Usage *UsageInfo `json:"usage,omitempty"`
Created *int32 `json:"created,omitempty"`
Choices []ChatCompletionChoice `json:"choices"`
AdditionalProperties map[string]interface{}
}
FIMCompletionResponse struct for FIMCompletionResponse
func NewFIMCompletionResponse ¶
func NewFIMCompletionResponse(choices []ChatCompletionChoice) *FIMCompletionResponse
NewFIMCompletionResponse instantiates a new FIMCompletionResponse 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 NewFIMCompletionResponseWithDefaults ¶
func NewFIMCompletionResponseWithDefaults() *FIMCompletionResponse
NewFIMCompletionResponseWithDefaults instantiates a new FIMCompletionResponse 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 (*FIMCompletionResponse) GetChoices ¶
func (o *FIMCompletionResponse) GetChoices() []ChatCompletionChoice
GetChoices returns the Choices field value
func (*FIMCompletionResponse) GetChoicesOk ¶
func (o *FIMCompletionResponse) GetChoicesOk() ([]ChatCompletionChoice, bool)
GetChoicesOk returns a tuple with the Choices field value and a boolean to check if the value has been set.
func (*FIMCompletionResponse) GetCreated ¶
func (o *FIMCompletionResponse) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*FIMCompletionResponse) GetCreatedOk ¶
func (o *FIMCompletionResponse) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FIMCompletionResponse) GetId ¶
func (o *FIMCompletionResponse) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*FIMCompletionResponse) GetIdOk ¶
func (o *FIMCompletionResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FIMCompletionResponse) GetModel ¶
func (o *FIMCompletionResponse) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*FIMCompletionResponse) GetModelOk ¶
func (o *FIMCompletionResponse) 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.
func (*FIMCompletionResponse) GetObject ¶
func (o *FIMCompletionResponse) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*FIMCompletionResponse) GetObjectOk ¶
func (o *FIMCompletionResponse) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FIMCompletionResponse) GetUsage ¶
func (o *FIMCompletionResponse) GetUsage() UsageInfo
GetUsage returns the Usage field value if set, zero value otherwise.
func (*FIMCompletionResponse) GetUsageOk ¶
func (o *FIMCompletionResponse) GetUsageOk() (*UsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FIMCompletionResponse) HasCreated ¶
func (o *FIMCompletionResponse) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*FIMCompletionResponse) HasId ¶
func (o *FIMCompletionResponse) HasId() bool
HasId returns a boolean if a field has been set.
func (*FIMCompletionResponse) HasModel ¶
func (o *FIMCompletionResponse) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*FIMCompletionResponse) HasObject ¶
func (o *FIMCompletionResponse) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*FIMCompletionResponse) HasUsage ¶
func (o *FIMCompletionResponse) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (FIMCompletionResponse) MarshalJSON ¶
func (o FIMCompletionResponse) MarshalJSON() ([]byte, error)
func (*FIMCompletionResponse) SetChoices ¶
func (o *FIMCompletionResponse) SetChoices(v []ChatCompletionChoice)
SetChoices sets field value
func (*FIMCompletionResponse) SetCreated ¶
func (o *FIMCompletionResponse) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*FIMCompletionResponse) SetId ¶
func (o *FIMCompletionResponse) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*FIMCompletionResponse) SetModel ¶
func (o *FIMCompletionResponse) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*FIMCompletionResponse) SetObject ¶
func (o *FIMCompletionResponse) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*FIMCompletionResponse) SetUsage ¶
func (o *FIMCompletionResponse) SetUsage(v UsageInfo)
SetUsage gets a reference to the given UsageInfo and assigns it to the Usage field.
func (FIMCompletionResponse) ToMap ¶
func (o FIMCompletionResponse) ToMap() (map[string]interface{}, error)
func (*FIMCompletionResponse) UnmarshalJSON ¶
func (o *FIMCompletionResponse) UnmarshalJSON(data []byte) (err error)
type FTClassifierLossFunction ¶
type FTClassifierLossFunction string
FTClassifierLossFunction the model 'FTClassifierLossFunction'
const ( FTCLASSIFIERLOSSFUNCTION_SINGLE_CLASS FTClassifierLossFunction = "single_class" FTCLASSIFIERLOSSFUNCTION_MULTI_CLASS FTClassifierLossFunction = "multi_class" )
List of FTClassifierLossFunction
func NewFTClassifierLossFunctionFromValue ¶
func NewFTClassifierLossFunctionFromValue(v string) (*FTClassifierLossFunction, error)
NewFTClassifierLossFunctionFromValue returns a pointer to a valid FTClassifierLossFunction for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FTClassifierLossFunction) IsValid ¶
func (v FTClassifierLossFunction) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FTClassifierLossFunction) Ptr ¶
func (v FTClassifierLossFunction) Ptr() *FTClassifierLossFunction
Ptr returns reference to FTClassifierLossFunction value
func (*FTClassifierLossFunction) UnmarshalJSON ¶
func (v *FTClassifierLossFunction) UnmarshalJSON(src []byte) error
type FTModelCapabilitiesOut ¶
type FTModelCapabilitiesOut struct {
CompletionChat *bool `json:"completion_chat,omitempty"`
CompletionFim *bool `json:"completion_fim,omitempty"`
FunctionCalling *bool `json:"function_calling,omitempty"`
FineTuning *bool `json:"fine_tuning,omitempty"`
Classification *bool `json:"classification,omitempty"`
AdditionalProperties map[string]interface{}
}
FTModelCapabilitiesOut struct for FTModelCapabilitiesOut
func NewFTModelCapabilitiesOut ¶
func NewFTModelCapabilitiesOut() *FTModelCapabilitiesOut
NewFTModelCapabilitiesOut instantiates a new FTModelCapabilitiesOut 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 NewFTModelCapabilitiesOutWithDefaults ¶
func NewFTModelCapabilitiesOutWithDefaults() *FTModelCapabilitiesOut
NewFTModelCapabilitiesOutWithDefaults instantiates a new FTModelCapabilitiesOut 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 (*FTModelCapabilitiesOut) GetClassification ¶
func (o *FTModelCapabilitiesOut) GetClassification() bool
GetClassification returns the Classification field value if set, zero value otherwise.
func (*FTModelCapabilitiesOut) GetClassificationOk ¶
func (o *FTModelCapabilitiesOut) GetClassificationOk() (*bool, bool)
GetClassificationOk returns a tuple with the Classification field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCapabilitiesOut) GetCompletionChat ¶
func (o *FTModelCapabilitiesOut) GetCompletionChat() bool
GetCompletionChat returns the CompletionChat field value if set, zero value otherwise.
func (*FTModelCapabilitiesOut) GetCompletionChatOk ¶
func (o *FTModelCapabilitiesOut) GetCompletionChatOk() (*bool, bool)
GetCompletionChatOk returns a tuple with the CompletionChat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCapabilitiesOut) GetCompletionFim ¶
func (o *FTModelCapabilitiesOut) GetCompletionFim() bool
GetCompletionFim returns the CompletionFim field value if set, zero value otherwise.
func (*FTModelCapabilitiesOut) GetCompletionFimOk ¶
func (o *FTModelCapabilitiesOut) GetCompletionFimOk() (*bool, bool)
GetCompletionFimOk returns a tuple with the CompletionFim field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCapabilitiesOut) GetFineTuning ¶
func (o *FTModelCapabilitiesOut) GetFineTuning() bool
GetFineTuning returns the FineTuning field value if set, zero value otherwise.
func (*FTModelCapabilitiesOut) GetFineTuningOk ¶
func (o *FTModelCapabilitiesOut) GetFineTuningOk() (*bool, bool)
GetFineTuningOk returns a tuple with the FineTuning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCapabilitiesOut) GetFunctionCalling ¶
func (o *FTModelCapabilitiesOut) GetFunctionCalling() bool
GetFunctionCalling returns the FunctionCalling field value if set, zero value otherwise.
func (*FTModelCapabilitiesOut) GetFunctionCallingOk ¶
func (o *FTModelCapabilitiesOut) GetFunctionCallingOk() (*bool, bool)
GetFunctionCallingOk returns a tuple with the FunctionCalling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCapabilitiesOut) HasClassification ¶
func (o *FTModelCapabilitiesOut) HasClassification() bool
HasClassification returns a boolean if a field has been set.
func (*FTModelCapabilitiesOut) HasCompletionChat ¶
func (o *FTModelCapabilitiesOut) HasCompletionChat() bool
HasCompletionChat returns a boolean if a field has been set.
func (*FTModelCapabilitiesOut) HasCompletionFim ¶
func (o *FTModelCapabilitiesOut) HasCompletionFim() bool
HasCompletionFim returns a boolean if a field has been set.
func (*FTModelCapabilitiesOut) HasFineTuning ¶
func (o *FTModelCapabilitiesOut) HasFineTuning() bool
HasFineTuning returns a boolean if a field has been set.
func (*FTModelCapabilitiesOut) HasFunctionCalling ¶
func (o *FTModelCapabilitiesOut) HasFunctionCalling() bool
HasFunctionCalling returns a boolean if a field has been set.
func (FTModelCapabilitiesOut) MarshalJSON ¶
func (o FTModelCapabilitiesOut) MarshalJSON() ([]byte, error)
func (*FTModelCapabilitiesOut) SetClassification ¶
func (o *FTModelCapabilitiesOut) SetClassification(v bool)
SetClassification gets a reference to the given bool and assigns it to the Classification field.
func (*FTModelCapabilitiesOut) SetCompletionChat ¶
func (o *FTModelCapabilitiesOut) SetCompletionChat(v bool)
SetCompletionChat gets a reference to the given bool and assigns it to the CompletionChat field.
func (*FTModelCapabilitiesOut) SetCompletionFim ¶
func (o *FTModelCapabilitiesOut) SetCompletionFim(v bool)
SetCompletionFim gets a reference to the given bool and assigns it to the CompletionFim field.
func (*FTModelCapabilitiesOut) SetFineTuning ¶
func (o *FTModelCapabilitiesOut) SetFineTuning(v bool)
SetFineTuning gets a reference to the given bool and assigns it to the FineTuning field.
func (*FTModelCapabilitiesOut) SetFunctionCalling ¶
func (o *FTModelCapabilitiesOut) SetFunctionCalling(v bool)
SetFunctionCalling gets a reference to the given bool and assigns it to the FunctionCalling field.
func (FTModelCapabilitiesOut) ToMap ¶
func (o FTModelCapabilitiesOut) ToMap() (map[string]interface{}, error)
func (*FTModelCapabilitiesOut) UnmarshalJSON ¶
func (o *FTModelCapabilitiesOut) UnmarshalJSON(data []byte) (err error)
type FTModelCard ¶
type FTModelCard struct {
Id string `json:"id"`
Object *string `json:"object,omitempty"`
Created *int32 `json:"created,omitempty"`
OwnedBy *string `json:"owned_by,omitempty"`
Capabilities ModelCapabilities `json:"capabilities"`
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
MaxContextLength *int32 `json:"max_context_length,omitempty"`
Aliases []string `json:"aliases,omitempty"`
Deprecation NullableTime `json:"deprecation,omitempty"`
DeprecationReplacementModel NullableString `json:"deprecation_replacement_model,omitempty"`
DefaultModelTemperature NullableFloat32 `json:"default_model_temperature,omitempty"`
Type *string `json:"type,omitempty"`
Job string `json:"job"`
Root string `json:"root"`
Archived *bool `json:"archived,omitempty"`
AdditionalProperties map[string]interface{}
}
FTModelCard Extra fields for fine-tuned models.
func NewFTModelCard ¶
func NewFTModelCard(id string, capabilities ModelCapabilities, job string, root string) *FTModelCard
NewFTModelCard instantiates a new FTModelCard 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 NewFTModelCardWithDefaults ¶
func NewFTModelCardWithDefaults() *FTModelCard
NewFTModelCardWithDefaults instantiates a new FTModelCard 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 (*FTModelCard) GetAliases ¶
func (o *FTModelCard) GetAliases() []string
GetAliases returns the Aliases field value if set, zero value otherwise.
func (*FTModelCard) GetAliasesOk ¶
func (o *FTModelCard) GetAliasesOk() ([]string, bool)
GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCard) GetArchived ¶
func (o *FTModelCard) GetArchived() bool
GetArchived returns the Archived field value if set, zero value otherwise.
func (*FTModelCard) GetArchivedOk ¶
func (o *FTModelCard) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCard) GetCapabilities ¶
func (o *FTModelCard) GetCapabilities() ModelCapabilities
GetCapabilities returns the Capabilities field value
func (*FTModelCard) GetCapabilitiesOk ¶
func (o *FTModelCard) GetCapabilitiesOk() (*ModelCapabilities, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field value and a boolean to check if the value has been set.
func (*FTModelCard) GetCreated ¶
func (o *FTModelCard) GetCreated() int32
GetCreated returns the Created field value if set, zero value otherwise.
func (*FTModelCard) GetCreatedOk ¶
func (o *FTModelCard) GetCreatedOk() (*int32, bool)
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCard) GetDefaultModelTemperature ¶
func (o *FTModelCard) GetDefaultModelTemperature() float32
GetDefaultModelTemperature returns the DefaultModelTemperature field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FTModelCard) GetDefaultModelTemperatureOk ¶
func (o *FTModelCard) GetDefaultModelTemperatureOk() (*float32, bool)
GetDefaultModelTemperatureOk returns a tuple with the DefaultModelTemperature 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 (*FTModelCard) GetDeprecation ¶
func (o *FTModelCard) GetDeprecation() time.Time
GetDeprecation returns the Deprecation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FTModelCard) GetDeprecationOk ¶
func (o *FTModelCard) GetDeprecationOk() (*time.Time, bool)
GetDeprecationOk returns a tuple with the Deprecation 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 (*FTModelCard) GetDeprecationReplacementModel ¶ added in v0.6.0
func (o *FTModelCard) GetDeprecationReplacementModel() string
GetDeprecationReplacementModel returns the DeprecationReplacementModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FTModelCard) GetDeprecationReplacementModelOk ¶ added in v0.6.0
func (o *FTModelCard) GetDeprecationReplacementModelOk() (*string, bool)
GetDeprecationReplacementModelOk returns a tuple with the DeprecationReplacementModel 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 (*FTModelCard) GetDescription ¶
func (o *FTModelCard) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FTModelCard) GetDescriptionOk ¶
func (o *FTModelCard) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*FTModelCard) GetIdOk ¶
func (o *FTModelCard) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*FTModelCard) GetJob ¶
func (o *FTModelCard) GetJob() string
GetJob returns the Job field value
func (*FTModelCard) GetJobOk ¶
func (o *FTModelCard) GetJobOk() (*string, bool)
GetJobOk returns a tuple with the Job field value and a boolean to check if the value has been set.
func (*FTModelCard) GetMaxContextLength ¶
func (o *FTModelCard) GetMaxContextLength() int32
GetMaxContextLength returns the MaxContextLength field value if set, zero value otherwise.
func (*FTModelCard) GetMaxContextLengthOk ¶
func (o *FTModelCard) GetMaxContextLengthOk() (*int32, bool)
GetMaxContextLengthOk returns a tuple with the MaxContextLength field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCard) GetName ¶
func (o *FTModelCard) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FTModelCard) GetNameOk ¶
func (o *FTModelCard) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*FTModelCard) GetObject ¶
func (o *FTModelCard) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*FTModelCard) GetObjectOk ¶
func (o *FTModelCard) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCard) GetOwnedBy ¶
func (o *FTModelCard) GetOwnedBy() string
GetOwnedBy returns the OwnedBy field value if set, zero value otherwise.
func (*FTModelCard) GetOwnedByOk ¶
func (o *FTModelCard) GetOwnedByOk() (*string, bool)
GetOwnedByOk returns a tuple with the OwnedBy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCard) GetRoot ¶
func (o *FTModelCard) GetRoot() string
GetRoot returns the Root field value
func (*FTModelCard) GetRootOk ¶
func (o *FTModelCard) GetRootOk() (*string, bool)
GetRootOk returns a tuple with the Root field value and a boolean to check if the value has been set.
func (*FTModelCard) GetType ¶
func (o *FTModelCard) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*FTModelCard) GetTypeOk ¶
func (o *FTModelCard) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FTModelCard) HasAliases ¶
func (o *FTModelCard) HasAliases() bool
HasAliases returns a boolean if a field has been set.
func (*FTModelCard) HasArchived ¶
func (o *FTModelCard) HasArchived() bool
HasArchived returns a boolean if a field has been set.
func (*FTModelCard) HasCreated ¶
func (o *FTModelCard) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (*FTModelCard) HasDefaultModelTemperature ¶
func (o *FTModelCard) HasDefaultModelTemperature() bool
HasDefaultModelTemperature returns a boolean if a field has been set.
func (*FTModelCard) HasDeprecation ¶
func (o *FTModelCard) HasDeprecation() bool
HasDeprecation returns a boolean if a field has been set.
func (*FTModelCard) HasDeprecationReplacementModel ¶ added in v0.6.0
func (o *FTModelCard) HasDeprecationReplacementModel() bool
HasDeprecationReplacementModel returns a boolean if a field has been set.
func (*FTModelCard) HasDescription ¶
func (o *FTModelCard) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*FTModelCard) HasMaxContextLength ¶
func (o *FTModelCard) HasMaxContextLength() bool
HasMaxContextLength returns a boolean if a field has been set.
func (*FTModelCard) HasName ¶
func (o *FTModelCard) HasName() bool
HasName returns a boolean if a field has been set.
func (*FTModelCard) HasObject ¶
func (o *FTModelCard) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*FTModelCard) HasOwnedBy ¶
func (o *FTModelCard) HasOwnedBy() bool
HasOwnedBy returns a boolean if a field has been set.
func (*FTModelCard) HasType ¶
func (o *FTModelCard) HasType() bool
HasType returns a boolean if a field has been set.
func (FTModelCard) MarshalJSON ¶
func (o FTModelCard) MarshalJSON() ([]byte, error)
func (*FTModelCard) SetAliases ¶
func (o *FTModelCard) SetAliases(v []string)
SetAliases gets a reference to the given []string and assigns it to the Aliases field.
func (*FTModelCard) SetArchived ¶
func (o *FTModelCard) SetArchived(v bool)
SetArchived gets a reference to the given bool and assigns it to the Archived field.
func (*FTModelCard) SetCapabilities ¶
func (o *FTModelCard) SetCapabilities(v ModelCapabilities)
SetCapabilities sets field value
func (*FTModelCard) SetCreated ¶
func (o *FTModelCard) SetCreated(v int32)
SetCreated gets a reference to the given int32 and assigns it to the Created field.
func (*FTModelCard) SetDefaultModelTemperature ¶
func (o *FTModelCard) SetDefaultModelTemperature(v float32)
SetDefaultModelTemperature gets a reference to the given NullableFloat32 and assigns it to the DefaultModelTemperature field.
func (*FTModelCard) SetDefaultModelTemperatureNil ¶
func (o *FTModelCard) SetDefaultModelTemperatureNil()
SetDefaultModelTemperatureNil sets the value for DefaultModelTemperature to be an explicit nil
func (*FTModelCard) SetDeprecation ¶
func (o *FTModelCard) SetDeprecation(v time.Time)
SetDeprecation gets a reference to the given NullableTime and assigns it to the Deprecation field.
func (*FTModelCard) SetDeprecationNil ¶
func (o *FTModelCard) SetDeprecationNil()
SetDeprecationNil sets the value for Deprecation to be an explicit nil
func (*FTModelCard) SetDeprecationReplacementModel ¶ added in v0.6.0
func (o *FTModelCard) SetDeprecationReplacementModel(v string)
SetDeprecationReplacementModel gets a reference to the given NullableString and assigns it to the DeprecationReplacementModel field.
func (*FTModelCard) SetDeprecationReplacementModelNil ¶ added in v0.6.0
func (o *FTModelCard) SetDeprecationReplacementModelNil()
SetDeprecationReplacementModelNil sets the value for DeprecationReplacementModel to be an explicit nil
func (*FTModelCard) SetDescription ¶
func (o *FTModelCard) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*FTModelCard) SetDescriptionNil ¶
func (o *FTModelCard) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*FTModelCard) SetMaxContextLength ¶
func (o *FTModelCard) SetMaxContextLength(v int32)
SetMaxContextLength gets a reference to the given int32 and assigns it to the MaxContextLength field.
func (*FTModelCard) SetName ¶
func (o *FTModelCard) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*FTModelCard) SetNameNil ¶
func (o *FTModelCard) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*FTModelCard) SetObject ¶
func (o *FTModelCard) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*FTModelCard) SetOwnedBy ¶
func (o *FTModelCard) SetOwnedBy(v string)
SetOwnedBy gets a reference to the given string and assigns it to the OwnedBy field.
func (*FTModelCard) SetType ¶
func (o *FTModelCard) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (FTModelCard) ToMap ¶
func (o FTModelCard) ToMap() (map[string]interface{}, error)
func (*FTModelCard) UnmarshalJSON ¶
func (o *FTModelCard) UnmarshalJSON(data []byte) (err error)
func (*FTModelCard) UnsetDefaultModelTemperature ¶
func (o *FTModelCard) UnsetDefaultModelTemperature()
UnsetDefaultModelTemperature ensures that no value is present for DefaultModelTemperature, not even an explicit nil
func (*FTModelCard) UnsetDeprecation ¶
func (o *FTModelCard) UnsetDeprecation()
UnsetDeprecation ensures that no value is present for Deprecation, not even an explicit nil
func (*FTModelCard) UnsetDeprecationReplacementModel ¶ added in v0.6.0
func (o *FTModelCard) UnsetDeprecationReplacementModel()
UnsetDeprecationReplacementModel ensures that no value is present for DeprecationReplacementModel, not even an explicit nil
func (*FTModelCard) UnsetDescription ¶
func (o *FTModelCard) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*FTModelCard) UnsetName ¶
func (o *FTModelCard) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type FileChunk ¶ added in v0.6.0
FileChunk struct for FileChunk
func NewFileChunk ¶ added in v0.6.0
NewFileChunk instantiates a new FileChunk 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 NewFileChunkWithDefaults ¶ added in v0.6.0
func NewFileChunkWithDefaults() *FileChunk
NewFileChunkWithDefaults instantiates a new FileChunk 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 (*FileChunk) GetFileIdOk ¶ added in v0.6.0
GetFileIdOk returns a tuple with the FileId field value and a boolean to check if the value has been set.
func (*FileChunk) GetType ¶ added in v0.6.0
GetType returns the Type field value if set, zero value otherwise.
func (*FileChunk) GetTypeOk ¶ added in v0.6.0
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (FileChunk) MarshalJSON ¶ added in v0.6.0
func (*FileChunk) SetType ¶ added in v0.6.0
SetType gets a reference to the given string and assigns it to the Type field.
func (*FileChunk) UnmarshalJSON ¶ added in v0.6.0
type FilePurpose ¶
type FilePurpose string
FilePurpose the model 'FilePurpose'
const ( FILEPURPOSE_FINE_TUNE FilePurpose = "fine-tune" FILEPURPOSE_BATCH FilePurpose = "batch" FILEPURPOSE_OCR FilePurpose = "ocr" )
List of FilePurpose
func NewFilePurposeFromValue ¶
func NewFilePurposeFromValue(v string) (*FilePurpose, error)
NewFilePurposeFromValue returns a pointer to a valid FilePurpose for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FilePurpose) IsValid ¶
func (v FilePurpose) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FilePurpose) Ptr ¶
func (v FilePurpose) Ptr() *FilePurpose
Ptr returns reference to FilePurpose value
func (*FilePurpose) UnmarshalJSON ¶
func (v *FilePurpose) UnmarshalJSON(src []byte) error
type FileSchema ¶
type FileSchema struct {
// The unique identifier of the file.
Id string `json:"id"`
// The object type, which is always \"file\".
Object string `json:"object"`
// The size of the file, in bytes.
Bytes int32 `json:"bytes"`
// The UNIX timestamp (in seconds) of the event.
CreatedAt int32 `json:"created_at"`
// The name of the uploaded file.
Filename string `json:"filename"`
// The intended purpose of the uploaded file, currently supports fine-tuning (`fine-tune`), OCR (`ocr`), Audio/Transcription (`audio`) and batch inference (`batch`).
Purpose FilePurpose `json:"purpose"`
SampleType SampleType `json:"sample_type"`
NumLines NullableInt32 `json:"num_lines,omitempty"`
Mimetype NullableString `json:"mimetype,omitempty"`
Source Source `json:"source"`
Signature NullableString `json:"signature,omitempty"`
AdditionalProperties map[string]interface{}
}
FileSchema struct for FileSchema
func NewFileSchema ¶
func NewFileSchema(id string, object string, bytes int32, createdAt int32, filename string, purpose FilePurpose, sampleType SampleType, source Source) *FileSchema
NewFileSchema instantiates a new FileSchema 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 NewFileSchemaWithDefaults ¶
func NewFileSchemaWithDefaults() *FileSchema
NewFileSchemaWithDefaults instantiates a new FileSchema 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 (*FileSchema) GetBytes ¶
func (o *FileSchema) GetBytes() int32
GetBytes returns the Bytes field value
func (*FileSchema) GetBytesOk ¶
func (o *FileSchema) GetBytesOk() (*int32, bool)
GetBytesOk returns a tuple with the Bytes field value and a boolean to check if the value has been set.
func (*FileSchema) GetCreatedAt ¶
func (o *FileSchema) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field value
func (*FileSchema) GetCreatedAtOk ¶
func (o *FileSchema) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*FileSchema) GetFilename ¶
func (o *FileSchema) GetFilename() string
GetFilename returns the Filename field value
func (*FileSchema) GetFilenameOk ¶
func (o *FileSchema) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value and a boolean to check if the value has been set.
func (*FileSchema) GetIdOk ¶
func (o *FileSchema) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*FileSchema) GetMimetype ¶ added in v0.15.0
func (o *FileSchema) GetMimetype() string
GetMimetype returns the Mimetype field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FileSchema) GetMimetypeOk ¶ added in v0.15.0
func (o *FileSchema) GetMimetypeOk() (*string, bool)
GetMimetypeOk returns a tuple with the Mimetype 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 (*FileSchema) GetNumLines ¶
func (o *FileSchema) GetNumLines() int32
GetNumLines returns the NumLines field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FileSchema) GetNumLinesOk ¶
func (o *FileSchema) GetNumLinesOk() (*int32, bool)
GetNumLinesOk returns a tuple with the NumLines 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 (*FileSchema) GetObject ¶
func (o *FileSchema) GetObject() string
GetObject returns the Object field value
func (*FileSchema) GetObjectOk ¶
func (o *FileSchema) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*FileSchema) GetPurpose ¶
func (o *FileSchema) GetPurpose() FilePurpose
GetPurpose returns the Purpose field value
func (*FileSchema) GetPurposeOk ¶
func (o *FileSchema) GetPurposeOk() (*FilePurpose, bool)
GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.
func (*FileSchema) GetSampleType ¶
func (o *FileSchema) GetSampleType() SampleType
GetSampleType returns the SampleType field value
func (*FileSchema) GetSampleTypeOk ¶
func (o *FileSchema) GetSampleTypeOk() (*SampleType, bool)
GetSampleTypeOk returns a tuple with the SampleType field value and a boolean to check if the value has been set.
func (*FileSchema) GetSignature ¶ added in v0.15.0
func (o *FileSchema) GetSignature() string
GetSignature returns the Signature field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FileSchema) GetSignatureOk ¶ added in v0.15.0
func (o *FileSchema) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature 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 (*FileSchema) GetSource ¶
func (o *FileSchema) GetSource() Source
GetSource returns the Source field value
func (*FileSchema) GetSourceOk ¶
func (o *FileSchema) GetSourceOk() (*Source, bool)
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (*FileSchema) HasMimetype ¶ added in v0.15.0
func (o *FileSchema) HasMimetype() bool
HasMimetype returns a boolean if a field has been set.
func (*FileSchema) HasNumLines ¶
func (o *FileSchema) HasNumLines() bool
HasNumLines returns a boolean if a field has been set.
func (*FileSchema) HasSignature ¶ added in v0.15.0
func (o *FileSchema) HasSignature() bool
HasSignature returns a boolean if a field has been set.
func (FileSchema) MarshalJSON ¶
func (o FileSchema) MarshalJSON() ([]byte, error)
func (*FileSchema) SetCreatedAt ¶
func (o *FileSchema) SetCreatedAt(v int32)
SetCreatedAt sets field value
func (*FileSchema) SetFilename ¶
func (o *FileSchema) SetFilename(v string)
SetFilename sets field value
func (*FileSchema) SetMimetype ¶ added in v0.15.0
func (o *FileSchema) SetMimetype(v string)
SetMimetype gets a reference to the given NullableString and assigns it to the Mimetype field.
func (*FileSchema) SetMimetypeNil ¶ added in v0.15.0
func (o *FileSchema) SetMimetypeNil()
SetMimetypeNil sets the value for Mimetype to be an explicit nil
func (*FileSchema) SetNumLines ¶
func (o *FileSchema) SetNumLines(v int32)
SetNumLines gets a reference to the given NullableInt32 and assigns it to the NumLines field.
func (*FileSchema) SetNumLinesNil ¶
func (o *FileSchema) SetNumLinesNil()
SetNumLinesNil sets the value for NumLines to be an explicit nil
func (*FileSchema) SetPurpose ¶
func (o *FileSchema) SetPurpose(v FilePurpose)
SetPurpose sets field value
func (*FileSchema) SetSampleType ¶
func (o *FileSchema) SetSampleType(v SampleType)
SetSampleType sets field value
func (*FileSchema) SetSignature ¶ added in v0.15.0
func (o *FileSchema) SetSignature(v string)
SetSignature gets a reference to the given NullableString and assigns it to the Signature field.
func (*FileSchema) SetSignatureNil ¶ added in v0.15.0
func (o *FileSchema) SetSignatureNil()
SetSignatureNil sets the value for Signature to be an explicit nil
func (FileSchema) ToMap ¶
func (o FileSchema) ToMap() (map[string]interface{}, error)
func (*FileSchema) UnmarshalJSON ¶
func (o *FileSchema) UnmarshalJSON(data []byte) (err error)
func (*FileSchema) UnsetMimetype ¶ added in v0.15.0
func (o *FileSchema) UnsetMimetype()
UnsetMimetype ensures that no value is present for Mimetype, not even an explicit nil
func (*FileSchema) UnsetNumLines ¶
func (o *FileSchema) UnsetNumLines()
UnsetNumLines ensures that no value is present for NumLines, not even an explicit nil
func (*FileSchema) UnsetSignature ¶ added in v0.15.0
func (o *FileSchema) UnsetSignature()
UnsetSignature ensures that no value is present for Signature, not even an explicit nil
type FileSignedURL ¶
FileSignedURL struct for FileSignedURL
func NewFileSignedURL ¶
func NewFileSignedURL(url string) *FileSignedURL
NewFileSignedURL instantiates a new FileSignedURL 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 NewFileSignedURLWithDefaults ¶
func NewFileSignedURLWithDefaults() *FileSignedURL
NewFileSignedURLWithDefaults instantiates a new FileSignedURL 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 (*FileSignedURL) GetUrl ¶
func (o *FileSignedURL) GetUrl() string
GetUrl returns the Url field value
func (*FileSignedURL) GetUrlOk ¶
func (o *FileSignedURL) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (FileSignedURL) MarshalJSON ¶
func (o FileSignedURL) MarshalJSON() ([]byte, error)
func (FileSignedURL) ToMap ¶
func (o FileSignedURL) ToMap() (map[string]interface{}, error)
func (*FileSignedURL) UnmarshalJSON ¶
func (o *FileSignedURL) UnmarshalJSON(data []byte) (err error)
type FilesAPI ¶
type FilesAPI interface {
/*
FilesApiRoutesDeleteFile Delete File
Delete a file.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileId
@return ApiFilesApiRoutesDeleteFileRequest
*/
FilesApiRoutesDeleteFile(ctx context.Context, fileId string) ApiFilesApiRoutesDeleteFileRequest
// FilesApiRoutesDeleteFileExecute executes the request
// @return DeleteFileOut
FilesApiRoutesDeleteFileExecute(r ApiFilesApiRoutesDeleteFileRequest) (*DeleteFileOut, *http.Response, error)
/*
FilesApiRoutesDownloadFile Download File
Download a file
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileId
@return ApiFilesApiRoutesDownloadFileRequest
*/
FilesApiRoutesDownloadFile(ctx context.Context, fileId string) ApiFilesApiRoutesDownloadFileRequest
// FilesApiRoutesDownloadFileExecute executes the request
// @return *os.File
FilesApiRoutesDownloadFileExecute(r ApiFilesApiRoutesDownloadFileRequest) (*os.File, *http.Response, error)
/*
FilesApiRoutesGetSignedUrl Get Signed Url
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileId
@return ApiFilesApiRoutesGetSignedUrlRequest
*/
FilesApiRoutesGetSignedUrl(ctx context.Context, fileId string) ApiFilesApiRoutesGetSignedUrlRequest
// FilesApiRoutesGetSignedUrlExecute executes the request
// @return FileSignedURL
FilesApiRoutesGetSignedUrlExecute(r ApiFilesApiRoutesGetSignedUrlRequest) (*FileSignedURL, *http.Response, error)
/*
FilesApiRoutesListFiles List Files
Returns a list of files that belong to the user's organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFilesApiRoutesListFilesRequest
*/
FilesApiRoutesListFiles(ctx context.Context) ApiFilesApiRoutesListFilesRequest
// FilesApiRoutesListFilesExecute executes the request
// @return ListFilesOut
FilesApiRoutesListFilesExecute(r ApiFilesApiRoutesListFilesRequest) (*ListFilesOut, *http.Response, error)
/*
FilesApiRoutesRetrieveFile Retrieve File
Returns information about a specific file.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param fileId
@return ApiFilesApiRoutesRetrieveFileRequest
*/
FilesApiRoutesRetrieveFile(ctx context.Context, fileId string) ApiFilesApiRoutesRetrieveFileRequest
// FilesApiRoutesRetrieveFileExecute executes the request
// @return RetrieveFileOut
FilesApiRoutesRetrieveFileExecute(r ApiFilesApiRoutesRetrieveFileRequest) (*RetrieveFileOut, *http.Response, error)
/*
FilesApiRoutesUploadFile Upload File
Upload a file that can be used across various endpoints.
The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.
Please contact us if you need to increase these storage limits.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFilesApiRoutesUploadFileRequest
*/
FilesApiRoutesUploadFile(ctx context.Context) ApiFilesApiRoutesUploadFileRequest
// FilesApiRoutesUploadFileExecute executes the request
// @return UploadFileOut
FilesApiRoutesUploadFileExecute(r ApiFilesApiRoutesUploadFileRequest) (*UploadFileOut, *http.Response, error)
}
type FilesAPIService ¶
type FilesAPIService service
FilesAPIService FilesAPI service
func (*FilesAPIService) FilesApiRoutesDeleteFile ¶
func (a *FilesAPIService) FilesApiRoutesDeleteFile(ctx context.Context, fileId string) ApiFilesApiRoutesDeleteFileRequest
FilesApiRoutesDeleteFile Delete File
Delete a file.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param fileId @return ApiFilesApiRoutesDeleteFileRequest
func (*FilesAPIService) FilesApiRoutesDeleteFileExecute ¶
func (a *FilesAPIService) FilesApiRoutesDeleteFileExecute(r ApiFilesApiRoutesDeleteFileRequest) (*DeleteFileOut, *http.Response, error)
Execute executes the request
@return DeleteFileOut
func (*FilesAPIService) FilesApiRoutesDownloadFile ¶
func (a *FilesAPIService) FilesApiRoutesDownloadFile(ctx context.Context, fileId string) ApiFilesApiRoutesDownloadFileRequest
FilesApiRoutesDownloadFile Download File
Download a file
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param fileId @return ApiFilesApiRoutesDownloadFileRequest
func (*FilesAPIService) FilesApiRoutesDownloadFileExecute ¶
func (a *FilesAPIService) FilesApiRoutesDownloadFileExecute(r ApiFilesApiRoutesDownloadFileRequest) (*os.File, *http.Response, error)
Execute executes the request
@return *os.File
func (*FilesAPIService) FilesApiRoutesGetSignedUrl ¶
func (a *FilesAPIService) FilesApiRoutesGetSignedUrl(ctx context.Context, fileId string) ApiFilesApiRoutesGetSignedUrlRequest
FilesApiRoutesGetSignedUrl Get Signed Url
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param fileId @return ApiFilesApiRoutesGetSignedUrlRequest
func (*FilesAPIService) FilesApiRoutesGetSignedUrlExecute ¶
func (a *FilesAPIService) FilesApiRoutesGetSignedUrlExecute(r ApiFilesApiRoutesGetSignedUrlRequest) (*FileSignedURL, *http.Response, error)
Execute executes the request
@return FileSignedURL
func (*FilesAPIService) FilesApiRoutesListFiles ¶
func (a *FilesAPIService) FilesApiRoutesListFiles(ctx context.Context) ApiFilesApiRoutesListFilesRequest
FilesApiRoutesListFiles List Files
Returns a list of files that belong to the user's organization.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFilesApiRoutesListFilesRequest
func (*FilesAPIService) FilesApiRoutesListFilesExecute ¶
func (a *FilesAPIService) FilesApiRoutesListFilesExecute(r ApiFilesApiRoutesListFilesRequest) (*ListFilesOut, *http.Response, error)
Execute executes the request
@return ListFilesOut
func (*FilesAPIService) FilesApiRoutesRetrieveFile ¶
func (a *FilesAPIService) FilesApiRoutesRetrieveFile(ctx context.Context, fileId string) ApiFilesApiRoutesRetrieveFileRequest
FilesApiRoutesRetrieveFile Retrieve File
Returns information about a specific file.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param fileId @return ApiFilesApiRoutesRetrieveFileRequest
func (*FilesAPIService) FilesApiRoutesRetrieveFileExecute ¶
func (a *FilesAPIService) FilesApiRoutesRetrieveFileExecute(r ApiFilesApiRoutesRetrieveFileRequest) (*RetrieveFileOut, *http.Response, error)
Execute executes the request
@return RetrieveFileOut
func (*FilesAPIService) FilesApiRoutesUploadFile ¶
func (a *FilesAPIService) FilesApiRoutesUploadFile(ctx context.Context) ApiFilesApiRoutesUploadFileRequest
FilesApiRoutesUploadFile Upload File
Upload a file that can be used across various endpoints.
The size of individual files can be a maximum of 512 MB. The Fine-tuning API only supports .jsonl files.
Please contact us if you need to increase these storage limits.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFilesApiRoutesUploadFileRequest
func (*FilesAPIService) FilesApiRoutesUploadFileExecute ¶
func (a *FilesAPIService) FilesApiRoutesUploadFileExecute(r ApiFilesApiRoutesUploadFileRequest) (*UploadFileOut, *http.Response, error)
Execute executes the request
@return UploadFileOut
type FimAPI ¶
type FimAPI interface {
/*
FimCompletionV1FimCompletionsPost Fim Completion
FIM completion.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiFimCompletionV1FimCompletionsPostRequest
*/
FimCompletionV1FimCompletionsPost(ctx context.Context) ApiFimCompletionV1FimCompletionsPostRequest
// FimCompletionV1FimCompletionsPostExecute executes the request
// @return FIMCompletionResponse
FimCompletionV1FimCompletionsPostExecute(r ApiFimCompletionV1FimCompletionsPostRequest) (*FIMCompletionResponse, *http.Response, error)
}
type FimAPIService ¶
type FimAPIService service
FimAPIService FimAPI service
func (*FimAPIService) FimCompletionV1FimCompletionsPost ¶
func (a *FimAPIService) FimCompletionV1FimCompletionsPost(ctx context.Context) ApiFimCompletionV1FimCompletionsPostRequest
FimCompletionV1FimCompletionsPost Fim Completion
FIM completion.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiFimCompletionV1FimCompletionsPostRequest
func (*FimAPIService) FimCompletionV1FimCompletionsPostExecute ¶
func (a *FimAPIService) FimCompletionV1FimCompletionsPostExecute(r ApiFimCompletionV1FimCompletionsPostRequest) (*FIMCompletionResponse, *http.Response, error)
Execute executes the request
@return FIMCompletionResponse
type FineTuneableModel ¶
type FineTuneableModel string
FineTuneableModel The name of the model to fine-tune.
const ( FINETUNEABLEMODEL_MINISTRAL_3B_LATEST FineTuneableModel = "ministral-3b-latest" FINETUNEABLEMODEL_MINISTRAL_8B_LATEST FineTuneableModel = "ministral-8b-latest" FINETUNEABLEMODEL_OPEN_MISTRAL_7B FineTuneableModel = "open-mistral-7b" FINETUNEABLEMODEL_OPEN_MISTRAL_NEMO FineTuneableModel = "open-mistral-nemo" FINETUNEABLEMODEL_MISTRAL_SMALL_LATEST FineTuneableModel = "mistral-small-latest" FINETUNEABLEMODEL_MISTRAL_MEDIUM_LATEST FineTuneableModel = "mistral-medium-latest" FINETUNEABLEMODEL_MISTRAL_LARGE_LATEST FineTuneableModel = "mistral-large-latest" FINETUNEABLEMODEL_PIXTRAL_12B_LATEST FineTuneableModel = "pixtral-12b-latest" FINETUNEABLEMODEL_CODESTRAL_LATEST FineTuneableModel = "codestral-latest" )
List of FineTuneableModel
func NewFineTuneableModelFromValue ¶
func NewFineTuneableModelFromValue(v string) (*FineTuneableModel, error)
NewFineTuneableModelFromValue returns a pointer to a valid FineTuneableModel for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FineTuneableModel) IsValid ¶
func (v FineTuneableModel) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FineTuneableModel) Ptr ¶
func (v FineTuneableModel) Ptr() *FineTuneableModel
Ptr returns reference to FineTuneableModel value
func (*FineTuneableModel) UnmarshalJSON ¶
func (v *FineTuneableModel) UnmarshalJSON(src []byte) error
type FineTuneableModelType ¶
type FineTuneableModelType string
FineTuneableModelType the model 'FineTuneableModelType'
const ( FINETUNEABLEMODELTYPE_COMPLETION FineTuneableModelType = "completion" FINETUNEABLEMODELTYPE_CLASSIFIER FineTuneableModelType = "classifier" )
List of FineTuneableModelType
func NewFineTuneableModelTypeFromValue ¶
func NewFineTuneableModelTypeFromValue(v string) (*FineTuneableModelType, error)
NewFineTuneableModelTypeFromValue returns a pointer to a valid FineTuneableModelType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FineTuneableModelType) IsValid ¶
func (v FineTuneableModelType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FineTuneableModelType) Ptr ¶
func (v FineTuneableModelType) Ptr() *FineTuneableModelType
Ptr returns reference to FineTuneableModelType value
func (*FineTuneableModelType) UnmarshalJSON ¶
func (v *FineTuneableModelType) UnmarshalJSON(src []byte) error
type FineTuningAPI ¶
type FineTuningAPI interface {
/*
JobsApiRoutesFineTuningCancelFineTuningJob Cancel Fine Tuning Job
Request the cancellation of a fine tuning job.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param jobId The ID of the job to cancel.
@return ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest
*/
JobsApiRoutesFineTuningCancelFineTuningJob(ctx context.Context, jobId string) ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest
// JobsApiRoutesFineTuningCancelFineTuningJobExecute executes the request
// @return Response1
JobsApiRoutesFineTuningCancelFineTuningJobExecute(r ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest) (*Response1, *http.Response, error)
/*
JobsApiRoutesFineTuningCreateFineTuningJob Create Fine Tuning Job
Create a new fine-tuning job, it will be queued for processing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest
*/
JobsApiRoutesFineTuningCreateFineTuningJob(ctx context.Context) ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest
// JobsApiRoutesFineTuningCreateFineTuningJobExecute executes the request
// @return Response
JobsApiRoutesFineTuningCreateFineTuningJobExecute(r ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) (*Response, *http.Response, error)
/*
JobsApiRoutesFineTuningGetFineTuningJob Get Fine Tuning Job
Get a fine-tuned job details by its UUID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param jobId The ID of the job to analyse.
@return ApiJobsApiRoutesFineTuningGetFineTuningJobRequest
*/
JobsApiRoutesFineTuningGetFineTuningJob(ctx context.Context, jobId string) ApiJobsApiRoutesFineTuningGetFineTuningJobRequest
// JobsApiRoutesFineTuningGetFineTuningJobExecute executes the request
// @return Response1
JobsApiRoutesFineTuningGetFineTuningJobExecute(r ApiJobsApiRoutesFineTuningGetFineTuningJobRequest) (*Response1, *http.Response, error)
/*
JobsApiRoutesFineTuningGetFineTuningJobs Get Fine Tuning Jobs
Get a list of fine-tuning jobs for your organization and user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
*/
JobsApiRoutesFineTuningGetFineTuningJobs(ctx context.Context) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
// JobsApiRoutesFineTuningGetFineTuningJobsExecute executes the request
// @return JobsOut
JobsApiRoutesFineTuningGetFineTuningJobsExecute(r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) (*JobsOut, *http.Response, error)
/*
JobsApiRoutesFineTuningStartFineTuningJob Start Fine Tuning Job
Request the start of a validated fine tuning job.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param jobId
@return ApiJobsApiRoutesFineTuningStartFineTuningJobRequest
*/
JobsApiRoutesFineTuningStartFineTuningJob(ctx context.Context, jobId string) ApiJobsApiRoutesFineTuningStartFineTuningJobRequest
// JobsApiRoutesFineTuningStartFineTuningJobExecute executes the request
// @return Response1
JobsApiRoutesFineTuningStartFineTuningJobExecute(r ApiJobsApiRoutesFineTuningStartFineTuningJobRequest) (*Response1, *http.Response, error)
}
type FineTuningAPIService ¶
type FineTuningAPIService service
FineTuningAPIService FineTuningAPI service
func (*FineTuningAPIService) JobsApiRoutesFineTuningCancelFineTuningJob ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningCancelFineTuningJob(ctx context.Context, jobId string) ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest
JobsApiRoutesFineTuningCancelFineTuningJob Cancel Fine Tuning Job
Request the cancellation of a fine tuning job.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId The ID of the job to cancel. @return ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest
func (*FineTuningAPIService) JobsApiRoutesFineTuningCancelFineTuningJobExecute ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningCancelFineTuningJobExecute(r ApiJobsApiRoutesFineTuningCancelFineTuningJobRequest) (*Response1, *http.Response, error)
Execute executes the request
@return Response1
func (*FineTuningAPIService) JobsApiRoutesFineTuningCreateFineTuningJob ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningCreateFineTuningJob(ctx context.Context) ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest
JobsApiRoutesFineTuningCreateFineTuningJob Create Fine Tuning Job
Create a new fine-tuning job, it will be queued for processing.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest
func (*FineTuningAPIService) JobsApiRoutesFineTuningCreateFineTuningJobExecute ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningCreateFineTuningJobExecute(r ApiJobsApiRoutesFineTuningCreateFineTuningJobRequest) (*Response, *http.Response, error)
Execute executes the request
@return Response
func (*FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJob ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJob(ctx context.Context, jobId string) ApiJobsApiRoutesFineTuningGetFineTuningJobRequest
JobsApiRoutesFineTuningGetFineTuningJob Get Fine Tuning Job
Get a fine-tuned job details by its UUID.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId The ID of the job to analyse. @return ApiJobsApiRoutesFineTuningGetFineTuningJobRequest
func (*FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJobExecute ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJobExecute(r ApiJobsApiRoutesFineTuningGetFineTuningJobRequest) (*Response1, *http.Response, error)
Execute executes the request
@return Response1
func (*FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJobs ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJobs(ctx context.Context) ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
JobsApiRoutesFineTuningGetFineTuningJobs Get Fine Tuning Jobs
Get a list of fine-tuning jobs for your organization and user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest
func (*FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJobsExecute ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningGetFineTuningJobsExecute(r ApiJobsApiRoutesFineTuningGetFineTuningJobsRequest) (*JobsOut, *http.Response, error)
Execute executes the request
@return JobsOut
func (*FineTuningAPIService) JobsApiRoutesFineTuningStartFineTuningJob ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningStartFineTuningJob(ctx context.Context, jobId string) ApiJobsApiRoutesFineTuningStartFineTuningJobRequest
JobsApiRoutesFineTuningStartFineTuningJob Start Fine Tuning Job
Request the start of a validated fine tuning job.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param jobId @return ApiJobsApiRoutesFineTuningStartFineTuningJobRequest
func (*FineTuningAPIService) JobsApiRoutesFineTuningStartFineTuningJobExecute ¶
func (a *FineTuningAPIService) JobsApiRoutesFineTuningStartFineTuningJobExecute(r ApiJobsApiRoutesFineTuningStartFineTuningJobRequest) (*Response1, *http.Response, error)
Execute executes the request
@return Response1
type Function ¶
type Function struct {
Name string `json:"name"`
Description *string `json:"description,omitempty"`
Strict *bool `json:"strict,omitempty"`
Parameters map[string]interface{} `json:"parameters"`
AdditionalProperties map[string]interface{}
}
Function struct for Function
func NewFunction ¶
NewFunction instantiates a new Function 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 NewFunctionWithDefaults ¶
func NewFunctionWithDefaults() *Function
NewFunctionWithDefaults instantiates a new Function 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 (*Function) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Function) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Function) GetParameters ¶
GetParameters returns the Parameters field value
func (*Function) GetParametersOk ¶
GetParametersOk returns a tuple with the Parameters field value and a boolean to check if the value has been set.
func (*Function) GetStrictOk ¶
GetStrictOk returns a tuple with the Strict field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Function) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (Function) MarshalJSON ¶
func (*Function) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Function) SetParameters ¶
SetParameters sets field value
func (*Function) SetStrict ¶
SetStrict gets a reference to the given bool and assigns it to the Strict field.
func (*Function) UnmarshalJSON ¶
type FunctionCall ¶
FunctionCall struct for FunctionCall
func NewFunctionCall ¶
func NewFunctionCall(name string, arguments Arguments) *FunctionCall
NewFunctionCall instantiates a new FunctionCall 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 NewFunctionCallWithDefaults ¶
func NewFunctionCallWithDefaults() *FunctionCall
NewFunctionCallWithDefaults instantiates a new FunctionCall 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 (*FunctionCall) GetArguments ¶
func (o *FunctionCall) GetArguments() Arguments
GetArguments returns the Arguments field value
func (*FunctionCall) GetArgumentsOk ¶
func (o *FunctionCall) GetArgumentsOk() (*Arguments, bool)
GetArgumentsOk returns a tuple with the Arguments field value and a boolean to check if the value has been set.
func (*FunctionCall) GetName ¶
func (o *FunctionCall) GetName() string
GetName returns the Name field value
func (*FunctionCall) GetNameOk ¶
func (o *FunctionCall) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (FunctionCall) MarshalJSON ¶
func (o FunctionCall) MarshalJSON() ([]byte, error)
func (*FunctionCall) SetArguments ¶
func (o *FunctionCall) SetArguments(v Arguments)
SetArguments sets field value
func (FunctionCall) ToMap ¶
func (o FunctionCall) ToMap() (map[string]interface{}, error)
func (*FunctionCall) UnmarshalJSON ¶
func (o *FunctionCall) UnmarshalJSON(data []byte) (err error)
type FunctionCallEntry ¶
type FunctionCallEntry struct {
Object *string `json:"object,omitempty"`
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CompletedAt NullableTime `json:"completed_at,omitempty"`
Id *string `json:"id,omitempty"`
ToolCallId string `json:"tool_call_id"`
Name string `json:"name"`
Arguments FunctionCallEntryArguments `json:"arguments"`
}
FunctionCallEntry struct for FunctionCallEntry
func NewFunctionCallEntry ¶
func NewFunctionCallEntry(toolCallId string, name string, arguments FunctionCallEntryArguments) *FunctionCallEntry
NewFunctionCallEntry instantiates a new FunctionCallEntry 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 NewFunctionCallEntryWithDefaults ¶
func NewFunctionCallEntryWithDefaults() *FunctionCallEntry
NewFunctionCallEntryWithDefaults instantiates a new FunctionCallEntry 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 (*FunctionCallEntry) GetArguments ¶
func (o *FunctionCallEntry) GetArguments() FunctionCallEntryArguments
GetArguments returns the Arguments field value
func (*FunctionCallEntry) GetArgumentsOk ¶
func (o *FunctionCallEntry) GetArgumentsOk() (*FunctionCallEntryArguments, bool)
GetArgumentsOk returns a tuple with the Arguments field value and a boolean to check if the value has been set.
func (*FunctionCallEntry) GetCompletedAt ¶
func (o *FunctionCallEntry) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FunctionCallEntry) GetCompletedAtOk ¶
func (o *FunctionCallEntry) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt 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 (*FunctionCallEntry) GetCreatedAt ¶
func (o *FunctionCallEntry) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*FunctionCallEntry) GetCreatedAtOk ¶
func (o *FunctionCallEntry) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionCallEntry) GetId ¶
func (o *FunctionCallEntry) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*FunctionCallEntry) GetIdOk ¶
func (o *FunctionCallEntry) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionCallEntry) GetName ¶
func (o *FunctionCallEntry) GetName() string
GetName returns the Name field value
func (*FunctionCallEntry) GetNameOk ¶
func (o *FunctionCallEntry) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*FunctionCallEntry) GetObject ¶
func (o *FunctionCallEntry) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*FunctionCallEntry) GetObjectOk ¶
func (o *FunctionCallEntry) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionCallEntry) GetToolCallId ¶
func (o *FunctionCallEntry) GetToolCallId() string
GetToolCallId returns the ToolCallId field value
func (*FunctionCallEntry) GetToolCallIdOk ¶
func (o *FunctionCallEntry) GetToolCallIdOk() (*string, bool)
GetToolCallIdOk returns a tuple with the ToolCallId field value and a boolean to check if the value has been set.
func (*FunctionCallEntry) GetType ¶
func (o *FunctionCallEntry) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*FunctionCallEntry) GetTypeOk ¶
func (o *FunctionCallEntry) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionCallEntry) HasCompletedAt ¶
func (o *FunctionCallEntry) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*FunctionCallEntry) HasCreatedAt ¶
func (o *FunctionCallEntry) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*FunctionCallEntry) HasId ¶
func (o *FunctionCallEntry) HasId() bool
HasId returns a boolean if a field has been set.
func (*FunctionCallEntry) HasObject ¶
func (o *FunctionCallEntry) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*FunctionCallEntry) HasType ¶
func (o *FunctionCallEntry) HasType() bool
HasType returns a boolean if a field has been set.
func (FunctionCallEntry) MarshalJSON ¶
func (o FunctionCallEntry) MarshalJSON() ([]byte, error)
func (*FunctionCallEntry) SetArguments ¶
func (o *FunctionCallEntry) SetArguments(v FunctionCallEntryArguments)
SetArguments sets field value
func (*FunctionCallEntry) SetCompletedAt ¶
func (o *FunctionCallEntry) SetCompletedAt(v time.Time)
SetCompletedAt gets a reference to the given NullableTime and assigns it to the CompletedAt field.
func (*FunctionCallEntry) SetCompletedAtNil ¶
func (o *FunctionCallEntry) SetCompletedAtNil()
SetCompletedAtNil sets the value for CompletedAt to be an explicit nil
func (*FunctionCallEntry) SetCreatedAt ¶
func (o *FunctionCallEntry) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*FunctionCallEntry) SetId ¶
func (o *FunctionCallEntry) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*FunctionCallEntry) SetName ¶
func (o *FunctionCallEntry) SetName(v string)
SetName sets field value
func (*FunctionCallEntry) SetObject ¶
func (o *FunctionCallEntry) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*FunctionCallEntry) SetToolCallId ¶
func (o *FunctionCallEntry) SetToolCallId(v string)
SetToolCallId sets field value
func (*FunctionCallEntry) SetType ¶
func (o *FunctionCallEntry) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (FunctionCallEntry) ToMap ¶
func (o FunctionCallEntry) ToMap() (map[string]interface{}, error)
func (*FunctionCallEntry) UnmarshalJSON ¶
func (o *FunctionCallEntry) UnmarshalJSON(data []byte) (err error)
func (*FunctionCallEntry) UnsetCompletedAt ¶
func (o *FunctionCallEntry) UnsetCompletedAt()
UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil
type FunctionCallEntryArguments ¶
FunctionCallEntryArguments struct for FunctionCallEntryArguments
func (FunctionCallEntryArguments) MarshalJSON ¶
func (src FunctionCallEntryArguments) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*FunctionCallEntryArguments) UnmarshalJSON ¶
func (dst *FunctionCallEntryArguments) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type FunctionCallEvent ¶
type FunctionCallEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
OutputIndex *int32 `json:"output_index,omitempty"`
Id string `json:"id"`
Name string `json:"name"`
ToolCallId string `json:"tool_call_id"`
Arguments string `json:"arguments"`
}
FunctionCallEvent struct for FunctionCallEvent
func NewFunctionCallEvent ¶
func NewFunctionCallEvent(id string, name string, toolCallId string, arguments string) *FunctionCallEvent
NewFunctionCallEvent instantiates a new FunctionCallEvent 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 NewFunctionCallEventWithDefaults ¶
func NewFunctionCallEventWithDefaults() *FunctionCallEvent
NewFunctionCallEventWithDefaults instantiates a new FunctionCallEvent 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 (*FunctionCallEvent) GetArguments ¶
func (o *FunctionCallEvent) GetArguments() string
GetArguments returns the Arguments field value
func (*FunctionCallEvent) GetArgumentsOk ¶
func (o *FunctionCallEvent) GetArgumentsOk() (*string, bool)
GetArgumentsOk returns a tuple with the Arguments field value and a boolean to check if the value has been set.
func (*FunctionCallEvent) GetCreatedAt ¶
func (o *FunctionCallEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*FunctionCallEvent) GetCreatedAtOk ¶
func (o *FunctionCallEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionCallEvent) GetId ¶
func (o *FunctionCallEvent) GetId() string
GetId returns the Id field value
func (*FunctionCallEvent) GetIdOk ¶
func (o *FunctionCallEvent) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*FunctionCallEvent) GetName ¶
func (o *FunctionCallEvent) GetName() string
GetName returns the Name field value
func (*FunctionCallEvent) GetNameOk ¶
func (o *FunctionCallEvent) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*FunctionCallEvent) GetOutputIndex ¶
func (o *FunctionCallEvent) GetOutputIndex() int32
GetOutputIndex returns the OutputIndex field value if set, zero value otherwise.
func (*FunctionCallEvent) GetOutputIndexOk ¶
func (o *FunctionCallEvent) GetOutputIndexOk() (*int32, bool)
GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionCallEvent) GetToolCallId ¶
func (o *FunctionCallEvent) GetToolCallId() string
GetToolCallId returns the ToolCallId field value
func (*FunctionCallEvent) GetToolCallIdOk ¶
func (o *FunctionCallEvent) GetToolCallIdOk() (*string, bool)
GetToolCallIdOk returns a tuple with the ToolCallId field value and a boolean to check if the value has been set.
func (*FunctionCallEvent) GetType ¶
func (o *FunctionCallEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*FunctionCallEvent) GetTypeOk ¶
func (o *FunctionCallEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionCallEvent) HasCreatedAt ¶
func (o *FunctionCallEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*FunctionCallEvent) HasOutputIndex ¶
func (o *FunctionCallEvent) HasOutputIndex() bool
HasOutputIndex returns a boolean if a field has been set.
func (*FunctionCallEvent) HasType ¶
func (o *FunctionCallEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (FunctionCallEvent) MarshalJSON ¶
func (o FunctionCallEvent) MarshalJSON() ([]byte, error)
func (*FunctionCallEvent) SetArguments ¶
func (o *FunctionCallEvent) SetArguments(v string)
SetArguments sets field value
func (*FunctionCallEvent) SetCreatedAt ¶
func (o *FunctionCallEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*FunctionCallEvent) SetId ¶
func (o *FunctionCallEvent) SetId(v string)
SetId sets field value
func (*FunctionCallEvent) SetName ¶
func (o *FunctionCallEvent) SetName(v string)
SetName sets field value
func (*FunctionCallEvent) SetOutputIndex ¶
func (o *FunctionCallEvent) SetOutputIndex(v int32)
SetOutputIndex gets a reference to the given int32 and assigns it to the OutputIndex field.
func (*FunctionCallEvent) SetToolCallId ¶
func (o *FunctionCallEvent) SetToolCallId(v string)
SetToolCallId sets field value
func (*FunctionCallEvent) SetType ¶
func (o *FunctionCallEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (FunctionCallEvent) ToMap ¶
func (o FunctionCallEvent) ToMap() (map[string]interface{}, error)
func (*FunctionCallEvent) UnmarshalJSON ¶
func (o *FunctionCallEvent) UnmarshalJSON(data []byte) (err error)
type FunctionName ¶
type FunctionName struct {
Name string `json:"name"`
}
FunctionName this restriction of `Function` is used to select a specific function to call
func NewFunctionName ¶
func NewFunctionName(name string) *FunctionName
NewFunctionName instantiates a new FunctionName 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 NewFunctionNameWithDefaults ¶
func NewFunctionNameWithDefaults() *FunctionName
NewFunctionNameWithDefaults instantiates a new FunctionName 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 (*FunctionName) GetName ¶
func (o *FunctionName) GetName() string
GetName returns the Name field value
func (*FunctionName) GetNameOk ¶
func (o *FunctionName) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (FunctionName) MarshalJSON ¶
func (o FunctionName) MarshalJSON() ([]byte, error)
func (FunctionName) ToMap ¶
func (o FunctionName) ToMap() (map[string]interface{}, error)
func (*FunctionName) UnmarshalJSON ¶
func (o *FunctionName) UnmarshalJSON(data []byte) (err error)
type FunctionResultEntry ¶
type FunctionResultEntry struct {
Object *string `json:"object,omitempty"`
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CompletedAt NullableTime `json:"completed_at,omitempty"`
Id *string `json:"id,omitempty"`
ToolCallId string `json:"tool_call_id"`
Result string `json:"result"`
}
FunctionResultEntry struct for FunctionResultEntry
func NewFunctionResultEntry ¶
func NewFunctionResultEntry(toolCallId string, result string) *FunctionResultEntry
NewFunctionResultEntry instantiates a new FunctionResultEntry 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 NewFunctionResultEntryWithDefaults ¶
func NewFunctionResultEntryWithDefaults() *FunctionResultEntry
NewFunctionResultEntryWithDefaults instantiates a new FunctionResultEntry 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 (*FunctionResultEntry) GetCompletedAt ¶
func (o *FunctionResultEntry) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*FunctionResultEntry) GetCompletedAtOk ¶
func (o *FunctionResultEntry) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt 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 (*FunctionResultEntry) GetCreatedAt ¶
func (o *FunctionResultEntry) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*FunctionResultEntry) GetCreatedAtOk ¶
func (o *FunctionResultEntry) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionResultEntry) GetId ¶
func (o *FunctionResultEntry) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*FunctionResultEntry) GetIdOk ¶
func (o *FunctionResultEntry) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionResultEntry) GetObject ¶
func (o *FunctionResultEntry) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*FunctionResultEntry) GetObjectOk ¶
func (o *FunctionResultEntry) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionResultEntry) GetResult ¶
func (o *FunctionResultEntry) GetResult() string
GetResult returns the Result field value
func (*FunctionResultEntry) GetResultOk ¶
func (o *FunctionResultEntry) GetResultOk() (*string, bool)
GetResultOk returns a tuple with the Result field value and a boolean to check if the value has been set.
func (*FunctionResultEntry) GetToolCallId ¶
func (o *FunctionResultEntry) GetToolCallId() string
GetToolCallId returns the ToolCallId field value
func (*FunctionResultEntry) GetToolCallIdOk ¶
func (o *FunctionResultEntry) GetToolCallIdOk() (*string, bool)
GetToolCallIdOk returns a tuple with the ToolCallId field value and a boolean to check if the value has been set.
func (*FunctionResultEntry) GetType ¶
func (o *FunctionResultEntry) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*FunctionResultEntry) GetTypeOk ¶
func (o *FunctionResultEntry) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionResultEntry) HasCompletedAt ¶
func (o *FunctionResultEntry) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*FunctionResultEntry) HasCreatedAt ¶
func (o *FunctionResultEntry) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*FunctionResultEntry) HasId ¶
func (o *FunctionResultEntry) HasId() bool
HasId returns a boolean if a field has been set.
func (*FunctionResultEntry) HasObject ¶
func (o *FunctionResultEntry) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*FunctionResultEntry) HasType ¶
func (o *FunctionResultEntry) HasType() bool
HasType returns a boolean if a field has been set.
func (FunctionResultEntry) MarshalJSON ¶
func (o FunctionResultEntry) MarshalJSON() ([]byte, error)
func (*FunctionResultEntry) SetCompletedAt ¶
func (o *FunctionResultEntry) SetCompletedAt(v time.Time)
SetCompletedAt gets a reference to the given NullableTime and assigns it to the CompletedAt field.
func (*FunctionResultEntry) SetCompletedAtNil ¶
func (o *FunctionResultEntry) SetCompletedAtNil()
SetCompletedAtNil sets the value for CompletedAt to be an explicit nil
func (*FunctionResultEntry) SetCreatedAt ¶
func (o *FunctionResultEntry) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*FunctionResultEntry) SetId ¶
func (o *FunctionResultEntry) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*FunctionResultEntry) SetObject ¶
func (o *FunctionResultEntry) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*FunctionResultEntry) SetResult ¶
func (o *FunctionResultEntry) SetResult(v string)
SetResult sets field value
func (*FunctionResultEntry) SetToolCallId ¶
func (o *FunctionResultEntry) SetToolCallId(v string)
SetToolCallId sets field value
func (*FunctionResultEntry) SetType ¶
func (o *FunctionResultEntry) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (FunctionResultEntry) ToMap ¶
func (o FunctionResultEntry) ToMap() (map[string]interface{}, error)
func (*FunctionResultEntry) UnmarshalJSON ¶
func (o *FunctionResultEntry) UnmarshalJSON(data []byte) (err error)
func (*FunctionResultEntry) UnsetCompletedAt ¶
func (o *FunctionResultEntry) UnsetCompletedAt()
UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil
type FunctionTool ¶
type FunctionTool struct {
Type *string `json:"type,omitempty"`
Function Function `json:"function"`
}
FunctionTool struct for FunctionTool
func NewFunctionTool ¶
func NewFunctionTool(function Function) *FunctionTool
NewFunctionTool instantiates a new FunctionTool 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 NewFunctionToolWithDefaults ¶
func NewFunctionToolWithDefaults() *FunctionTool
NewFunctionToolWithDefaults instantiates a new FunctionTool 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 (*FunctionTool) GetFunction ¶
func (o *FunctionTool) GetFunction() Function
GetFunction returns the Function field value
func (*FunctionTool) GetFunctionOk ¶
func (o *FunctionTool) GetFunctionOk() (*Function, bool)
GetFunctionOk returns a tuple with the Function field value and a boolean to check if the value has been set.
func (*FunctionTool) GetType ¶
func (o *FunctionTool) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*FunctionTool) GetTypeOk ¶
func (o *FunctionTool) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FunctionTool) HasType ¶
func (o *FunctionTool) HasType() bool
HasType returns a boolean if a field has been set.
func (FunctionTool) MarshalJSON ¶
func (o FunctionTool) MarshalJSON() ([]byte, error)
func (*FunctionTool) SetFunction ¶
func (o *FunctionTool) SetFunction(v Function)
SetFunction sets field value
func (*FunctionTool) SetType ¶
func (o *FunctionTool) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (FunctionTool) ToMap ¶
func (o FunctionTool) ToMap() (map[string]interface{}, error)
func (*FunctionTool) UnmarshalJSON ¶
func (o *FunctionTool) UnmarshalJSON(data []byte) (err error)
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 GithubRepositoryIn ¶
type GithubRepositoryIn struct {
Type *string `json:"type,omitempty"`
Name string `json:"name"`
Owner string `json:"owner"`
Ref NullableString `json:"ref,omitempty"`
Weight *float32 `json:"weight,omitempty"`
Token string `json:"token"`
AdditionalProperties map[string]interface{}
}
GithubRepositoryIn struct for GithubRepositoryIn
func NewGithubRepositoryIn ¶
func NewGithubRepositoryIn(name string, owner string, token string) *GithubRepositoryIn
NewGithubRepositoryIn instantiates a new GithubRepositoryIn 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 NewGithubRepositoryInWithDefaults ¶
func NewGithubRepositoryInWithDefaults() *GithubRepositoryIn
NewGithubRepositoryInWithDefaults instantiates a new GithubRepositoryIn 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 (*GithubRepositoryIn) GetName ¶
func (o *GithubRepositoryIn) GetName() string
GetName returns the Name field value
func (*GithubRepositoryIn) GetNameOk ¶
func (o *GithubRepositoryIn) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GithubRepositoryIn) GetOwner ¶
func (o *GithubRepositoryIn) GetOwner() string
GetOwner returns the Owner field value
func (*GithubRepositoryIn) GetOwnerOk ¶
func (o *GithubRepositoryIn) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (*GithubRepositoryIn) GetRef ¶
func (o *GithubRepositoryIn) GetRef() string
GetRef returns the Ref field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GithubRepositoryIn) GetRefOk ¶
func (o *GithubRepositoryIn) GetRefOk() (*string, bool)
GetRefOk returns a tuple with the Ref 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 (*GithubRepositoryIn) GetToken ¶
func (o *GithubRepositoryIn) GetToken() string
GetToken returns the Token field value
func (*GithubRepositoryIn) GetTokenOk ¶
func (o *GithubRepositoryIn) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (*GithubRepositoryIn) GetType ¶
func (o *GithubRepositoryIn) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*GithubRepositoryIn) GetTypeOk ¶
func (o *GithubRepositoryIn) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GithubRepositoryIn) GetWeight ¶
func (o *GithubRepositoryIn) GetWeight() float32
GetWeight returns the Weight field value if set, zero value otherwise.
func (*GithubRepositoryIn) GetWeightOk ¶
func (o *GithubRepositoryIn) GetWeightOk() (*float32, bool)
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GithubRepositoryIn) HasRef ¶
func (o *GithubRepositoryIn) HasRef() bool
HasRef returns a boolean if a field has been set.
func (*GithubRepositoryIn) HasType ¶
func (o *GithubRepositoryIn) HasType() bool
HasType returns a boolean if a field has been set.
func (*GithubRepositoryIn) HasWeight ¶
func (o *GithubRepositoryIn) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (GithubRepositoryIn) MarshalJSON ¶
func (o GithubRepositoryIn) MarshalJSON() ([]byte, error)
func (*GithubRepositoryIn) SetName ¶
func (o *GithubRepositoryIn) SetName(v string)
SetName sets field value
func (*GithubRepositoryIn) SetOwner ¶
func (o *GithubRepositoryIn) SetOwner(v string)
SetOwner sets field value
func (*GithubRepositoryIn) SetRef ¶
func (o *GithubRepositoryIn) SetRef(v string)
SetRef gets a reference to the given NullableString and assigns it to the Ref field.
func (*GithubRepositoryIn) SetRefNil ¶
func (o *GithubRepositoryIn) SetRefNil()
SetRefNil sets the value for Ref to be an explicit nil
func (*GithubRepositoryIn) SetToken ¶
func (o *GithubRepositoryIn) SetToken(v string)
SetToken sets field value
func (*GithubRepositoryIn) SetType ¶
func (o *GithubRepositoryIn) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*GithubRepositoryIn) SetWeight ¶
func (o *GithubRepositoryIn) SetWeight(v float32)
SetWeight gets a reference to the given float32 and assigns it to the Weight field.
func (GithubRepositoryIn) ToMap ¶
func (o GithubRepositoryIn) ToMap() (map[string]interface{}, error)
func (*GithubRepositoryIn) UnmarshalJSON ¶
func (o *GithubRepositoryIn) UnmarshalJSON(data []byte) (err error)
func (*GithubRepositoryIn) UnsetRef ¶
func (o *GithubRepositoryIn) UnsetRef()
UnsetRef ensures that no value is present for Ref, not even an explicit nil
type GithubRepositoryOut ¶
type GithubRepositoryOut struct {
Type *string `json:"type,omitempty"`
Name string `json:"name"`
Owner string `json:"owner"`
Ref NullableString `json:"ref,omitempty"`
Weight *float32 `json:"weight,omitempty"`
CommitId string `json:"commit_id"`
AdditionalProperties map[string]interface{}
}
GithubRepositoryOut struct for GithubRepositoryOut
func NewGithubRepositoryOut ¶
func NewGithubRepositoryOut(name string, owner string, commitId string) *GithubRepositoryOut
NewGithubRepositoryOut instantiates a new GithubRepositoryOut 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 NewGithubRepositoryOutWithDefaults ¶
func NewGithubRepositoryOutWithDefaults() *GithubRepositoryOut
NewGithubRepositoryOutWithDefaults instantiates a new GithubRepositoryOut 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 (*GithubRepositoryOut) GetCommitId ¶
func (o *GithubRepositoryOut) GetCommitId() string
GetCommitId returns the CommitId field value
func (*GithubRepositoryOut) GetCommitIdOk ¶
func (o *GithubRepositoryOut) GetCommitIdOk() (*string, bool)
GetCommitIdOk returns a tuple with the CommitId field value and a boolean to check if the value has been set.
func (*GithubRepositoryOut) GetName ¶
func (o *GithubRepositoryOut) GetName() string
GetName returns the Name field value
func (*GithubRepositoryOut) GetNameOk ¶
func (o *GithubRepositoryOut) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*GithubRepositoryOut) GetOwner ¶
func (o *GithubRepositoryOut) GetOwner() string
GetOwner returns the Owner field value
func (*GithubRepositoryOut) GetOwnerOk ¶
func (o *GithubRepositoryOut) GetOwnerOk() (*string, bool)
GetOwnerOk returns a tuple with the Owner field value and a boolean to check if the value has been set.
func (*GithubRepositoryOut) GetRef ¶
func (o *GithubRepositoryOut) GetRef() string
GetRef returns the Ref field value if set, zero value otherwise (both if not set or set to explicit null).
func (*GithubRepositoryOut) GetRefOk ¶
func (o *GithubRepositoryOut) GetRefOk() (*string, bool)
GetRefOk returns a tuple with the Ref 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 (*GithubRepositoryOut) GetType ¶
func (o *GithubRepositoryOut) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*GithubRepositoryOut) GetTypeOk ¶
func (o *GithubRepositoryOut) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GithubRepositoryOut) GetWeight ¶
func (o *GithubRepositoryOut) GetWeight() float32
GetWeight returns the Weight field value if set, zero value otherwise.
func (*GithubRepositoryOut) GetWeightOk ¶
func (o *GithubRepositoryOut) GetWeightOk() (*float32, bool)
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*GithubRepositoryOut) HasRef ¶
func (o *GithubRepositoryOut) HasRef() bool
HasRef returns a boolean if a field has been set.
func (*GithubRepositoryOut) HasType ¶
func (o *GithubRepositoryOut) HasType() bool
HasType returns a boolean if a field has been set.
func (*GithubRepositoryOut) HasWeight ¶
func (o *GithubRepositoryOut) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (GithubRepositoryOut) MarshalJSON ¶
func (o GithubRepositoryOut) MarshalJSON() ([]byte, error)
func (*GithubRepositoryOut) SetCommitId ¶
func (o *GithubRepositoryOut) SetCommitId(v string)
SetCommitId sets field value
func (*GithubRepositoryOut) SetName ¶
func (o *GithubRepositoryOut) SetName(v string)
SetName sets field value
func (*GithubRepositoryOut) SetOwner ¶
func (o *GithubRepositoryOut) SetOwner(v string)
SetOwner sets field value
func (*GithubRepositoryOut) SetRef ¶
func (o *GithubRepositoryOut) SetRef(v string)
SetRef gets a reference to the given NullableString and assigns it to the Ref field.
func (*GithubRepositoryOut) SetRefNil ¶
func (o *GithubRepositoryOut) SetRefNil()
SetRefNil sets the value for Ref to be an explicit nil
func (*GithubRepositoryOut) SetType ¶
func (o *GithubRepositoryOut) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*GithubRepositoryOut) SetWeight ¶
func (o *GithubRepositoryOut) SetWeight(v float32)
SetWeight gets a reference to the given float32 and assigns it to the Weight field.
func (GithubRepositoryOut) ToMap ¶
func (o GithubRepositoryOut) ToMap() (map[string]interface{}, error)
func (*GithubRepositoryOut) UnmarshalJSON ¶
func (o *GithubRepositoryOut) UnmarshalJSON(data []byte) (err error)
func (*GithubRepositoryOut) UnsetRef ¶
func (o *GithubRepositoryOut) UnsetRef()
UnsetRef ensures that no value is present for Ref, not even an explicit nil
type HTTPValidationError ¶
type HTTPValidationError struct {
Detail []ValidationError `json:"detail,omitempty"`
AdditionalProperties map[string]interface{}
}
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)
func (*HTTPValidationError) UnmarshalJSON ¶
func (o *HTTPValidationError) UnmarshalJSON(data []byte) (err error)
type Hyperparameters ¶
type Hyperparameters struct {
ClassifierTrainingParametersIn *ClassifierTrainingParametersIn
CompletionTrainingParametersIn *CompletionTrainingParametersIn
}
Hyperparameters struct for Hyperparameters
func (Hyperparameters) MarshalJSON ¶
func (src Hyperparameters) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*Hyperparameters) UnmarshalJSON ¶
func (dst *Hyperparameters) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type ImageGenerationTool ¶
type ImageGenerationTool struct {
Type *string `json:"type,omitempty"`
}
ImageGenerationTool struct for ImageGenerationTool
func NewImageGenerationTool ¶
func NewImageGenerationTool() *ImageGenerationTool
NewImageGenerationTool instantiates a new ImageGenerationTool 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 NewImageGenerationToolWithDefaults ¶
func NewImageGenerationToolWithDefaults() *ImageGenerationTool
NewImageGenerationToolWithDefaults instantiates a new ImageGenerationTool 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 (*ImageGenerationTool) GetType ¶
func (o *ImageGenerationTool) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ImageGenerationTool) GetTypeOk ¶
func (o *ImageGenerationTool) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageGenerationTool) HasType ¶
func (o *ImageGenerationTool) HasType() bool
HasType returns a boolean if a field has been set.
func (ImageGenerationTool) MarshalJSON ¶
func (o ImageGenerationTool) MarshalJSON() ([]byte, error)
func (*ImageGenerationTool) SetType ¶
func (o *ImageGenerationTool) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ImageGenerationTool) ToMap ¶
func (o ImageGenerationTool) ToMap() (map[string]interface{}, error)
type ImageURLChunk ¶
type ImageURLChunk struct {
ImageUrl ImageUrl `json:"image_url"`
Type *string `json:"type,omitempty"`
}
ImageURLChunk {\"type\":\"image_url\",\"image_url\":{\"url\":\"data:image/png;base64,iVBORw0
func NewImageURLChunk ¶
func NewImageURLChunk(imageUrl ImageUrl) *ImageURLChunk
NewImageURLChunk instantiates a new ImageURLChunk 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 NewImageURLChunkWithDefaults ¶
func NewImageURLChunkWithDefaults() *ImageURLChunk
NewImageURLChunkWithDefaults instantiates a new ImageURLChunk 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 (*ImageURLChunk) GetImageUrl ¶
func (o *ImageURLChunk) GetImageUrl() ImageUrl
GetImageUrl returns the ImageUrl field value
func (*ImageURLChunk) GetImageUrlOk ¶
func (o *ImageURLChunk) GetImageUrlOk() (*ImageUrl, bool)
GetImageUrlOk returns a tuple with the ImageUrl field value and a boolean to check if the value has been set.
func (*ImageURLChunk) GetType ¶
func (o *ImageURLChunk) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ImageURLChunk) GetTypeOk ¶
func (o *ImageURLChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ImageURLChunk) HasType ¶
func (o *ImageURLChunk) HasType() bool
HasType returns a boolean if a field has been set.
func (ImageURLChunk) MarshalJSON ¶
func (o ImageURLChunk) MarshalJSON() ([]byte, error)
func (*ImageURLChunk) SetImageUrl ¶
func (o *ImageURLChunk) SetImageUrl(v ImageUrl)
SetImageUrl sets field value
func (*ImageURLChunk) SetType ¶
func (o *ImageURLChunk) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ImageURLChunk) ToMap ¶
func (o ImageURLChunk) ToMap() (map[string]interface{}, error)
func (*ImageURLChunk) UnmarshalJSON ¶
func (o *ImageURLChunk) UnmarshalJSON(data []byte) (err error)
type ImageURLStruct ¶
type ImageURLStruct struct {
Url string `json:"url"`
Detail NullableString `json:"detail,omitempty"`
}
ImageURLStruct struct for ImageURLStruct
func NewImageURLStruct ¶
func NewImageURLStruct(url string) *ImageURLStruct
NewImageURLStruct instantiates a new ImageURLStruct 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 NewImageURLStructWithDefaults ¶
func NewImageURLStructWithDefaults() *ImageURLStruct
NewImageURLStructWithDefaults instantiates a new ImageURLStruct 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 (*ImageURLStruct) GetDetail ¶
func (o *ImageURLStruct) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ImageURLStruct) GetDetailOk ¶
func (o *ImageURLStruct) GetDetailOk() (*string, 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. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ImageURLStruct) GetUrl ¶
func (o *ImageURLStruct) GetUrl() string
GetUrl returns the Url field value
func (*ImageURLStruct) GetUrlOk ¶
func (o *ImageURLStruct) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.
func (*ImageURLStruct) HasDetail ¶
func (o *ImageURLStruct) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (ImageURLStruct) MarshalJSON ¶
func (o ImageURLStruct) MarshalJSON() ([]byte, error)
func (*ImageURLStruct) SetDetail ¶
func (o *ImageURLStruct) SetDetail(v string)
SetDetail gets a reference to the given NullableString and assigns it to the Detail field.
func (*ImageURLStruct) SetDetailNil ¶
func (o *ImageURLStruct) SetDetailNil()
SetDetailNil sets the value for Detail to be an explicit nil
func (ImageURLStruct) ToMap ¶
func (o ImageURLStruct) ToMap() (map[string]interface{}, error)
func (*ImageURLStruct) UnmarshalJSON ¶
func (o *ImageURLStruct) UnmarshalJSON(data []byte) (err error)
func (*ImageURLStruct) UnsetDetail ¶
func (o *ImageURLStruct) UnsetDetail()
UnsetDetail ensures that no value is present for Detail, not even an explicit nil
type ImageUrl ¶
type ImageUrl struct {
ImageURLStruct *ImageURLStruct
String *string
}
ImageUrl struct for ImageUrl
func (ImageUrl) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*ImageUrl) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type Input ¶
type Input struct {
ArrayOfMessagesInner *[]MessagesInner
ArrayOfArrayOfMessagesInner *[][]MessagesInner
}
Input Chat to classify
func (Input) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Input) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type Input1 ¶
Input1 Text to classify.
func (Input1) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Input1) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type Input2 ¶
Input2 The text content to be embedded, can be a string or an array of strings for fast processing in bulk.
func (Input2) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Input2) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type InputAudio ¶ added in v0.15.0
type InputAudio struct {
String *string
}
InputAudio struct for InputAudio.
func (InputAudio) MarshalJSON ¶ added in v0.15.0
func (src InputAudio) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON.
func (*InputAudio) UnmarshalJSON ¶ added in v0.15.0
func (dst *InputAudio) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct.
type InstructRequest ¶
type InstructRequest struct {
Messages []MessagesInner `json:"messages"`
}
InstructRequest struct for InstructRequest
func NewInstructRequest ¶
func NewInstructRequest(messages []MessagesInner) *InstructRequest
NewInstructRequest instantiates a new InstructRequest 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 NewInstructRequestWithDefaults ¶
func NewInstructRequestWithDefaults() *InstructRequest
NewInstructRequestWithDefaults instantiates a new InstructRequest 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 (*InstructRequest) GetMessages ¶
func (o *InstructRequest) GetMessages() []MessagesInner
GetMessages returns the Messages field value
func (*InstructRequest) GetMessagesOk ¶
func (o *InstructRequest) GetMessagesOk() ([]MessagesInner, bool)
GetMessagesOk returns a tuple with the Messages field value and a boolean to check if the value has been set.
func (InstructRequest) MarshalJSON ¶
func (o InstructRequest) MarshalJSON() ([]byte, error)
func (*InstructRequest) SetMessages ¶
func (o *InstructRequest) SetMessages(v []MessagesInner)
SetMessages sets field value
func (InstructRequest) ToMap ¶
func (o InstructRequest) ToMap() (map[string]interface{}, error)
func (*InstructRequest) UnmarshalJSON ¶
func (o *InstructRequest) UnmarshalJSON(data []byte) (err error)
type JobIn ¶
type JobIn struct {
Model FineTuneableModel `json:"model"`
TrainingFiles []TrainingFile `json:"training_files,omitempty"`
ValidationFiles []string `json:"validation_files,omitempty"`
Suffix NullableString `json:"suffix,omitempty"`
Integrations []WandbIntegration `json:"integrations,omitempty"`
// This field will be required in a future release.
AutoStart *bool `json:"auto_start,omitempty"`
InvalidSampleSkipPercentage *float32 `json:"invalid_sample_skip_percentage,omitempty"`
JobType NullableFineTuneableModelType `json:"job_type,omitempty"`
Hyperparameters Hyperparameters `json:"hyperparameters"`
Repositories []GithubRepositoryIn `json:"repositories,omitempty"`
ClassifierTargets []ClassifierTargetIn `json:"classifier_targets,omitempty"`
AdditionalProperties map[string]interface{}
}
JobIn struct for JobIn
func NewJobIn ¶
func NewJobIn(model FineTuneableModel, hyperparameters Hyperparameters) *JobIn
NewJobIn instantiates a new JobIn 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 NewJobInWithDefaults ¶
func NewJobInWithDefaults() *JobIn
NewJobInWithDefaults instantiates a new JobIn 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 (*JobIn) GetAutoStart ¶
GetAutoStart returns the AutoStart field value if set, zero value otherwise.
func (*JobIn) GetAutoStartOk ¶
GetAutoStartOk returns a tuple with the AutoStart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobIn) GetClassifierTargets ¶
func (o *JobIn) GetClassifierTargets() []ClassifierTargetIn
GetClassifierTargets returns the ClassifierTargets field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobIn) GetClassifierTargetsOk ¶
func (o *JobIn) GetClassifierTargetsOk() ([]ClassifierTargetIn, bool)
GetClassifierTargetsOk returns a tuple with the ClassifierTargets 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 (*JobIn) GetHyperparameters ¶
func (o *JobIn) GetHyperparameters() Hyperparameters
GetHyperparameters returns the Hyperparameters field value
func (*JobIn) GetHyperparametersOk ¶
func (o *JobIn) GetHyperparametersOk() (*Hyperparameters, bool)
GetHyperparametersOk returns a tuple with the Hyperparameters field value and a boolean to check if the value has been set.
func (*JobIn) GetIntegrations ¶
func (o *JobIn) GetIntegrations() []WandbIntegration
GetIntegrations returns the Integrations field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobIn) GetIntegrationsOk ¶
func (o *JobIn) GetIntegrationsOk() ([]WandbIntegration, bool)
GetIntegrationsOk returns a tuple with the Integrations 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 (*JobIn) GetInvalidSampleSkipPercentage ¶
GetInvalidSampleSkipPercentage returns the InvalidSampleSkipPercentage field value if set, zero value otherwise.
func (*JobIn) GetInvalidSampleSkipPercentageOk ¶
GetInvalidSampleSkipPercentageOk returns a tuple with the InvalidSampleSkipPercentage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobIn) GetJobType ¶
func (o *JobIn) GetJobType() FineTuneableModelType
GetJobType returns the JobType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobIn) GetJobTypeOk ¶
func (o *JobIn) GetJobTypeOk() (*FineTuneableModelType, bool)
GetJobTypeOk returns a tuple with the JobType 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 (*JobIn) GetModel ¶
func (o *JobIn) GetModel() FineTuneableModel
GetModel returns the Model field value
func (*JobIn) GetModelOk ¶
func (o *JobIn) GetModelOk() (*FineTuneableModel, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*JobIn) GetRepositories ¶
func (o *JobIn) GetRepositories() []GithubRepositoryIn
GetRepositories returns the Repositories field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobIn) GetRepositoriesOk ¶
func (o *JobIn) GetRepositoriesOk() ([]GithubRepositoryIn, bool)
GetRepositoriesOk returns a tuple with the Repositories 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 (*JobIn) GetSuffix ¶
GetSuffix returns the Suffix field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobIn) GetSuffixOk ¶
GetSuffixOk returns a tuple with the Suffix 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 (*JobIn) GetTrainingFiles ¶
func (o *JobIn) GetTrainingFiles() []TrainingFile
GetTrainingFiles returns the TrainingFiles field value if set, zero value otherwise.
func (*JobIn) GetTrainingFilesOk ¶
func (o *JobIn) GetTrainingFilesOk() ([]TrainingFile, bool)
GetTrainingFilesOk returns a tuple with the TrainingFiles field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobIn) GetValidationFiles ¶
GetValidationFiles returns the ValidationFiles field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobIn) GetValidationFilesOk ¶
GetValidationFilesOk returns a tuple with the ValidationFiles 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 (*JobIn) HasAutoStart ¶
HasAutoStart returns a boolean if a field has been set.
func (*JobIn) HasClassifierTargets ¶
HasClassifierTargets returns a boolean if a field has been set.
func (*JobIn) HasIntegrations ¶
HasIntegrations returns a boolean if a field has been set.
func (*JobIn) HasInvalidSampleSkipPercentage ¶
HasInvalidSampleSkipPercentage returns a boolean if a field has been set.
func (*JobIn) HasJobType ¶
HasJobType returns a boolean if a field has been set.
func (*JobIn) HasRepositories ¶
HasRepositories returns a boolean if a field has been set.
func (*JobIn) HasTrainingFiles ¶
HasTrainingFiles returns a boolean if a field has been set.
func (*JobIn) HasValidationFiles ¶
HasValidationFiles returns a boolean if a field has been set.
func (JobIn) MarshalJSON ¶
func (*JobIn) SetAutoStart ¶
SetAutoStart gets a reference to the given bool and assigns it to the AutoStart field.
func (*JobIn) SetClassifierTargets ¶
func (o *JobIn) SetClassifierTargets(v []ClassifierTargetIn)
SetClassifierTargets gets a reference to the given []ClassifierTargetIn and assigns it to the ClassifierTargets field.
func (*JobIn) SetHyperparameters ¶
func (o *JobIn) SetHyperparameters(v Hyperparameters)
SetHyperparameters sets field value
func (*JobIn) SetIntegrations ¶
func (o *JobIn) SetIntegrations(v []WandbIntegration)
SetIntegrations gets a reference to the given []WandbIntegration and assigns it to the Integrations field.
func (*JobIn) SetInvalidSampleSkipPercentage ¶
SetInvalidSampleSkipPercentage gets a reference to the given float32 and assigns it to the InvalidSampleSkipPercentage field.
func (*JobIn) SetJobType ¶
func (o *JobIn) SetJobType(v FineTuneableModelType)
SetJobType gets a reference to the given NullableFineTuneableModelType and assigns it to the JobType field.
func (*JobIn) SetJobTypeNil ¶
func (o *JobIn) SetJobTypeNil()
SetJobTypeNil sets the value for JobType to be an explicit nil
func (*JobIn) SetRepositories ¶
func (o *JobIn) SetRepositories(v []GithubRepositoryIn)
SetRepositories gets a reference to the given []GithubRepositoryIn and assigns it to the Repositories field.
func (*JobIn) SetSuffix ¶
SetSuffix gets a reference to the given NullableString and assigns it to the Suffix field.
func (*JobIn) SetSuffixNil ¶
func (o *JobIn) SetSuffixNil()
SetSuffixNil sets the value for Suffix to be an explicit nil
func (*JobIn) SetTrainingFiles ¶
func (o *JobIn) SetTrainingFiles(v []TrainingFile)
SetTrainingFiles gets a reference to the given []TrainingFile and assigns it to the TrainingFiles field.
func (*JobIn) SetValidationFiles ¶
SetValidationFiles gets a reference to the given []string and assigns it to the ValidationFiles field.
func (*JobIn) UnmarshalJSON ¶
func (*JobIn) UnsetJobType ¶
func (o *JobIn) UnsetJobType()
UnsetJobType ensures that no value is present for JobType, not even an explicit nil
func (*JobIn) UnsetSuffix ¶
func (o *JobIn) UnsetSuffix()
UnsetSuffix ensures that no value is present for Suffix, not even an explicit nil
type JobMetadataOut ¶
type JobMetadataOut struct {
ExpectedDurationSeconds NullableInt32 `json:"expected_duration_seconds,omitempty"`
Cost NullableFloat32 `json:"cost,omitempty"`
CostCurrency NullableString `json:"cost_currency,omitempty"`
TrainTokensPerStep NullableInt32 `json:"train_tokens_per_step,omitempty"`
TrainTokens NullableInt32 `json:"train_tokens,omitempty"`
DataTokens NullableInt32 `json:"data_tokens,omitempty"`
EstimatedStartTime NullableInt32 `json:"estimated_start_time,omitempty"`
AdditionalProperties map[string]interface{}
}
JobMetadataOut struct for JobMetadataOut
func NewJobMetadataOut ¶
func NewJobMetadataOut() *JobMetadataOut
NewJobMetadataOut instantiates a new JobMetadataOut 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 NewJobMetadataOutWithDefaults ¶
func NewJobMetadataOutWithDefaults() *JobMetadataOut
NewJobMetadataOutWithDefaults instantiates a new JobMetadataOut 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 (*JobMetadataOut) GetCost ¶
func (o *JobMetadataOut) GetCost() float32
GetCost returns the Cost field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobMetadataOut) GetCostCurrency ¶
func (o *JobMetadataOut) GetCostCurrency() string
GetCostCurrency returns the CostCurrency field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobMetadataOut) GetCostCurrencyOk ¶
func (o *JobMetadataOut) GetCostCurrencyOk() (*string, bool)
GetCostCurrencyOk returns a tuple with the CostCurrency 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 (*JobMetadataOut) GetCostOk ¶
func (o *JobMetadataOut) GetCostOk() (*float32, bool)
GetCostOk returns a tuple with the Cost 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 (*JobMetadataOut) GetDataTokens ¶
func (o *JobMetadataOut) GetDataTokens() int32
GetDataTokens returns the DataTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobMetadataOut) GetDataTokensOk ¶
func (o *JobMetadataOut) GetDataTokensOk() (*int32, bool)
GetDataTokensOk returns a tuple with the DataTokens 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 (*JobMetadataOut) GetEstimatedStartTime ¶
func (o *JobMetadataOut) GetEstimatedStartTime() int32
GetEstimatedStartTime returns the EstimatedStartTime field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobMetadataOut) GetEstimatedStartTimeOk ¶
func (o *JobMetadataOut) GetEstimatedStartTimeOk() (*int32, bool)
GetEstimatedStartTimeOk returns a tuple with the EstimatedStartTime 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 (*JobMetadataOut) GetExpectedDurationSeconds ¶
func (o *JobMetadataOut) GetExpectedDurationSeconds() int32
GetExpectedDurationSeconds returns the ExpectedDurationSeconds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobMetadataOut) GetExpectedDurationSecondsOk ¶
func (o *JobMetadataOut) GetExpectedDurationSecondsOk() (*int32, bool)
GetExpectedDurationSecondsOk returns a tuple with the ExpectedDurationSeconds 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 (*JobMetadataOut) GetTrainTokens ¶
func (o *JobMetadataOut) GetTrainTokens() int32
GetTrainTokens returns the TrainTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobMetadataOut) GetTrainTokensOk ¶
func (o *JobMetadataOut) GetTrainTokensOk() (*int32, bool)
GetTrainTokensOk returns a tuple with the TrainTokens 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 (*JobMetadataOut) GetTrainTokensPerStep ¶
func (o *JobMetadataOut) GetTrainTokensPerStep() int32
GetTrainTokensPerStep returns the TrainTokensPerStep field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JobMetadataOut) GetTrainTokensPerStepOk ¶
func (o *JobMetadataOut) GetTrainTokensPerStepOk() (*int32, bool)
GetTrainTokensPerStepOk returns a tuple with the TrainTokensPerStep 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 (*JobMetadataOut) HasCost ¶
func (o *JobMetadataOut) HasCost() bool
HasCost returns a boolean if a field has been set.
func (*JobMetadataOut) HasCostCurrency ¶
func (o *JobMetadataOut) HasCostCurrency() bool
HasCostCurrency returns a boolean if a field has been set.
func (*JobMetadataOut) HasDataTokens ¶
func (o *JobMetadataOut) HasDataTokens() bool
HasDataTokens returns a boolean if a field has been set.
func (*JobMetadataOut) HasEstimatedStartTime ¶
func (o *JobMetadataOut) HasEstimatedStartTime() bool
HasEstimatedStartTime returns a boolean if a field has been set.
func (*JobMetadataOut) HasExpectedDurationSeconds ¶
func (o *JobMetadataOut) HasExpectedDurationSeconds() bool
HasExpectedDurationSeconds returns a boolean if a field has been set.
func (*JobMetadataOut) HasTrainTokens ¶
func (o *JobMetadataOut) HasTrainTokens() bool
HasTrainTokens returns a boolean if a field has been set.
func (*JobMetadataOut) HasTrainTokensPerStep ¶
func (o *JobMetadataOut) HasTrainTokensPerStep() bool
HasTrainTokensPerStep returns a boolean if a field has been set.
func (JobMetadataOut) MarshalJSON ¶
func (o JobMetadataOut) MarshalJSON() ([]byte, error)
func (*JobMetadataOut) SetCost ¶
func (o *JobMetadataOut) SetCost(v float32)
SetCost gets a reference to the given NullableFloat32 and assigns it to the Cost field.
func (*JobMetadataOut) SetCostCurrency ¶
func (o *JobMetadataOut) SetCostCurrency(v string)
SetCostCurrency gets a reference to the given NullableString and assigns it to the CostCurrency field.
func (*JobMetadataOut) SetCostCurrencyNil ¶
func (o *JobMetadataOut) SetCostCurrencyNil()
SetCostCurrencyNil sets the value for CostCurrency to be an explicit nil
func (*JobMetadataOut) SetCostNil ¶
func (o *JobMetadataOut) SetCostNil()
SetCostNil sets the value for Cost to be an explicit nil
func (*JobMetadataOut) SetDataTokens ¶
func (o *JobMetadataOut) SetDataTokens(v int32)
SetDataTokens gets a reference to the given NullableInt32 and assigns it to the DataTokens field.
func (*JobMetadataOut) SetDataTokensNil ¶
func (o *JobMetadataOut) SetDataTokensNil()
SetDataTokensNil sets the value for DataTokens to be an explicit nil
func (*JobMetadataOut) SetEstimatedStartTime ¶
func (o *JobMetadataOut) SetEstimatedStartTime(v int32)
SetEstimatedStartTime gets a reference to the given NullableInt32 and assigns it to the EstimatedStartTime field.
func (*JobMetadataOut) SetEstimatedStartTimeNil ¶
func (o *JobMetadataOut) SetEstimatedStartTimeNil()
SetEstimatedStartTimeNil sets the value for EstimatedStartTime to be an explicit nil
func (*JobMetadataOut) SetExpectedDurationSeconds ¶
func (o *JobMetadataOut) SetExpectedDurationSeconds(v int32)
SetExpectedDurationSeconds gets a reference to the given NullableInt32 and assigns it to the ExpectedDurationSeconds field.
func (*JobMetadataOut) SetExpectedDurationSecondsNil ¶
func (o *JobMetadataOut) SetExpectedDurationSecondsNil()
SetExpectedDurationSecondsNil sets the value for ExpectedDurationSeconds to be an explicit nil
func (*JobMetadataOut) SetTrainTokens ¶
func (o *JobMetadataOut) SetTrainTokens(v int32)
SetTrainTokens gets a reference to the given NullableInt32 and assigns it to the TrainTokens field.
func (*JobMetadataOut) SetTrainTokensNil ¶
func (o *JobMetadataOut) SetTrainTokensNil()
SetTrainTokensNil sets the value for TrainTokens to be an explicit nil
func (*JobMetadataOut) SetTrainTokensPerStep ¶
func (o *JobMetadataOut) SetTrainTokensPerStep(v int32)
SetTrainTokensPerStep gets a reference to the given NullableInt32 and assigns it to the TrainTokensPerStep field.
func (*JobMetadataOut) SetTrainTokensPerStepNil ¶
func (o *JobMetadataOut) SetTrainTokensPerStepNil()
SetTrainTokensPerStepNil sets the value for TrainTokensPerStep to be an explicit nil
func (JobMetadataOut) ToMap ¶
func (o JobMetadataOut) ToMap() (map[string]interface{}, error)
func (*JobMetadataOut) UnmarshalJSON ¶
func (o *JobMetadataOut) UnmarshalJSON(data []byte) (err error)
func (*JobMetadataOut) UnsetCost ¶
func (o *JobMetadataOut) UnsetCost()
UnsetCost ensures that no value is present for Cost, not even an explicit nil
func (*JobMetadataOut) UnsetCostCurrency ¶
func (o *JobMetadataOut) UnsetCostCurrency()
UnsetCostCurrency ensures that no value is present for CostCurrency, not even an explicit nil
func (*JobMetadataOut) UnsetDataTokens ¶
func (o *JobMetadataOut) UnsetDataTokens()
UnsetDataTokens ensures that no value is present for DataTokens, not even an explicit nil
func (*JobMetadataOut) UnsetEstimatedStartTime ¶
func (o *JobMetadataOut) UnsetEstimatedStartTime()
UnsetEstimatedStartTime ensures that no value is present for EstimatedStartTime, not even an explicit nil
func (*JobMetadataOut) UnsetExpectedDurationSeconds ¶
func (o *JobMetadataOut) UnsetExpectedDurationSeconds()
UnsetExpectedDurationSeconds ensures that no value is present for ExpectedDurationSeconds, not even an explicit nil
func (*JobMetadataOut) UnsetTrainTokens ¶
func (o *JobMetadataOut) UnsetTrainTokens()
UnsetTrainTokens ensures that no value is present for TrainTokens, not even an explicit nil
func (*JobMetadataOut) UnsetTrainTokensPerStep ¶
func (o *JobMetadataOut) UnsetTrainTokensPerStep()
UnsetTrainTokensPerStep ensures that no value is present for TrainTokensPerStep, not even an explicit nil
type JobsOut ¶
type JobsOut struct {
Data []ResponseAnyOf `json:"data,omitempty"`
Object *string `json:"object,omitempty"`
Total int32 `json:"total"`
AdditionalProperties map[string]interface{}
}
JobsOut struct for JobsOut
func NewJobsOut ¶
NewJobsOut instantiates a new JobsOut 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 NewJobsOutWithDefaults ¶
func NewJobsOutWithDefaults() *JobsOut
NewJobsOutWithDefaults instantiates a new JobsOut 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 (*JobsOut) GetData ¶
func (o *JobsOut) GetData() []ResponseAnyOf
GetData returns the Data field value if set, zero value otherwise.
func (*JobsOut) GetDataOk ¶
func (o *JobsOut) GetDataOk() ([]ResponseAnyOf, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobsOut) GetObjectOk ¶
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JobsOut) GetTotalOk ¶
GetTotalOk returns a tuple with the Total field value and a boolean to check if the value has been set.
func (JobsOut) MarshalJSON ¶
func (*JobsOut) SetData ¶
func (o *JobsOut) SetData(v []ResponseAnyOf)
SetData gets a reference to the given []ResponseAnyOf and assigns it to the Data field.
func (*JobsOut) SetObject ¶
SetObject gets a reference to the given string and assigns it to the Object field.
func (*JobsOut) UnmarshalJSON ¶
type JsonSchema ¶
type JsonSchema struct {
Name string `json:"name"`
Description NullableString `json:"description,omitempty"`
Schema map[string]interface{} `json:"schema"`
Strict *bool `json:"strict,omitempty"`
AdditionalProperties map[string]interface{}
}
JsonSchema struct for JsonSchema
func NewJsonSchema ¶
func NewJsonSchema(name string, schema map[string]interface{}) *JsonSchema
NewJsonSchema instantiates a new JsonSchema 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 NewJsonSchemaWithDefaults ¶
func NewJsonSchemaWithDefaults() *JsonSchema
NewJsonSchemaWithDefaults instantiates a new JsonSchema 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 (*JsonSchema) GetDescription ¶
func (o *JsonSchema) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*JsonSchema) GetDescriptionOk ¶
func (o *JsonSchema) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*JsonSchema) GetName ¶
func (o *JsonSchema) GetName() string
GetName returns the Name field value
func (*JsonSchema) GetNameOk ¶
func (o *JsonSchema) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*JsonSchema) GetSchema ¶
func (o *JsonSchema) GetSchema() map[string]interface{}
GetSchema returns the Schema field value
func (*JsonSchema) GetSchemaOk ¶
func (o *JsonSchema) GetSchemaOk() (map[string]interface{}, bool)
GetSchemaOk returns a tuple with the Schema field value and a boolean to check if the value has been set.
func (*JsonSchema) GetStrict ¶
func (o *JsonSchema) GetStrict() bool
GetStrict returns the Strict field value if set, zero value otherwise.
func (*JsonSchema) GetStrictOk ¶
func (o *JsonSchema) GetStrictOk() (*bool, bool)
GetStrictOk returns a tuple with the Strict field value if set, nil otherwise and a boolean to check if the value has been set.
func (*JsonSchema) HasDescription ¶
func (o *JsonSchema) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*JsonSchema) HasStrict ¶
func (o *JsonSchema) HasStrict() bool
HasStrict returns a boolean if a field has been set.
func (JsonSchema) MarshalJSON ¶
func (o JsonSchema) MarshalJSON() ([]byte, error)
func (*JsonSchema) SetDescription ¶
func (o *JsonSchema) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*JsonSchema) SetDescriptionNil ¶
func (o *JsonSchema) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*JsonSchema) SetSchema ¶
func (o *JsonSchema) SetSchema(v map[string]interface{})
SetSchema sets field value
func (*JsonSchema) SetStrict ¶
func (o *JsonSchema) SetStrict(v bool)
SetStrict gets a reference to the given bool and assigns it to the Strict field.
func (JsonSchema) ToMap ¶
func (o JsonSchema) ToMap() (map[string]interface{}, error)
func (*JsonSchema) UnmarshalJSON ¶
func (o *JsonSchema) UnmarshalJSON(data []byte) (err error)
func (*JsonSchema) UnsetDescription ¶
func (o *JsonSchema) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
type LegacyJobMetadataOut ¶
type LegacyJobMetadataOut struct {
ExpectedDurationSeconds NullableInt32 `json:"expected_duration_seconds,omitempty"`
Cost NullableFloat32 `json:"cost,omitempty"`
CostCurrency NullableString `json:"cost_currency,omitempty"`
TrainTokensPerStep NullableInt32 `json:"train_tokens_per_step,omitempty"`
TrainTokens NullableInt32 `json:"train_tokens,omitempty"`
DataTokens NullableInt32 `json:"data_tokens,omitempty"`
EstimatedStartTime NullableInt32 `json:"estimated_start_time,omitempty"`
Deprecated *bool `json:"deprecated,omitempty"`
Details string `json:"details"`
Epochs NullableFloat32 `json:"epochs,omitempty"`
TrainingSteps NullableInt32 `json:"training_steps,omitempty"`
Object *string `json:"object,omitempty"`
AdditionalProperties map[string]interface{}
}
LegacyJobMetadataOut struct for LegacyJobMetadataOut
func NewLegacyJobMetadataOut ¶
func NewLegacyJobMetadataOut(details string) *LegacyJobMetadataOut
NewLegacyJobMetadataOut instantiates a new LegacyJobMetadataOut 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 NewLegacyJobMetadataOutWithDefaults ¶
func NewLegacyJobMetadataOutWithDefaults() *LegacyJobMetadataOut
NewLegacyJobMetadataOutWithDefaults instantiates a new LegacyJobMetadataOut 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 (*LegacyJobMetadataOut) GetCost ¶
func (o *LegacyJobMetadataOut) GetCost() float32
GetCost returns the Cost field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LegacyJobMetadataOut) GetCostCurrency ¶
func (o *LegacyJobMetadataOut) GetCostCurrency() string
GetCostCurrency returns the CostCurrency field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LegacyJobMetadataOut) GetCostCurrencyOk ¶
func (o *LegacyJobMetadataOut) GetCostCurrencyOk() (*string, bool)
GetCostCurrencyOk returns a tuple with the CostCurrency 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 (*LegacyJobMetadataOut) GetCostOk ¶
func (o *LegacyJobMetadataOut) GetCostOk() (*float32, bool)
GetCostOk returns a tuple with the Cost 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 (*LegacyJobMetadataOut) GetDataTokens ¶
func (o *LegacyJobMetadataOut) GetDataTokens() int32
GetDataTokens returns the DataTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LegacyJobMetadataOut) GetDataTokensOk ¶
func (o *LegacyJobMetadataOut) GetDataTokensOk() (*int32, bool)
GetDataTokensOk returns a tuple with the DataTokens 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 (*LegacyJobMetadataOut) GetDeprecated ¶
func (o *LegacyJobMetadataOut) GetDeprecated() bool
GetDeprecated returns the Deprecated field value if set, zero value otherwise.
func (*LegacyJobMetadataOut) GetDeprecatedOk ¶
func (o *LegacyJobMetadataOut) GetDeprecatedOk() (*bool, bool)
GetDeprecatedOk returns a tuple with the Deprecated field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LegacyJobMetadataOut) GetDetails ¶
func (o *LegacyJobMetadataOut) GetDetails() string
GetDetails returns the Details field value
func (*LegacyJobMetadataOut) GetDetailsOk ¶
func (o *LegacyJobMetadataOut) GetDetailsOk() (*string, bool)
GetDetailsOk returns a tuple with the Details field value and a boolean to check if the value has been set.
func (*LegacyJobMetadataOut) GetEpochs ¶
func (o *LegacyJobMetadataOut) GetEpochs() float32
GetEpochs returns the Epochs field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LegacyJobMetadataOut) GetEpochsOk ¶
func (o *LegacyJobMetadataOut) GetEpochsOk() (*float32, bool)
GetEpochsOk returns a tuple with the Epochs 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 (*LegacyJobMetadataOut) GetEstimatedStartTime ¶
func (o *LegacyJobMetadataOut) GetEstimatedStartTime() int32
GetEstimatedStartTime returns the EstimatedStartTime field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LegacyJobMetadataOut) GetEstimatedStartTimeOk ¶
func (o *LegacyJobMetadataOut) GetEstimatedStartTimeOk() (*int32, bool)
GetEstimatedStartTimeOk returns a tuple with the EstimatedStartTime 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 (*LegacyJobMetadataOut) GetExpectedDurationSeconds ¶
func (o *LegacyJobMetadataOut) GetExpectedDurationSeconds() int32
GetExpectedDurationSeconds returns the ExpectedDurationSeconds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LegacyJobMetadataOut) GetExpectedDurationSecondsOk ¶
func (o *LegacyJobMetadataOut) GetExpectedDurationSecondsOk() (*int32, bool)
GetExpectedDurationSecondsOk returns a tuple with the ExpectedDurationSeconds 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 (*LegacyJobMetadataOut) GetObject ¶
func (o *LegacyJobMetadataOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*LegacyJobMetadataOut) GetObjectOk ¶
func (o *LegacyJobMetadataOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LegacyJobMetadataOut) GetTrainTokens ¶
func (o *LegacyJobMetadataOut) GetTrainTokens() int32
GetTrainTokens returns the TrainTokens field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LegacyJobMetadataOut) GetTrainTokensOk ¶
func (o *LegacyJobMetadataOut) GetTrainTokensOk() (*int32, bool)
GetTrainTokensOk returns a tuple with the TrainTokens 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 (*LegacyJobMetadataOut) GetTrainTokensPerStep ¶
func (o *LegacyJobMetadataOut) GetTrainTokensPerStep() int32
GetTrainTokensPerStep returns the TrainTokensPerStep field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LegacyJobMetadataOut) GetTrainTokensPerStepOk ¶
func (o *LegacyJobMetadataOut) GetTrainTokensPerStepOk() (*int32, bool)
GetTrainTokensPerStepOk returns a tuple with the TrainTokensPerStep 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 (*LegacyJobMetadataOut) GetTrainingSteps ¶
func (o *LegacyJobMetadataOut) GetTrainingSteps() int32
GetTrainingSteps returns the TrainingSteps field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LegacyJobMetadataOut) GetTrainingStepsOk ¶
func (o *LegacyJobMetadataOut) GetTrainingStepsOk() (*int32, bool)
GetTrainingStepsOk returns a tuple with the TrainingSteps 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 (*LegacyJobMetadataOut) HasCost ¶
func (o *LegacyJobMetadataOut) HasCost() bool
HasCost returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasCostCurrency ¶
func (o *LegacyJobMetadataOut) HasCostCurrency() bool
HasCostCurrency returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasDataTokens ¶
func (o *LegacyJobMetadataOut) HasDataTokens() bool
HasDataTokens returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasDeprecated ¶
func (o *LegacyJobMetadataOut) HasDeprecated() bool
HasDeprecated returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasEpochs ¶
func (o *LegacyJobMetadataOut) HasEpochs() bool
HasEpochs returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasEstimatedStartTime ¶
func (o *LegacyJobMetadataOut) HasEstimatedStartTime() bool
HasEstimatedStartTime returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasExpectedDurationSeconds ¶
func (o *LegacyJobMetadataOut) HasExpectedDurationSeconds() bool
HasExpectedDurationSeconds returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasObject ¶
func (o *LegacyJobMetadataOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasTrainTokens ¶
func (o *LegacyJobMetadataOut) HasTrainTokens() bool
HasTrainTokens returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasTrainTokensPerStep ¶
func (o *LegacyJobMetadataOut) HasTrainTokensPerStep() bool
HasTrainTokensPerStep returns a boolean if a field has been set.
func (*LegacyJobMetadataOut) HasTrainingSteps ¶
func (o *LegacyJobMetadataOut) HasTrainingSteps() bool
HasTrainingSteps returns a boolean if a field has been set.
func (LegacyJobMetadataOut) MarshalJSON ¶
func (o LegacyJobMetadataOut) MarshalJSON() ([]byte, error)
func (*LegacyJobMetadataOut) SetCost ¶
func (o *LegacyJobMetadataOut) SetCost(v float32)
SetCost gets a reference to the given NullableFloat32 and assigns it to the Cost field.
func (*LegacyJobMetadataOut) SetCostCurrency ¶
func (o *LegacyJobMetadataOut) SetCostCurrency(v string)
SetCostCurrency gets a reference to the given NullableString and assigns it to the CostCurrency field.
func (*LegacyJobMetadataOut) SetCostCurrencyNil ¶
func (o *LegacyJobMetadataOut) SetCostCurrencyNil()
SetCostCurrencyNil sets the value for CostCurrency to be an explicit nil
func (*LegacyJobMetadataOut) SetCostNil ¶
func (o *LegacyJobMetadataOut) SetCostNil()
SetCostNil sets the value for Cost to be an explicit nil
func (*LegacyJobMetadataOut) SetDataTokens ¶
func (o *LegacyJobMetadataOut) SetDataTokens(v int32)
SetDataTokens gets a reference to the given NullableInt32 and assigns it to the DataTokens field.
func (*LegacyJobMetadataOut) SetDataTokensNil ¶
func (o *LegacyJobMetadataOut) SetDataTokensNil()
SetDataTokensNil sets the value for DataTokens to be an explicit nil
func (*LegacyJobMetadataOut) SetDeprecated ¶
func (o *LegacyJobMetadataOut) SetDeprecated(v bool)
SetDeprecated gets a reference to the given bool and assigns it to the Deprecated field.
func (*LegacyJobMetadataOut) SetDetails ¶
func (o *LegacyJobMetadataOut) SetDetails(v string)
SetDetails sets field value
func (*LegacyJobMetadataOut) SetEpochs ¶
func (o *LegacyJobMetadataOut) SetEpochs(v float32)
SetEpochs gets a reference to the given NullableFloat32 and assigns it to the Epochs field.
func (*LegacyJobMetadataOut) SetEpochsNil ¶
func (o *LegacyJobMetadataOut) SetEpochsNil()
SetEpochsNil sets the value for Epochs to be an explicit nil
func (*LegacyJobMetadataOut) SetEstimatedStartTime ¶
func (o *LegacyJobMetadataOut) SetEstimatedStartTime(v int32)
SetEstimatedStartTime gets a reference to the given NullableInt32 and assigns it to the EstimatedStartTime field.
func (*LegacyJobMetadataOut) SetEstimatedStartTimeNil ¶
func (o *LegacyJobMetadataOut) SetEstimatedStartTimeNil()
SetEstimatedStartTimeNil sets the value for EstimatedStartTime to be an explicit nil
func (*LegacyJobMetadataOut) SetExpectedDurationSeconds ¶
func (o *LegacyJobMetadataOut) SetExpectedDurationSeconds(v int32)
SetExpectedDurationSeconds gets a reference to the given NullableInt32 and assigns it to the ExpectedDurationSeconds field.
func (*LegacyJobMetadataOut) SetExpectedDurationSecondsNil ¶
func (o *LegacyJobMetadataOut) SetExpectedDurationSecondsNil()
SetExpectedDurationSecondsNil sets the value for ExpectedDurationSeconds to be an explicit nil
func (*LegacyJobMetadataOut) SetObject ¶
func (o *LegacyJobMetadataOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*LegacyJobMetadataOut) SetTrainTokens ¶
func (o *LegacyJobMetadataOut) SetTrainTokens(v int32)
SetTrainTokens gets a reference to the given NullableInt32 and assigns it to the TrainTokens field.
func (*LegacyJobMetadataOut) SetTrainTokensNil ¶
func (o *LegacyJobMetadataOut) SetTrainTokensNil()
SetTrainTokensNil sets the value for TrainTokens to be an explicit nil
func (*LegacyJobMetadataOut) SetTrainTokensPerStep ¶
func (o *LegacyJobMetadataOut) SetTrainTokensPerStep(v int32)
SetTrainTokensPerStep gets a reference to the given NullableInt32 and assigns it to the TrainTokensPerStep field.
func (*LegacyJobMetadataOut) SetTrainTokensPerStepNil ¶
func (o *LegacyJobMetadataOut) SetTrainTokensPerStepNil()
SetTrainTokensPerStepNil sets the value for TrainTokensPerStep to be an explicit nil
func (*LegacyJobMetadataOut) SetTrainingSteps ¶
func (o *LegacyJobMetadataOut) SetTrainingSteps(v int32)
SetTrainingSteps gets a reference to the given NullableInt32 and assigns it to the TrainingSteps field.
func (*LegacyJobMetadataOut) SetTrainingStepsNil ¶
func (o *LegacyJobMetadataOut) SetTrainingStepsNil()
SetTrainingStepsNil sets the value for TrainingSteps to be an explicit nil
func (LegacyJobMetadataOut) ToMap ¶
func (o LegacyJobMetadataOut) ToMap() (map[string]interface{}, error)
func (*LegacyJobMetadataOut) UnmarshalJSON ¶
func (o *LegacyJobMetadataOut) UnmarshalJSON(data []byte) (err error)
func (*LegacyJobMetadataOut) UnsetCost ¶
func (o *LegacyJobMetadataOut) UnsetCost()
UnsetCost ensures that no value is present for Cost, not even an explicit nil
func (*LegacyJobMetadataOut) UnsetCostCurrency ¶
func (o *LegacyJobMetadataOut) UnsetCostCurrency()
UnsetCostCurrency ensures that no value is present for CostCurrency, not even an explicit nil
func (*LegacyJobMetadataOut) UnsetDataTokens ¶
func (o *LegacyJobMetadataOut) UnsetDataTokens()
UnsetDataTokens ensures that no value is present for DataTokens, not even an explicit nil
func (*LegacyJobMetadataOut) UnsetEpochs ¶
func (o *LegacyJobMetadataOut) UnsetEpochs()
UnsetEpochs ensures that no value is present for Epochs, not even an explicit nil
func (*LegacyJobMetadataOut) UnsetEstimatedStartTime ¶
func (o *LegacyJobMetadataOut) UnsetEstimatedStartTime()
UnsetEstimatedStartTime ensures that no value is present for EstimatedStartTime, not even an explicit nil
func (*LegacyJobMetadataOut) UnsetExpectedDurationSeconds ¶
func (o *LegacyJobMetadataOut) UnsetExpectedDurationSeconds()
UnsetExpectedDurationSeconds ensures that no value is present for ExpectedDurationSeconds, not even an explicit nil
func (*LegacyJobMetadataOut) UnsetTrainTokens ¶
func (o *LegacyJobMetadataOut) UnsetTrainTokens()
UnsetTrainTokens ensures that no value is present for TrainTokens, not even an explicit nil
func (*LegacyJobMetadataOut) UnsetTrainTokensPerStep ¶
func (o *LegacyJobMetadataOut) UnsetTrainTokensPerStep()
UnsetTrainTokensPerStep ensures that no value is present for TrainTokensPerStep, not even an explicit nil
func (*LegacyJobMetadataOut) UnsetTrainingSteps ¶
func (o *LegacyJobMetadataOut) UnsetTrainingSteps()
UnsetTrainingSteps ensures that no value is present for TrainingSteps, not even an explicit nil
type LibraryIn ¶ added in v0.6.0
type LibraryIn struct {
Name string `json:"name"`
Description NullableString `json:"description,omitempty"`
ChunkSize NullableInt32 `json:"chunk_size,omitempty"`
AdditionalProperties map[string]interface{}
}
LibraryIn struct for LibraryIn
func NewLibraryIn ¶ added in v0.6.0
NewLibraryIn instantiates a new LibraryIn 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 NewLibraryInWithDefaults ¶ added in v0.6.0
func NewLibraryInWithDefaults() *LibraryIn
NewLibraryInWithDefaults instantiates a new LibraryIn 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 (*LibraryIn) GetChunkSize ¶ added in v0.6.0
GetChunkSize returns the ChunkSize field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryIn) GetChunkSizeOk ¶ added in v0.6.0
GetChunkSizeOk returns a tuple with the ChunkSize 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 (*LibraryIn) GetDescription ¶ added in v0.6.0
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryIn) GetDescriptionOk ¶ added in v0.6.0
GetDescriptionOk returns a tuple with the Description 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 (*LibraryIn) GetNameOk ¶ added in v0.6.0
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*LibraryIn) HasChunkSize ¶ added in v0.6.0
HasChunkSize returns a boolean if a field has been set.
func (*LibraryIn) HasDescription ¶ added in v0.6.0
HasDescription returns a boolean if a field has been set.
func (LibraryIn) MarshalJSON ¶ added in v0.6.0
func (*LibraryIn) SetChunkSize ¶ added in v0.6.0
SetChunkSize gets a reference to the given NullableInt32 and assigns it to the ChunkSize field.
func (*LibraryIn) SetChunkSizeNil ¶ added in v0.6.0
func (o *LibraryIn) SetChunkSizeNil()
SetChunkSizeNil sets the value for ChunkSize to be an explicit nil
func (*LibraryIn) SetDescription ¶ added in v0.6.0
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*LibraryIn) SetDescriptionNil ¶ added in v0.6.0
func (o *LibraryIn) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*LibraryIn) UnmarshalJSON ¶ added in v0.6.0
func (*LibraryIn) UnsetChunkSize ¶ added in v0.6.0
func (o *LibraryIn) UnsetChunkSize()
UnsetChunkSize ensures that no value is present for ChunkSize, not even an explicit nil
func (*LibraryIn) UnsetDescription ¶ added in v0.6.0
func (o *LibraryIn) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
type LibraryInUpdate ¶ added in v0.6.0
type LibraryInUpdate struct {
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
LibraryInUpdate struct for LibraryInUpdate
func NewLibraryInUpdate ¶ added in v0.6.0
func NewLibraryInUpdate() *LibraryInUpdate
NewLibraryInUpdate instantiates a new LibraryInUpdate 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 NewLibraryInUpdateWithDefaults ¶ added in v0.6.0
func NewLibraryInUpdateWithDefaults() *LibraryInUpdate
NewLibraryInUpdateWithDefaults instantiates a new LibraryInUpdate 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 (*LibraryInUpdate) GetDescription ¶ added in v0.6.0
func (o *LibraryInUpdate) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryInUpdate) GetDescriptionOk ¶ added in v0.6.0
func (o *LibraryInUpdate) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*LibraryInUpdate) GetName ¶ added in v0.6.0
func (o *LibraryInUpdate) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryInUpdate) GetNameOk ¶ added in v0.6.0
func (o *LibraryInUpdate) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*LibraryInUpdate) HasDescription ¶ added in v0.6.0
func (o *LibraryInUpdate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*LibraryInUpdate) HasName ¶ added in v0.6.0
func (o *LibraryInUpdate) HasName() bool
HasName returns a boolean if a field has been set.
func (LibraryInUpdate) MarshalJSON ¶ added in v0.6.0
func (o LibraryInUpdate) MarshalJSON() ([]byte, error)
func (*LibraryInUpdate) SetDescription ¶ added in v0.6.0
func (o *LibraryInUpdate) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*LibraryInUpdate) SetDescriptionNil ¶ added in v0.6.0
func (o *LibraryInUpdate) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*LibraryInUpdate) SetName ¶ added in v0.6.0
func (o *LibraryInUpdate) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*LibraryInUpdate) SetNameNil ¶ added in v0.6.0
func (o *LibraryInUpdate) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (LibraryInUpdate) ToMap ¶ added in v0.6.0
func (o LibraryInUpdate) ToMap() (map[string]interface{}, error)
func (*LibraryInUpdate) UnmarshalJSON ¶ added in v0.6.0
func (o *LibraryInUpdate) UnmarshalJSON(data []byte) (err error)
func (*LibraryInUpdate) UnsetDescription ¶ added in v0.6.0
func (o *LibraryInUpdate) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*LibraryInUpdate) UnsetName ¶ added in v0.6.0
func (o *LibraryInUpdate) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type LibraryOut ¶ added in v0.6.0
type LibraryOut struct {
Id string `json:"id"`
Name string `json:"name"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
OwnerId NullableString `json:"owner_id"`
OwnerType string `json:"owner_type"`
TotalSize int32 `json:"total_size"`
NbDocuments int32 `json:"nb_documents"`
ChunkSize NullableInt32 `json:"chunk_size"`
Emoji NullableString `json:"emoji,omitempty"`
Description NullableString `json:"description,omitempty"`
GeneratedDescription NullableString `json:"generated_description,omitempty"`
ExplicitUserMembersCount NullableInt32 `json:"explicit_user_members_count,omitempty"`
ExplicitWorkspaceMembersCount NullableInt32 `json:"explicit_workspace_members_count,omitempty"`
OrgSharingRole NullableString `json:"org_sharing_role,omitempty"`
GeneratedName NullableString `json:"generated_name,omitempty"`
AdditionalProperties map[string]interface{}
}
LibraryOut struct for LibraryOut
func NewLibraryOut ¶ added in v0.6.0
func NewLibraryOut(id string, name string, createdAt time.Time, updatedAt time.Time, ownerId NullableString, ownerType string, totalSize int32, nbDocuments int32, chunkSize NullableInt32) *LibraryOut
NewLibraryOut instantiates a new LibraryOut 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 NewLibraryOutWithDefaults ¶ added in v0.6.0
func NewLibraryOutWithDefaults() *LibraryOut
NewLibraryOutWithDefaults instantiates a new LibraryOut 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 (*LibraryOut) GetChunkSize ¶ added in v0.6.0
func (o *LibraryOut) GetChunkSize() int32
GetChunkSize returns the ChunkSize field value If the value is explicit nil, the zero value for int32 will be returned
func (*LibraryOut) GetChunkSizeOk ¶ added in v0.6.0
func (o *LibraryOut) GetChunkSizeOk() (*int32, bool)
GetChunkSizeOk returns a tuple with the ChunkSize 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 (*LibraryOut) GetCreatedAt ¶ added in v0.6.0
func (o *LibraryOut) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*LibraryOut) GetCreatedAtOk ¶ added in v0.6.0
func (o *LibraryOut) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*LibraryOut) GetDescription ¶ added in v0.6.0
func (o *LibraryOut) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryOut) GetDescriptionOk ¶ added in v0.6.0
func (o *LibraryOut) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*LibraryOut) GetEmoji ¶ added in v0.6.0
func (o *LibraryOut) GetEmoji() string
GetEmoji returns the Emoji field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryOut) GetEmojiOk ¶ added in v0.6.0
func (o *LibraryOut) GetEmojiOk() (*string, bool)
GetEmojiOk returns a tuple with the Emoji 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 (*LibraryOut) GetExplicitUserMembersCount ¶ added in v0.6.0
func (o *LibraryOut) GetExplicitUserMembersCount() int32
GetExplicitUserMembersCount returns the ExplicitUserMembersCount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryOut) GetExplicitUserMembersCountOk ¶ added in v0.6.0
func (o *LibraryOut) GetExplicitUserMembersCountOk() (*int32, bool)
GetExplicitUserMembersCountOk returns a tuple with the ExplicitUserMembersCount 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 (*LibraryOut) GetExplicitWorkspaceMembersCount ¶ added in v0.6.0
func (o *LibraryOut) GetExplicitWorkspaceMembersCount() int32
GetExplicitWorkspaceMembersCount returns the ExplicitWorkspaceMembersCount field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryOut) GetExplicitWorkspaceMembersCountOk ¶ added in v0.6.0
func (o *LibraryOut) GetExplicitWorkspaceMembersCountOk() (*int32, bool)
GetExplicitWorkspaceMembersCountOk returns a tuple with the ExplicitWorkspaceMembersCount 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 (*LibraryOut) GetGeneratedDescription ¶ added in v0.6.0
func (o *LibraryOut) GetGeneratedDescription() string
GetGeneratedDescription returns the GeneratedDescription field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryOut) GetGeneratedDescriptionOk ¶ added in v0.6.0
func (o *LibraryOut) GetGeneratedDescriptionOk() (*string, bool)
GetGeneratedDescriptionOk returns a tuple with the GeneratedDescription 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 (*LibraryOut) GetGeneratedName ¶ added in v0.6.0
func (o *LibraryOut) GetGeneratedName() string
GetGeneratedName returns the GeneratedName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryOut) GetGeneratedNameOk ¶ added in v0.6.0
func (o *LibraryOut) GetGeneratedNameOk() (*string, bool)
GetGeneratedNameOk returns a tuple with the GeneratedName 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 (*LibraryOut) GetId ¶ added in v0.6.0
func (o *LibraryOut) GetId() string
GetId returns the Id field value
func (*LibraryOut) GetIdOk ¶ added in v0.6.0
func (o *LibraryOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*LibraryOut) GetName ¶ added in v0.6.0
func (o *LibraryOut) GetName() string
GetName returns the Name field value
func (*LibraryOut) GetNameOk ¶ added in v0.6.0
func (o *LibraryOut) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*LibraryOut) GetNbDocuments ¶ added in v0.6.0
func (o *LibraryOut) GetNbDocuments() int32
GetNbDocuments returns the NbDocuments field value
func (*LibraryOut) GetNbDocumentsOk ¶ added in v0.6.0
func (o *LibraryOut) GetNbDocumentsOk() (*int32, bool)
GetNbDocumentsOk returns a tuple with the NbDocuments field value and a boolean to check if the value has been set.
func (*LibraryOut) GetOrgSharingRole ¶ added in v0.6.0
func (o *LibraryOut) GetOrgSharingRole() string
GetOrgSharingRole returns the OrgSharingRole field value if set, zero value otherwise (both if not set or set to explicit null).
func (*LibraryOut) GetOrgSharingRoleOk ¶ added in v0.6.0
func (o *LibraryOut) GetOrgSharingRoleOk() (*string, bool)
GetOrgSharingRoleOk returns a tuple with the OrgSharingRole 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 (*LibraryOut) GetOwnerId ¶ added in v0.6.0
func (o *LibraryOut) GetOwnerId() string
GetOwnerId returns the OwnerId field value If the value is explicit nil, the zero value for string will be returned
func (*LibraryOut) GetOwnerIdOk ¶ added in v0.6.0
func (o *LibraryOut) GetOwnerIdOk() (*string, bool)
GetOwnerIdOk returns a tuple with the OwnerId 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 (*LibraryOut) GetOwnerType ¶ added in v0.6.0
func (o *LibraryOut) GetOwnerType() string
GetOwnerType returns the OwnerType field value
func (*LibraryOut) GetOwnerTypeOk ¶ added in v0.6.0
func (o *LibraryOut) GetOwnerTypeOk() (*string, bool)
GetOwnerTypeOk returns a tuple with the OwnerType field value and a boolean to check if the value has been set.
func (*LibraryOut) GetTotalSize ¶ added in v0.6.0
func (o *LibraryOut) GetTotalSize() int32
GetTotalSize returns the TotalSize field value
func (*LibraryOut) GetTotalSizeOk ¶ added in v0.6.0
func (o *LibraryOut) GetTotalSizeOk() (*int32, bool)
GetTotalSizeOk returns a tuple with the TotalSize field value and a boolean to check if the value has been set.
func (*LibraryOut) GetUpdatedAt ¶ added in v0.6.0
func (o *LibraryOut) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*LibraryOut) GetUpdatedAtOk ¶ added in v0.6.0
func (o *LibraryOut) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*LibraryOut) HasDescription ¶ added in v0.6.0
func (o *LibraryOut) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*LibraryOut) HasEmoji ¶ added in v0.6.0
func (o *LibraryOut) HasEmoji() bool
HasEmoji returns a boolean if a field has been set.
func (*LibraryOut) HasExplicitUserMembersCount ¶ added in v0.6.0
func (o *LibraryOut) HasExplicitUserMembersCount() bool
HasExplicitUserMembersCount returns a boolean if a field has been set.
func (*LibraryOut) HasExplicitWorkspaceMembersCount ¶ added in v0.6.0
func (o *LibraryOut) HasExplicitWorkspaceMembersCount() bool
HasExplicitWorkspaceMembersCount returns a boolean if a field has been set.
func (*LibraryOut) HasGeneratedDescription ¶ added in v0.6.0
func (o *LibraryOut) HasGeneratedDescription() bool
HasGeneratedDescription returns a boolean if a field has been set.
func (*LibraryOut) HasGeneratedName ¶ added in v0.6.0
func (o *LibraryOut) HasGeneratedName() bool
HasGeneratedName returns a boolean if a field has been set.
func (*LibraryOut) HasOrgSharingRole ¶ added in v0.6.0
func (o *LibraryOut) HasOrgSharingRole() bool
HasOrgSharingRole returns a boolean if a field has been set.
func (LibraryOut) MarshalJSON ¶ added in v0.6.0
func (o LibraryOut) MarshalJSON() ([]byte, error)
func (*LibraryOut) SetChunkSize ¶ added in v0.6.0
func (o *LibraryOut) SetChunkSize(v int32)
SetChunkSize sets field value
func (*LibraryOut) SetCreatedAt ¶ added in v0.6.0
func (o *LibraryOut) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*LibraryOut) SetDescription ¶ added in v0.6.0
func (o *LibraryOut) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*LibraryOut) SetDescriptionNil ¶ added in v0.6.0
func (o *LibraryOut) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*LibraryOut) SetEmoji ¶ added in v0.6.0
func (o *LibraryOut) SetEmoji(v string)
SetEmoji gets a reference to the given NullableString and assigns it to the Emoji field.
func (*LibraryOut) SetEmojiNil ¶ added in v0.6.0
func (o *LibraryOut) SetEmojiNil()
SetEmojiNil sets the value for Emoji to be an explicit nil
func (*LibraryOut) SetExplicitUserMembersCount ¶ added in v0.6.0
func (o *LibraryOut) SetExplicitUserMembersCount(v int32)
SetExplicitUserMembersCount gets a reference to the given NullableInt32 and assigns it to the ExplicitUserMembersCount field.
func (*LibraryOut) SetExplicitUserMembersCountNil ¶ added in v0.6.0
func (o *LibraryOut) SetExplicitUserMembersCountNil()
SetExplicitUserMembersCountNil sets the value for ExplicitUserMembersCount to be an explicit nil
func (*LibraryOut) SetExplicitWorkspaceMembersCount ¶ added in v0.6.0
func (o *LibraryOut) SetExplicitWorkspaceMembersCount(v int32)
SetExplicitWorkspaceMembersCount gets a reference to the given NullableInt32 and assigns it to the ExplicitWorkspaceMembersCount field.
func (*LibraryOut) SetExplicitWorkspaceMembersCountNil ¶ added in v0.6.0
func (o *LibraryOut) SetExplicitWorkspaceMembersCountNil()
SetExplicitWorkspaceMembersCountNil sets the value for ExplicitWorkspaceMembersCount to be an explicit nil
func (*LibraryOut) SetGeneratedDescription ¶ added in v0.6.0
func (o *LibraryOut) SetGeneratedDescription(v string)
SetGeneratedDescription gets a reference to the given NullableString and assigns it to the GeneratedDescription field.
func (*LibraryOut) SetGeneratedDescriptionNil ¶ added in v0.6.0
func (o *LibraryOut) SetGeneratedDescriptionNil()
SetGeneratedDescriptionNil sets the value for GeneratedDescription to be an explicit nil
func (*LibraryOut) SetGeneratedName ¶ added in v0.6.0
func (o *LibraryOut) SetGeneratedName(v string)
SetGeneratedName gets a reference to the given NullableString and assigns it to the GeneratedName field.
func (*LibraryOut) SetGeneratedNameNil ¶ added in v0.6.0
func (o *LibraryOut) SetGeneratedNameNil()
SetGeneratedNameNil sets the value for GeneratedName to be an explicit nil
func (*LibraryOut) SetId ¶ added in v0.6.0
func (o *LibraryOut) SetId(v string)
SetId sets field value
func (*LibraryOut) SetName ¶ added in v0.6.0
func (o *LibraryOut) SetName(v string)
SetName sets field value
func (*LibraryOut) SetNbDocuments ¶ added in v0.6.0
func (o *LibraryOut) SetNbDocuments(v int32)
SetNbDocuments sets field value
func (*LibraryOut) SetOrgSharingRole ¶ added in v0.6.0
func (o *LibraryOut) SetOrgSharingRole(v string)
SetOrgSharingRole gets a reference to the given NullableString and assigns it to the OrgSharingRole field.
func (*LibraryOut) SetOrgSharingRoleNil ¶ added in v0.6.0
func (o *LibraryOut) SetOrgSharingRoleNil()
SetOrgSharingRoleNil sets the value for OrgSharingRole to be an explicit nil
func (*LibraryOut) SetOwnerId ¶ added in v0.6.0
func (o *LibraryOut) SetOwnerId(v string)
SetOwnerId sets field value
func (*LibraryOut) SetOwnerType ¶ added in v0.6.0
func (o *LibraryOut) SetOwnerType(v string)
SetOwnerType sets field value
func (*LibraryOut) SetTotalSize ¶ added in v0.6.0
func (o *LibraryOut) SetTotalSize(v int32)
SetTotalSize sets field value
func (*LibraryOut) SetUpdatedAt ¶ added in v0.6.0
func (o *LibraryOut) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (LibraryOut) ToMap ¶ added in v0.6.0
func (o LibraryOut) ToMap() (map[string]interface{}, error)
func (*LibraryOut) UnmarshalJSON ¶ added in v0.6.0
func (o *LibraryOut) UnmarshalJSON(data []byte) (err error)
func (*LibraryOut) UnsetDescription ¶ added in v0.6.0
func (o *LibraryOut) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*LibraryOut) UnsetEmoji ¶ added in v0.6.0
func (o *LibraryOut) UnsetEmoji()
UnsetEmoji ensures that no value is present for Emoji, not even an explicit nil
func (*LibraryOut) UnsetExplicitUserMembersCount ¶ added in v0.6.0
func (o *LibraryOut) UnsetExplicitUserMembersCount()
UnsetExplicitUserMembersCount ensures that no value is present for ExplicitUserMembersCount, not even an explicit nil
func (*LibraryOut) UnsetExplicitWorkspaceMembersCount ¶ added in v0.6.0
func (o *LibraryOut) UnsetExplicitWorkspaceMembersCount()
UnsetExplicitWorkspaceMembersCount ensures that no value is present for ExplicitWorkspaceMembersCount, not even an explicit nil
func (*LibraryOut) UnsetGeneratedDescription ¶ added in v0.6.0
func (o *LibraryOut) UnsetGeneratedDescription()
UnsetGeneratedDescription ensures that no value is present for GeneratedDescription, not even an explicit nil
func (*LibraryOut) UnsetGeneratedName ¶ added in v0.6.0
func (o *LibraryOut) UnsetGeneratedName()
UnsetGeneratedName ensures that no value is present for GeneratedName, not even an explicit nil
func (*LibraryOut) UnsetOrgSharingRole ¶ added in v0.6.0
func (o *LibraryOut) UnsetOrgSharingRole()
UnsetOrgSharingRole ensures that no value is present for OrgSharingRole, not even an explicit nil
type ListDocumentOut ¶ added in v0.6.0
type ListDocumentOut struct {
Pagination PaginationInfo `json:"pagination"`
Data []DocumentOut `json:"data"`
AdditionalProperties map[string]interface{}
}
ListDocumentOut struct for ListDocumentOut
func NewListDocumentOut ¶ added in v0.6.0
func NewListDocumentOut(pagination PaginationInfo, data []DocumentOut) *ListDocumentOut
NewListDocumentOut instantiates a new ListDocumentOut 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 NewListDocumentOutWithDefaults ¶ added in v0.6.0
func NewListDocumentOutWithDefaults() *ListDocumentOut
NewListDocumentOutWithDefaults instantiates a new ListDocumentOut 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 (*ListDocumentOut) GetData ¶ added in v0.6.0
func (o *ListDocumentOut) GetData() []DocumentOut
GetData returns the Data field value
func (*ListDocumentOut) GetDataOk ¶ added in v0.6.0
func (o *ListDocumentOut) GetDataOk() ([]DocumentOut, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ListDocumentOut) GetPagination ¶ added in v0.6.0
func (o *ListDocumentOut) GetPagination() PaginationInfo
GetPagination returns the Pagination field value
func (*ListDocumentOut) GetPaginationOk ¶ added in v0.6.0
func (o *ListDocumentOut) GetPaginationOk() (*PaginationInfo, bool)
GetPaginationOk returns a tuple with the Pagination field value and a boolean to check if the value has been set.
func (ListDocumentOut) MarshalJSON ¶ added in v0.6.0
func (o ListDocumentOut) MarshalJSON() ([]byte, error)
func (*ListDocumentOut) SetData ¶ added in v0.6.0
func (o *ListDocumentOut) SetData(v []DocumentOut)
SetData sets field value
func (*ListDocumentOut) SetPagination ¶ added in v0.6.0
func (o *ListDocumentOut) SetPagination(v PaginationInfo)
SetPagination sets field value
func (ListDocumentOut) ToMap ¶ added in v0.6.0
func (o ListDocumentOut) ToMap() (map[string]interface{}, error)
func (*ListDocumentOut) UnmarshalJSON ¶ added in v0.6.0
func (o *ListDocumentOut) UnmarshalJSON(data []byte) (err error)
type ListFilesOut ¶
type ListFilesOut struct {
Data []FileSchema `json:"data"`
Object string `json:"object"`
Total NullableInt32 `json:"total,omitempty"`
AdditionalProperties map[string]interface{}
}
ListFilesOut struct for ListFilesOut
func NewListFilesOut ¶
func NewListFilesOut(data []FileSchema, object string) *ListFilesOut
NewListFilesOut instantiates a new ListFilesOut 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 NewListFilesOutWithDefaults ¶
func NewListFilesOutWithDefaults() *ListFilesOut
NewListFilesOutWithDefaults instantiates a new ListFilesOut 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 (*ListFilesOut) GetData ¶
func (o *ListFilesOut) GetData() []FileSchema
GetData returns the Data field value
func (*ListFilesOut) GetDataOk ¶
func (o *ListFilesOut) GetDataOk() ([]FileSchema, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*ListFilesOut) GetObject ¶
func (o *ListFilesOut) GetObject() string
GetObject returns the Object field value
func (*ListFilesOut) GetObjectOk ¶
func (o *ListFilesOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*ListFilesOut) GetTotal ¶
func (o *ListFilesOut) GetTotal() int32
GetTotal returns the Total field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ListFilesOut) GetTotalOk ¶
func (o *ListFilesOut) GetTotalOk() (*int32, bool)
GetTotalOk returns a tuple with the Total 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 (*ListFilesOut) HasTotal ¶ added in v0.15.0
func (o *ListFilesOut) HasTotal() bool
HasTotal returns a boolean if a field has been set.
func (ListFilesOut) MarshalJSON ¶
func (o ListFilesOut) MarshalJSON() ([]byte, error)
func (*ListFilesOut) SetData ¶
func (o *ListFilesOut) SetData(v []FileSchema)
SetData sets field value
func (*ListFilesOut) SetObject ¶
func (o *ListFilesOut) SetObject(v string)
SetObject sets field value
func (*ListFilesOut) SetTotal ¶
func (o *ListFilesOut) SetTotal(v int32)
SetTotal gets a reference to the given NullableInt32 and assigns it to the Total field.
func (*ListFilesOut) SetTotalNil ¶ added in v0.15.0
func (o *ListFilesOut) SetTotalNil()
SetTotalNil sets the value for Total to be an explicit nil
func (ListFilesOut) ToMap ¶
func (o ListFilesOut) ToMap() (map[string]interface{}, error)
func (*ListFilesOut) UnmarshalJSON ¶
func (o *ListFilesOut) UnmarshalJSON(data []byte) (err error)
func (*ListFilesOut) UnsetTotal ¶ added in v0.15.0
func (o *ListFilesOut) UnsetTotal()
UnsetTotal ensures that no value is present for Total, not even an explicit nil
type ListLibraryOut ¶ added in v0.6.0
type ListLibraryOut struct {
Data []LibraryOut `json:"data"`
AdditionalProperties map[string]interface{}
}
ListLibraryOut struct for ListLibraryOut
func NewListLibraryOut ¶ added in v0.6.0
func NewListLibraryOut(data []LibraryOut) *ListLibraryOut
NewListLibraryOut instantiates a new ListLibraryOut 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 NewListLibraryOutWithDefaults ¶ added in v0.6.0
func NewListLibraryOutWithDefaults() *ListLibraryOut
NewListLibraryOutWithDefaults instantiates a new ListLibraryOut 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 (*ListLibraryOut) GetData ¶ added in v0.6.0
func (o *ListLibraryOut) GetData() []LibraryOut
GetData returns the Data field value
func (*ListLibraryOut) GetDataOk ¶ added in v0.6.0
func (o *ListLibraryOut) GetDataOk() ([]LibraryOut, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ListLibraryOut) MarshalJSON ¶ added in v0.6.0
func (o ListLibraryOut) MarshalJSON() ([]byte, error)
func (*ListLibraryOut) SetData ¶ added in v0.6.0
func (o *ListLibraryOut) SetData(v []LibraryOut)
SetData sets field value
func (ListLibraryOut) ToMap ¶ added in v0.6.0
func (o ListLibraryOut) ToMap() (map[string]interface{}, error)
func (*ListLibraryOut) UnmarshalJSON ¶ added in v0.6.0
func (o *ListLibraryOut) UnmarshalJSON(data []byte) (err error)
type ListSharingOut ¶ added in v0.6.0
type ListSharingOut struct {
Data []SharingOut `json:"data"`
AdditionalProperties map[string]interface{}
}
ListSharingOut struct for ListSharingOut
func NewListSharingOut ¶ added in v0.6.0
func NewListSharingOut(data []SharingOut) *ListSharingOut
NewListSharingOut instantiates a new ListSharingOut 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 NewListSharingOutWithDefaults ¶ added in v0.6.0
func NewListSharingOutWithDefaults() *ListSharingOut
NewListSharingOutWithDefaults instantiates a new ListSharingOut 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 (*ListSharingOut) GetData ¶ added in v0.6.0
func (o *ListSharingOut) GetData() []SharingOut
GetData returns the Data field value
func (*ListSharingOut) GetDataOk ¶ added in v0.6.0
func (o *ListSharingOut) GetDataOk() ([]SharingOut, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (ListSharingOut) MarshalJSON ¶ added in v0.6.0
func (o ListSharingOut) MarshalJSON() ([]byte, error)
func (*ListSharingOut) SetData ¶ added in v0.6.0
func (o *ListSharingOut) SetData(v []SharingOut)
SetData sets field value
func (ListSharingOut) ToMap ¶ added in v0.6.0
func (o ListSharingOut) ToMap() (map[string]interface{}, error)
func (*ListSharingOut) UnmarshalJSON ¶ added in v0.6.0
func (o *ListSharingOut) UnmarshalJSON(data []byte) (err error)
type LocationInner ¶ added in v0.15.0
LocationInner struct for LocationInner
func (LocationInner) MarshalJSON ¶ added in v0.15.0
func (src LocationInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*LocationInner) UnmarshalJSON ¶ added in v0.15.0
func (dst *LocationInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type MappedNullable ¶
type MessageEntriesInner ¶
type MessageEntriesInner struct {
MessageInputEntry *MessageInputEntry
MessageOutputEntry *MessageOutputEntry
}
MessageEntriesInner struct for MessageEntriesInner
func (MessageEntriesInner) MarshalJSON ¶
func (src MessageEntriesInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*MessageEntriesInner) UnmarshalJSON ¶
func (dst *MessageEntriesInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type MessageInputContentChunksInner ¶
type MessageInputContentChunksInner struct {
DocumentURLChunk *DocumentURLChunk
ImageURLChunk *ImageURLChunk
TextChunk *TextChunk
ThinkChunk *ThinkChunk
ToolFileChunk *ToolFileChunk
}
MessageInputContentChunksInner struct for MessageInputContentChunksInner
func (MessageInputContentChunksInner) MarshalJSON ¶
func (src MessageInputContentChunksInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*MessageInputContentChunksInner) UnmarshalJSON ¶
func (dst *MessageInputContentChunksInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type MessageInputEntry ¶
type MessageInputEntry struct {
Object *string `json:"object,omitempty"`
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CompletedAt NullableTime `json:"completed_at,omitempty"`
Id *string `json:"id,omitempty"`
Role string `json:"role"`
Content Content `json:"content"`
Prefix *bool `json:"prefix,omitempty"`
}
MessageInputEntry Representation of an input message inside the conversation.
func NewMessageInputEntry ¶
func NewMessageInputEntry(role string, content Content) *MessageInputEntry
NewMessageInputEntry instantiates a new MessageInputEntry 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 NewMessageInputEntryWithDefaults ¶
func NewMessageInputEntryWithDefaults() *MessageInputEntry
NewMessageInputEntryWithDefaults instantiates a new MessageInputEntry 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 (*MessageInputEntry) GetCompletedAt ¶
func (o *MessageInputEntry) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MessageInputEntry) GetCompletedAtOk ¶
func (o *MessageInputEntry) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt 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 (*MessageInputEntry) GetContent ¶
func (o *MessageInputEntry) GetContent() Content
GetContent returns the Content field value
func (*MessageInputEntry) GetContentOk ¶
func (o *MessageInputEntry) GetContentOk() (*Content, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*MessageInputEntry) GetCreatedAt ¶
func (o *MessageInputEntry) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*MessageInputEntry) GetCreatedAtOk ¶
func (o *MessageInputEntry) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageInputEntry) GetId ¶
func (o *MessageInputEntry) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MessageInputEntry) GetIdOk ¶
func (o *MessageInputEntry) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageInputEntry) GetObject ¶
func (o *MessageInputEntry) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*MessageInputEntry) GetObjectOk ¶
func (o *MessageInputEntry) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageInputEntry) GetPrefix ¶ added in v0.6.0
func (o *MessageInputEntry) GetPrefix() bool
GetPrefix returns the Prefix field value if set, zero value otherwise.
func (*MessageInputEntry) GetPrefixOk ¶ added in v0.6.0
func (o *MessageInputEntry) GetPrefixOk() (*bool, bool)
GetPrefixOk returns a tuple with the Prefix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageInputEntry) GetRole ¶
func (o *MessageInputEntry) GetRole() string
GetRole returns the Role field value
func (*MessageInputEntry) GetRoleOk ¶
func (o *MessageInputEntry) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*MessageInputEntry) GetType ¶
func (o *MessageInputEntry) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*MessageInputEntry) GetTypeOk ¶
func (o *MessageInputEntry) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageInputEntry) HasCompletedAt ¶
func (o *MessageInputEntry) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*MessageInputEntry) HasCreatedAt ¶
func (o *MessageInputEntry) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*MessageInputEntry) HasId ¶
func (o *MessageInputEntry) HasId() bool
HasId returns a boolean if a field has been set.
func (*MessageInputEntry) HasObject ¶
func (o *MessageInputEntry) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*MessageInputEntry) HasPrefix ¶ added in v0.6.0
func (o *MessageInputEntry) HasPrefix() bool
HasPrefix returns a boolean if a field has been set.
func (*MessageInputEntry) HasType ¶
func (o *MessageInputEntry) HasType() bool
HasType returns a boolean if a field has been set.
func (MessageInputEntry) MarshalJSON ¶
func (o MessageInputEntry) MarshalJSON() ([]byte, error)
func (*MessageInputEntry) SetCompletedAt ¶
func (o *MessageInputEntry) SetCompletedAt(v time.Time)
SetCompletedAt gets a reference to the given NullableTime and assigns it to the CompletedAt field.
func (*MessageInputEntry) SetCompletedAtNil ¶
func (o *MessageInputEntry) SetCompletedAtNil()
SetCompletedAtNil sets the value for CompletedAt to be an explicit nil
func (*MessageInputEntry) SetContent ¶
func (o *MessageInputEntry) SetContent(v Content)
SetContent sets field value
func (*MessageInputEntry) SetCreatedAt ¶
func (o *MessageInputEntry) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*MessageInputEntry) SetId ¶
func (o *MessageInputEntry) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MessageInputEntry) SetObject ¶
func (o *MessageInputEntry) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*MessageInputEntry) SetPrefix ¶ added in v0.6.0
func (o *MessageInputEntry) SetPrefix(v bool)
SetPrefix gets a reference to the given bool and assigns it to the Prefix field.
func (*MessageInputEntry) SetRole ¶
func (o *MessageInputEntry) SetRole(v string)
SetRole sets field value
func (*MessageInputEntry) SetType ¶
func (o *MessageInputEntry) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (MessageInputEntry) ToMap ¶
func (o MessageInputEntry) ToMap() (map[string]interface{}, error)
func (*MessageInputEntry) UnmarshalJSON ¶
func (o *MessageInputEntry) UnmarshalJSON(data []byte) (err error)
func (*MessageInputEntry) UnsetCompletedAt ¶
func (o *MessageInputEntry) UnsetCompletedAt()
UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil
type MessageOutputContentChunksInner ¶
type MessageOutputContentChunksInner struct {
DocumentURLChunk *DocumentURLChunk
ImageURLChunk *ImageURLChunk
TextChunk *TextChunk
ThinkChunk *ThinkChunk
ToolFileChunk *ToolFileChunk
ToolReferenceChunk *ToolReferenceChunk
}
MessageOutputContentChunksInner struct for MessageOutputContentChunksInner
func (MessageOutputContentChunksInner) MarshalJSON ¶
func (src MessageOutputContentChunksInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*MessageOutputContentChunksInner) UnmarshalJSON ¶
func (dst *MessageOutputContentChunksInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type MessageOutputEntry ¶
type MessageOutputEntry struct {
Object *string `json:"object,omitempty"`
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CompletedAt NullableTime `json:"completed_at,omitempty"`
Id *string `json:"id,omitempty"`
AgentId NullableString `json:"agent_id,omitempty"`
Model NullableString `json:"model,omitempty"`
Role *string `json:"role,omitempty"`
Content Content1 `json:"content"`
}
MessageOutputEntry struct for MessageOutputEntry
func NewMessageOutputEntry ¶
func NewMessageOutputEntry(content Content1) *MessageOutputEntry
NewMessageOutputEntry instantiates a new MessageOutputEntry 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 NewMessageOutputEntryWithDefaults ¶
func NewMessageOutputEntryWithDefaults() *MessageOutputEntry
NewMessageOutputEntryWithDefaults instantiates a new MessageOutputEntry 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 (*MessageOutputEntry) GetAgentId ¶
func (o *MessageOutputEntry) GetAgentId() string
GetAgentId returns the AgentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MessageOutputEntry) GetAgentIdOk ¶
func (o *MessageOutputEntry) GetAgentIdOk() (*string, bool)
GetAgentIdOk returns a tuple with the AgentId 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 (*MessageOutputEntry) GetCompletedAt ¶
func (o *MessageOutputEntry) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MessageOutputEntry) GetCompletedAtOk ¶
func (o *MessageOutputEntry) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt 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 (*MessageOutputEntry) GetContent ¶
func (o *MessageOutputEntry) GetContent() Content1
GetContent returns the Content field value
func (*MessageOutputEntry) GetContentOk ¶
func (o *MessageOutputEntry) GetContentOk() (*Content1, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*MessageOutputEntry) GetCreatedAt ¶
func (o *MessageOutputEntry) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*MessageOutputEntry) GetCreatedAtOk ¶
func (o *MessageOutputEntry) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEntry) GetId ¶
func (o *MessageOutputEntry) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*MessageOutputEntry) GetIdOk ¶
func (o *MessageOutputEntry) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEntry) GetModel ¶
func (o *MessageOutputEntry) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MessageOutputEntry) GetModelOk ¶
func (o *MessageOutputEntry) 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 (*MessageOutputEntry) GetObject ¶
func (o *MessageOutputEntry) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*MessageOutputEntry) GetObjectOk ¶
func (o *MessageOutputEntry) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEntry) GetRole ¶
func (o *MessageOutputEntry) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*MessageOutputEntry) GetRoleOk ¶
func (o *MessageOutputEntry) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEntry) GetType ¶
func (o *MessageOutputEntry) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*MessageOutputEntry) GetTypeOk ¶
func (o *MessageOutputEntry) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEntry) HasAgentId ¶
func (o *MessageOutputEntry) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*MessageOutputEntry) HasCompletedAt ¶
func (o *MessageOutputEntry) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*MessageOutputEntry) HasCreatedAt ¶
func (o *MessageOutputEntry) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*MessageOutputEntry) HasId ¶
func (o *MessageOutputEntry) HasId() bool
HasId returns a boolean if a field has been set.
func (*MessageOutputEntry) HasModel ¶
func (o *MessageOutputEntry) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*MessageOutputEntry) HasObject ¶
func (o *MessageOutputEntry) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*MessageOutputEntry) HasRole ¶
func (o *MessageOutputEntry) HasRole() bool
HasRole returns a boolean if a field has been set.
func (*MessageOutputEntry) HasType ¶
func (o *MessageOutputEntry) HasType() bool
HasType returns a boolean if a field has been set.
func (MessageOutputEntry) MarshalJSON ¶
func (o MessageOutputEntry) MarshalJSON() ([]byte, error)
func (*MessageOutputEntry) SetAgentId ¶
func (o *MessageOutputEntry) SetAgentId(v string)
SetAgentId gets a reference to the given NullableString and assigns it to the AgentId field.
func (*MessageOutputEntry) SetAgentIdNil ¶
func (o *MessageOutputEntry) SetAgentIdNil()
SetAgentIdNil sets the value for AgentId to be an explicit nil
func (*MessageOutputEntry) SetCompletedAt ¶
func (o *MessageOutputEntry) SetCompletedAt(v time.Time)
SetCompletedAt gets a reference to the given NullableTime and assigns it to the CompletedAt field.
func (*MessageOutputEntry) SetCompletedAtNil ¶
func (o *MessageOutputEntry) SetCompletedAtNil()
SetCompletedAtNil sets the value for CompletedAt to be an explicit nil
func (*MessageOutputEntry) SetContent ¶
func (o *MessageOutputEntry) SetContent(v Content1)
SetContent sets field value
func (*MessageOutputEntry) SetCreatedAt ¶
func (o *MessageOutputEntry) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*MessageOutputEntry) SetId ¶
func (o *MessageOutputEntry) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*MessageOutputEntry) SetModel ¶
func (o *MessageOutputEntry) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*MessageOutputEntry) SetModelNil ¶
func (o *MessageOutputEntry) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*MessageOutputEntry) SetObject ¶
func (o *MessageOutputEntry) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*MessageOutputEntry) SetRole ¶
func (o *MessageOutputEntry) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (*MessageOutputEntry) SetType ¶
func (o *MessageOutputEntry) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (MessageOutputEntry) ToMap ¶
func (o MessageOutputEntry) ToMap() (map[string]interface{}, error)
func (*MessageOutputEntry) UnmarshalJSON ¶
func (o *MessageOutputEntry) UnmarshalJSON(data []byte) (err error)
func (*MessageOutputEntry) UnsetAgentId ¶
func (o *MessageOutputEntry) UnsetAgentId()
UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil
func (*MessageOutputEntry) UnsetCompletedAt ¶
func (o *MessageOutputEntry) UnsetCompletedAt()
UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil
func (*MessageOutputEntry) UnsetModel ¶
func (o *MessageOutputEntry) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
type MessageOutputEvent ¶
type MessageOutputEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
OutputIndex *int32 `json:"output_index,omitempty"`
Id string `json:"id"`
ContentIndex *int32 `json:"content_index,omitempty"`
Model NullableString `json:"model,omitempty"`
AgentId NullableString `json:"agent_id,omitempty"`
Role *string `json:"role,omitempty"`
Content Content2 `json:"content"`
}
MessageOutputEvent struct for MessageOutputEvent
func NewMessageOutputEvent ¶
func NewMessageOutputEvent(id string, content Content2) *MessageOutputEvent
NewMessageOutputEvent instantiates a new MessageOutputEvent 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 NewMessageOutputEventWithDefaults ¶
func NewMessageOutputEventWithDefaults() *MessageOutputEvent
NewMessageOutputEventWithDefaults instantiates a new MessageOutputEvent 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 (*MessageOutputEvent) GetAgentId ¶
func (o *MessageOutputEvent) GetAgentId() string
GetAgentId returns the AgentId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MessageOutputEvent) GetAgentIdOk ¶
func (o *MessageOutputEvent) GetAgentIdOk() (*string, bool)
GetAgentIdOk returns a tuple with the AgentId 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 (*MessageOutputEvent) GetContent ¶
func (o *MessageOutputEvent) GetContent() Content2
GetContent returns the Content field value
func (*MessageOutputEvent) GetContentIndex ¶
func (o *MessageOutputEvent) GetContentIndex() int32
GetContentIndex returns the ContentIndex field value if set, zero value otherwise.
func (*MessageOutputEvent) GetContentIndexOk ¶
func (o *MessageOutputEvent) GetContentIndexOk() (*int32, bool)
GetContentIndexOk returns a tuple with the ContentIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEvent) GetContentOk ¶
func (o *MessageOutputEvent) GetContentOk() (*Content2, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*MessageOutputEvent) GetCreatedAt ¶
func (o *MessageOutputEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*MessageOutputEvent) GetCreatedAtOk ¶
func (o *MessageOutputEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEvent) GetId ¶
func (o *MessageOutputEvent) GetId() string
GetId returns the Id field value
func (*MessageOutputEvent) GetIdOk ¶
func (o *MessageOutputEvent) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MessageOutputEvent) GetModel ¶
func (o *MessageOutputEvent) GetModel() string
GetModel returns the Model field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MessageOutputEvent) GetModelOk ¶
func (o *MessageOutputEvent) 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 (*MessageOutputEvent) GetOutputIndex ¶
func (o *MessageOutputEvent) GetOutputIndex() int32
GetOutputIndex returns the OutputIndex field value if set, zero value otherwise.
func (*MessageOutputEvent) GetOutputIndexOk ¶
func (o *MessageOutputEvent) GetOutputIndexOk() (*int32, bool)
GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEvent) GetRole ¶
func (o *MessageOutputEvent) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*MessageOutputEvent) GetRoleOk ¶
func (o *MessageOutputEvent) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEvent) GetType ¶
func (o *MessageOutputEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*MessageOutputEvent) GetTypeOk ¶
func (o *MessageOutputEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MessageOutputEvent) HasAgentId ¶
func (o *MessageOutputEvent) HasAgentId() bool
HasAgentId returns a boolean if a field has been set.
func (*MessageOutputEvent) HasContentIndex ¶
func (o *MessageOutputEvent) HasContentIndex() bool
HasContentIndex returns a boolean if a field has been set.
func (*MessageOutputEvent) HasCreatedAt ¶
func (o *MessageOutputEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*MessageOutputEvent) HasModel ¶
func (o *MessageOutputEvent) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*MessageOutputEvent) HasOutputIndex ¶
func (o *MessageOutputEvent) HasOutputIndex() bool
HasOutputIndex returns a boolean if a field has been set.
func (*MessageOutputEvent) HasRole ¶
func (o *MessageOutputEvent) HasRole() bool
HasRole returns a boolean if a field has been set.
func (*MessageOutputEvent) HasType ¶
func (o *MessageOutputEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (MessageOutputEvent) MarshalJSON ¶
func (o MessageOutputEvent) MarshalJSON() ([]byte, error)
func (*MessageOutputEvent) SetAgentId ¶
func (o *MessageOutputEvent) SetAgentId(v string)
SetAgentId gets a reference to the given NullableString and assigns it to the AgentId field.
func (*MessageOutputEvent) SetAgentIdNil ¶
func (o *MessageOutputEvent) SetAgentIdNil()
SetAgentIdNil sets the value for AgentId to be an explicit nil
func (*MessageOutputEvent) SetContent ¶
func (o *MessageOutputEvent) SetContent(v Content2)
SetContent sets field value
func (*MessageOutputEvent) SetContentIndex ¶
func (o *MessageOutputEvent) SetContentIndex(v int32)
SetContentIndex gets a reference to the given int32 and assigns it to the ContentIndex field.
func (*MessageOutputEvent) SetCreatedAt ¶
func (o *MessageOutputEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*MessageOutputEvent) SetId ¶
func (o *MessageOutputEvent) SetId(v string)
SetId sets field value
func (*MessageOutputEvent) SetModel ¶
func (o *MessageOutputEvent) SetModel(v string)
SetModel gets a reference to the given NullableString and assigns it to the Model field.
func (*MessageOutputEvent) SetModelNil ¶
func (o *MessageOutputEvent) SetModelNil()
SetModelNil sets the value for Model to be an explicit nil
func (*MessageOutputEvent) SetOutputIndex ¶
func (o *MessageOutputEvent) SetOutputIndex(v int32)
SetOutputIndex gets a reference to the given int32 and assigns it to the OutputIndex field.
func (*MessageOutputEvent) SetRole ¶
func (o *MessageOutputEvent) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (*MessageOutputEvent) SetType ¶
func (o *MessageOutputEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (MessageOutputEvent) ToMap ¶
func (o MessageOutputEvent) ToMap() (map[string]interface{}, error)
func (*MessageOutputEvent) UnmarshalJSON ¶
func (o *MessageOutputEvent) UnmarshalJSON(data []byte) (err error)
func (*MessageOutputEvent) UnsetAgentId ¶
func (o *MessageOutputEvent) UnsetAgentId()
UnsetAgentId ensures that no value is present for AgentId, not even an explicit nil
func (*MessageOutputEvent) UnsetModel ¶
func (o *MessageOutputEvent) UnsetModel()
UnsetModel ensures that no value is present for Model, not even an explicit nil
type MessagesInner ¶ added in v0.15.0
type MessagesInner struct {
AssistantMessage *AssistantMessage
SystemMessage *SystemMessage
ToolMessage *ToolMessage
UserMessage *UserMessage
}
MessagesInner - struct for MessagesInner
func AssistantMessageAsMessagesInner ¶ added in v0.15.0
func AssistantMessageAsMessagesInner(v *AssistantMessage) MessagesInner
AssistantMessageAsMessagesInner is a convenience function that returns AssistantMessage wrapped in MessagesInner
func SystemMessageAsMessagesInner ¶ added in v0.15.0
func SystemMessageAsMessagesInner(v *SystemMessage) MessagesInner
SystemMessageAsMessagesInner is a convenience function that returns SystemMessage wrapped in MessagesInner
func ToolMessageAsMessagesInner ¶ added in v0.15.0
func ToolMessageAsMessagesInner(v *ToolMessage) MessagesInner
ToolMessageAsMessagesInner is a convenience function that returns ToolMessage wrapped in MessagesInner
func UserMessageAsMessagesInner ¶ added in v0.15.0
func UserMessageAsMessagesInner(v *UserMessage) MessagesInner
UserMessageAsMessagesInner is a convenience function that returns UserMessage wrapped in MessagesInner
func (*MessagesInner) GetActualInstance ¶ added in v0.15.0
func (obj *MessagesInner) GetActualInstance() interface{}
Get the actual instance
func (MessagesInner) GetActualInstanceValue ¶ added in v0.15.0
func (obj MessagesInner) GetActualInstanceValue() interface{}
Get the actual instance value
func (MessagesInner) MarshalJSON ¶ added in v0.15.0
func (src MessagesInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*MessagesInner) UnmarshalJSON ¶ added in v0.15.0
func (dst *MessagesInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type MetricOut ¶
type MetricOut struct {
TrainLoss NullableFloat32 `json:"train_loss,omitempty"`
ValidLoss NullableFloat32 `json:"valid_loss,omitempty"`
ValidMeanTokenAccuracy NullableFloat32 `json:"valid_mean_token_accuracy,omitempty"`
AdditionalProperties map[string]interface{}
}
MetricOut Metrics at the step number during the fine-tuning job. Use these metrics to assess if the training is going smoothly (loss should decrease, token accuracy should increase).
func NewMetricOut ¶
func NewMetricOut() *MetricOut
NewMetricOut instantiates a new MetricOut 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 NewMetricOutWithDefaults ¶
func NewMetricOutWithDefaults() *MetricOut
NewMetricOutWithDefaults instantiates a new MetricOut 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 (*MetricOut) GetTrainLoss ¶
GetTrainLoss returns the TrainLoss field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MetricOut) GetTrainLossOk ¶
GetTrainLossOk returns a tuple with the TrainLoss 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 (*MetricOut) GetValidLoss ¶
GetValidLoss returns the ValidLoss field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MetricOut) GetValidLossOk ¶
GetValidLossOk returns a tuple with the ValidLoss 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 (*MetricOut) GetValidMeanTokenAccuracy ¶
GetValidMeanTokenAccuracy returns the ValidMeanTokenAccuracy field value if set, zero value otherwise (both if not set or set to explicit null).
func (*MetricOut) GetValidMeanTokenAccuracyOk ¶
GetValidMeanTokenAccuracyOk returns a tuple with the ValidMeanTokenAccuracy 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 (*MetricOut) HasTrainLoss ¶
HasTrainLoss returns a boolean if a field has been set.
func (*MetricOut) HasValidLoss ¶
HasValidLoss returns a boolean if a field has been set.
func (*MetricOut) HasValidMeanTokenAccuracy ¶
HasValidMeanTokenAccuracy returns a boolean if a field has been set.
func (MetricOut) MarshalJSON ¶
func (*MetricOut) SetTrainLoss ¶
SetTrainLoss gets a reference to the given NullableFloat32 and assigns it to the TrainLoss field.
func (*MetricOut) SetTrainLossNil ¶
func (o *MetricOut) SetTrainLossNil()
SetTrainLossNil sets the value for TrainLoss to be an explicit nil
func (*MetricOut) SetValidLoss ¶
SetValidLoss gets a reference to the given NullableFloat32 and assigns it to the ValidLoss field.
func (*MetricOut) SetValidLossNil ¶
func (o *MetricOut) SetValidLossNil()
SetValidLossNil sets the value for ValidLoss to be an explicit nil
func (*MetricOut) SetValidMeanTokenAccuracy ¶
SetValidMeanTokenAccuracy gets a reference to the given NullableFloat32 and assigns it to the ValidMeanTokenAccuracy field.
func (*MetricOut) SetValidMeanTokenAccuracyNil ¶
func (o *MetricOut) SetValidMeanTokenAccuracyNil()
SetValidMeanTokenAccuracyNil sets the value for ValidMeanTokenAccuracy to be an explicit nil
func (*MetricOut) UnmarshalJSON ¶
func (*MetricOut) UnsetTrainLoss ¶
func (o *MetricOut) UnsetTrainLoss()
UnsetTrainLoss ensures that no value is present for TrainLoss, not even an explicit nil
func (*MetricOut) UnsetValidLoss ¶
func (o *MetricOut) UnsetValidLoss()
UnsetValidLoss ensures that no value is present for ValidLoss, not even an explicit nil
func (*MetricOut) UnsetValidMeanTokenAccuracy ¶
func (o *MetricOut) UnsetValidMeanTokenAccuracy()
UnsetValidMeanTokenAccuracy ensures that no value is present for ValidMeanTokenAccuracy, not even an explicit nil
type MistralPromptMode ¶
type MistralPromptMode string
MistralPromptMode Available options to the prompt_mode argument on the chat completion endpoint. Values represent high-level intent. Assignment to actual SPs is handled internally. System prompt may include knowledge cutoff date, model capabilities, tone to use, safety guidelines, etc.
const (
MISTRALPROMPTMODE_REASONING MistralPromptMode = "reasoning"
)
List of MistralPromptMode
func NewMistralPromptModeFromValue ¶
func NewMistralPromptModeFromValue(v string) (*MistralPromptMode, error)
NewMistralPromptModeFromValue returns a pointer to a valid MistralPromptMode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (MistralPromptMode) IsValid ¶
func (v MistralPromptMode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (MistralPromptMode) Ptr ¶
func (v MistralPromptMode) Ptr() *MistralPromptMode
Ptr returns reference to MistralPromptMode value
func (*MistralPromptMode) UnmarshalJSON ¶
func (v *MistralPromptMode) UnmarshalJSON(src []byte) error
type ModelCapabilities ¶
type ModelCapabilities struct {
CompletionChat *bool `json:"completion_chat,omitempty"`
FunctionCalling *bool `json:"function_calling,omitempty"`
CompletionFim *bool `json:"completion_fim,omitempty"`
FineTuning *bool `json:"fine_tuning,omitempty"`
Vision *bool `json:"vision,omitempty"`
Ocr *bool `json:"ocr,omitempty"`
Classification *bool `json:"classification,omitempty"`
Moderation *bool `json:"moderation,omitempty"`
Audio *bool `json:"audio,omitempty"`
AudioTranscription *bool `json:"audio_transcription,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelCapabilities struct for ModelCapabilities
func NewModelCapabilities ¶
func NewModelCapabilities() *ModelCapabilities
NewModelCapabilities instantiates a new ModelCapabilities 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 NewModelCapabilitiesWithDefaults ¶
func NewModelCapabilitiesWithDefaults() *ModelCapabilities
NewModelCapabilitiesWithDefaults instantiates a new ModelCapabilities 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 (*ModelCapabilities) GetAudio ¶ added in v0.15.0
func (o *ModelCapabilities) GetAudio() bool
GetAudio returns the Audio field value if set, zero value otherwise.
func (*ModelCapabilities) GetAudioOk ¶ added in v0.15.0
func (o *ModelCapabilities) GetAudioOk() (*bool, bool)
GetAudioOk returns a tuple with the Audio field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) GetAudioTranscription ¶ added in v0.15.0
func (o *ModelCapabilities) GetAudioTranscription() bool
GetAudioTranscription returns the AudioTranscription field value if set, zero value otherwise.
func (*ModelCapabilities) GetAudioTranscriptionOk ¶ added in v0.15.0
func (o *ModelCapabilities) GetAudioTranscriptionOk() (*bool, bool)
GetAudioTranscriptionOk returns a tuple with the AudioTranscription field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) GetClassification ¶ added in v0.6.0
func (o *ModelCapabilities) GetClassification() bool
GetClassification returns the Classification field value if set, zero value otherwise.
func (*ModelCapabilities) GetClassificationOk ¶ added in v0.6.0
func (o *ModelCapabilities) GetClassificationOk() (*bool, bool)
GetClassificationOk returns a tuple with the Classification field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) GetCompletionChat ¶
func (o *ModelCapabilities) GetCompletionChat() bool
GetCompletionChat returns the CompletionChat field value if set, zero value otherwise.
func (*ModelCapabilities) GetCompletionChatOk ¶
func (o *ModelCapabilities) GetCompletionChatOk() (*bool, bool)
GetCompletionChatOk returns a tuple with the CompletionChat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) GetCompletionFim ¶
func (o *ModelCapabilities) GetCompletionFim() bool
GetCompletionFim returns the CompletionFim field value if set, zero value otherwise.
func (*ModelCapabilities) GetCompletionFimOk ¶
func (o *ModelCapabilities) GetCompletionFimOk() (*bool, bool)
GetCompletionFimOk returns a tuple with the CompletionFim field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) GetFineTuning ¶
func (o *ModelCapabilities) GetFineTuning() bool
GetFineTuning returns the FineTuning field value if set, zero value otherwise.
func (*ModelCapabilities) GetFineTuningOk ¶
func (o *ModelCapabilities) GetFineTuningOk() (*bool, bool)
GetFineTuningOk returns a tuple with the FineTuning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) GetFunctionCalling ¶
func (o *ModelCapabilities) GetFunctionCalling() bool
GetFunctionCalling returns the FunctionCalling field value if set, zero value otherwise.
func (*ModelCapabilities) GetFunctionCallingOk ¶
func (o *ModelCapabilities) GetFunctionCallingOk() (*bool, bool)
GetFunctionCallingOk returns a tuple with the FunctionCalling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) GetModeration ¶ added in v0.15.0
func (o *ModelCapabilities) GetModeration() bool
GetModeration returns the Moderation field value if set, zero value otherwise.
func (*ModelCapabilities) GetModerationOk ¶ added in v0.15.0
func (o *ModelCapabilities) GetModerationOk() (*bool, bool)
GetModerationOk returns a tuple with the Moderation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) GetOcr ¶ added in v0.15.0
func (o *ModelCapabilities) GetOcr() bool
GetOcr returns the Ocr field value if set, zero value otherwise.
func (*ModelCapabilities) GetOcrOk ¶ added in v0.15.0
func (o *ModelCapabilities) GetOcrOk() (*bool, bool)
GetOcrOk returns a tuple with the Ocr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) GetVision ¶
func (o *ModelCapabilities) GetVision() bool
GetVision returns the Vision field value if set, zero value otherwise.
func (*ModelCapabilities) GetVisionOk ¶
func (o *ModelCapabilities) GetVisionOk() (*bool, bool)
GetVisionOk returns a tuple with the Vision field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelCapabilities) HasAudio ¶ added in v0.15.0
func (o *ModelCapabilities) HasAudio() bool
HasAudio returns a boolean if a field has been set.
func (*ModelCapabilities) HasAudioTranscription ¶ added in v0.15.0
func (o *ModelCapabilities) HasAudioTranscription() bool
HasAudioTranscription returns a boolean if a field has been set.
func (*ModelCapabilities) HasClassification ¶ added in v0.6.0
func (o *ModelCapabilities) HasClassification() bool
HasClassification returns a boolean if a field has been set.
func (*ModelCapabilities) HasCompletionChat ¶
func (o *ModelCapabilities) HasCompletionChat() bool
HasCompletionChat returns a boolean if a field has been set.
func (*ModelCapabilities) HasCompletionFim ¶
func (o *ModelCapabilities) HasCompletionFim() bool
HasCompletionFim returns a boolean if a field has been set.
func (*ModelCapabilities) HasFineTuning ¶
func (o *ModelCapabilities) HasFineTuning() bool
HasFineTuning returns a boolean if a field has been set.
func (*ModelCapabilities) HasFunctionCalling ¶
func (o *ModelCapabilities) HasFunctionCalling() bool
HasFunctionCalling returns a boolean if a field has been set.
func (*ModelCapabilities) HasModeration ¶ added in v0.15.0
func (o *ModelCapabilities) HasModeration() bool
HasModeration returns a boolean if a field has been set.
func (*ModelCapabilities) HasOcr ¶ added in v0.15.0
func (o *ModelCapabilities) HasOcr() bool
HasOcr returns a boolean if a field has been set.
func (*ModelCapabilities) HasVision ¶
func (o *ModelCapabilities) HasVision() bool
HasVision returns a boolean if a field has been set.
func (ModelCapabilities) MarshalJSON ¶
func (o ModelCapabilities) MarshalJSON() ([]byte, error)
func (*ModelCapabilities) SetAudio ¶ added in v0.15.0
func (o *ModelCapabilities) SetAudio(v bool)
SetAudio gets a reference to the given bool and assigns it to the Audio field.
func (*ModelCapabilities) SetAudioTranscription ¶ added in v0.15.0
func (o *ModelCapabilities) SetAudioTranscription(v bool)
SetAudioTranscription gets a reference to the given bool and assigns it to the AudioTranscription field.
func (*ModelCapabilities) SetClassification ¶ added in v0.6.0
func (o *ModelCapabilities) SetClassification(v bool)
SetClassification gets a reference to the given bool and assigns it to the Classification field.
func (*ModelCapabilities) SetCompletionChat ¶
func (o *ModelCapabilities) SetCompletionChat(v bool)
SetCompletionChat gets a reference to the given bool and assigns it to the CompletionChat field.
func (*ModelCapabilities) SetCompletionFim ¶
func (o *ModelCapabilities) SetCompletionFim(v bool)
SetCompletionFim gets a reference to the given bool and assigns it to the CompletionFim field.
func (*ModelCapabilities) SetFineTuning ¶
func (o *ModelCapabilities) SetFineTuning(v bool)
SetFineTuning gets a reference to the given bool and assigns it to the FineTuning field.
func (*ModelCapabilities) SetFunctionCalling ¶
func (o *ModelCapabilities) SetFunctionCalling(v bool)
SetFunctionCalling gets a reference to the given bool and assigns it to the FunctionCalling field.
func (*ModelCapabilities) SetModeration ¶ added in v0.15.0
func (o *ModelCapabilities) SetModeration(v bool)
SetModeration gets a reference to the given bool and assigns it to the Moderation field.
func (*ModelCapabilities) SetOcr ¶ added in v0.15.0
func (o *ModelCapabilities) SetOcr(v bool)
SetOcr gets a reference to the given bool and assigns it to the Ocr field.
func (*ModelCapabilities) SetVision ¶
func (o *ModelCapabilities) SetVision(v bool)
SetVision gets a reference to the given bool and assigns it to the Vision field.
func (ModelCapabilities) ToMap ¶
func (o ModelCapabilities) ToMap() (map[string]interface{}, error)
func (*ModelCapabilities) UnmarshalJSON ¶
func (o *ModelCapabilities) UnmarshalJSON(data []byte) (err error)
type ModelConversation ¶
type ModelConversation struct {
Instructions NullableString `json:"instructions,omitempty"`
// List of tools which are available to the model during the conversation.
Tools []ToolsInner `json:"tools,omitempty"`
// Completion arguments that will be used to generate assistant responses. Can be overridden at each message request.
CompletionArgs *CompletionArgs `json:"completion_args,omitempty"`
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
// Custom type for metadata with embedded validation.
Metadata map[string]interface{} `json:"metadata,omitempty"`
Object *string `json:"object,omitempty"`
Id string `json:"id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
Model string `json:"model"`
}
ModelConversation struct for ModelConversation
func NewModelConversation ¶
func NewModelConversation(id string, createdAt time.Time, updatedAt time.Time, model string) *ModelConversation
NewModelConversation instantiates a new ModelConversation 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 NewModelConversationWithDefaults ¶
func NewModelConversationWithDefaults() *ModelConversation
NewModelConversationWithDefaults instantiates a new ModelConversation 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 (*ModelConversation) GetCompletionArgs ¶
func (o *ModelConversation) GetCompletionArgs() CompletionArgs
GetCompletionArgs returns the CompletionArgs field value if set, zero value otherwise.
func (*ModelConversation) GetCompletionArgsOk ¶
func (o *ModelConversation) GetCompletionArgsOk() (*CompletionArgs, bool)
GetCompletionArgsOk returns a tuple with the CompletionArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelConversation) GetCreatedAt ¶
func (o *ModelConversation) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value
func (*ModelConversation) GetCreatedAtOk ¶
func (o *ModelConversation) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*ModelConversation) GetDescription ¶
func (o *ModelConversation) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ModelConversation) GetDescriptionOk ¶
func (o *ModelConversation) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*ModelConversation) GetId ¶
func (o *ModelConversation) GetId() string
GetId returns the Id field value
func (*ModelConversation) GetIdOk ¶
func (o *ModelConversation) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ModelConversation) GetInstructions ¶
func (o *ModelConversation) GetInstructions() string
GetInstructions returns the Instructions field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ModelConversation) GetInstructionsOk ¶
func (o *ModelConversation) GetInstructionsOk() (*string, bool)
GetInstructionsOk returns a tuple with the Instructions 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 (*ModelConversation) GetMetadata ¶ added in v0.15.0
func (o *ModelConversation) GetMetadata() map[string]interface{}
GetMetadata returns the Metadata field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ModelConversation) GetMetadataOk ¶ added in v0.15.0
func (o *ModelConversation) GetMetadataOk() (map[string]interface{}, bool)
GetMetadataOk returns a tuple with the Metadata 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 (*ModelConversation) GetModel ¶
func (o *ModelConversation) GetModel() string
GetModel returns the Model field value
func (*ModelConversation) GetModelOk ¶
func (o *ModelConversation) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*ModelConversation) GetName ¶
func (o *ModelConversation) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ModelConversation) GetNameOk ¶
func (o *ModelConversation) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*ModelConversation) GetObject ¶
func (o *ModelConversation) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ModelConversation) GetObjectOk ¶
func (o *ModelConversation) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelConversation) GetTools ¶
func (o *ModelConversation) GetTools() []ToolsInner
GetTools returns the Tools field value if set, zero value otherwise.
func (*ModelConversation) GetToolsOk ¶
func (o *ModelConversation) GetToolsOk() ([]ToolsInner, bool)
GetToolsOk returns a tuple with the Tools field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelConversation) GetUpdatedAt ¶
func (o *ModelConversation) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value
func (*ModelConversation) GetUpdatedAtOk ¶
func (o *ModelConversation) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value and a boolean to check if the value has been set.
func (*ModelConversation) HasCompletionArgs ¶
func (o *ModelConversation) HasCompletionArgs() bool
HasCompletionArgs returns a boolean if a field has been set.
func (*ModelConversation) HasDescription ¶
func (o *ModelConversation) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ModelConversation) HasInstructions ¶
func (o *ModelConversation) HasInstructions() bool
HasInstructions returns a boolean if a field has been set.
func (*ModelConversation) HasMetadata ¶ added in v0.15.0
func (o *ModelConversation) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (*ModelConversation) HasName ¶
func (o *ModelConversation) HasName() bool
HasName returns a boolean if a field has been set.
func (*ModelConversation) HasObject ¶
func (o *ModelConversation) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ModelConversation) HasTools ¶
func (o *ModelConversation) HasTools() bool
HasTools returns a boolean if a field has been set.
func (ModelConversation) MarshalJSON ¶
func (o ModelConversation) MarshalJSON() ([]byte, error)
func (*ModelConversation) SetCompletionArgs ¶
func (o *ModelConversation) SetCompletionArgs(v CompletionArgs)
SetCompletionArgs gets a reference to the given CompletionArgs and assigns it to the CompletionArgs field.
func (*ModelConversation) SetCreatedAt ¶
func (o *ModelConversation) SetCreatedAt(v time.Time)
SetCreatedAt sets field value
func (*ModelConversation) SetDescription ¶
func (o *ModelConversation) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ModelConversation) SetDescriptionNil ¶
func (o *ModelConversation) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ModelConversation) SetId ¶
func (o *ModelConversation) SetId(v string)
SetId sets field value
func (*ModelConversation) SetInstructions ¶
func (o *ModelConversation) SetInstructions(v string)
SetInstructions gets a reference to the given NullableString and assigns it to the Instructions field.
func (*ModelConversation) SetInstructionsNil ¶
func (o *ModelConversation) SetInstructionsNil()
SetInstructionsNil sets the value for Instructions to be an explicit nil
func (*ModelConversation) SetMetadata ¶ added in v0.15.0
func (o *ModelConversation) SetMetadata(v map[string]interface{})
SetMetadata gets a reference to the given map[string]interface{} and assigns it to the Metadata field.
func (*ModelConversation) SetModel ¶
func (o *ModelConversation) SetModel(v string)
SetModel sets field value
func (*ModelConversation) SetName ¶
func (o *ModelConversation) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*ModelConversation) SetNameNil ¶
func (o *ModelConversation) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*ModelConversation) SetObject ¶
func (o *ModelConversation) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ModelConversation) SetTools ¶
func (o *ModelConversation) SetTools(v []ToolsInner)
SetTools gets a reference to the given []ToolsInner and assigns it to the Tools field.
func (*ModelConversation) SetUpdatedAt ¶
func (o *ModelConversation) SetUpdatedAt(v time.Time)
SetUpdatedAt sets field value
func (ModelConversation) ToMap ¶
func (o ModelConversation) ToMap() (map[string]interface{}, error)
func (*ModelConversation) UnmarshalJSON ¶
func (o *ModelConversation) UnmarshalJSON(data []byte) (err error)
func (*ModelConversation) UnsetDescription ¶
func (o *ModelConversation) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*ModelConversation) UnsetInstructions ¶
func (o *ModelConversation) UnsetInstructions()
UnsetInstructions ensures that no value is present for Instructions, not even an explicit nil
func (*ModelConversation) UnsetName ¶
func (o *ModelConversation) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type ModelList ¶
type ModelList struct {
Object *string `json:"object,omitempty"`
Data []DataInner `json:"data,omitempty"`
AdditionalProperties map[string]interface{}
}
ModelList struct for ModelList
func NewModelList ¶
func NewModelList() *ModelList
NewModelList instantiates a new ModelList 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 NewModelListWithDefaults ¶
func NewModelListWithDefaults() *ModelList
NewModelListWithDefaults instantiates a new ModelList 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 (*ModelList) GetDataOk ¶
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelList) GetObject ¶
GetObject returns the Object field value if set, zero value otherwise.
func (*ModelList) GetObjectOk ¶
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (ModelList) MarshalJSON ¶
func (*ModelList) SetData ¶
SetData gets a reference to the given []DataInner and assigns it to the Data field.
func (*ModelList) SetObject ¶
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ModelList) UnmarshalJSON ¶
type ModelsAPI ¶
type ModelsAPI interface {
/*
DeleteModelV1ModelsModelIdDelete Delete Model
Delete a fine-tuned model.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param modelId The ID of the model to delete.
@return ApiDeleteModelV1ModelsModelIdDeleteRequest
*/
DeleteModelV1ModelsModelIdDelete(ctx context.Context, modelId string) ApiDeleteModelV1ModelsModelIdDeleteRequest
// DeleteModelV1ModelsModelIdDeleteExecute executes the request
// @return DeleteModelOut
DeleteModelV1ModelsModelIdDeleteExecute(r ApiDeleteModelV1ModelsModelIdDeleteRequest) (*DeleteModelOut, *http.Response, error)
/*
JobsApiRoutesFineTuningArchiveFineTunedModel Archive Fine Tuned Model
Archive a fine-tuned model.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param modelId The ID of the model to archive.
@return ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest
*/
JobsApiRoutesFineTuningArchiveFineTunedModel(ctx context.Context, modelId string) ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest
// JobsApiRoutesFineTuningArchiveFineTunedModelExecute executes the request
// @return ArchiveFTModelOut
JobsApiRoutesFineTuningArchiveFineTunedModelExecute(r ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest) (*ArchiveFTModelOut, *http.Response, error)
/*
JobsApiRoutesFineTuningUnarchiveFineTunedModel Unarchive Fine Tuned Model
Un-archive a fine-tuned model.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param modelId The ID of the model to unarchive.
@return ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest
*/
JobsApiRoutesFineTuningUnarchiveFineTunedModel(ctx context.Context, modelId string) ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest
// JobsApiRoutesFineTuningUnarchiveFineTunedModelExecute executes the request
// @return UnarchiveFTModelOut
JobsApiRoutesFineTuningUnarchiveFineTunedModelExecute(r ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest) (*UnarchiveFTModelOut, *http.Response, error)
/*
JobsApiRoutesFineTuningUpdateFineTunedModel Update Fine Tuned Model
Update a model name or description.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param modelId The ID of the model to update.
@return ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest
*/
JobsApiRoutesFineTuningUpdateFineTunedModel(ctx context.Context, modelId string) ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest
// JobsApiRoutesFineTuningUpdateFineTunedModelExecute executes the request
// @return Response2
JobsApiRoutesFineTuningUpdateFineTunedModelExecute(r ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest) (*Response2, *http.Response, error)
/*
ListModelsV1ModelsGet List Models
List all models available to the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiListModelsV1ModelsGetRequest
*/
ListModelsV1ModelsGet(ctx context.Context) ApiListModelsV1ModelsGetRequest
// ListModelsV1ModelsGetExecute executes the request
// @return ModelList
ListModelsV1ModelsGetExecute(r ApiListModelsV1ModelsGetRequest) (*ModelList, *http.Response, error)
/*
RetrieveModelV1ModelsModelIdGet Retrieve Model
Retrieve information about a model.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param modelId The ID of the model to retrieve.
@return ApiRetrieveModelV1ModelsModelIdGetRequest
*/
RetrieveModelV1ModelsModelIdGet(ctx context.Context, modelId string) ApiRetrieveModelV1ModelsModelIdGetRequest
// RetrieveModelV1ModelsModelIdGetExecute executes the request
// @return ResponseRetrieveModelV1ModelsModelIdGet
RetrieveModelV1ModelsModelIdGetExecute(r ApiRetrieveModelV1ModelsModelIdGetRequest) (*ResponseRetrieveModelV1ModelsModelIdGet, *http.Response, error)
}
type ModelsAPIService ¶
type ModelsAPIService service
ModelsAPIService ModelsAPI service
func (*ModelsAPIService) DeleteModelV1ModelsModelIdDelete ¶
func (a *ModelsAPIService) DeleteModelV1ModelsModelIdDelete(ctx context.Context, modelId string) ApiDeleteModelV1ModelsModelIdDeleteRequest
DeleteModelV1ModelsModelIdDelete Delete Model
Delete a fine-tuned model.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param modelId The ID of the model to delete. @return ApiDeleteModelV1ModelsModelIdDeleteRequest
func (*ModelsAPIService) DeleteModelV1ModelsModelIdDeleteExecute ¶
func (a *ModelsAPIService) DeleteModelV1ModelsModelIdDeleteExecute(r ApiDeleteModelV1ModelsModelIdDeleteRequest) (*DeleteModelOut, *http.Response, error)
Execute executes the request
@return DeleteModelOut
func (*ModelsAPIService) JobsApiRoutesFineTuningArchiveFineTunedModel ¶
func (a *ModelsAPIService) JobsApiRoutesFineTuningArchiveFineTunedModel(ctx context.Context, modelId string) ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest
JobsApiRoutesFineTuningArchiveFineTunedModel Archive Fine Tuned Model
Archive a fine-tuned model.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param modelId The ID of the model to archive. @return ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest
func (*ModelsAPIService) JobsApiRoutesFineTuningArchiveFineTunedModelExecute ¶
func (a *ModelsAPIService) JobsApiRoutesFineTuningArchiveFineTunedModelExecute(r ApiJobsApiRoutesFineTuningArchiveFineTunedModelRequest) (*ArchiveFTModelOut, *http.Response, error)
Execute executes the request
@return ArchiveFTModelOut
func (*ModelsAPIService) JobsApiRoutesFineTuningUnarchiveFineTunedModel ¶
func (a *ModelsAPIService) JobsApiRoutesFineTuningUnarchiveFineTunedModel(ctx context.Context, modelId string) ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest
JobsApiRoutesFineTuningUnarchiveFineTunedModel Unarchive Fine Tuned Model
Un-archive a fine-tuned model.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param modelId The ID of the model to unarchive. @return ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest
func (*ModelsAPIService) JobsApiRoutesFineTuningUnarchiveFineTunedModelExecute ¶
func (a *ModelsAPIService) JobsApiRoutesFineTuningUnarchiveFineTunedModelExecute(r ApiJobsApiRoutesFineTuningUnarchiveFineTunedModelRequest) (*UnarchiveFTModelOut, *http.Response, error)
Execute executes the request
@return UnarchiveFTModelOut
func (*ModelsAPIService) JobsApiRoutesFineTuningUpdateFineTunedModel ¶
func (a *ModelsAPIService) JobsApiRoutesFineTuningUpdateFineTunedModel(ctx context.Context, modelId string) ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest
JobsApiRoutesFineTuningUpdateFineTunedModel Update Fine Tuned Model
Update a model name or description.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param modelId The ID of the model to update. @return ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest
func (*ModelsAPIService) JobsApiRoutesFineTuningUpdateFineTunedModelExecute ¶
func (a *ModelsAPIService) JobsApiRoutesFineTuningUpdateFineTunedModelExecute(r ApiJobsApiRoutesFineTuningUpdateFineTunedModelRequest) (*Response2, *http.Response, error)
Execute executes the request
@return Response2
func (*ModelsAPIService) ListModelsV1ModelsGet ¶
func (a *ModelsAPIService) ListModelsV1ModelsGet(ctx context.Context) ApiListModelsV1ModelsGetRequest
ListModelsV1ModelsGet List Models
List all models available to the user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListModelsV1ModelsGetRequest
func (*ModelsAPIService) ListModelsV1ModelsGetExecute ¶
func (a *ModelsAPIService) ListModelsV1ModelsGetExecute(r ApiListModelsV1ModelsGetRequest) (*ModelList, *http.Response, error)
Execute executes the request
@return ModelList
func (*ModelsAPIService) RetrieveModelV1ModelsModelIdGet ¶
func (a *ModelsAPIService) RetrieveModelV1ModelsModelIdGet(ctx context.Context, modelId string) ApiRetrieveModelV1ModelsModelIdGetRequest
RetrieveModelV1ModelsModelIdGet Retrieve Model
Retrieve information about a model.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param modelId The ID of the model to retrieve. @return ApiRetrieveModelV1ModelsModelIdGetRequest
func (*ModelsAPIService) RetrieveModelV1ModelsModelIdGetExecute ¶
func (a *ModelsAPIService) RetrieveModelV1ModelsModelIdGetExecute(r ApiRetrieveModelV1ModelsModelIdGetRequest) (*ResponseRetrieveModelV1ModelsModelIdGet, *http.Response, error)
Execute executes the request
@return ResponseRetrieveModelV1ModelsModelIdGet
type ModerationObject ¶
type ModerationObject struct {
// Moderation result thresholds
Categories map[string]bool `json:"categories,omitempty"`
// Moderation result
CategoryScores map[string]float32 `json:"category_scores,omitempty"`
AdditionalProperties map[string]interface{}
}
ModerationObject struct for ModerationObject
func NewModerationObject ¶
func NewModerationObject() *ModerationObject
NewModerationObject instantiates a new ModerationObject 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 NewModerationObjectWithDefaults ¶
func NewModerationObjectWithDefaults() *ModerationObject
NewModerationObjectWithDefaults instantiates a new ModerationObject 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 (*ModerationObject) GetCategories ¶
func (o *ModerationObject) GetCategories() map[string]bool
GetCategories returns the Categories field value if set, zero value otherwise.
func (*ModerationObject) GetCategoriesOk ¶
func (o *ModerationObject) GetCategoriesOk() (map[string]bool, bool)
GetCategoriesOk returns a tuple with the Categories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModerationObject) GetCategoryScores ¶
func (o *ModerationObject) GetCategoryScores() map[string]float32
GetCategoryScores returns the CategoryScores field value if set, zero value otherwise.
func (*ModerationObject) GetCategoryScoresOk ¶
func (o *ModerationObject) GetCategoryScoresOk() (map[string]float32, bool)
GetCategoryScoresOk returns a tuple with the CategoryScores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModerationObject) HasCategories ¶
func (o *ModerationObject) HasCategories() bool
HasCategories returns a boolean if a field has been set.
func (*ModerationObject) HasCategoryScores ¶
func (o *ModerationObject) HasCategoryScores() bool
HasCategoryScores returns a boolean if a field has been set.
func (ModerationObject) MarshalJSON ¶
func (o ModerationObject) MarshalJSON() ([]byte, error)
func (*ModerationObject) SetCategories ¶
func (o *ModerationObject) SetCategories(v map[string]bool)
SetCategories gets a reference to the given map[string]bool and assigns it to the Categories field.
func (*ModerationObject) SetCategoryScores ¶
func (o *ModerationObject) SetCategoryScores(v map[string]float32)
SetCategoryScores gets a reference to the given map[string]float32 and assigns it to the CategoryScores field.
func (ModerationObject) ToMap ¶
func (o ModerationObject) ToMap() (map[string]interface{}, error)
func (*ModerationObject) UnmarshalJSON ¶
func (o *ModerationObject) UnmarshalJSON(data []byte) (err error)
type ModerationResponse ¶
type ModerationResponse struct {
Id string `json:"id"`
Model string `json:"model"`
Results []ModerationObject `json:"results"`
AdditionalProperties map[string]interface{}
}
ModerationResponse struct for ModerationResponse
func NewModerationResponse ¶
func NewModerationResponse(id string, model string, results []ModerationObject) *ModerationResponse
NewModerationResponse instantiates a new ModerationResponse 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 NewModerationResponseWithDefaults ¶
func NewModerationResponseWithDefaults() *ModerationResponse
NewModerationResponseWithDefaults instantiates a new ModerationResponse 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 (*ModerationResponse) GetId ¶
func (o *ModerationResponse) GetId() string
GetId returns the Id field value
func (*ModerationResponse) GetIdOk ¶
func (o *ModerationResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ModerationResponse) GetModel ¶
func (o *ModerationResponse) GetModel() string
GetModel returns the Model field value
func (*ModerationResponse) GetModelOk ¶
func (o *ModerationResponse) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*ModerationResponse) GetResults ¶
func (o *ModerationResponse) GetResults() []ModerationObject
GetResults returns the Results field value
func (*ModerationResponse) GetResultsOk ¶
func (o *ModerationResponse) GetResultsOk() ([]ModerationObject, bool)
GetResultsOk returns a tuple with the Results field value and a boolean to check if the value has been set.
func (ModerationResponse) MarshalJSON ¶
func (o ModerationResponse) MarshalJSON() ([]byte, error)
func (*ModerationResponse) SetId ¶
func (o *ModerationResponse) SetId(v string)
SetId sets field value
func (*ModerationResponse) SetModel ¶
func (o *ModerationResponse) SetModel(v string)
SetModel sets field value
func (*ModerationResponse) SetResults ¶
func (o *ModerationResponse) SetResults(v []ModerationObject)
SetResults sets field value
func (ModerationResponse) ToMap ¶
func (o ModerationResponse) ToMap() (map[string]interface{}, error)
func (*ModerationResponse) UnmarshalJSON ¶
func (o *ModerationResponse) UnmarshalJSON(data []byte) (err error)
type Name ¶ added in v0.15.0
type Name struct {
BuiltInConnectors *BuiltInConnectors
String *string
}
Name struct for Name
func (Name) MarshalJSON ¶ added in v0.15.0
Marshal data from the first non-nil pointers in the struct to JSON
func (*Name) UnmarshalJSON ¶ added in v0.15.0
Unmarshal JSON data into any of the pointers in the struct
type NullableAgent ¶
type NullableAgent struct {
// contains filtered or unexported fields
}
func NewNullableAgent ¶
func NewNullableAgent(val *Agent) *NullableAgent
func (NullableAgent) Get ¶
func (v NullableAgent) Get() *Agent
func (NullableAgent) IsSet ¶
func (v NullableAgent) IsSet() bool
func (NullableAgent) MarshalJSON ¶
func (v NullableAgent) MarshalJSON() ([]byte, error)
func (*NullableAgent) Set ¶
func (v *NullableAgent) Set(val *Agent)
func (*NullableAgent) UnmarshalJSON ¶
func (v *NullableAgent) UnmarshalJSON(src []byte) error
func (*NullableAgent) Unset ¶
func (v *NullableAgent) Unset()
type NullableAgentAliasResponse ¶ added in v0.15.0
type NullableAgentAliasResponse struct {
// contains filtered or unexported fields
}
func NewNullableAgentAliasResponse ¶ added in v0.15.0
func NewNullableAgentAliasResponse(val *AgentAliasResponse) *NullableAgentAliasResponse
func (NullableAgentAliasResponse) Get ¶ added in v0.15.0
func (v NullableAgentAliasResponse) Get() *AgentAliasResponse
func (NullableAgentAliasResponse) IsSet ¶ added in v0.15.0
func (v NullableAgentAliasResponse) IsSet() bool
func (NullableAgentAliasResponse) MarshalJSON ¶ added in v0.15.0
func (v NullableAgentAliasResponse) MarshalJSON() ([]byte, error)
func (*NullableAgentAliasResponse) Set ¶ added in v0.15.0
func (v *NullableAgentAliasResponse) Set(val *AgentAliasResponse)
func (*NullableAgentAliasResponse) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableAgentAliasResponse) UnmarshalJSON(src []byte) error
func (*NullableAgentAliasResponse) Unset ¶ added in v0.15.0
func (v *NullableAgentAliasResponse) Unset()
type NullableAgentConversation ¶
type NullableAgentConversation struct {
// contains filtered or unexported fields
}
func NewNullableAgentConversation ¶
func NewNullableAgentConversation(val *AgentConversation) *NullableAgentConversation
func (NullableAgentConversation) Get ¶
func (v NullableAgentConversation) Get() *AgentConversation
func (NullableAgentConversation) IsSet ¶
func (v NullableAgentConversation) IsSet() bool
func (NullableAgentConversation) MarshalJSON ¶
func (v NullableAgentConversation) MarshalJSON() ([]byte, error)
func (*NullableAgentConversation) Set ¶
func (v *NullableAgentConversation) Set(val *AgentConversation)
func (*NullableAgentConversation) UnmarshalJSON ¶
func (v *NullableAgentConversation) UnmarshalJSON(src []byte) error
func (*NullableAgentConversation) Unset ¶
func (v *NullableAgentConversation) Unset()
type NullableAgentCreationRequest ¶
type NullableAgentCreationRequest struct {
// contains filtered or unexported fields
}
func NewNullableAgentCreationRequest ¶
func NewNullableAgentCreationRequest(val *AgentCreationRequest) *NullableAgentCreationRequest
func (NullableAgentCreationRequest) Get ¶
func (v NullableAgentCreationRequest) Get() *AgentCreationRequest
func (NullableAgentCreationRequest) IsSet ¶
func (v NullableAgentCreationRequest) IsSet() bool
func (NullableAgentCreationRequest) MarshalJSON ¶
func (v NullableAgentCreationRequest) MarshalJSON() ([]byte, error)
func (*NullableAgentCreationRequest) Set ¶
func (v *NullableAgentCreationRequest) Set(val *AgentCreationRequest)
func (*NullableAgentCreationRequest) UnmarshalJSON ¶
func (v *NullableAgentCreationRequest) UnmarshalJSON(src []byte) error
func (*NullableAgentCreationRequest) Unset ¶
func (v *NullableAgentCreationRequest) Unset()
type NullableAgentHandoffDoneEvent ¶
type NullableAgentHandoffDoneEvent struct {
// contains filtered or unexported fields
}
func NewNullableAgentHandoffDoneEvent ¶
func NewNullableAgentHandoffDoneEvent(val *AgentHandoffDoneEvent) *NullableAgentHandoffDoneEvent
func (NullableAgentHandoffDoneEvent) Get ¶
func (v NullableAgentHandoffDoneEvent) Get() *AgentHandoffDoneEvent
func (NullableAgentHandoffDoneEvent) IsSet ¶
func (v NullableAgentHandoffDoneEvent) IsSet() bool
func (NullableAgentHandoffDoneEvent) MarshalJSON ¶
func (v NullableAgentHandoffDoneEvent) MarshalJSON() ([]byte, error)
func (*NullableAgentHandoffDoneEvent) Set ¶
func (v *NullableAgentHandoffDoneEvent) Set(val *AgentHandoffDoneEvent)
func (*NullableAgentHandoffDoneEvent) UnmarshalJSON ¶
func (v *NullableAgentHandoffDoneEvent) UnmarshalJSON(src []byte) error
func (*NullableAgentHandoffDoneEvent) Unset ¶
func (v *NullableAgentHandoffDoneEvent) Unset()
type NullableAgentHandoffEntry ¶
type NullableAgentHandoffEntry struct {
// contains filtered or unexported fields
}
func NewNullableAgentHandoffEntry ¶
func NewNullableAgentHandoffEntry(val *AgentHandoffEntry) *NullableAgentHandoffEntry
func (NullableAgentHandoffEntry) Get ¶
func (v NullableAgentHandoffEntry) Get() *AgentHandoffEntry
func (NullableAgentHandoffEntry) IsSet ¶
func (v NullableAgentHandoffEntry) IsSet() bool
func (NullableAgentHandoffEntry) MarshalJSON ¶
func (v NullableAgentHandoffEntry) MarshalJSON() ([]byte, error)
func (*NullableAgentHandoffEntry) Set ¶
func (v *NullableAgentHandoffEntry) Set(val *AgentHandoffEntry)
func (*NullableAgentHandoffEntry) UnmarshalJSON ¶
func (v *NullableAgentHandoffEntry) UnmarshalJSON(src []byte) error
func (*NullableAgentHandoffEntry) Unset ¶
func (v *NullableAgentHandoffEntry) Unset()
type NullableAgentHandoffStartedEvent ¶
type NullableAgentHandoffStartedEvent struct {
// contains filtered or unexported fields
}
func NewNullableAgentHandoffStartedEvent ¶
func NewNullableAgentHandoffStartedEvent(val *AgentHandoffStartedEvent) *NullableAgentHandoffStartedEvent
func (NullableAgentHandoffStartedEvent) Get ¶
func (v NullableAgentHandoffStartedEvent) Get() *AgentHandoffStartedEvent
func (NullableAgentHandoffStartedEvent) IsSet ¶
func (v NullableAgentHandoffStartedEvent) IsSet() bool
func (NullableAgentHandoffStartedEvent) MarshalJSON ¶
func (v NullableAgentHandoffStartedEvent) MarshalJSON() ([]byte, error)
func (*NullableAgentHandoffStartedEvent) Set ¶
func (v *NullableAgentHandoffStartedEvent) Set(val *AgentHandoffStartedEvent)
func (*NullableAgentHandoffStartedEvent) UnmarshalJSON ¶
func (v *NullableAgentHandoffStartedEvent) UnmarshalJSON(src []byte) error
func (*NullableAgentHandoffStartedEvent) Unset ¶
func (v *NullableAgentHandoffStartedEvent) Unset()
type NullableAgentUpdateRequest ¶
type NullableAgentUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableAgentUpdateRequest ¶
func NewNullableAgentUpdateRequest(val *AgentUpdateRequest) *NullableAgentUpdateRequest
func (NullableAgentUpdateRequest) Get ¶
func (v NullableAgentUpdateRequest) Get() *AgentUpdateRequest
func (NullableAgentUpdateRequest) IsSet ¶
func (v NullableAgentUpdateRequest) IsSet() bool
func (NullableAgentUpdateRequest) MarshalJSON ¶
func (v NullableAgentUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableAgentUpdateRequest) Set ¶
func (v *NullableAgentUpdateRequest) Set(val *AgentUpdateRequest)
func (*NullableAgentUpdateRequest) UnmarshalJSON ¶
func (v *NullableAgentUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableAgentUpdateRequest) Unset ¶
func (v *NullableAgentUpdateRequest) Unset()
type NullableAgentVersion ¶ added in v0.15.0
type NullableAgentVersion struct {
// contains filtered or unexported fields
}
func NewNullableAgentVersion ¶ added in v0.15.0
func NewNullableAgentVersion(val *AgentVersion) *NullableAgentVersion
func (NullableAgentVersion) Get ¶ added in v0.15.0
func (v NullableAgentVersion) Get() *AgentVersion
func (NullableAgentVersion) IsSet ¶ added in v0.15.0
func (v NullableAgentVersion) IsSet() bool
func (NullableAgentVersion) MarshalJSON ¶ added in v0.15.0
func (v NullableAgentVersion) MarshalJSON() ([]byte, error)
func (*NullableAgentVersion) Set ¶ added in v0.15.0
func (v *NullableAgentVersion) Set(val *AgentVersion)
func (*NullableAgentVersion) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableAgentVersion) UnmarshalJSON(src []byte) error
func (*NullableAgentVersion) Unset ¶ added in v0.15.0
func (v *NullableAgentVersion) Unset()
type NullableAgentVersion1 ¶ added in v0.15.0
type NullableAgentVersion1 struct {
// contains filtered or unexported fields
}
func NewNullableAgentVersion1 ¶ added in v0.15.0
func NewNullableAgentVersion1(val *AgentVersion1) *NullableAgentVersion1
func (NullableAgentVersion1) Get ¶ added in v0.15.0
func (v NullableAgentVersion1) Get() *AgentVersion1
func (NullableAgentVersion1) IsSet ¶ added in v0.15.0
func (v NullableAgentVersion1) IsSet() bool
func (NullableAgentVersion1) MarshalJSON ¶ added in v0.15.0
func (v NullableAgentVersion1) MarshalJSON() ([]byte, error)
func (*NullableAgentVersion1) Set ¶ added in v0.15.0
func (v *NullableAgentVersion1) Set(val *AgentVersion1)
func (*NullableAgentVersion1) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableAgentVersion1) UnmarshalJSON(src []byte) error
func (*NullableAgentVersion1) Unset ¶ added in v0.15.0
func (v *NullableAgentVersion1) Unset()
type NullableAgentVersion2 ¶ added in v0.15.0
type NullableAgentVersion2 struct {
// contains filtered or unexported fields
}
func NewNullableAgentVersion2 ¶ added in v0.15.0
func NewNullableAgentVersion2(val *AgentVersion2) *NullableAgentVersion2
func (NullableAgentVersion2) Get ¶ added in v0.15.0
func (v NullableAgentVersion2) Get() *AgentVersion2
func (NullableAgentVersion2) IsSet ¶ added in v0.15.0
func (v NullableAgentVersion2) IsSet() bool
func (NullableAgentVersion2) MarshalJSON ¶ added in v0.15.0
func (v NullableAgentVersion2) MarshalJSON() ([]byte, error)
func (*NullableAgentVersion2) Set ¶ added in v0.15.0
func (v *NullableAgentVersion2) Set(val *AgentVersion2)
func (*NullableAgentVersion2) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableAgentVersion2) UnmarshalJSON(src []byte) error
func (*NullableAgentVersion2) Unset ¶ added in v0.15.0
func (v *NullableAgentVersion2) Unset()
type NullableAgentsCompletionRequest ¶
type NullableAgentsCompletionRequest struct {
// contains filtered or unexported fields
}
func NewNullableAgentsCompletionRequest ¶
func NewNullableAgentsCompletionRequest(val *AgentsCompletionRequest) *NullableAgentsCompletionRequest
func (NullableAgentsCompletionRequest) Get ¶
func (v NullableAgentsCompletionRequest) Get() *AgentsCompletionRequest
func (NullableAgentsCompletionRequest) IsSet ¶
func (v NullableAgentsCompletionRequest) IsSet() bool
func (NullableAgentsCompletionRequest) MarshalJSON ¶
func (v NullableAgentsCompletionRequest) MarshalJSON() ([]byte, error)
func (*NullableAgentsCompletionRequest) Set ¶
func (v *NullableAgentsCompletionRequest) Set(val *AgentsCompletionRequest)
func (*NullableAgentsCompletionRequest) UnmarshalJSON ¶
func (v *NullableAgentsCompletionRequest) UnmarshalJSON(src []byte) error
func (*NullableAgentsCompletionRequest) Unset ¶
func (v *NullableAgentsCompletionRequest) Unset()
type NullableApiEndpoint ¶
type NullableApiEndpoint struct {
// contains filtered or unexported fields
}
func NewNullableApiEndpoint ¶
func NewNullableApiEndpoint(val *ApiEndpoint) *NullableApiEndpoint
func (NullableApiEndpoint) Get ¶
func (v NullableApiEndpoint) Get() *ApiEndpoint
func (NullableApiEndpoint) IsSet ¶
func (v NullableApiEndpoint) IsSet() bool
func (NullableApiEndpoint) MarshalJSON ¶
func (v NullableApiEndpoint) MarshalJSON() ([]byte, error)
func (*NullableApiEndpoint) Set ¶
func (v *NullableApiEndpoint) Set(val *ApiEndpoint)
func (*NullableApiEndpoint) UnmarshalJSON ¶
func (v *NullableApiEndpoint) UnmarshalJSON(src []byte) error
func (*NullableApiEndpoint) Unset ¶
func (v *NullableApiEndpoint) Unset()
type NullableArchiveFTModelOut ¶
type NullableArchiveFTModelOut struct {
// contains filtered or unexported fields
}
func NewNullableArchiveFTModelOut ¶
func NewNullableArchiveFTModelOut(val *ArchiveFTModelOut) *NullableArchiveFTModelOut
func (NullableArchiveFTModelOut) Get ¶
func (v NullableArchiveFTModelOut) Get() *ArchiveFTModelOut
func (NullableArchiveFTModelOut) IsSet ¶
func (v NullableArchiveFTModelOut) IsSet() bool
func (NullableArchiveFTModelOut) MarshalJSON ¶
func (v NullableArchiveFTModelOut) MarshalJSON() ([]byte, error)
func (*NullableArchiveFTModelOut) Set ¶
func (v *NullableArchiveFTModelOut) Set(val *ArchiveFTModelOut)
func (*NullableArchiveFTModelOut) UnmarshalJSON ¶
func (v *NullableArchiveFTModelOut) UnmarshalJSON(src []byte) error
func (*NullableArchiveFTModelOut) Unset ¶
func (v *NullableArchiveFTModelOut) Unset()
type NullableArguments ¶
type NullableArguments struct {
// contains filtered or unexported fields
}
func NewNullableArguments ¶
func NewNullableArguments(val *Arguments) *NullableArguments
func (NullableArguments) Get ¶
func (v NullableArguments) Get() *Arguments
func (NullableArguments) IsSet ¶
func (v NullableArguments) IsSet() bool
func (NullableArguments) MarshalJSON ¶
func (v NullableArguments) MarshalJSON() ([]byte, error)
func (*NullableArguments) Set ¶
func (v *NullableArguments) Set(val *Arguments)
func (*NullableArguments) UnmarshalJSON ¶
func (v *NullableArguments) UnmarshalJSON(src []byte) error
func (*NullableArguments) Unset ¶
func (v *NullableArguments) Unset()
type NullableAssistantMessage ¶
type NullableAssistantMessage struct {
// contains filtered or unexported fields
}
func NewNullableAssistantMessage ¶
func NewNullableAssistantMessage(val *AssistantMessage) *NullableAssistantMessage
func (NullableAssistantMessage) Get ¶
func (v NullableAssistantMessage) Get() *AssistantMessage
func (NullableAssistantMessage) IsSet ¶
func (v NullableAssistantMessage) IsSet() bool
func (NullableAssistantMessage) MarshalJSON ¶
func (v NullableAssistantMessage) MarshalJSON() ([]byte, error)
func (*NullableAssistantMessage) Set ¶
func (v *NullableAssistantMessage) Set(val *AssistantMessage)
func (*NullableAssistantMessage) UnmarshalJSON ¶
func (v *NullableAssistantMessage) UnmarshalJSON(src []byte) error
func (*NullableAssistantMessage) Unset ¶
func (v *NullableAssistantMessage) Unset()
type NullableAudioChunk ¶ added in v0.15.0
type NullableAudioChunk struct {
// contains filtered or unexported fields
}
func NewNullableAudioChunk ¶ added in v0.15.0
func NewNullableAudioChunk(val *AudioChunk) *NullableAudioChunk
func (NullableAudioChunk) Get ¶ added in v0.15.0
func (v NullableAudioChunk) Get() *AudioChunk
func (NullableAudioChunk) IsSet ¶ added in v0.15.0
func (v NullableAudioChunk) IsSet() bool
func (NullableAudioChunk) MarshalJSON ¶ added in v0.15.0
func (v NullableAudioChunk) MarshalJSON() ([]byte, error)
func (*NullableAudioChunk) Set ¶ added in v0.15.0
func (v *NullableAudioChunk) Set(val *AudioChunk)
func (*NullableAudioChunk) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableAudioChunk) UnmarshalJSON(src []byte) error
func (*NullableAudioChunk) Unset ¶ added in v0.15.0
func (v *NullableAudioChunk) Unset()
type NullableAudioEncoding ¶ added in v0.15.0
type NullableAudioEncoding struct {
// contains filtered or unexported fields
}
func NewNullableAudioEncoding ¶ added in v0.15.0
func NewNullableAudioEncoding(val *AudioEncoding) *NullableAudioEncoding
func (NullableAudioEncoding) Get ¶ added in v0.15.0
func (v NullableAudioEncoding) Get() *AudioEncoding
func (NullableAudioEncoding) IsSet ¶ added in v0.15.0
func (v NullableAudioEncoding) IsSet() bool
func (NullableAudioEncoding) MarshalJSON ¶ added in v0.15.0
func (v NullableAudioEncoding) MarshalJSON() ([]byte, error)
func (*NullableAudioEncoding) Set ¶ added in v0.15.0
func (v *NullableAudioEncoding) Set(val *AudioEncoding)
func (*NullableAudioEncoding) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableAudioEncoding) UnmarshalJSON(src []byte) error
func (*NullableAudioEncoding) Unset ¶ added in v0.15.0
func (v *NullableAudioEncoding) Unset()
type NullableAudioFormat ¶ added in v0.15.0
type NullableAudioFormat struct {
// contains filtered or unexported fields
}
func NewNullableAudioFormat ¶ added in v0.15.0
func NewNullableAudioFormat(val *AudioFormat) *NullableAudioFormat
func (NullableAudioFormat) Get ¶ added in v0.15.0
func (v NullableAudioFormat) Get() *AudioFormat
func (NullableAudioFormat) IsSet ¶ added in v0.15.0
func (v NullableAudioFormat) IsSet() bool
func (NullableAudioFormat) MarshalJSON ¶ added in v0.15.0
func (v NullableAudioFormat) MarshalJSON() ([]byte, error)
func (*NullableAudioFormat) Set ¶ added in v0.15.0
func (v *NullableAudioFormat) Set(val *AudioFormat)
func (*NullableAudioFormat) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableAudioFormat) UnmarshalJSON(src []byte) error
func (*NullableAudioFormat) Unset ¶ added in v0.15.0
func (v *NullableAudioFormat) Unset()
type NullableBaseModelCard ¶
type NullableBaseModelCard struct {
// contains filtered or unexported fields
}
func NewNullableBaseModelCard ¶
func NewNullableBaseModelCard(val *BaseModelCard) *NullableBaseModelCard
func (NullableBaseModelCard) Get ¶
func (v NullableBaseModelCard) Get() *BaseModelCard
func (NullableBaseModelCard) IsSet ¶
func (v NullableBaseModelCard) IsSet() bool
func (NullableBaseModelCard) MarshalJSON ¶
func (v NullableBaseModelCard) MarshalJSON() ([]byte, error)
func (*NullableBaseModelCard) Set ¶
func (v *NullableBaseModelCard) Set(val *BaseModelCard)
func (*NullableBaseModelCard) UnmarshalJSON ¶
func (v *NullableBaseModelCard) UnmarshalJSON(src []byte) error
func (*NullableBaseModelCard) Unset ¶
func (v *NullableBaseModelCard) Unset()
type NullableBatchError ¶
type NullableBatchError struct {
// contains filtered or unexported fields
}
func NewNullableBatchError ¶
func NewNullableBatchError(val *BatchError) *NullableBatchError
func (NullableBatchError) Get ¶
func (v NullableBatchError) Get() *BatchError
func (NullableBatchError) IsSet ¶
func (v NullableBatchError) IsSet() bool
func (NullableBatchError) MarshalJSON ¶
func (v NullableBatchError) MarshalJSON() ([]byte, error)
func (*NullableBatchError) Set ¶
func (v *NullableBatchError) Set(val *BatchError)
func (*NullableBatchError) UnmarshalJSON ¶
func (v *NullableBatchError) UnmarshalJSON(src []byte) error
func (*NullableBatchError) Unset ¶
func (v *NullableBatchError) Unset()
type NullableBatchJobIn ¶
type NullableBatchJobIn struct {
// contains filtered or unexported fields
}
func NewNullableBatchJobIn ¶
func NewNullableBatchJobIn(val *BatchJobIn) *NullableBatchJobIn
func (NullableBatchJobIn) Get ¶
func (v NullableBatchJobIn) Get() *BatchJobIn
func (NullableBatchJobIn) IsSet ¶
func (v NullableBatchJobIn) IsSet() bool
func (NullableBatchJobIn) MarshalJSON ¶
func (v NullableBatchJobIn) MarshalJSON() ([]byte, error)
func (*NullableBatchJobIn) Set ¶
func (v *NullableBatchJobIn) Set(val *BatchJobIn)
func (*NullableBatchJobIn) UnmarshalJSON ¶
func (v *NullableBatchJobIn) UnmarshalJSON(src []byte) error
func (*NullableBatchJobIn) Unset ¶
func (v *NullableBatchJobIn) Unset()
type NullableBatchJobOut ¶
type NullableBatchJobOut struct {
// contains filtered or unexported fields
}
func NewNullableBatchJobOut ¶
func NewNullableBatchJobOut(val *BatchJobOut) *NullableBatchJobOut
func (NullableBatchJobOut) Get ¶
func (v NullableBatchJobOut) Get() *BatchJobOut
func (NullableBatchJobOut) IsSet ¶
func (v NullableBatchJobOut) IsSet() bool
func (NullableBatchJobOut) MarshalJSON ¶
func (v NullableBatchJobOut) MarshalJSON() ([]byte, error)
func (*NullableBatchJobOut) Set ¶
func (v *NullableBatchJobOut) Set(val *BatchJobOut)
func (*NullableBatchJobOut) UnmarshalJSON ¶
func (v *NullableBatchJobOut) UnmarshalJSON(src []byte) error
func (*NullableBatchJobOut) Unset ¶
func (v *NullableBatchJobOut) Unset()
type NullableBatchJobStatus ¶
type NullableBatchJobStatus struct {
// contains filtered or unexported fields
}
func NewNullableBatchJobStatus ¶
func NewNullableBatchJobStatus(val *BatchJobStatus) *NullableBatchJobStatus
func (NullableBatchJobStatus) Get ¶
func (v NullableBatchJobStatus) Get() *BatchJobStatus
func (NullableBatchJobStatus) IsSet ¶
func (v NullableBatchJobStatus) IsSet() bool
func (NullableBatchJobStatus) MarshalJSON ¶
func (v NullableBatchJobStatus) MarshalJSON() ([]byte, error)
func (*NullableBatchJobStatus) Set ¶
func (v *NullableBatchJobStatus) Set(val *BatchJobStatus)
func (*NullableBatchJobStatus) UnmarshalJSON ¶
func (v *NullableBatchJobStatus) UnmarshalJSON(src []byte) error
func (*NullableBatchJobStatus) Unset ¶
func (v *NullableBatchJobStatus) Unset()
type NullableBatchJobsOut ¶
type NullableBatchJobsOut struct {
// contains filtered or unexported fields
}
func NewNullableBatchJobsOut ¶
func NewNullableBatchJobsOut(val *BatchJobsOut) *NullableBatchJobsOut
func (NullableBatchJobsOut) Get ¶
func (v NullableBatchJobsOut) Get() *BatchJobsOut
func (NullableBatchJobsOut) IsSet ¶
func (v NullableBatchJobsOut) IsSet() bool
func (NullableBatchJobsOut) MarshalJSON ¶
func (v NullableBatchJobsOut) MarshalJSON() ([]byte, error)
func (*NullableBatchJobsOut) Set ¶
func (v *NullableBatchJobsOut) Set(val *BatchJobsOut)
func (*NullableBatchJobsOut) UnmarshalJSON ¶
func (v *NullableBatchJobsOut) UnmarshalJSON(src []byte) error
func (*NullableBatchJobsOut) Unset ¶
func (v *NullableBatchJobsOut) Unset()
type NullableBatchRequest ¶ added in v0.15.0
type NullableBatchRequest struct {
// contains filtered or unexported fields
}
func NewNullableBatchRequest ¶ added in v0.15.0
func NewNullableBatchRequest(val *BatchRequest) *NullableBatchRequest
func (NullableBatchRequest) Get ¶ added in v0.15.0
func (v NullableBatchRequest) Get() *BatchRequest
func (NullableBatchRequest) IsSet ¶ added in v0.15.0
func (v NullableBatchRequest) IsSet() bool
func (NullableBatchRequest) MarshalJSON ¶ added in v0.15.0
func (v NullableBatchRequest) MarshalJSON() ([]byte, error)
func (*NullableBatchRequest) Set ¶ added in v0.15.0
func (v *NullableBatchRequest) Set(val *BatchRequest)
func (*NullableBatchRequest) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableBatchRequest) UnmarshalJSON(src []byte) error
func (*NullableBatchRequest) Unset ¶ added in v0.15.0
func (v *NullableBatchRequest) 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 NullableBuiltInConnectors ¶
type NullableBuiltInConnectors struct {
// contains filtered or unexported fields
}
func NewNullableBuiltInConnectors ¶
func NewNullableBuiltInConnectors(val *BuiltInConnectors) *NullableBuiltInConnectors
func (NullableBuiltInConnectors) Get ¶
func (v NullableBuiltInConnectors) Get() *BuiltInConnectors
func (NullableBuiltInConnectors) IsSet ¶
func (v NullableBuiltInConnectors) IsSet() bool
func (NullableBuiltInConnectors) MarshalJSON ¶
func (v NullableBuiltInConnectors) MarshalJSON() ([]byte, error)
func (*NullableBuiltInConnectors) Set ¶
func (v *NullableBuiltInConnectors) Set(val *BuiltInConnectors)
func (*NullableBuiltInConnectors) UnmarshalJSON ¶
func (v *NullableBuiltInConnectors) UnmarshalJSON(src []byte) error
func (*NullableBuiltInConnectors) Unset ¶
func (v *NullableBuiltInConnectors) Unset()
type NullableChatClassificationRequest ¶
type NullableChatClassificationRequest struct {
// contains filtered or unexported fields
}
func NewNullableChatClassificationRequest ¶
func NewNullableChatClassificationRequest(val *ChatClassificationRequest) *NullableChatClassificationRequest
func (NullableChatClassificationRequest) Get ¶
func (v NullableChatClassificationRequest) Get() *ChatClassificationRequest
func (NullableChatClassificationRequest) IsSet ¶
func (v NullableChatClassificationRequest) IsSet() bool
func (NullableChatClassificationRequest) MarshalJSON ¶
func (v NullableChatClassificationRequest) MarshalJSON() ([]byte, error)
func (*NullableChatClassificationRequest) Set ¶
func (v *NullableChatClassificationRequest) Set(val *ChatClassificationRequest)
func (*NullableChatClassificationRequest) UnmarshalJSON ¶
func (v *NullableChatClassificationRequest) UnmarshalJSON(src []byte) error
func (*NullableChatClassificationRequest) Unset ¶
func (v *NullableChatClassificationRequest) Unset()
type NullableChatClassificationRequestInputs ¶
type NullableChatClassificationRequestInputs struct {
// contains filtered or unexported fields
}
func NewNullableChatClassificationRequestInputs ¶
func NewNullableChatClassificationRequestInputs(val *ChatClassificationRequestInputs) *NullableChatClassificationRequestInputs
func (NullableChatClassificationRequestInputs) IsSet ¶
func (v NullableChatClassificationRequestInputs) IsSet() bool
func (NullableChatClassificationRequestInputs) MarshalJSON ¶
func (v NullableChatClassificationRequestInputs) MarshalJSON() ([]byte, error)
func (*NullableChatClassificationRequestInputs) Set ¶
func (v *NullableChatClassificationRequestInputs) Set(val *ChatClassificationRequestInputs)
func (*NullableChatClassificationRequestInputs) UnmarshalJSON ¶
func (v *NullableChatClassificationRequestInputs) UnmarshalJSON(src []byte) error
func (*NullableChatClassificationRequestInputs) Unset ¶
func (v *NullableChatClassificationRequestInputs) Unset()
type NullableChatCompletionChoice ¶
type NullableChatCompletionChoice struct {
// contains filtered or unexported fields
}
func NewNullableChatCompletionChoice ¶
func NewNullableChatCompletionChoice(val *ChatCompletionChoice) *NullableChatCompletionChoice
func (NullableChatCompletionChoice) Get ¶
func (v NullableChatCompletionChoice) Get() *ChatCompletionChoice
func (NullableChatCompletionChoice) IsSet ¶
func (v NullableChatCompletionChoice) IsSet() bool
func (NullableChatCompletionChoice) MarshalJSON ¶
func (v NullableChatCompletionChoice) MarshalJSON() ([]byte, error)
func (*NullableChatCompletionChoice) Set ¶
func (v *NullableChatCompletionChoice) Set(val *ChatCompletionChoice)
func (*NullableChatCompletionChoice) UnmarshalJSON ¶
func (v *NullableChatCompletionChoice) UnmarshalJSON(src []byte) error
func (*NullableChatCompletionChoice) Unset ¶
func (v *NullableChatCompletionChoice) Unset()
type NullableChatCompletionRequest ¶
type NullableChatCompletionRequest struct {
// contains filtered or unexported fields
}
func NewNullableChatCompletionRequest ¶
func NewNullableChatCompletionRequest(val *ChatCompletionRequest) *NullableChatCompletionRequest
func (NullableChatCompletionRequest) Get ¶
func (v NullableChatCompletionRequest) Get() *ChatCompletionRequest
func (NullableChatCompletionRequest) IsSet ¶
func (v NullableChatCompletionRequest) IsSet() bool
func (NullableChatCompletionRequest) MarshalJSON ¶
func (v NullableChatCompletionRequest) MarshalJSON() ([]byte, error)
func (*NullableChatCompletionRequest) Set ¶
func (v *NullableChatCompletionRequest) Set(val *ChatCompletionRequest)
func (*NullableChatCompletionRequest) UnmarshalJSON ¶
func (v *NullableChatCompletionRequest) UnmarshalJSON(src []byte) error
func (*NullableChatCompletionRequest) Unset ¶
func (v *NullableChatCompletionRequest) Unset()
type NullableChatCompletionResponse ¶
type NullableChatCompletionResponse struct {
// contains filtered or unexported fields
}
func NewNullableChatCompletionResponse ¶
func NewNullableChatCompletionResponse(val *ChatCompletionResponse) *NullableChatCompletionResponse
func (NullableChatCompletionResponse) Get ¶
func (v NullableChatCompletionResponse) Get() *ChatCompletionResponse
func (NullableChatCompletionResponse) IsSet ¶
func (v NullableChatCompletionResponse) IsSet() bool
func (NullableChatCompletionResponse) MarshalJSON ¶
func (v NullableChatCompletionResponse) MarshalJSON() ([]byte, error)
func (*NullableChatCompletionResponse) Set ¶
func (v *NullableChatCompletionResponse) Set(val *ChatCompletionResponse)
func (*NullableChatCompletionResponse) UnmarshalJSON ¶
func (v *NullableChatCompletionResponse) UnmarshalJSON(src []byte) error
func (*NullableChatCompletionResponse) Unset ¶
func (v *NullableChatCompletionResponse) Unset()
type NullableChatCompletionResponseBase ¶
type NullableChatCompletionResponseBase struct {
// contains filtered or unexported fields
}
func NewNullableChatCompletionResponseBase ¶
func NewNullableChatCompletionResponseBase(val *ChatCompletionResponseBase) *NullableChatCompletionResponseBase
func (NullableChatCompletionResponseBase) Get ¶
func (v NullableChatCompletionResponseBase) Get() *ChatCompletionResponseBase
func (NullableChatCompletionResponseBase) IsSet ¶
func (v NullableChatCompletionResponseBase) IsSet() bool
func (NullableChatCompletionResponseBase) MarshalJSON ¶
func (v NullableChatCompletionResponseBase) MarshalJSON() ([]byte, error)
func (*NullableChatCompletionResponseBase) Set ¶
func (v *NullableChatCompletionResponseBase) Set(val *ChatCompletionResponseBase)
func (*NullableChatCompletionResponseBase) UnmarshalJSON ¶
func (v *NullableChatCompletionResponseBase) UnmarshalJSON(src []byte) error
func (*NullableChatCompletionResponseBase) Unset ¶
func (v *NullableChatCompletionResponseBase) Unset()
type NullableChatModerationRequest ¶
type NullableChatModerationRequest struct {
// contains filtered or unexported fields
}
func NewNullableChatModerationRequest ¶
func NewNullableChatModerationRequest(val *ChatModerationRequest) *NullableChatModerationRequest
func (NullableChatModerationRequest) Get ¶
func (v NullableChatModerationRequest) Get() *ChatModerationRequest
func (NullableChatModerationRequest) IsSet ¶
func (v NullableChatModerationRequest) IsSet() bool
func (NullableChatModerationRequest) MarshalJSON ¶
func (v NullableChatModerationRequest) MarshalJSON() ([]byte, error)
func (*NullableChatModerationRequest) Set ¶
func (v *NullableChatModerationRequest) Set(val *ChatModerationRequest)
func (*NullableChatModerationRequest) UnmarshalJSON ¶
func (v *NullableChatModerationRequest) UnmarshalJSON(src []byte) error
func (*NullableChatModerationRequest) Unset ¶
func (v *NullableChatModerationRequest) Unset()
type NullableCheckpointOut ¶
type NullableCheckpointOut struct {
// contains filtered or unexported fields
}
func NewNullableCheckpointOut ¶
func NewNullableCheckpointOut(val *CheckpointOut) *NullableCheckpointOut
func (NullableCheckpointOut) Get ¶
func (v NullableCheckpointOut) Get() *CheckpointOut
func (NullableCheckpointOut) IsSet ¶
func (v NullableCheckpointOut) IsSet() bool
func (NullableCheckpointOut) MarshalJSON ¶
func (v NullableCheckpointOut) MarshalJSON() ([]byte, error)
func (*NullableCheckpointOut) Set ¶
func (v *NullableCheckpointOut) Set(val *CheckpointOut)
func (*NullableCheckpointOut) UnmarshalJSON ¶
func (v *NullableCheckpointOut) UnmarshalJSON(src []byte) error
func (*NullableCheckpointOut) Unset ¶
func (v *NullableCheckpointOut) Unset()
type NullableClassificationRequest ¶
type NullableClassificationRequest struct {
// contains filtered or unexported fields
}
func NewNullableClassificationRequest ¶
func NewNullableClassificationRequest(val *ClassificationRequest) *NullableClassificationRequest
func (NullableClassificationRequest) Get ¶
func (v NullableClassificationRequest) Get() *ClassificationRequest
func (NullableClassificationRequest) IsSet ¶
func (v NullableClassificationRequest) IsSet() bool
func (NullableClassificationRequest) MarshalJSON ¶
func (v NullableClassificationRequest) MarshalJSON() ([]byte, error)
func (*NullableClassificationRequest) Set ¶
func (v *NullableClassificationRequest) Set(val *ClassificationRequest)
func (*NullableClassificationRequest) UnmarshalJSON ¶
func (v *NullableClassificationRequest) UnmarshalJSON(src []byte) error
func (*NullableClassificationRequest) Unset ¶
func (v *NullableClassificationRequest) Unset()
type NullableClassificationResponse ¶
type NullableClassificationResponse struct {
// contains filtered or unexported fields
}
func NewNullableClassificationResponse ¶
func NewNullableClassificationResponse(val *ClassificationResponse) *NullableClassificationResponse
func (NullableClassificationResponse) Get ¶
func (v NullableClassificationResponse) Get() *ClassificationResponse
func (NullableClassificationResponse) IsSet ¶
func (v NullableClassificationResponse) IsSet() bool
func (NullableClassificationResponse) MarshalJSON ¶
func (v NullableClassificationResponse) MarshalJSON() ([]byte, error)
func (*NullableClassificationResponse) Set ¶
func (v *NullableClassificationResponse) Set(val *ClassificationResponse)
func (*NullableClassificationResponse) UnmarshalJSON ¶
func (v *NullableClassificationResponse) UnmarshalJSON(src []byte) error
func (*NullableClassificationResponse) Unset ¶
func (v *NullableClassificationResponse) Unset()
type NullableClassificationTargetResult ¶
type NullableClassificationTargetResult struct {
// contains filtered or unexported fields
}
func NewNullableClassificationTargetResult ¶
func NewNullableClassificationTargetResult(val *ClassificationTargetResult) *NullableClassificationTargetResult
func (NullableClassificationTargetResult) Get ¶
func (v NullableClassificationTargetResult) Get() *ClassificationTargetResult
func (NullableClassificationTargetResult) IsSet ¶
func (v NullableClassificationTargetResult) IsSet() bool
func (NullableClassificationTargetResult) MarshalJSON ¶
func (v NullableClassificationTargetResult) MarshalJSON() ([]byte, error)
func (*NullableClassificationTargetResult) Set ¶
func (v *NullableClassificationTargetResult) Set(val *ClassificationTargetResult)
func (*NullableClassificationTargetResult) UnmarshalJSON ¶
func (v *NullableClassificationTargetResult) UnmarshalJSON(src []byte) error
func (*NullableClassificationTargetResult) Unset ¶
func (v *NullableClassificationTargetResult) Unset()
type NullableClassifierDetailedJobOut ¶
type NullableClassifierDetailedJobOut struct {
// contains filtered or unexported fields
}
func NewNullableClassifierDetailedJobOut ¶
func NewNullableClassifierDetailedJobOut(val *ClassifierDetailedJobOut) *NullableClassifierDetailedJobOut
func (NullableClassifierDetailedJobOut) Get ¶
func (v NullableClassifierDetailedJobOut) Get() *ClassifierDetailedJobOut
func (NullableClassifierDetailedJobOut) IsSet ¶
func (v NullableClassifierDetailedJobOut) IsSet() bool
func (NullableClassifierDetailedJobOut) MarshalJSON ¶
func (v NullableClassifierDetailedJobOut) MarshalJSON() ([]byte, error)
func (*NullableClassifierDetailedJobOut) Set ¶
func (v *NullableClassifierDetailedJobOut) Set(val *ClassifierDetailedJobOut)
func (*NullableClassifierDetailedJobOut) UnmarshalJSON ¶
func (v *NullableClassifierDetailedJobOut) UnmarshalJSON(src []byte) error
func (*NullableClassifierDetailedJobOut) Unset ¶
func (v *NullableClassifierDetailedJobOut) Unset()
type NullableClassifierFTModelOut ¶
type NullableClassifierFTModelOut struct {
// contains filtered or unexported fields
}
func NewNullableClassifierFTModelOut ¶
func NewNullableClassifierFTModelOut(val *ClassifierFTModelOut) *NullableClassifierFTModelOut
func (NullableClassifierFTModelOut) Get ¶
func (v NullableClassifierFTModelOut) Get() *ClassifierFTModelOut
func (NullableClassifierFTModelOut) IsSet ¶
func (v NullableClassifierFTModelOut) IsSet() bool
func (NullableClassifierFTModelOut) MarshalJSON ¶
func (v NullableClassifierFTModelOut) MarshalJSON() ([]byte, error)
func (*NullableClassifierFTModelOut) Set ¶
func (v *NullableClassifierFTModelOut) Set(val *ClassifierFTModelOut)
func (*NullableClassifierFTModelOut) UnmarshalJSON ¶
func (v *NullableClassifierFTModelOut) UnmarshalJSON(src []byte) error
func (*NullableClassifierFTModelOut) Unset ¶
func (v *NullableClassifierFTModelOut) Unset()
type NullableClassifierJobOut ¶
type NullableClassifierJobOut struct {
// contains filtered or unexported fields
}
func NewNullableClassifierJobOut ¶
func NewNullableClassifierJobOut(val *ClassifierJobOut) *NullableClassifierJobOut
func (NullableClassifierJobOut) Get ¶
func (v NullableClassifierJobOut) Get() *ClassifierJobOut
func (NullableClassifierJobOut) IsSet ¶
func (v NullableClassifierJobOut) IsSet() bool
func (NullableClassifierJobOut) MarshalJSON ¶
func (v NullableClassifierJobOut) MarshalJSON() ([]byte, error)
func (*NullableClassifierJobOut) Set ¶
func (v *NullableClassifierJobOut) Set(val *ClassifierJobOut)
func (*NullableClassifierJobOut) UnmarshalJSON ¶
func (v *NullableClassifierJobOut) UnmarshalJSON(src []byte) error
func (*NullableClassifierJobOut) Unset ¶
func (v *NullableClassifierJobOut) Unset()
type NullableClassifierTargetIn ¶
type NullableClassifierTargetIn struct {
// contains filtered or unexported fields
}
func NewNullableClassifierTargetIn ¶
func NewNullableClassifierTargetIn(val *ClassifierTargetIn) *NullableClassifierTargetIn
func (NullableClassifierTargetIn) Get ¶
func (v NullableClassifierTargetIn) Get() *ClassifierTargetIn
func (NullableClassifierTargetIn) IsSet ¶
func (v NullableClassifierTargetIn) IsSet() bool
func (NullableClassifierTargetIn) MarshalJSON ¶
func (v NullableClassifierTargetIn) MarshalJSON() ([]byte, error)
func (*NullableClassifierTargetIn) Set ¶
func (v *NullableClassifierTargetIn) Set(val *ClassifierTargetIn)
func (*NullableClassifierTargetIn) UnmarshalJSON ¶
func (v *NullableClassifierTargetIn) UnmarshalJSON(src []byte) error
func (*NullableClassifierTargetIn) Unset ¶
func (v *NullableClassifierTargetIn) Unset()
type NullableClassifierTargetOut ¶
type NullableClassifierTargetOut struct {
// contains filtered or unexported fields
}
func NewNullableClassifierTargetOut ¶
func NewNullableClassifierTargetOut(val *ClassifierTargetOut) *NullableClassifierTargetOut
func (NullableClassifierTargetOut) Get ¶
func (v NullableClassifierTargetOut) Get() *ClassifierTargetOut
func (NullableClassifierTargetOut) IsSet ¶
func (v NullableClassifierTargetOut) IsSet() bool
func (NullableClassifierTargetOut) MarshalJSON ¶
func (v NullableClassifierTargetOut) MarshalJSON() ([]byte, error)
func (*NullableClassifierTargetOut) Set ¶
func (v *NullableClassifierTargetOut) Set(val *ClassifierTargetOut)
func (*NullableClassifierTargetOut) UnmarshalJSON ¶
func (v *NullableClassifierTargetOut) UnmarshalJSON(src []byte) error
func (*NullableClassifierTargetOut) Unset ¶
func (v *NullableClassifierTargetOut) Unset()
type NullableClassifierTrainingParameters ¶
type NullableClassifierTrainingParameters struct {
// contains filtered or unexported fields
}
func NewNullableClassifierTrainingParameters ¶
func NewNullableClassifierTrainingParameters(val *ClassifierTrainingParameters) *NullableClassifierTrainingParameters
func (NullableClassifierTrainingParameters) Get ¶
func (v NullableClassifierTrainingParameters) Get() *ClassifierTrainingParameters
func (NullableClassifierTrainingParameters) IsSet ¶
func (v NullableClassifierTrainingParameters) IsSet() bool
func (NullableClassifierTrainingParameters) MarshalJSON ¶
func (v NullableClassifierTrainingParameters) MarshalJSON() ([]byte, error)
func (*NullableClassifierTrainingParameters) Set ¶
func (v *NullableClassifierTrainingParameters) Set(val *ClassifierTrainingParameters)
func (*NullableClassifierTrainingParameters) UnmarshalJSON ¶
func (v *NullableClassifierTrainingParameters) UnmarshalJSON(src []byte) error
func (*NullableClassifierTrainingParameters) Unset ¶
func (v *NullableClassifierTrainingParameters) Unset()
type NullableClassifierTrainingParametersIn ¶
type NullableClassifierTrainingParametersIn struct {
// contains filtered or unexported fields
}
func NewNullableClassifierTrainingParametersIn ¶
func NewNullableClassifierTrainingParametersIn(val *ClassifierTrainingParametersIn) *NullableClassifierTrainingParametersIn
func (NullableClassifierTrainingParametersIn) Get ¶
func (v NullableClassifierTrainingParametersIn) Get() *ClassifierTrainingParametersIn
func (NullableClassifierTrainingParametersIn) IsSet ¶
func (v NullableClassifierTrainingParametersIn) IsSet() bool
func (NullableClassifierTrainingParametersIn) MarshalJSON ¶
func (v NullableClassifierTrainingParametersIn) MarshalJSON() ([]byte, error)
func (*NullableClassifierTrainingParametersIn) Set ¶
func (v *NullableClassifierTrainingParametersIn) Set(val *ClassifierTrainingParametersIn)
func (*NullableClassifierTrainingParametersIn) UnmarshalJSON ¶
func (v *NullableClassifierTrainingParametersIn) UnmarshalJSON(src []byte) error
func (*NullableClassifierTrainingParametersIn) Unset ¶
func (v *NullableClassifierTrainingParametersIn) Unset()
type NullableCodeInterpreterTool ¶
type NullableCodeInterpreterTool struct {
// contains filtered or unexported fields
}
func NewNullableCodeInterpreterTool ¶
func NewNullableCodeInterpreterTool(val *CodeInterpreterTool) *NullableCodeInterpreterTool
func (NullableCodeInterpreterTool) Get ¶
func (v NullableCodeInterpreterTool) Get() *CodeInterpreterTool
func (NullableCodeInterpreterTool) IsSet ¶
func (v NullableCodeInterpreterTool) IsSet() bool
func (NullableCodeInterpreterTool) MarshalJSON ¶
func (v NullableCodeInterpreterTool) MarshalJSON() ([]byte, error)
func (*NullableCodeInterpreterTool) Set ¶
func (v *NullableCodeInterpreterTool) Set(val *CodeInterpreterTool)
func (*NullableCodeInterpreterTool) UnmarshalJSON ¶
func (v *NullableCodeInterpreterTool) UnmarshalJSON(src []byte) error
func (*NullableCodeInterpreterTool) Unset ¶
func (v *NullableCodeInterpreterTool) Unset()
type NullableCompletionArgs ¶
type NullableCompletionArgs struct {
// contains filtered or unexported fields
}
func NewNullableCompletionArgs ¶
func NewNullableCompletionArgs(val *CompletionArgs) *NullableCompletionArgs
func (NullableCompletionArgs) Get ¶
func (v NullableCompletionArgs) Get() *CompletionArgs
func (NullableCompletionArgs) IsSet ¶
func (v NullableCompletionArgs) IsSet() bool
func (NullableCompletionArgs) MarshalJSON ¶
func (v NullableCompletionArgs) MarshalJSON() ([]byte, error)
func (*NullableCompletionArgs) Set ¶
func (v *NullableCompletionArgs) Set(val *CompletionArgs)
func (*NullableCompletionArgs) UnmarshalJSON ¶
func (v *NullableCompletionArgs) UnmarshalJSON(src []byte) error
func (*NullableCompletionArgs) Unset ¶
func (v *NullableCompletionArgs) Unset()
type NullableCompletionArgsStop ¶
type NullableCompletionArgsStop struct {
// contains filtered or unexported fields
}
func NewNullableCompletionArgsStop ¶
func NewNullableCompletionArgsStop(val *CompletionArgsStop) *NullableCompletionArgsStop
func (NullableCompletionArgsStop) Get ¶
func (v NullableCompletionArgsStop) Get() *CompletionArgsStop
func (NullableCompletionArgsStop) IsSet ¶
func (v NullableCompletionArgsStop) IsSet() bool
func (NullableCompletionArgsStop) MarshalJSON ¶
func (v NullableCompletionArgsStop) MarshalJSON() ([]byte, error)
func (*NullableCompletionArgsStop) Set ¶
func (v *NullableCompletionArgsStop) Set(val *CompletionArgsStop)
func (*NullableCompletionArgsStop) UnmarshalJSON ¶
func (v *NullableCompletionArgsStop) UnmarshalJSON(src []byte) error
func (*NullableCompletionArgsStop) Unset ¶
func (v *NullableCompletionArgsStop) Unset()
type NullableCompletionChunk ¶
type NullableCompletionChunk struct {
// contains filtered or unexported fields
}
func NewNullableCompletionChunk ¶
func NewNullableCompletionChunk(val *CompletionChunk) *NullableCompletionChunk
func (NullableCompletionChunk) Get ¶
func (v NullableCompletionChunk) Get() *CompletionChunk
func (NullableCompletionChunk) IsSet ¶
func (v NullableCompletionChunk) IsSet() bool
func (NullableCompletionChunk) MarshalJSON ¶
func (v NullableCompletionChunk) MarshalJSON() ([]byte, error)
func (*NullableCompletionChunk) Set ¶
func (v *NullableCompletionChunk) Set(val *CompletionChunk)
func (*NullableCompletionChunk) UnmarshalJSON ¶
func (v *NullableCompletionChunk) UnmarshalJSON(src []byte) error
func (*NullableCompletionChunk) Unset ¶
func (v *NullableCompletionChunk) Unset()
type NullableCompletionDetailedJobOut ¶
type NullableCompletionDetailedJobOut struct {
// contains filtered or unexported fields
}
func NewNullableCompletionDetailedJobOut ¶
func NewNullableCompletionDetailedJobOut(val *CompletionDetailedJobOut) *NullableCompletionDetailedJobOut
func (NullableCompletionDetailedJobOut) Get ¶
func (v NullableCompletionDetailedJobOut) Get() *CompletionDetailedJobOut
func (NullableCompletionDetailedJobOut) IsSet ¶
func (v NullableCompletionDetailedJobOut) IsSet() bool
func (NullableCompletionDetailedJobOut) MarshalJSON ¶
func (v NullableCompletionDetailedJobOut) MarshalJSON() ([]byte, error)
func (*NullableCompletionDetailedJobOut) Set ¶
func (v *NullableCompletionDetailedJobOut) Set(val *CompletionDetailedJobOut)
func (*NullableCompletionDetailedJobOut) UnmarshalJSON ¶
func (v *NullableCompletionDetailedJobOut) UnmarshalJSON(src []byte) error
func (*NullableCompletionDetailedJobOut) Unset ¶
func (v *NullableCompletionDetailedJobOut) Unset()
type NullableCompletionEvent ¶
type NullableCompletionEvent struct {
// contains filtered or unexported fields
}
func NewNullableCompletionEvent ¶
func NewNullableCompletionEvent(val *CompletionEvent) *NullableCompletionEvent
func (NullableCompletionEvent) Get ¶
func (v NullableCompletionEvent) Get() *CompletionEvent
func (NullableCompletionEvent) IsSet ¶
func (v NullableCompletionEvent) IsSet() bool
func (NullableCompletionEvent) MarshalJSON ¶
func (v NullableCompletionEvent) MarshalJSON() ([]byte, error)
func (*NullableCompletionEvent) Set ¶
func (v *NullableCompletionEvent) Set(val *CompletionEvent)
func (*NullableCompletionEvent) UnmarshalJSON ¶
func (v *NullableCompletionEvent) UnmarshalJSON(src []byte) error
func (*NullableCompletionEvent) Unset ¶
func (v *NullableCompletionEvent) Unset()
type NullableCompletionFTModelOut ¶
type NullableCompletionFTModelOut struct {
// contains filtered or unexported fields
}
func NewNullableCompletionFTModelOut ¶
func NewNullableCompletionFTModelOut(val *CompletionFTModelOut) *NullableCompletionFTModelOut
func (NullableCompletionFTModelOut) Get ¶
func (v NullableCompletionFTModelOut) Get() *CompletionFTModelOut
func (NullableCompletionFTModelOut) IsSet ¶
func (v NullableCompletionFTModelOut) IsSet() bool
func (NullableCompletionFTModelOut) MarshalJSON ¶
func (v NullableCompletionFTModelOut) MarshalJSON() ([]byte, error)
func (*NullableCompletionFTModelOut) Set ¶
func (v *NullableCompletionFTModelOut) Set(val *CompletionFTModelOut)
func (*NullableCompletionFTModelOut) UnmarshalJSON ¶
func (v *NullableCompletionFTModelOut) UnmarshalJSON(src []byte) error
func (*NullableCompletionFTModelOut) Unset ¶
func (v *NullableCompletionFTModelOut) Unset()
type NullableCompletionJobOut ¶
type NullableCompletionJobOut struct {
// contains filtered or unexported fields
}
func NewNullableCompletionJobOut ¶
func NewNullableCompletionJobOut(val *CompletionJobOut) *NullableCompletionJobOut
func (NullableCompletionJobOut) Get ¶
func (v NullableCompletionJobOut) Get() *CompletionJobOut
func (NullableCompletionJobOut) IsSet ¶
func (v NullableCompletionJobOut) IsSet() bool
func (NullableCompletionJobOut) MarshalJSON ¶
func (v NullableCompletionJobOut) MarshalJSON() ([]byte, error)
func (*NullableCompletionJobOut) Set ¶
func (v *NullableCompletionJobOut) Set(val *CompletionJobOut)
func (*NullableCompletionJobOut) UnmarshalJSON ¶
func (v *NullableCompletionJobOut) UnmarshalJSON(src []byte) error
func (*NullableCompletionJobOut) Unset ¶
func (v *NullableCompletionJobOut) Unset()
type NullableCompletionResponseStreamChoice ¶
type NullableCompletionResponseStreamChoice struct {
// contains filtered or unexported fields
}
func NewNullableCompletionResponseStreamChoice ¶
func NewNullableCompletionResponseStreamChoice(val *CompletionResponseStreamChoice) *NullableCompletionResponseStreamChoice
func (NullableCompletionResponseStreamChoice) Get ¶
func (v NullableCompletionResponseStreamChoice) Get() *CompletionResponseStreamChoice
func (NullableCompletionResponseStreamChoice) IsSet ¶
func (v NullableCompletionResponseStreamChoice) IsSet() bool
func (NullableCompletionResponseStreamChoice) MarshalJSON ¶
func (v NullableCompletionResponseStreamChoice) MarshalJSON() ([]byte, error)
func (*NullableCompletionResponseStreamChoice) Set ¶
func (v *NullableCompletionResponseStreamChoice) Set(val *CompletionResponseStreamChoice)
func (*NullableCompletionResponseStreamChoice) UnmarshalJSON ¶
func (v *NullableCompletionResponseStreamChoice) UnmarshalJSON(src []byte) error
func (*NullableCompletionResponseStreamChoice) Unset ¶
func (v *NullableCompletionResponseStreamChoice) Unset()
type NullableCompletionTrainingParameters ¶
type NullableCompletionTrainingParameters struct {
// contains filtered or unexported fields
}
func NewNullableCompletionTrainingParameters ¶
func NewNullableCompletionTrainingParameters(val *CompletionTrainingParameters) *NullableCompletionTrainingParameters
func (NullableCompletionTrainingParameters) Get ¶
func (v NullableCompletionTrainingParameters) Get() *CompletionTrainingParameters
func (NullableCompletionTrainingParameters) IsSet ¶
func (v NullableCompletionTrainingParameters) IsSet() bool
func (NullableCompletionTrainingParameters) MarshalJSON ¶
func (v NullableCompletionTrainingParameters) MarshalJSON() ([]byte, error)
func (*NullableCompletionTrainingParameters) Set ¶
func (v *NullableCompletionTrainingParameters) Set(val *CompletionTrainingParameters)
func (*NullableCompletionTrainingParameters) UnmarshalJSON ¶
func (v *NullableCompletionTrainingParameters) UnmarshalJSON(src []byte) error
func (*NullableCompletionTrainingParameters) Unset ¶
func (v *NullableCompletionTrainingParameters) Unset()
type NullableCompletionTrainingParametersIn ¶
type NullableCompletionTrainingParametersIn struct {
// contains filtered or unexported fields
}
func NewNullableCompletionTrainingParametersIn ¶
func NewNullableCompletionTrainingParametersIn(val *CompletionTrainingParametersIn) *NullableCompletionTrainingParametersIn
func (NullableCompletionTrainingParametersIn) Get ¶
func (v NullableCompletionTrainingParametersIn) Get() *CompletionTrainingParametersIn
func (NullableCompletionTrainingParametersIn) IsSet ¶
func (v NullableCompletionTrainingParametersIn) IsSet() bool
func (NullableCompletionTrainingParametersIn) MarshalJSON ¶
func (v NullableCompletionTrainingParametersIn) MarshalJSON() ([]byte, error)
func (*NullableCompletionTrainingParametersIn) Set ¶
func (v *NullableCompletionTrainingParametersIn) Set(val *CompletionTrainingParametersIn)
func (*NullableCompletionTrainingParametersIn) UnmarshalJSON ¶
func (v *NullableCompletionTrainingParametersIn) UnmarshalJSON(src []byte) error
func (*NullableCompletionTrainingParametersIn) Unset ¶
func (v *NullableCompletionTrainingParametersIn) Unset()
type NullableContent ¶
type NullableContent struct {
// contains filtered or unexported fields
}
func NewNullableContent ¶
func NewNullableContent(val *Content) *NullableContent
func (NullableContent) Get ¶
func (v NullableContent) Get() *Content
func (NullableContent) IsSet ¶
func (v NullableContent) IsSet() bool
func (NullableContent) MarshalJSON ¶
func (v NullableContent) MarshalJSON() ([]byte, error)
func (*NullableContent) Set ¶
func (v *NullableContent) Set(val *Content)
func (*NullableContent) UnmarshalJSON ¶
func (v *NullableContent) UnmarshalJSON(src []byte) error
func (*NullableContent) Unset ¶
func (v *NullableContent) Unset()
type NullableContent1 ¶
type NullableContent1 struct {
// contains filtered or unexported fields
}
func NewNullableContent1 ¶
func NewNullableContent1(val *Content1) *NullableContent1
func (NullableContent1) Get ¶
func (v NullableContent1) Get() *Content1
func (NullableContent1) IsSet ¶
func (v NullableContent1) IsSet() bool
func (NullableContent1) MarshalJSON ¶
func (v NullableContent1) MarshalJSON() ([]byte, error)
func (*NullableContent1) Set ¶
func (v *NullableContent1) Set(val *Content1)
func (*NullableContent1) UnmarshalJSON ¶
func (v *NullableContent1) UnmarshalJSON(src []byte) error
func (*NullableContent1) Unset ¶
func (v *NullableContent1) Unset()
type NullableContent2 ¶
type NullableContent2 struct {
// contains filtered or unexported fields
}
func NewNullableContent2 ¶
func NewNullableContent2(val *Content2) *NullableContent2
func (NullableContent2) Get ¶
func (v NullableContent2) Get() *Content2
func (NullableContent2) IsSet ¶
func (v NullableContent2) IsSet() bool
func (NullableContent2) MarshalJSON ¶
func (v NullableContent2) MarshalJSON() ([]byte, error)
func (*NullableContent2) Set ¶
func (v *NullableContent2) Set(val *Content2)
func (*NullableContent2) UnmarshalJSON ¶
func (v *NullableContent2) UnmarshalJSON(src []byte) error
func (*NullableContent2) Unset ¶
func (v *NullableContent2) Unset()
type NullableContent3 ¶
type NullableContent3 struct {
// contains filtered or unexported fields
}
func NewNullableContent3 ¶
func NewNullableContent3(val *Content3) *NullableContent3
func (NullableContent3) Get ¶
func (v NullableContent3) Get() *Content3
func (NullableContent3) IsSet ¶
func (v NullableContent3) IsSet() bool
func (NullableContent3) MarshalJSON ¶
func (v NullableContent3) MarshalJSON() ([]byte, error)
func (*NullableContent3) Set ¶
func (v *NullableContent3) Set(val *Content3)
func (*NullableContent3) UnmarshalJSON ¶
func (v *NullableContent3) UnmarshalJSON(src []byte) error
func (*NullableContent3) Unset ¶
func (v *NullableContent3) Unset()
type NullableContent4 ¶
type NullableContent4 struct {
// contains filtered or unexported fields
}
func NewNullableContent4 ¶
func NewNullableContent4(val *Content4) *NullableContent4
func (NullableContent4) Get ¶
func (v NullableContent4) Get() *Content4
func (NullableContent4) IsSet ¶
func (v NullableContent4) IsSet() bool
func (NullableContent4) MarshalJSON ¶
func (v NullableContent4) MarshalJSON() ([]byte, error)
func (*NullableContent4) Set ¶
func (v *NullableContent4) Set(val *Content4)
func (*NullableContent4) UnmarshalJSON ¶
func (v *NullableContent4) UnmarshalJSON(src []byte) error
func (*NullableContent4) Unset ¶
func (v *NullableContent4) Unset()
type NullableContentChunk ¶
type NullableContentChunk struct {
// contains filtered or unexported fields
}
func NewNullableContentChunk ¶
func NewNullableContentChunk(val *ContentChunk) *NullableContentChunk
func (NullableContentChunk) Get ¶
func (v NullableContentChunk) Get() *ContentChunk
func (NullableContentChunk) IsSet ¶
func (v NullableContentChunk) IsSet() bool
func (NullableContentChunk) MarshalJSON ¶
func (v NullableContentChunk) MarshalJSON() ([]byte, error)
func (*NullableContentChunk) Set ¶
func (v *NullableContentChunk) Set(val *ContentChunk)
func (*NullableContentChunk) UnmarshalJSON ¶
func (v *NullableContentChunk) UnmarshalJSON(src []byte) error
func (*NullableContentChunk) Unset ¶
func (v *NullableContentChunk) Unset()
type NullableConversationAppendRequest ¶
type NullableConversationAppendRequest struct {
// contains filtered or unexported fields
}
func NewNullableConversationAppendRequest ¶
func NewNullableConversationAppendRequest(val *ConversationAppendRequest) *NullableConversationAppendRequest
func (NullableConversationAppendRequest) Get ¶
func (v NullableConversationAppendRequest) Get() *ConversationAppendRequest
func (NullableConversationAppendRequest) IsSet ¶
func (v NullableConversationAppendRequest) IsSet() bool
func (NullableConversationAppendRequest) MarshalJSON ¶
func (v NullableConversationAppendRequest) MarshalJSON() ([]byte, error)
func (*NullableConversationAppendRequest) Set ¶
func (v *NullableConversationAppendRequest) Set(val *ConversationAppendRequest)
func (*NullableConversationAppendRequest) UnmarshalJSON ¶
func (v *NullableConversationAppendRequest) UnmarshalJSON(src []byte) error
func (*NullableConversationAppendRequest) Unset ¶
func (v *NullableConversationAppendRequest) Unset()
type NullableConversationAppendRequestBase ¶
type NullableConversationAppendRequestBase struct {
// contains filtered or unexported fields
}
func NewNullableConversationAppendRequestBase ¶
func NewNullableConversationAppendRequestBase(val *ConversationAppendRequestBase) *NullableConversationAppendRequestBase
func (NullableConversationAppendRequestBase) Get ¶
func (v NullableConversationAppendRequestBase) Get() *ConversationAppendRequestBase
func (NullableConversationAppendRequestBase) IsSet ¶
func (v NullableConversationAppendRequestBase) IsSet() bool
func (NullableConversationAppendRequestBase) MarshalJSON ¶
func (v NullableConversationAppendRequestBase) MarshalJSON() ([]byte, error)
func (*NullableConversationAppendRequestBase) Set ¶
func (v *NullableConversationAppendRequestBase) Set(val *ConversationAppendRequestBase)
func (*NullableConversationAppendRequestBase) UnmarshalJSON ¶
func (v *NullableConversationAppendRequestBase) UnmarshalJSON(src []byte) error
func (*NullableConversationAppendRequestBase) Unset ¶
func (v *NullableConversationAppendRequestBase) Unset()
type NullableConversationAppendStreamRequest ¶
type NullableConversationAppendStreamRequest struct {
// contains filtered or unexported fields
}
func NewNullableConversationAppendStreamRequest ¶
func NewNullableConversationAppendStreamRequest(val *ConversationAppendStreamRequest) *NullableConversationAppendStreamRequest
func (NullableConversationAppendStreamRequest) IsSet ¶
func (v NullableConversationAppendStreamRequest) IsSet() bool
func (NullableConversationAppendStreamRequest) MarshalJSON ¶
func (v NullableConversationAppendStreamRequest) MarshalJSON() ([]byte, error)
func (*NullableConversationAppendStreamRequest) Set ¶
func (v *NullableConversationAppendStreamRequest) Set(val *ConversationAppendStreamRequest)
func (*NullableConversationAppendStreamRequest) UnmarshalJSON ¶
func (v *NullableConversationAppendStreamRequest) UnmarshalJSON(src []byte) error
func (*NullableConversationAppendStreamRequest) Unset ¶
func (v *NullableConversationAppendStreamRequest) Unset()
type NullableConversationEvents ¶
type NullableConversationEvents struct {
// contains filtered or unexported fields
}
func NewNullableConversationEvents ¶
func NewNullableConversationEvents(val *ConversationEvents) *NullableConversationEvents
func (NullableConversationEvents) Get ¶
func (v NullableConversationEvents) Get() *ConversationEvents
func (NullableConversationEvents) IsSet ¶
func (v NullableConversationEvents) IsSet() bool
func (NullableConversationEvents) MarshalJSON ¶
func (v NullableConversationEvents) MarshalJSON() ([]byte, error)
func (*NullableConversationEvents) Set ¶
func (v *NullableConversationEvents) Set(val *ConversationEvents)
func (*NullableConversationEvents) UnmarshalJSON ¶
func (v *NullableConversationEvents) UnmarshalJSON(src []byte) error
func (*NullableConversationEvents) Unset ¶
func (v *NullableConversationEvents) Unset()
type NullableConversationHistory ¶
type NullableConversationHistory struct {
// contains filtered or unexported fields
}
func NewNullableConversationHistory ¶
func NewNullableConversationHistory(val *ConversationHistory) *NullableConversationHistory
func (NullableConversationHistory) Get ¶
func (v NullableConversationHistory) Get() *ConversationHistory
func (NullableConversationHistory) IsSet ¶
func (v NullableConversationHistory) IsSet() bool
func (NullableConversationHistory) MarshalJSON ¶
func (v NullableConversationHistory) MarshalJSON() ([]byte, error)
func (*NullableConversationHistory) Set ¶
func (v *NullableConversationHistory) Set(val *ConversationHistory)
func (*NullableConversationHistory) UnmarshalJSON ¶
func (v *NullableConversationHistory) UnmarshalJSON(src []byte) error
func (*NullableConversationHistory) Unset ¶
func (v *NullableConversationHistory) Unset()
type NullableConversationInputs ¶
type NullableConversationInputs struct {
// contains filtered or unexported fields
}
func NewNullableConversationInputs ¶
func NewNullableConversationInputs(val *ConversationInputs) *NullableConversationInputs
func (NullableConversationInputs) Get ¶
func (v NullableConversationInputs) Get() *ConversationInputs
func (NullableConversationInputs) IsSet ¶
func (v NullableConversationInputs) IsSet() bool
func (NullableConversationInputs) MarshalJSON ¶
func (v NullableConversationInputs) MarshalJSON() ([]byte, error)
func (*NullableConversationInputs) Set ¶
func (v *NullableConversationInputs) Set(val *ConversationInputs)
func (*NullableConversationInputs) UnmarshalJSON ¶
func (v *NullableConversationInputs) UnmarshalJSON(src []byte) error
func (*NullableConversationInputs) Unset ¶
func (v *NullableConversationInputs) Unset()
type NullableConversationMessages ¶
type NullableConversationMessages struct {
// contains filtered or unexported fields
}
func NewNullableConversationMessages ¶
func NewNullableConversationMessages(val *ConversationMessages) *NullableConversationMessages
func (NullableConversationMessages) Get ¶
func (v NullableConversationMessages) Get() *ConversationMessages
func (NullableConversationMessages) IsSet ¶
func (v NullableConversationMessages) IsSet() bool
func (NullableConversationMessages) MarshalJSON ¶
func (v NullableConversationMessages) MarshalJSON() ([]byte, error)
func (*NullableConversationMessages) Set ¶
func (v *NullableConversationMessages) Set(val *ConversationMessages)
func (*NullableConversationMessages) UnmarshalJSON ¶
func (v *NullableConversationMessages) UnmarshalJSON(src []byte) error
func (*NullableConversationMessages) Unset ¶
func (v *NullableConversationMessages) Unset()
type NullableConversationRequest ¶
type NullableConversationRequest struct {
// contains filtered or unexported fields
}
func NewNullableConversationRequest ¶
func NewNullableConversationRequest(val *ConversationRequest) *NullableConversationRequest
func (NullableConversationRequest) Get ¶
func (v NullableConversationRequest) Get() *ConversationRequest
func (NullableConversationRequest) IsSet ¶
func (v NullableConversationRequest) IsSet() bool
func (NullableConversationRequest) MarshalJSON ¶
func (v NullableConversationRequest) MarshalJSON() ([]byte, error)
func (*NullableConversationRequest) Set ¶
func (v *NullableConversationRequest) Set(val *ConversationRequest)
func (*NullableConversationRequest) UnmarshalJSON ¶
func (v *NullableConversationRequest) UnmarshalJSON(src []byte) error
func (*NullableConversationRequest) Unset ¶
func (v *NullableConversationRequest) Unset()
type NullableConversationRequestBase ¶
type NullableConversationRequestBase struct {
// contains filtered or unexported fields
}
func NewNullableConversationRequestBase ¶
func NewNullableConversationRequestBase(val *ConversationRequestBase) *NullableConversationRequestBase
func (NullableConversationRequestBase) Get ¶
func (v NullableConversationRequestBase) Get() *ConversationRequestBase
func (NullableConversationRequestBase) IsSet ¶
func (v NullableConversationRequestBase) IsSet() bool
func (NullableConversationRequestBase) MarshalJSON ¶
func (v NullableConversationRequestBase) MarshalJSON() ([]byte, error)
func (*NullableConversationRequestBase) Set ¶
func (v *NullableConversationRequestBase) Set(val *ConversationRequestBase)
func (*NullableConversationRequestBase) UnmarshalJSON ¶
func (v *NullableConversationRequestBase) UnmarshalJSON(src []byte) error
func (*NullableConversationRequestBase) Unset ¶
func (v *NullableConversationRequestBase) Unset()
type NullableConversationResponse ¶
type NullableConversationResponse struct {
// contains filtered or unexported fields
}
func NewNullableConversationResponse ¶
func NewNullableConversationResponse(val *ConversationResponse) *NullableConversationResponse
func (NullableConversationResponse) Get ¶
func (v NullableConversationResponse) Get() *ConversationResponse
func (NullableConversationResponse) IsSet ¶
func (v NullableConversationResponse) IsSet() bool
func (NullableConversationResponse) MarshalJSON ¶
func (v NullableConversationResponse) MarshalJSON() ([]byte, error)
func (*NullableConversationResponse) Set ¶
func (v *NullableConversationResponse) Set(val *ConversationResponse)
func (*NullableConversationResponse) UnmarshalJSON ¶
func (v *NullableConversationResponse) UnmarshalJSON(src []byte) error
func (*NullableConversationResponse) Unset ¶
func (v *NullableConversationResponse) Unset()
type NullableConversationRestartRequest ¶
type NullableConversationRestartRequest struct {
// contains filtered or unexported fields
}
func NewNullableConversationRestartRequest ¶
func NewNullableConversationRestartRequest(val *ConversationRestartRequest) *NullableConversationRestartRequest
func (NullableConversationRestartRequest) Get ¶
func (v NullableConversationRestartRequest) Get() *ConversationRestartRequest
func (NullableConversationRestartRequest) IsSet ¶
func (v NullableConversationRestartRequest) IsSet() bool
func (NullableConversationRestartRequest) MarshalJSON ¶
func (v NullableConversationRestartRequest) MarshalJSON() ([]byte, error)
func (*NullableConversationRestartRequest) Set ¶
func (v *NullableConversationRestartRequest) Set(val *ConversationRestartRequest)
func (*NullableConversationRestartRequest) UnmarshalJSON ¶
func (v *NullableConversationRestartRequest) UnmarshalJSON(src []byte) error
func (*NullableConversationRestartRequest) Unset ¶
func (v *NullableConversationRestartRequest) Unset()
type NullableConversationRestartRequestBase ¶
type NullableConversationRestartRequestBase struct {
// contains filtered or unexported fields
}
func NewNullableConversationRestartRequestBase ¶
func NewNullableConversationRestartRequestBase(val *ConversationRestartRequestBase) *NullableConversationRestartRequestBase
func (NullableConversationRestartRequestBase) Get ¶
func (v NullableConversationRestartRequestBase) Get() *ConversationRestartRequestBase
func (NullableConversationRestartRequestBase) IsSet ¶
func (v NullableConversationRestartRequestBase) IsSet() bool
func (NullableConversationRestartRequestBase) MarshalJSON ¶
func (v NullableConversationRestartRequestBase) MarshalJSON() ([]byte, error)
func (*NullableConversationRestartRequestBase) Set ¶
func (v *NullableConversationRestartRequestBase) Set(val *ConversationRestartRequestBase)
func (*NullableConversationRestartRequestBase) UnmarshalJSON ¶
func (v *NullableConversationRestartRequestBase) UnmarshalJSON(src []byte) error
func (*NullableConversationRestartRequestBase) Unset ¶
func (v *NullableConversationRestartRequestBase) Unset()
type NullableConversationRestartStreamRequest ¶
type NullableConversationRestartStreamRequest struct {
// contains filtered or unexported fields
}
func NewNullableConversationRestartStreamRequest ¶
func NewNullableConversationRestartStreamRequest(val *ConversationRestartStreamRequest) *NullableConversationRestartStreamRequest
func (NullableConversationRestartStreamRequest) IsSet ¶
func (v NullableConversationRestartStreamRequest) IsSet() bool
func (NullableConversationRestartStreamRequest) MarshalJSON ¶
func (v NullableConversationRestartStreamRequest) MarshalJSON() ([]byte, error)
func (*NullableConversationRestartStreamRequest) Set ¶
func (v *NullableConversationRestartStreamRequest) Set(val *ConversationRestartStreamRequest)
func (*NullableConversationRestartStreamRequest) UnmarshalJSON ¶
func (v *NullableConversationRestartStreamRequest) UnmarshalJSON(src []byte) error
func (*NullableConversationRestartStreamRequest) Unset ¶
func (v *NullableConversationRestartStreamRequest) Unset()
type NullableConversationStreamRequest ¶
type NullableConversationStreamRequest struct {
// contains filtered or unexported fields
}
func NewNullableConversationStreamRequest ¶
func NewNullableConversationStreamRequest(val *ConversationStreamRequest) *NullableConversationStreamRequest
func (NullableConversationStreamRequest) Get ¶
func (v NullableConversationStreamRequest) Get() *ConversationStreamRequest
func (NullableConversationStreamRequest) IsSet ¶
func (v NullableConversationStreamRequest) IsSet() bool
func (NullableConversationStreamRequest) MarshalJSON ¶
func (v NullableConversationStreamRequest) MarshalJSON() ([]byte, error)
func (*NullableConversationStreamRequest) Set ¶
func (v *NullableConversationStreamRequest) Set(val *ConversationStreamRequest)
func (*NullableConversationStreamRequest) UnmarshalJSON ¶
func (v *NullableConversationStreamRequest) UnmarshalJSON(src []byte) error
func (*NullableConversationStreamRequest) Unset ¶
func (v *NullableConversationStreamRequest) Unset()
type NullableConversationUsageInfo ¶
type NullableConversationUsageInfo struct {
// contains filtered or unexported fields
}
func NewNullableConversationUsageInfo ¶
func NewNullableConversationUsageInfo(val *ConversationUsageInfo) *NullableConversationUsageInfo
func (NullableConversationUsageInfo) Get ¶
func (v NullableConversationUsageInfo) Get() *ConversationUsageInfo
func (NullableConversationUsageInfo) IsSet ¶
func (v NullableConversationUsageInfo) IsSet() bool
func (NullableConversationUsageInfo) MarshalJSON ¶
func (v NullableConversationUsageInfo) MarshalJSON() ([]byte, error)
func (*NullableConversationUsageInfo) Set ¶
func (v *NullableConversationUsageInfo) Set(val *ConversationUsageInfo)
func (*NullableConversationUsageInfo) UnmarshalJSON ¶
func (v *NullableConversationUsageInfo) UnmarshalJSON(src []byte) error
func (*NullableConversationUsageInfo) Unset ¶
func (v *NullableConversationUsageInfo) Unset()
type NullableData ¶
type NullableData struct {
// contains filtered or unexported fields
}
func NewNullableData ¶
func NewNullableData(val *Data) *NullableData
func (NullableData) Get ¶
func (v NullableData) Get() *Data
func (NullableData) IsSet ¶
func (v NullableData) IsSet() bool
func (NullableData) MarshalJSON ¶
func (v NullableData) MarshalJSON() ([]byte, error)
func (*NullableData) Set ¶
func (v *NullableData) Set(val *Data)
func (*NullableData) UnmarshalJSON ¶
func (v *NullableData) UnmarshalJSON(src []byte) error
func (*NullableData) Unset ¶
func (v *NullableData) Unset()
type NullableData1 ¶ added in v0.15.0
type NullableData1 struct {
// contains filtered or unexported fields
}
func NewNullableData1 ¶ added in v0.15.0
func NewNullableData1(val *Data1) *NullableData1
func (NullableData1) Get ¶ added in v0.15.0
func (v NullableData1) Get() *Data1
func (NullableData1) IsSet ¶ added in v0.15.0
func (v NullableData1) IsSet() bool
func (NullableData1) MarshalJSON ¶ added in v0.15.0
func (v NullableData1) MarshalJSON() ([]byte, error)
func (*NullableData1) Set ¶ added in v0.15.0
func (v *NullableData1) Set(val *Data1)
func (*NullableData1) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableData1) UnmarshalJSON(src []byte) error
func (*NullableData1) Unset ¶ added in v0.15.0
func (v *NullableData1) Unset()
type NullableDataInner ¶ added in v0.15.0
type NullableDataInner struct {
// contains filtered or unexported fields
}
func NewNullableDataInner ¶ added in v0.15.0
func NewNullableDataInner(val *DataInner) *NullableDataInner
func (NullableDataInner) Get ¶ added in v0.15.0
func (v NullableDataInner) Get() *DataInner
func (NullableDataInner) IsSet ¶ added in v0.15.0
func (v NullableDataInner) IsSet() bool
func (NullableDataInner) MarshalJSON ¶ added in v0.15.0
func (v NullableDataInner) MarshalJSON() ([]byte, error)
func (*NullableDataInner) Set ¶ added in v0.15.0
func (v *NullableDataInner) Set(val *DataInner)
func (*NullableDataInner) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableDataInner) UnmarshalJSON(src []byte) error
func (*NullableDataInner) Unset ¶ added in v0.15.0
func (v *NullableDataInner) Unset()
type NullableDeleteFileOut ¶
type NullableDeleteFileOut struct {
// contains filtered or unexported fields
}
func NewNullableDeleteFileOut ¶
func NewNullableDeleteFileOut(val *DeleteFileOut) *NullableDeleteFileOut
func (NullableDeleteFileOut) Get ¶
func (v NullableDeleteFileOut) Get() *DeleteFileOut
func (NullableDeleteFileOut) IsSet ¶
func (v NullableDeleteFileOut) IsSet() bool
func (NullableDeleteFileOut) MarshalJSON ¶
func (v NullableDeleteFileOut) MarshalJSON() ([]byte, error)
func (*NullableDeleteFileOut) Set ¶
func (v *NullableDeleteFileOut) Set(val *DeleteFileOut)
func (*NullableDeleteFileOut) UnmarshalJSON ¶
func (v *NullableDeleteFileOut) UnmarshalJSON(src []byte) error
func (*NullableDeleteFileOut) Unset ¶
func (v *NullableDeleteFileOut) Unset()
type NullableDeleteModelOut ¶
type NullableDeleteModelOut struct {
// contains filtered or unexported fields
}
func NewNullableDeleteModelOut ¶
func NewNullableDeleteModelOut(val *DeleteModelOut) *NullableDeleteModelOut
func (NullableDeleteModelOut) Get ¶
func (v NullableDeleteModelOut) Get() *DeleteModelOut
func (NullableDeleteModelOut) IsSet ¶
func (v NullableDeleteModelOut) IsSet() bool
func (NullableDeleteModelOut) MarshalJSON ¶
func (v NullableDeleteModelOut) MarshalJSON() ([]byte, error)
func (*NullableDeleteModelOut) Set ¶
func (v *NullableDeleteModelOut) Set(val *DeleteModelOut)
func (*NullableDeleteModelOut) UnmarshalJSON ¶
func (v *NullableDeleteModelOut) UnmarshalJSON(src []byte) error
func (*NullableDeleteModelOut) Unset ¶
func (v *NullableDeleteModelOut) Unset()
type NullableDeltaMessage ¶
type NullableDeltaMessage struct {
// contains filtered or unexported fields
}
func NewNullableDeltaMessage ¶
func NewNullableDeltaMessage(val *DeltaMessage) *NullableDeltaMessage
func (NullableDeltaMessage) Get ¶
func (v NullableDeltaMessage) Get() *DeltaMessage
func (NullableDeltaMessage) IsSet ¶
func (v NullableDeltaMessage) IsSet() bool
func (NullableDeltaMessage) MarshalJSON ¶
func (v NullableDeltaMessage) MarshalJSON() ([]byte, error)
func (*NullableDeltaMessage) Set ¶
func (v *NullableDeltaMessage) Set(val *DeltaMessage)
func (*NullableDeltaMessage) UnmarshalJSON ¶
func (v *NullableDeltaMessage) UnmarshalJSON(src []byte) error
func (*NullableDeltaMessage) Unset ¶
func (v *NullableDeltaMessage) Unset()
type NullableDeltaMessageContent ¶
type NullableDeltaMessageContent struct {
// contains filtered or unexported fields
}
func NewNullableDeltaMessageContent ¶
func NewNullableDeltaMessageContent(val *DeltaMessageContent) *NullableDeltaMessageContent
func (NullableDeltaMessageContent) Get ¶
func (v NullableDeltaMessageContent) Get() *DeltaMessageContent
func (NullableDeltaMessageContent) IsSet ¶
func (v NullableDeltaMessageContent) IsSet() bool
func (NullableDeltaMessageContent) MarshalJSON ¶
func (v NullableDeltaMessageContent) MarshalJSON() ([]byte, error)
func (*NullableDeltaMessageContent) Set ¶
func (v *NullableDeltaMessageContent) Set(val *DeltaMessageContent)
func (*NullableDeltaMessageContent) UnmarshalJSON ¶
func (v *NullableDeltaMessageContent) UnmarshalJSON(src []byte) error
func (*NullableDeltaMessageContent) Unset ¶
func (v *NullableDeltaMessageContent) Unset()
type NullableDocument ¶
type NullableDocument struct {
// contains filtered or unexported fields
}
func NewNullableDocument ¶
func NewNullableDocument(val *Document) *NullableDocument
func (NullableDocument) Get ¶
func (v NullableDocument) Get() *Document
func (NullableDocument) IsSet ¶
func (v NullableDocument) IsSet() bool
func (NullableDocument) MarshalJSON ¶
func (v NullableDocument) MarshalJSON() ([]byte, error)
func (*NullableDocument) Set ¶
func (v *NullableDocument) Set(val *Document)
func (*NullableDocument) UnmarshalJSON ¶
func (v *NullableDocument) UnmarshalJSON(src []byte) error
func (*NullableDocument) Unset ¶
func (v *NullableDocument) Unset()
type NullableDocumentLibraryTool ¶
type NullableDocumentLibraryTool struct {
// contains filtered or unexported fields
}
func NewNullableDocumentLibraryTool ¶
func NewNullableDocumentLibraryTool(val *DocumentLibraryTool) *NullableDocumentLibraryTool
func (NullableDocumentLibraryTool) Get ¶
func (v NullableDocumentLibraryTool) Get() *DocumentLibraryTool
func (NullableDocumentLibraryTool) IsSet ¶
func (v NullableDocumentLibraryTool) IsSet() bool
func (NullableDocumentLibraryTool) MarshalJSON ¶
func (v NullableDocumentLibraryTool) MarshalJSON() ([]byte, error)
func (*NullableDocumentLibraryTool) Set ¶
func (v *NullableDocumentLibraryTool) Set(val *DocumentLibraryTool)
func (*NullableDocumentLibraryTool) UnmarshalJSON ¶
func (v *NullableDocumentLibraryTool) UnmarshalJSON(src []byte) error
func (*NullableDocumentLibraryTool) Unset ¶
func (v *NullableDocumentLibraryTool) Unset()
type NullableDocumentOut ¶ added in v0.6.0
type NullableDocumentOut struct {
// contains filtered or unexported fields
}
func NewNullableDocumentOut ¶ added in v0.6.0
func NewNullableDocumentOut(val *DocumentOut) *NullableDocumentOut
func (NullableDocumentOut) Get ¶ added in v0.6.0
func (v NullableDocumentOut) Get() *DocumentOut
func (NullableDocumentOut) IsSet ¶ added in v0.6.0
func (v NullableDocumentOut) IsSet() bool
func (NullableDocumentOut) MarshalJSON ¶ added in v0.6.0
func (v NullableDocumentOut) MarshalJSON() ([]byte, error)
func (*NullableDocumentOut) Set ¶ added in v0.6.0
func (v *NullableDocumentOut) Set(val *DocumentOut)
func (*NullableDocumentOut) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableDocumentOut) UnmarshalJSON(src []byte) error
func (*NullableDocumentOut) Unset ¶ added in v0.6.0
func (v *NullableDocumentOut) Unset()
type NullableDocumentTextContent ¶ added in v0.6.0
type NullableDocumentTextContent struct {
// contains filtered or unexported fields
}
func NewNullableDocumentTextContent ¶ added in v0.6.0
func NewNullableDocumentTextContent(val *DocumentTextContent) *NullableDocumentTextContent
func (NullableDocumentTextContent) Get ¶ added in v0.6.0
func (v NullableDocumentTextContent) Get() *DocumentTextContent
func (NullableDocumentTextContent) IsSet ¶ added in v0.6.0
func (v NullableDocumentTextContent) IsSet() bool
func (NullableDocumentTextContent) MarshalJSON ¶ added in v0.6.0
func (v NullableDocumentTextContent) MarshalJSON() ([]byte, error)
func (*NullableDocumentTextContent) Set ¶ added in v0.6.0
func (v *NullableDocumentTextContent) Set(val *DocumentTextContent)
func (*NullableDocumentTextContent) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableDocumentTextContent) UnmarshalJSON(src []byte) error
func (*NullableDocumentTextContent) Unset ¶ added in v0.6.0
func (v *NullableDocumentTextContent) Unset()
type NullableDocumentURLChunk ¶
type NullableDocumentURLChunk struct {
// contains filtered or unexported fields
}
func NewNullableDocumentURLChunk ¶
func NewNullableDocumentURLChunk(val *DocumentURLChunk) *NullableDocumentURLChunk
func (NullableDocumentURLChunk) Get ¶
func (v NullableDocumentURLChunk) Get() *DocumentURLChunk
func (NullableDocumentURLChunk) IsSet ¶
func (v NullableDocumentURLChunk) IsSet() bool
func (NullableDocumentURLChunk) MarshalJSON ¶
func (v NullableDocumentURLChunk) MarshalJSON() ([]byte, error)
func (*NullableDocumentURLChunk) Set ¶
func (v *NullableDocumentURLChunk) Set(val *DocumentURLChunk)
func (*NullableDocumentURLChunk) UnmarshalJSON ¶
func (v *NullableDocumentURLChunk) UnmarshalJSON(src []byte) error
func (*NullableDocumentURLChunk) Unset ¶
func (v *NullableDocumentURLChunk) Unset()
type NullableDocumentUpdateIn ¶ added in v0.6.0
type NullableDocumentUpdateIn struct {
// contains filtered or unexported fields
}
func NewNullableDocumentUpdateIn ¶ added in v0.6.0
func NewNullableDocumentUpdateIn(val *DocumentUpdateIn) *NullableDocumentUpdateIn
func (NullableDocumentUpdateIn) Get ¶ added in v0.6.0
func (v NullableDocumentUpdateIn) Get() *DocumentUpdateIn
func (NullableDocumentUpdateIn) IsSet ¶ added in v0.6.0
func (v NullableDocumentUpdateIn) IsSet() bool
func (NullableDocumentUpdateIn) MarshalJSON ¶ added in v0.6.0
func (v NullableDocumentUpdateIn) MarshalJSON() ([]byte, error)
func (*NullableDocumentUpdateIn) Set ¶ added in v0.6.0
func (v *NullableDocumentUpdateIn) Set(val *DocumentUpdateIn)
func (*NullableDocumentUpdateIn) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableDocumentUpdateIn) UnmarshalJSON(src []byte) error
func (*NullableDocumentUpdateIn) Unset ¶ added in v0.6.0
func (v *NullableDocumentUpdateIn) Unset()
type NullableDocumentUpdateInAttributesValue ¶ added in v0.15.0
type NullableDocumentUpdateInAttributesValue struct {
// contains filtered or unexported fields
}
func NewNullableDocumentUpdateInAttributesValue ¶ added in v0.15.0
func NewNullableDocumentUpdateInAttributesValue(val *DocumentUpdateInAttributesValue) *NullableDocumentUpdateInAttributesValue
func (NullableDocumentUpdateInAttributesValue) IsSet ¶ added in v0.15.0
func (v NullableDocumentUpdateInAttributesValue) IsSet() bool
func (NullableDocumentUpdateInAttributesValue) MarshalJSON ¶ added in v0.15.0
func (v NullableDocumentUpdateInAttributesValue) MarshalJSON() ([]byte, error)
func (*NullableDocumentUpdateInAttributesValue) Set ¶ added in v0.15.0
func (v *NullableDocumentUpdateInAttributesValue) Set(val *DocumentUpdateInAttributesValue)
func (*NullableDocumentUpdateInAttributesValue) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableDocumentUpdateInAttributesValue) UnmarshalJSON(src []byte) error
func (*NullableDocumentUpdateInAttributesValue) Unset ¶ added in v0.15.0
func (v *NullableDocumentUpdateInAttributesValue) Unset()
type NullableEmbeddingDtype ¶
type NullableEmbeddingDtype struct {
// contains filtered or unexported fields
}
func NewNullableEmbeddingDtype ¶
func NewNullableEmbeddingDtype(val *EmbeddingDtype) *NullableEmbeddingDtype
func (NullableEmbeddingDtype) Get ¶
func (v NullableEmbeddingDtype) Get() *EmbeddingDtype
func (NullableEmbeddingDtype) IsSet ¶
func (v NullableEmbeddingDtype) IsSet() bool
func (NullableEmbeddingDtype) MarshalJSON ¶
func (v NullableEmbeddingDtype) MarshalJSON() ([]byte, error)
func (*NullableEmbeddingDtype) Set ¶
func (v *NullableEmbeddingDtype) Set(val *EmbeddingDtype)
func (*NullableEmbeddingDtype) UnmarshalJSON ¶
func (v *NullableEmbeddingDtype) UnmarshalJSON(src []byte) error
func (*NullableEmbeddingDtype) Unset ¶
func (v *NullableEmbeddingDtype) Unset()
type NullableEmbeddingRequest ¶
type NullableEmbeddingRequest struct {
// contains filtered or unexported fields
}
func NewNullableEmbeddingRequest ¶
func NewNullableEmbeddingRequest(val *EmbeddingRequest) *NullableEmbeddingRequest
func (NullableEmbeddingRequest) Get ¶
func (v NullableEmbeddingRequest) Get() *EmbeddingRequest
func (NullableEmbeddingRequest) IsSet ¶
func (v NullableEmbeddingRequest) IsSet() bool
func (NullableEmbeddingRequest) MarshalJSON ¶
func (v NullableEmbeddingRequest) MarshalJSON() ([]byte, error)
func (*NullableEmbeddingRequest) Set ¶
func (v *NullableEmbeddingRequest) Set(val *EmbeddingRequest)
func (*NullableEmbeddingRequest) UnmarshalJSON ¶
func (v *NullableEmbeddingRequest) UnmarshalJSON(src []byte) error
func (*NullableEmbeddingRequest) Unset ¶
func (v *NullableEmbeddingRequest) Unset()
type NullableEmbeddingResponse ¶
type NullableEmbeddingResponse struct {
// contains filtered or unexported fields
}
func NewNullableEmbeddingResponse ¶
func NewNullableEmbeddingResponse(val *EmbeddingResponse) *NullableEmbeddingResponse
func (NullableEmbeddingResponse) Get ¶
func (v NullableEmbeddingResponse) Get() *EmbeddingResponse
func (NullableEmbeddingResponse) IsSet ¶
func (v NullableEmbeddingResponse) IsSet() bool
func (NullableEmbeddingResponse) MarshalJSON ¶
func (v NullableEmbeddingResponse) MarshalJSON() ([]byte, error)
func (*NullableEmbeddingResponse) Set ¶
func (v *NullableEmbeddingResponse) Set(val *EmbeddingResponse)
func (*NullableEmbeddingResponse) UnmarshalJSON ¶
func (v *NullableEmbeddingResponse) UnmarshalJSON(src []byte) error
func (*NullableEmbeddingResponse) Unset ¶
func (v *NullableEmbeddingResponse) Unset()
type NullableEmbeddingResponseData ¶
type NullableEmbeddingResponseData struct {
// contains filtered or unexported fields
}
func NewNullableEmbeddingResponseData ¶
func NewNullableEmbeddingResponseData(val *EmbeddingResponseData) *NullableEmbeddingResponseData
func (NullableEmbeddingResponseData) Get ¶
func (v NullableEmbeddingResponseData) Get() *EmbeddingResponseData
func (NullableEmbeddingResponseData) IsSet ¶
func (v NullableEmbeddingResponseData) IsSet() bool
func (NullableEmbeddingResponseData) MarshalJSON ¶
func (v NullableEmbeddingResponseData) MarshalJSON() ([]byte, error)
func (*NullableEmbeddingResponseData) Set ¶
func (v *NullableEmbeddingResponseData) Set(val *EmbeddingResponseData)
func (*NullableEmbeddingResponseData) UnmarshalJSON ¶
func (v *NullableEmbeddingResponseData) UnmarshalJSON(src []byte) error
func (*NullableEmbeddingResponseData) Unset ¶
func (v *NullableEmbeddingResponseData) Unset()
type NullableEncodingFormat ¶ added in v0.15.0
type NullableEncodingFormat struct {
// contains filtered or unexported fields
}
func NewNullableEncodingFormat ¶ added in v0.15.0
func NewNullableEncodingFormat(val *EncodingFormat) *NullableEncodingFormat
func (NullableEncodingFormat) Get ¶ added in v0.15.0
func (v NullableEncodingFormat) Get() *EncodingFormat
func (NullableEncodingFormat) IsSet ¶ added in v0.15.0
func (v NullableEncodingFormat) IsSet() bool
func (NullableEncodingFormat) MarshalJSON ¶ added in v0.15.0
func (v NullableEncodingFormat) MarshalJSON() ([]byte, error)
func (*NullableEncodingFormat) Set ¶ added in v0.15.0
func (v *NullableEncodingFormat) Set(val *EncodingFormat)
func (*NullableEncodingFormat) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableEncodingFormat) UnmarshalJSON(src []byte) error
func (*NullableEncodingFormat) Unset ¶ added in v0.15.0
func (v *NullableEncodingFormat) Unset()
type NullableEntityType ¶ added in v0.6.0
type NullableEntityType struct {
// contains filtered or unexported fields
}
func NewNullableEntityType ¶ added in v0.6.0
func NewNullableEntityType(val *EntityType) *NullableEntityType
func (NullableEntityType) Get ¶ added in v0.6.0
func (v NullableEntityType) Get() *EntityType
func (NullableEntityType) IsSet ¶ added in v0.6.0
func (v NullableEntityType) IsSet() bool
func (NullableEntityType) MarshalJSON ¶ added in v0.6.0
func (v NullableEntityType) MarshalJSON() ([]byte, error)
func (*NullableEntityType) Set ¶ added in v0.6.0
func (v *NullableEntityType) Set(val *EntityType)
func (*NullableEntityType) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableEntityType) UnmarshalJSON(src []byte) error
func (*NullableEntityType) Unset ¶ added in v0.6.0
func (v *NullableEntityType) Unset()
type NullableEntriesInner ¶ added in v0.15.0
type NullableEntriesInner struct {
// contains filtered or unexported fields
}
func NewNullableEntriesInner ¶ added in v0.15.0
func NewNullableEntriesInner(val *EntriesInner) *NullableEntriesInner
func (NullableEntriesInner) Get ¶ added in v0.15.0
func (v NullableEntriesInner) Get() *EntriesInner
func (NullableEntriesInner) IsSet ¶ added in v0.15.0
func (v NullableEntriesInner) IsSet() bool
func (NullableEntriesInner) MarshalJSON ¶ added in v0.15.0
func (v NullableEntriesInner) MarshalJSON() ([]byte, error)
func (*NullableEntriesInner) Set ¶ added in v0.15.0
func (v *NullableEntriesInner) Set(val *EntriesInner)
func (*NullableEntriesInner) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableEntriesInner) UnmarshalJSON(src []byte) error
func (*NullableEntriesInner) Unset ¶ added in v0.15.0
func (v *NullableEntriesInner) Unset()
type NullableEventOut ¶
type NullableEventOut struct {
// contains filtered or unexported fields
}
func NewNullableEventOut ¶
func NewNullableEventOut(val *EventOut) *NullableEventOut
func (NullableEventOut) Get ¶
func (v NullableEventOut) Get() *EventOut
func (NullableEventOut) IsSet ¶
func (v NullableEventOut) IsSet() bool
func (NullableEventOut) MarshalJSON ¶
func (v NullableEventOut) MarshalJSON() ([]byte, error)
func (*NullableEventOut) Set ¶
func (v *NullableEventOut) Set(val *EventOut)
func (*NullableEventOut) UnmarshalJSON ¶
func (v *NullableEventOut) UnmarshalJSON(src []byte) error
func (*NullableEventOut) Unset ¶
func (v *NullableEventOut) Unset()
type NullableFIMCompletionRequest ¶
type NullableFIMCompletionRequest struct {
// contains filtered or unexported fields
}
func NewNullableFIMCompletionRequest ¶
func NewNullableFIMCompletionRequest(val *FIMCompletionRequest) *NullableFIMCompletionRequest
func (NullableFIMCompletionRequest) Get ¶
func (v NullableFIMCompletionRequest) Get() *FIMCompletionRequest
func (NullableFIMCompletionRequest) IsSet ¶
func (v NullableFIMCompletionRequest) IsSet() bool
func (NullableFIMCompletionRequest) MarshalJSON ¶
func (v NullableFIMCompletionRequest) MarshalJSON() ([]byte, error)
func (*NullableFIMCompletionRequest) Set ¶
func (v *NullableFIMCompletionRequest) Set(val *FIMCompletionRequest)
func (*NullableFIMCompletionRequest) UnmarshalJSON ¶
func (v *NullableFIMCompletionRequest) UnmarshalJSON(src []byte) error
func (*NullableFIMCompletionRequest) Unset ¶
func (v *NullableFIMCompletionRequest) Unset()
type NullableFIMCompletionResponse ¶
type NullableFIMCompletionResponse struct {
// contains filtered or unexported fields
}
func NewNullableFIMCompletionResponse ¶
func NewNullableFIMCompletionResponse(val *FIMCompletionResponse) *NullableFIMCompletionResponse
func (NullableFIMCompletionResponse) Get ¶
func (v NullableFIMCompletionResponse) Get() *FIMCompletionResponse
func (NullableFIMCompletionResponse) IsSet ¶
func (v NullableFIMCompletionResponse) IsSet() bool
func (NullableFIMCompletionResponse) MarshalJSON ¶
func (v NullableFIMCompletionResponse) MarshalJSON() ([]byte, error)
func (*NullableFIMCompletionResponse) Set ¶
func (v *NullableFIMCompletionResponse) Set(val *FIMCompletionResponse)
func (*NullableFIMCompletionResponse) UnmarshalJSON ¶
func (v *NullableFIMCompletionResponse) UnmarshalJSON(src []byte) error
func (*NullableFIMCompletionResponse) Unset ¶
func (v *NullableFIMCompletionResponse) Unset()
type NullableFTClassifierLossFunction ¶
type NullableFTClassifierLossFunction struct {
// contains filtered or unexported fields
}
func NewNullableFTClassifierLossFunction ¶
func NewNullableFTClassifierLossFunction(val *FTClassifierLossFunction) *NullableFTClassifierLossFunction
func (NullableFTClassifierLossFunction) Get ¶
func (v NullableFTClassifierLossFunction) Get() *FTClassifierLossFunction
func (NullableFTClassifierLossFunction) IsSet ¶
func (v NullableFTClassifierLossFunction) IsSet() bool
func (NullableFTClassifierLossFunction) MarshalJSON ¶
func (v NullableFTClassifierLossFunction) MarshalJSON() ([]byte, error)
func (*NullableFTClassifierLossFunction) Set ¶
func (v *NullableFTClassifierLossFunction) Set(val *FTClassifierLossFunction)
func (*NullableFTClassifierLossFunction) UnmarshalJSON ¶
func (v *NullableFTClassifierLossFunction) UnmarshalJSON(src []byte) error
func (*NullableFTClassifierLossFunction) Unset ¶
func (v *NullableFTClassifierLossFunction) Unset()
type NullableFTModelCapabilitiesOut ¶
type NullableFTModelCapabilitiesOut struct {
// contains filtered or unexported fields
}
func NewNullableFTModelCapabilitiesOut ¶
func NewNullableFTModelCapabilitiesOut(val *FTModelCapabilitiesOut) *NullableFTModelCapabilitiesOut
func (NullableFTModelCapabilitiesOut) Get ¶
func (v NullableFTModelCapabilitiesOut) Get() *FTModelCapabilitiesOut
func (NullableFTModelCapabilitiesOut) IsSet ¶
func (v NullableFTModelCapabilitiesOut) IsSet() bool
func (NullableFTModelCapabilitiesOut) MarshalJSON ¶
func (v NullableFTModelCapabilitiesOut) MarshalJSON() ([]byte, error)
func (*NullableFTModelCapabilitiesOut) Set ¶
func (v *NullableFTModelCapabilitiesOut) Set(val *FTModelCapabilitiesOut)
func (*NullableFTModelCapabilitiesOut) UnmarshalJSON ¶
func (v *NullableFTModelCapabilitiesOut) UnmarshalJSON(src []byte) error
func (*NullableFTModelCapabilitiesOut) Unset ¶
func (v *NullableFTModelCapabilitiesOut) Unset()
type NullableFTModelCard ¶
type NullableFTModelCard struct {
// contains filtered or unexported fields
}
func NewNullableFTModelCard ¶
func NewNullableFTModelCard(val *FTModelCard) *NullableFTModelCard
func (NullableFTModelCard) Get ¶
func (v NullableFTModelCard) Get() *FTModelCard
func (NullableFTModelCard) IsSet ¶
func (v NullableFTModelCard) IsSet() bool
func (NullableFTModelCard) MarshalJSON ¶
func (v NullableFTModelCard) MarshalJSON() ([]byte, error)
func (*NullableFTModelCard) Set ¶
func (v *NullableFTModelCard) Set(val *FTModelCard)
func (*NullableFTModelCard) UnmarshalJSON ¶
func (v *NullableFTModelCard) UnmarshalJSON(src []byte) error
func (*NullableFTModelCard) Unset ¶
func (v *NullableFTModelCard) Unset()
type NullableFileChunk ¶ added in v0.6.0
type NullableFileChunk struct {
// contains filtered or unexported fields
}
func NewNullableFileChunk ¶ added in v0.6.0
func NewNullableFileChunk(val *FileChunk) *NullableFileChunk
func (NullableFileChunk) Get ¶ added in v0.6.0
func (v NullableFileChunk) Get() *FileChunk
func (NullableFileChunk) IsSet ¶ added in v0.6.0
func (v NullableFileChunk) IsSet() bool
func (NullableFileChunk) MarshalJSON ¶ added in v0.6.0
func (v NullableFileChunk) MarshalJSON() ([]byte, error)
func (*NullableFileChunk) Set ¶ added in v0.6.0
func (v *NullableFileChunk) Set(val *FileChunk)
func (*NullableFileChunk) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableFileChunk) UnmarshalJSON(src []byte) error
func (*NullableFileChunk) Unset ¶ added in v0.6.0
func (v *NullableFileChunk) Unset()
type NullableFilePurpose ¶
type NullableFilePurpose struct {
// contains filtered or unexported fields
}
func NewNullableFilePurpose ¶
func NewNullableFilePurpose(val *FilePurpose) *NullableFilePurpose
func (NullableFilePurpose) Get ¶
func (v NullableFilePurpose) Get() *FilePurpose
func (NullableFilePurpose) IsSet ¶
func (v NullableFilePurpose) IsSet() bool
func (NullableFilePurpose) MarshalJSON ¶
func (v NullableFilePurpose) MarshalJSON() ([]byte, error)
func (*NullableFilePurpose) Set ¶
func (v *NullableFilePurpose) Set(val *FilePurpose)
func (*NullableFilePurpose) UnmarshalJSON ¶
func (v *NullableFilePurpose) UnmarshalJSON(src []byte) error
func (*NullableFilePurpose) Unset ¶
func (v *NullableFilePurpose) Unset()
type NullableFileSchema ¶
type NullableFileSchema struct {
// contains filtered or unexported fields
}
func NewNullableFileSchema ¶
func NewNullableFileSchema(val *FileSchema) *NullableFileSchema
func (NullableFileSchema) Get ¶
func (v NullableFileSchema) Get() *FileSchema
func (NullableFileSchema) IsSet ¶
func (v NullableFileSchema) IsSet() bool
func (NullableFileSchema) MarshalJSON ¶
func (v NullableFileSchema) MarshalJSON() ([]byte, error)
func (*NullableFileSchema) Set ¶
func (v *NullableFileSchema) Set(val *FileSchema)
func (*NullableFileSchema) UnmarshalJSON ¶
func (v *NullableFileSchema) UnmarshalJSON(src []byte) error
func (*NullableFileSchema) Unset ¶
func (v *NullableFileSchema) Unset()
type NullableFileSignedURL ¶
type NullableFileSignedURL struct {
// contains filtered or unexported fields
}
func NewNullableFileSignedURL ¶
func NewNullableFileSignedURL(val *FileSignedURL) *NullableFileSignedURL
func (NullableFileSignedURL) Get ¶
func (v NullableFileSignedURL) Get() *FileSignedURL
func (NullableFileSignedURL) IsSet ¶
func (v NullableFileSignedURL) IsSet() bool
func (NullableFileSignedURL) MarshalJSON ¶
func (v NullableFileSignedURL) MarshalJSON() ([]byte, error)
func (*NullableFileSignedURL) Set ¶
func (v *NullableFileSignedURL) Set(val *FileSignedURL)
func (*NullableFileSignedURL) UnmarshalJSON ¶
func (v *NullableFileSignedURL) UnmarshalJSON(src []byte) error
func (*NullableFileSignedURL) Unset ¶
func (v *NullableFileSignedURL) Unset()
type NullableFineTuneableModel ¶
type NullableFineTuneableModel struct {
// contains filtered or unexported fields
}
func NewNullableFineTuneableModel ¶
func NewNullableFineTuneableModel(val *FineTuneableModel) *NullableFineTuneableModel
func (NullableFineTuneableModel) Get ¶
func (v NullableFineTuneableModel) Get() *FineTuneableModel
func (NullableFineTuneableModel) IsSet ¶
func (v NullableFineTuneableModel) IsSet() bool
func (NullableFineTuneableModel) MarshalJSON ¶
func (v NullableFineTuneableModel) MarshalJSON() ([]byte, error)
func (*NullableFineTuneableModel) Set ¶
func (v *NullableFineTuneableModel) Set(val *FineTuneableModel)
func (*NullableFineTuneableModel) UnmarshalJSON ¶
func (v *NullableFineTuneableModel) UnmarshalJSON(src []byte) error
func (*NullableFineTuneableModel) Unset ¶
func (v *NullableFineTuneableModel) Unset()
type NullableFineTuneableModelType ¶
type NullableFineTuneableModelType struct {
// contains filtered or unexported fields
}
func NewNullableFineTuneableModelType ¶
func NewNullableFineTuneableModelType(val *FineTuneableModelType) *NullableFineTuneableModelType
func (NullableFineTuneableModelType) Get ¶
func (v NullableFineTuneableModelType) Get() *FineTuneableModelType
func (NullableFineTuneableModelType) IsSet ¶
func (v NullableFineTuneableModelType) IsSet() bool
func (NullableFineTuneableModelType) MarshalJSON ¶
func (v NullableFineTuneableModelType) MarshalJSON() ([]byte, error)
func (*NullableFineTuneableModelType) Set ¶
func (v *NullableFineTuneableModelType) Set(val *FineTuneableModelType)
func (*NullableFineTuneableModelType) UnmarshalJSON ¶
func (v *NullableFineTuneableModelType) UnmarshalJSON(src []byte) error
func (*NullableFineTuneableModelType) Unset ¶
func (v *NullableFineTuneableModelType) 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 NullableFunction ¶
type NullableFunction struct {
// contains filtered or unexported fields
}
func NewNullableFunction ¶
func NewNullableFunction(val *Function) *NullableFunction
func (NullableFunction) Get ¶
func (v NullableFunction) Get() *Function
func (NullableFunction) IsSet ¶
func (v NullableFunction) IsSet() bool
func (NullableFunction) MarshalJSON ¶
func (v NullableFunction) MarshalJSON() ([]byte, error)
func (*NullableFunction) Set ¶
func (v *NullableFunction) Set(val *Function)
func (*NullableFunction) UnmarshalJSON ¶
func (v *NullableFunction) UnmarshalJSON(src []byte) error
func (*NullableFunction) Unset ¶
func (v *NullableFunction) Unset()
type NullableFunctionCall ¶
type NullableFunctionCall struct {
// contains filtered or unexported fields
}
func NewNullableFunctionCall ¶
func NewNullableFunctionCall(val *FunctionCall) *NullableFunctionCall
func (NullableFunctionCall) Get ¶
func (v NullableFunctionCall) Get() *FunctionCall
func (NullableFunctionCall) IsSet ¶
func (v NullableFunctionCall) IsSet() bool
func (NullableFunctionCall) MarshalJSON ¶
func (v NullableFunctionCall) MarshalJSON() ([]byte, error)
func (*NullableFunctionCall) Set ¶
func (v *NullableFunctionCall) Set(val *FunctionCall)
func (*NullableFunctionCall) UnmarshalJSON ¶
func (v *NullableFunctionCall) UnmarshalJSON(src []byte) error
func (*NullableFunctionCall) Unset ¶
func (v *NullableFunctionCall) Unset()
type NullableFunctionCallEntry ¶
type NullableFunctionCallEntry struct {
// contains filtered or unexported fields
}
func NewNullableFunctionCallEntry ¶
func NewNullableFunctionCallEntry(val *FunctionCallEntry) *NullableFunctionCallEntry
func (NullableFunctionCallEntry) Get ¶
func (v NullableFunctionCallEntry) Get() *FunctionCallEntry
func (NullableFunctionCallEntry) IsSet ¶
func (v NullableFunctionCallEntry) IsSet() bool
func (NullableFunctionCallEntry) MarshalJSON ¶
func (v NullableFunctionCallEntry) MarshalJSON() ([]byte, error)
func (*NullableFunctionCallEntry) Set ¶
func (v *NullableFunctionCallEntry) Set(val *FunctionCallEntry)
func (*NullableFunctionCallEntry) UnmarshalJSON ¶
func (v *NullableFunctionCallEntry) UnmarshalJSON(src []byte) error
func (*NullableFunctionCallEntry) Unset ¶
func (v *NullableFunctionCallEntry) Unset()
type NullableFunctionCallEntryArguments ¶
type NullableFunctionCallEntryArguments struct {
// contains filtered or unexported fields
}
func NewNullableFunctionCallEntryArguments ¶
func NewNullableFunctionCallEntryArguments(val *FunctionCallEntryArguments) *NullableFunctionCallEntryArguments
func (NullableFunctionCallEntryArguments) Get ¶
func (v NullableFunctionCallEntryArguments) Get() *FunctionCallEntryArguments
func (NullableFunctionCallEntryArguments) IsSet ¶
func (v NullableFunctionCallEntryArguments) IsSet() bool
func (NullableFunctionCallEntryArguments) MarshalJSON ¶
func (v NullableFunctionCallEntryArguments) MarshalJSON() ([]byte, error)
func (*NullableFunctionCallEntryArguments) Set ¶
func (v *NullableFunctionCallEntryArguments) Set(val *FunctionCallEntryArguments)
func (*NullableFunctionCallEntryArguments) UnmarshalJSON ¶
func (v *NullableFunctionCallEntryArguments) UnmarshalJSON(src []byte) error
func (*NullableFunctionCallEntryArguments) Unset ¶
func (v *NullableFunctionCallEntryArguments) Unset()
type NullableFunctionCallEvent ¶
type NullableFunctionCallEvent struct {
// contains filtered or unexported fields
}
func NewNullableFunctionCallEvent ¶
func NewNullableFunctionCallEvent(val *FunctionCallEvent) *NullableFunctionCallEvent
func (NullableFunctionCallEvent) Get ¶
func (v NullableFunctionCallEvent) Get() *FunctionCallEvent
func (NullableFunctionCallEvent) IsSet ¶
func (v NullableFunctionCallEvent) IsSet() bool
func (NullableFunctionCallEvent) MarshalJSON ¶
func (v NullableFunctionCallEvent) MarshalJSON() ([]byte, error)
func (*NullableFunctionCallEvent) Set ¶
func (v *NullableFunctionCallEvent) Set(val *FunctionCallEvent)
func (*NullableFunctionCallEvent) UnmarshalJSON ¶
func (v *NullableFunctionCallEvent) UnmarshalJSON(src []byte) error
func (*NullableFunctionCallEvent) Unset ¶
func (v *NullableFunctionCallEvent) Unset()
type NullableFunctionName ¶
type NullableFunctionName struct {
// contains filtered or unexported fields
}
func NewNullableFunctionName ¶
func NewNullableFunctionName(val *FunctionName) *NullableFunctionName
func (NullableFunctionName) Get ¶
func (v NullableFunctionName) Get() *FunctionName
func (NullableFunctionName) IsSet ¶
func (v NullableFunctionName) IsSet() bool
func (NullableFunctionName) MarshalJSON ¶
func (v NullableFunctionName) MarshalJSON() ([]byte, error)
func (*NullableFunctionName) Set ¶
func (v *NullableFunctionName) Set(val *FunctionName)
func (*NullableFunctionName) UnmarshalJSON ¶
func (v *NullableFunctionName) UnmarshalJSON(src []byte) error
func (*NullableFunctionName) Unset ¶
func (v *NullableFunctionName) Unset()
type NullableFunctionResultEntry ¶
type NullableFunctionResultEntry struct {
// contains filtered or unexported fields
}
func NewNullableFunctionResultEntry ¶
func NewNullableFunctionResultEntry(val *FunctionResultEntry) *NullableFunctionResultEntry
func (NullableFunctionResultEntry) Get ¶
func (v NullableFunctionResultEntry) Get() *FunctionResultEntry
func (NullableFunctionResultEntry) IsSet ¶
func (v NullableFunctionResultEntry) IsSet() bool
func (NullableFunctionResultEntry) MarshalJSON ¶
func (v NullableFunctionResultEntry) MarshalJSON() ([]byte, error)
func (*NullableFunctionResultEntry) Set ¶
func (v *NullableFunctionResultEntry) Set(val *FunctionResultEntry)
func (*NullableFunctionResultEntry) UnmarshalJSON ¶
func (v *NullableFunctionResultEntry) UnmarshalJSON(src []byte) error
func (*NullableFunctionResultEntry) Unset ¶
func (v *NullableFunctionResultEntry) Unset()
type NullableFunctionTool ¶
type NullableFunctionTool struct {
// contains filtered or unexported fields
}
func NewNullableFunctionTool ¶
func NewNullableFunctionTool(val *FunctionTool) *NullableFunctionTool
func (NullableFunctionTool) Get ¶
func (v NullableFunctionTool) Get() *FunctionTool
func (NullableFunctionTool) IsSet ¶
func (v NullableFunctionTool) IsSet() bool
func (NullableFunctionTool) MarshalJSON ¶
func (v NullableFunctionTool) MarshalJSON() ([]byte, error)
func (*NullableFunctionTool) Set ¶
func (v *NullableFunctionTool) Set(val *FunctionTool)
func (*NullableFunctionTool) UnmarshalJSON ¶
func (v *NullableFunctionTool) UnmarshalJSON(src []byte) error
func (*NullableFunctionTool) Unset ¶
func (v *NullableFunctionTool) Unset()
type NullableGithubRepositoryIn ¶
type NullableGithubRepositoryIn struct {
// contains filtered or unexported fields
}
func NewNullableGithubRepositoryIn ¶
func NewNullableGithubRepositoryIn(val *GithubRepositoryIn) *NullableGithubRepositoryIn
func (NullableGithubRepositoryIn) Get ¶
func (v NullableGithubRepositoryIn) Get() *GithubRepositoryIn
func (NullableGithubRepositoryIn) IsSet ¶
func (v NullableGithubRepositoryIn) IsSet() bool
func (NullableGithubRepositoryIn) MarshalJSON ¶
func (v NullableGithubRepositoryIn) MarshalJSON() ([]byte, error)
func (*NullableGithubRepositoryIn) Set ¶
func (v *NullableGithubRepositoryIn) Set(val *GithubRepositoryIn)
func (*NullableGithubRepositoryIn) UnmarshalJSON ¶
func (v *NullableGithubRepositoryIn) UnmarshalJSON(src []byte) error
func (*NullableGithubRepositoryIn) Unset ¶
func (v *NullableGithubRepositoryIn) Unset()
type NullableGithubRepositoryOut ¶
type NullableGithubRepositoryOut struct {
// contains filtered or unexported fields
}
func NewNullableGithubRepositoryOut ¶
func NewNullableGithubRepositoryOut(val *GithubRepositoryOut) *NullableGithubRepositoryOut
func (NullableGithubRepositoryOut) Get ¶
func (v NullableGithubRepositoryOut) Get() *GithubRepositoryOut
func (NullableGithubRepositoryOut) IsSet ¶
func (v NullableGithubRepositoryOut) IsSet() bool
func (NullableGithubRepositoryOut) MarshalJSON ¶
func (v NullableGithubRepositoryOut) MarshalJSON() ([]byte, error)
func (*NullableGithubRepositoryOut) Set ¶
func (v *NullableGithubRepositoryOut) Set(val *GithubRepositoryOut)
func (*NullableGithubRepositoryOut) UnmarshalJSON ¶
func (v *NullableGithubRepositoryOut) UnmarshalJSON(src []byte) error
func (*NullableGithubRepositoryOut) Unset ¶
func (v *NullableGithubRepositoryOut) 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 NullableHyperparameters ¶
type NullableHyperparameters struct {
// contains filtered or unexported fields
}
func NewNullableHyperparameters ¶
func NewNullableHyperparameters(val *Hyperparameters) *NullableHyperparameters
func (NullableHyperparameters) Get ¶
func (v NullableHyperparameters) Get() *Hyperparameters
func (NullableHyperparameters) IsSet ¶
func (v NullableHyperparameters) IsSet() bool
func (NullableHyperparameters) MarshalJSON ¶
func (v NullableHyperparameters) MarshalJSON() ([]byte, error)
func (*NullableHyperparameters) Set ¶
func (v *NullableHyperparameters) Set(val *Hyperparameters)
func (*NullableHyperparameters) UnmarshalJSON ¶
func (v *NullableHyperparameters) UnmarshalJSON(src []byte) error
func (*NullableHyperparameters) Unset ¶
func (v *NullableHyperparameters) Unset()
type NullableImageGenerationTool ¶
type NullableImageGenerationTool struct {
// contains filtered or unexported fields
}
func NewNullableImageGenerationTool ¶
func NewNullableImageGenerationTool(val *ImageGenerationTool) *NullableImageGenerationTool
func (NullableImageGenerationTool) Get ¶
func (v NullableImageGenerationTool) Get() *ImageGenerationTool
func (NullableImageGenerationTool) IsSet ¶
func (v NullableImageGenerationTool) IsSet() bool
func (NullableImageGenerationTool) MarshalJSON ¶
func (v NullableImageGenerationTool) MarshalJSON() ([]byte, error)
func (*NullableImageGenerationTool) Set ¶
func (v *NullableImageGenerationTool) Set(val *ImageGenerationTool)
func (*NullableImageGenerationTool) UnmarshalJSON ¶
func (v *NullableImageGenerationTool) UnmarshalJSON(src []byte) error
func (*NullableImageGenerationTool) Unset ¶
func (v *NullableImageGenerationTool) Unset()
type NullableImageURLChunk ¶
type NullableImageURLChunk struct {
// contains filtered or unexported fields
}
func NewNullableImageURLChunk ¶
func NewNullableImageURLChunk(val *ImageURLChunk) *NullableImageURLChunk
func (NullableImageURLChunk) Get ¶
func (v NullableImageURLChunk) Get() *ImageURLChunk
func (NullableImageURLChunk) IsSet ¶
func (v NullableImageURLChunk) IsSet() bool
func (NullableImageURLChunk) MarshalJSON ¶
func (v NullableImageURLChunk) MarshalJSON() ([]byte, error)
func (*NullableImageURLChunk) Set ¶
func (v *NullableImageURLChunk) Set(val *ImageURLChunk)
func (*NullableImageURLChunk) UnmarshalJSON ¶
func (v *NullableImageURLChunk) UnmarshalJSON(src []byte) error
func (*NullableImageURLChunk) Unset ¶
func (v *NullableImageURLChunk) Unset()
type NullableImageURLStruct ¶
type NullableImageURLStruct struct {
// contains filtered or unexported fields
}
func NewNullableImageURLStruct ¶
func NewNullableImageURLStruct(val *ImageURLStruct) *NullableImageURLStruct
func (NullableImageURLStruct) Get ¶
func (v NullableImageURLStruct) Get() *ImageURLStruct
func (NullableImageURLStruct) IsSet ¶
func (v NullableImageURLStruct) IsSet() bool
func (NullableImageURLStruct) MarshalJSON ¶
func (v NullableImageURLStruct) MarshalJSON() ([]byte, error)
func (*NullableImageURLStruct) Set ¶
func (v *NullableImageURLStruct) Set(val *ImageURLStruct)
func (*NullableImageURLStruct) UnmarshalJSON ¶
func (v *NullableImageURLStruct) UnmarshalJSON(src []byte) error
func (*NullableImageURLStruct) Unset ¶
func (v *NullableImageURLStruct) Unset()
type NullableImageUrl ¶
type NullableImageUrl struct {
// contains filtered or unexported fields
}
func NewNullableImageUrl ¶
func NewNullableImageUrl(val *ImageUrl) *NullableImageUrl
func (NullableImageUrl) Get ¶
func (v NullableImageUrl) Get() *ImageUrl
func (NullableImageUrl) IsSet ¶
func (v NullableImageUrl) IsSet() bool
func (NullableImageUrl) MarshalJSON ¶
func (v NullableImageUrl) MarshalJSON() ([]byte, error)
func (*NullableImageUrl) Set ¶
func (v *NullableImageUrl) Set(val *ImageUrl)
func (*NullableImageUrl) UnmarshalJSON ¶
func (v *NullableImageUrl) UnmarshalJSON(src []byte) error
func (*NullableImageUrl) Unset ¶
func (v *NullableImageUrl) Unset()
type NullableInput ¶
type NullableInput struct {
// contains filtered or unexported fields
}
func NewNullableInput ¶
func NewNullableInput(val *Input) *NullableInput
func (NullableInput) Get ¶
func (v NullableInput) Get() *Input
func (NullableInput) IsSet ¶
func (v NullableInput) IsSet() bool
func (NullableInput) MarshalJSON ¶
func (v NullableInput) MarshalJSON() ([]byte, error)
func (*NullableInput) Set ¶
func (v *NullableInput) Set(val *Input)
func (*NullableInput) UnmarshalJSON ¶
func (v *NullableInput) UnmarshalJSON(src []byte) error
func (*NullableInput) Unset ¶
func (v *NullableInput) Unset()
type NullableInput1 ¶
type NullableInput1 struct {
// contains filtered or unexported fields
}
func NewNullableInput1 ¶
func NewNullableInput1(val *Input1) *NullableInput1
func (NullableInput1) Get ¶
func (v NullableInput1) Get() *Input1
func (NullableInput1) IsSet ¶
func (v NullableInput1) IsSet() bool
func (NullableInput1) MarshalJSON ¶
func (v NullableInput1) MarshalJSON() ([]byte, error)
func (*NullableInput1) Set ¶
func (v *NullableInput1) Set(val *Input1)
func (*NullableInput1) UnmarshalJSON ¶
func (v *NullableInput1) UnmarshalJSON(src []byte) error
func (*NullableInput1) Unset ¶
func (v *NullableInput1) Unset()
type NullableInput2 ¶
type NullableInput2 struct {
// contains filtered or unexported fields
}
func NewNullableInput2 ¶
func NewNullableInput2(val *Input2) *NullableInput2
func (NullableInput2) Get ¶
func (v NullableInput2) Get() *Input2
func (NullableInput2) IsSet ¶
func (v NullableInput2) IsSet() bool
func (NullableInput2) MarshalJSON ¶
func (v NullableInput2) MarshalJSON() ([]byte, error)
func (*NullableInput2) Set ¶
func (v *NullableInput2) Set(val *Input2)
func (*NullableInput2) UnmarshalJSON ¶
func (v *NullableInput2) UnmarshalJSON(src []byte) error
func (*NullableInput2) Unset ¶
func (v *NullableInput2) Unset()
type NullableInputAudio ¶ added in v0.15.0
type NullableInputAudio struct {
// contains filtered or unexported fields
}
func NewNullableInputAudio ¶ added in v0.15.0
func NewNullableInputAudio(val *InputAudio) *NullableInputAudio
func (NullableInputAudio) Get ¶ added in v0.15.0
func (v NullableInputAudio) Get() *InputAudio
func (NullableInputAudio) IsSet ¶ added in v0.15.0
func (v NullableInputAudio) IsSet() bool
func (NullableInputAudio) MarshalJSON ¶ added in v0.15.0
func (v NullableInputAudio) MarshalJSON() ([]byte, error)
func (*NullableInputAudio) Set ¶ added in v0.15.0
func (v *NullableInputAudio) Set(val *InputAudio)
func (*NullableInputAudio) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableInputAudio) UnmarshalJSON(src []byte) error
func (*NullableInputAudio) Unset ¶ added in v0.15.0
func (v *NullableInputAudio) Unset()
type NullableInstructRequest ¶
type NullableInstructRequest struct {
// contains filtered or unexported fields
}
func NewNullableInstructRequest ¶
func NewNullableInstructRequest(val *InstructRequest) *NullableInstructRequest
func (NullableInstructRequest) Get ¶
func (v NullableInstructRequest) Get() *InstructRequest
func (NullableInstructRequest) IsSet ¶
func (v NullableInstructRequest) IsSet() bool
func (NullableInstructRequest) MarshalJSON ¶
func (v NullableInstructRequest) MarshalJSON() ([]byte, error)
func (*NullableInstructRequest) Set ¶
func (v *NullableInstructRequest) Set(val *InstructRequest)
func (*NullableInstructRequest) UnmarshalJSON ¶
func (v *NullableInstructRequest) UnmarshalJSON(src []byte) error
func (*NullableInstructRequest) Unset ¶
func (v *NullableInstructRequest) 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 NullableJobIn ¶
type NullableJobIn struct {
// contains filtered or unexported fields
}
func NewNullableJobIn ¶
func NewNullableJobIn(val *JobIn) *NullableJobIn
func (NullableJobIn) Get ¶
func (v NullableJobIn) Get() *JobIn
func (NullableJobIn) IsSet ¶
func (v NullableJobIn) IsSet() bool
func (NullableJobIn) MarshalJSON ¶
func (v NullableJobIn) MarshalJSON() ([]byte, error)
func (*NullableJobIn) Set ¶
func (v *NullableJobIn) Set(val *JobIn)
func (*NullableJobIn) UnmarshalJSON ¶
func (v *NullableJobIn) UnmarshalJSON(src []byte) error
func (*NullableJobIn) Unset ¶
func (v *NullableJobIn) Unset()
type NullableJobMetadataOut ¶
type NullableJobMetadataOut struct {
// contains filtered or unexported fields
}
func NewNullableJobMetadataOut ¶
func NewNullableJobMetadataOut(val *JobMetadataOut) *NullableJobMetadataOut
func (NullableJobMetadataOut) Get ¶
func (v NullableJobMetadataOut) Get() *JobMetadataOut
func (NullableJobMetadataOut) IsSet ¶
func (v NullableJobMetadataOut) IsSet() bool
func (NullableJobMetadataOut) MarshalJSON ¶
func (v NullableJobMetadataOut) MarshalJSON() ([]byte, error)
func (*NullableJobMetadataOut) Set ¶
func (v *NullableJobMetadataOut) Set(val *JobMetadataOut)
func (*NullableJobMetadataOut) UnmarshalJSON ¶
func (v *NullableJobMetadataOut) UnmarshalJSON(src []byte) error
func (*NullableJobMetadataOut) Unset ¶
func (v *NullableJobMetadataOut) Unset()
type NullableJobsOut ¶
type NullableJobsOut struct {
// contains filtered or unexported fields
}
func NewNullableJobsOut ¶
func NewNullableJobsOut(val *JobsOut) *NullableJobsOut
func (NullableJobsOut) Get ¶
func (v NullableJobsOut) Get() *JobsOut
func (NullableJobsOut) IsSet ¶
func (v NullableJobsOut) IsSet() bool
func (NullableJobsOut) MarshalJSON ¶
func (v NullableJobsOut) MarshalJSON() ([]byte, error)
func (*NullableJobsOut) Set ¶
func (v *NullableJobsOut) Set(val *JobsOut)
func (*NullableJobsOut) UnmarshalJSON ¶
func (v *NullableJobsOut) UnmarshalJSON(src []byte) error
func (*NullableJobsOut) Unset ¶
func (v *NullableJobsOut) Unset()
type NullableJsonSchema ¶
type NullableJsonSchema struct {
// contains filtered or unexported fields
}
func NewNullableJsonSchema ¶
func NewNullableJsonSchema(val *JsonSchema) *NullableJsonSchema
func (NullableJsonSchema) Get ¶
func (v NullableJsonSchema) Get() *JsonSchema
func (NullableJsonSchema) IsSet ¶
func (v NullableJsonSchema) IsSet() bool
func (NullableJsonSchema) MarshalJSON ¶
func (v NullableJsonSchema) MarshalJSON() ([]byte, error)
func (*NullableJsonSchema) Set ¶
func (v *NullableJsonSchema) Set(val *JsonSchema)
func (*NullableJsonSchema) UnmarshalJSON ¶
func (v *NullableJsonSchema) UnmarshalJSON(src []byte) error
func (*NullableJsonSchema) Unset ¶
func (v *NullableJsonSchema) Unset()
type NullableLegacyJobMetadataOut ¶
type NullableLegacyJobMetadataOut struct {
// contains filtered or unexported fields
}
func NewNullableLegacyJobMetadataOut ¶
func NewNullableLegacyJobMetadataOut(val *LegacyJobMetadataOut) *NullableLegacyJobMetadataOut
func (NullableLegacyJobMetadataOut) Get ¶
func (v NullableLegacyJobMetadataOut) Get() *LegacyJobMetadataOut
func (NullableLegacyJobMetadataOut) IsSet ¶
func (v NullableLegacyJobMetadataOut) IsSet() bool
func (NullableLegacyJobMetadataOut) MarshalJSON ¶
func (v NullableLegacyJobMetadataOut) MarshalJSON() ([]byte, error)
func (*NullableLegacyJobMetadataOut) Set ¶
func (v *NullableLegacyJobMetadataOut) Set(val *LegacyJobMetadataOut)
func (*NullableLegacyJobMetadataOut) UnmarshalJSON ¶
func (v *NullableLegacyJobMetadataOut) UnmarshalJSON(src []byte) error
func (*NullableLegacyJobMetadataOut) Unset ¶
func (v *NullableLegacyJobMetadataOut) Unset()
type NullableLibraryIn ¶ added in v0.6.0
type NullableLibraryIn struct {
// contains filtered or unexported fields
}
func NewNullableLibraryIn ¶ added in v0.6.0
func NewNullableLibraryIn(val *LibraryIn) *NullableLibraryIn
func (NullableLibraryIn) Get ¶ added in v0.6.0
func (v NullableLibraryIn) Get() *LibraryIn
func (NullableLibraryIn) IsSet ¶ added in v0.6.0
func (v NullableLibraryIn) IsSet() bool
func (NullableLibraryIn) MarshalJSON ¶ added in v0.6.0
func (v NullableLibraryIn) MarshalJSON() ([]byte, error)
func (*NullableLibraryIn) Set ¶ added in v0.6.0
func (v *NullableLibraryIn) Set(val *LibraryIn)
func (*NullableLibraryIn) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableLibraryIn) UnmarshalJSON(src []byte) error
func (*NullableLibraryIn) Unset ¶ added in v0.6.0
func (v *NullableLibraryIn) Unset()
type NullableLibraryInUpdate ¶ added in v0.6.0
type NullableLibraryInUpdate struct {
// contains filtered or unexported fields
}
func NewNullableLibraryInUpdate ¶ added in v0.6.0
func NewNullableLibraryInUpdate(val *LibraryInUpdate) *NullableLibraryInUpdate
func (NullableLibraryInUpdate) Get ¶ added in v0.6.0
func (v NullableLibraryInUpdate) Get() *LibraryInUpdate
func (NullableLibraryInUpdate) IsSet ¶ added in v0.6.0
func (v NullableLibraryInUpdate) IsSet() bool
func (NullableLibraryInUpdate) MarshalJSON ¶ added in v0.6.0
func (v NullableLibraryInUpdate) MarshalJSON() ([]byte, error)
func (*NullableLibraryInUpdate) Set ¶ added in v0.6.0
func (v *NullableLibraryInUpdate) Set(val *LibraryInUpdate)
func (*NullableLibraryInUpdate) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableLibraryInUpdate) UnmarshalJSON(src []byte) error
func (*NullableLibraryInUpdate) Unset ¶ added in v0.6.0
func (v *NullableLibraryInUpdate) Unset()
type NullableLibraryOut ¶ added in v0.6.0
type NullableLibraryOut struct {
// contains filtered or unexported fields
}
func NewNullableLibraryOut ¶ added in v0.6.0
func NewNullableLibraryOut(val *LibraryOut) *NullableLibraryOut
func (NullableLibraryOut) Get ¶ added in v0.6.0
func (v NullableLibraryOut) Get() *LibraryOut
func (NullableLibraryOut) IsSet ¶ added in v0.6.0
func (v NullableLibraryOut) IsSet() bool
func (NullableLibraryOut) MarshalJSON ¶ added in v0.6.0
func (v NullableLibraryOut) MarshalJSON() ([]byte, error)
func (*NullableLibraryOut) Set ¶ added in v0.6.0
func (v *NullableLibraryOut) Set(val *LibraryOut)
func (*NullableLibraryOut) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableLibraryOut) UnmarshalJSON(src []byte) error
func (*NullableLibraryOut) Unset ¶ added in v0.6.0
func (v *NullableLibraryOut) Unset()
type NullableListDocumentOut ¶ added in v0.6.0
type NullableListDocumentOut struct {
// contains filtered or unexported fields
}
func NewNullableListDocumentOut ¶ added in v0.6.0
func NewNullableListDocumentOut(val *ListDocumentOut) *NullableListDocumentOut
func (NullableListDocumentOut) Get ¶ added in v0.6.0
func (v NullableListDocumentOut) Get() *ListDocumentOut
func (NullableListDocumentOut) IsSet ¶ added in v0.6.0
func (v NullableListDocumentOut) IsSet() bool
func (NullableListDocumentOut) MarshalJSON ¶ added in v0.6.0
func (v NullableListDocumentOut) MarshalJSON() ([]byte, error)
func (*NullableListDocumentOut) Set ¶ added in v0.6.0
func (v *NullableListDocumentOut) Set(val *ListDocumentOut)
func (*NullableListDocumentOut) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableListDocumentOut) UnmarshalJSON(src []byte) error
func (*NullableListDocumentOut) Unset ¶ added in v0.6.0
func (v *NullableListDocumentOut) Unset()
type NullableListFilesOut ¶
type NullableListFilesOut struct {
// contains filtered or unexported fields
}
func NewNullableListFilesOut ¶
func NewNullableListFilesOut(val *ListFilesOut) *NullableListFilesOut
func (NullableListFilesOut) Get ¶
func (v NullableListFilesOut) Get() *ListFilesOut
func (NullableListFilesOut) IsSet ¶
func (v NullableListFilesOut) IsSet() bool
func (NullableListFilesOut) MarshalJSON ¶
func (v NullableListFilesOut) MarshalJSON() ([]byte, error)
func (*NullableListFilesOut) Set ¶
func (v *NullableListFilesOut) Set(val *ListFilesOut)
func (*NullableListFilesOut) UnmarshalJSON ¶
func (v *NullableListFilesOut) UnmarshalJSON(src []byte) error
func (*NullableListFilesOut) Unset ¶
func (v *NullableListFilesOut) Unset()
type NullableListLibraryOut ¶ added in v0.6.0
type NullableListLibraryOut struct {
// contains filtered or unexported fields
}
func NewNullableListLibraryOut ¶ added in v0.6.0
func NewNullableListLibraryOut(val *ListLibraryOut) *NullableListLibraryOut
func (NullableListLibraryOut) Get ¶ added in v0.6.0
func (v NullableListLibraryOut) Get() *ListLibraryOut
func (NullableListLibraryOut) IsSet ¶ added in v0.6.0
func (v NullableListLibraryOut) IsSet() bool
func (NullableListLibraryOut) MarshalJSON ¶ added in v0.6.0
func (v NullableListLibraryOut) MarshalJSON() ([]byte, error)
func (*NullableListLibraryOut) Set ¶ added in v0.6.0
func (v *NullableListLibraryOut) Set(val *ListLibraryOut)
func (*NullableListLibraryOut) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableListLibraryOut) UnmarshalJSON(src []byte) error
func (*NullableListLibraryOut) Unset ¶ added in v0.6.0
func (v *NullableListLibraryOut) Unset()
type NullableListSharingOut ¶ added in v0.6.0
type NullableListSharingOut struct {
// contains filtered or unexported fields
}
func NewNullableListSharingOut ¶ added in v0.6.0
func NewNullableListSharingOut(val *ListSharingOut) *NullableListSharingOut
func (NullableListSharingOut) Get ¶ added in v0.6.0
func (v NullableListSharingOut) Get() *ListSharingOut
func (NullableListSharingOut) IsSet ¶ added in v0.6.0
func (v NullableListSharingOut) IsSet() bool
func (NullableListSharingOut) MarshalJSON ¶ added in v0.6.0
func (v NullableListSharingOut) MarshalJSON() ([]byte, error)
func (*NullableListSharingOut) Set ¶ added in v0.6.0
func (v *NullableListSharingOut) Set(val *ListSharingOut)
func (*NullableListSharingOut) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableListSharingOut) UnmarshalJSON(src []byte) error
func (*NullableListSharingOut) Unset ¶ added in v0.6.0
func (v *NullableListSharingOut) Unset()
type NullableLocationInner ¶ added in v0.15.0
type NullableLocationInner struct {
// contains filtered or unexported fields
}
func NewNullableLocationInner ¶ added in v0.15.0
func NewNullableLocationInner(val *LocationInner) *NullableLocationInner
func (NullableLocationInner) Get ¶ added in v0.15.0
func (v NullableLocationInner) Get() *LocationInner
func (NullableLocationInner) IsSet ¶ added in v0.15.0
func (v NullableLocationInner) IsSet() bool
func (NullableLocationInner) MarshalJSON ¶ added in v0.15.0
func (v NullableLocationInner) MarshalJSON() ([]byte, error)
func (*NullableLocationInner) Set ¶ added in v0.15.0
func (v *NullableLocationInner) Set(val *LocationInner)
func (*NullableLocationInner) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableLocationInner) UnmarshalJSON(src []byte) error
func (*NullableLocationInner) Unset ¶ added in v0.15.0
func (v *NullableLocationInner) Unset()
type NullableMessageEntriesInner ¶
type NullableMessageEntriesInner struct {
// contains filtered or unexported fields
}
func NewNullableMessageEntriesInner ¶
func NewNullableMessageEntriesInner(val *MessageEntriesInner) *NullableMessageEntriesInner
func (NullableMessageEntriesInner) Get ¶
func (v NullableMessageEntriesInner) Get() *MessageEntriesInner
func (NullableMessageEntriesInner) IsSet ¶
func (v NullableMessageEntriesInner) IsSet() bool
func (NullableMessageEntriesInner) MarshalJSON ¶
func (v NullableMessageEntriesInner) MarshalJSON() ([]byte, error)
func (*NullableMessageEntriesInner) Set ¶
func (v *NullableMessageEntriesInner) Set(val *MessageEntriesInner)
func (*NullableMessageEntriesInner) UnmarshalJSON ¶
func (v *NullableMessageEntriesInner) UnmarshalJSON(src []byte) error
func (*NullableMessageEntriesInner) Unset ¶
func (v *NullableMessageEntriesInner) Unset()
type NullableMessageInputContentChunksInner ¶
type NullableMessageInputContentChunksInner struct {
// contains filtered or unexported fields
}
func NewNullableMessageInputContentChunksInner ¶
func NewNullableMessageInputContentChunksInner(val *MessageInputContentChunksInner) *NullableMessageInputContentChunksInner
func (NullableMessageInputContentChunksInner) Get ¶
func (v NullableMessageInputContentChunksInner) Get() *MessageInputContentChunksInner
func (NullableMessageInputContentChunksInner) IsSet ¶
func (v NullableMessageInputContentChunksInner) IsSet() bool
func (NullableMessageInputContentChunksInner) MarshalJSON ¶
func (v NullableMessageInputContentChunksInner) MarshalJSON() ([]byte, error)
func (*NullableMessageInputContentChunksInner) Set ¶
func (v *NullableMessageInputContentChunksInner) Set(val *MessageInputContentChunksInner)
func (*NullableMessageInputContentChunksInner) UnmarshalJSON ¶
func (v *NullableMessageInputContentChunksInner) UnmarshalJSON(src []byte) error
func (*NullableMessageInputContentChunksInner) Unset ¶
func (v *NullableMessageInputContentChunksInner) Unset()
type NullableMessageInputEntry ¶
type NullableMessageInputEntry struct {
// contains filtered or unexported fields
}
func NewNullableMessageInputEntry ¶
func NewNullableMessageInputEntry(val *MessageInputEntry) *NullableMessageInputEntry
func (NullableMessageInputEntry) Get ¶
func (v NullableMessageInputEntry) Get() *MessageInputEntry
func (NullableMessageInputEntry) IsSet ¶
func (v NullableMessageInputEntry) IsSet() bool
func (NullableMessageInputEntry) MarshalJSON ¶
func (v NullableMessageInputEntry) MarshalJSON() ([]byte, error)
func (*NullableMessageInputEntry) Set ¶
func (v *NullableMessageInputEntry) Set(val *MessageInputEntry)
func (*NullableMessageInputEntry) UnmarshalJSON ¶
func (v *NullableMessageInputEntry) UnmarshalJSON(src []byte) error
func (*NullableMessageInputEntry) Unset ¶
func (v *NullableMessageInputEntry) Unset()
type NullableMessageOutputContentChunksInner ¶
type NullableMessageOutputContentChunksInner struct {
// contains filtered or unexported fields
}
func NewNullableMessageOutputContentChunksInner ¶
func NewNullableMessageOutputContentChunksInner(val *MessageOutputContentChunksInner) *NullableMessageOutputContentChunksInner
func (NullableMessageOutputContentChunksInner) IsSet ¶
func (v NullableMessageOutputContentChunksInner) IsSet() bool
func (NullableMessageOutputContentChunksInner) MarshalJSON ¶
func (v NullableMessageOutputContentChunksInner) MarshalJSON() ([]byte, error)
func (*NullableMessageOutputContentChunksInner) Set ¶
func (v *NullableMessageOutputContentChunksInner) Set(val *MessageOutputContentChunksInner)
func (*NullableMessageOutputContentChunksInner) UnmarshalJSON ¶
func (v *NullableMessageOutputContentChunksInner) UnmarshalJSON(src []byte) error
func (*NullableMessageOutputContentChunksInner) Unset ¶
func (v *NullableMessageOutputContentChunksInner) Unset()
type NullableMessageOutputEntry ¶
type NullableMessageOutputEntry struct {
// contains filtered or unexported fields
}
func NewNullableMessageOutputEntry ¶
func NewNullableMessageOutputEntry(val *MessageOutputEntry) *NullableMessageOutputEntry
func (NullableMessageOutputEntry) Get ¶
func (v NullableMessageOutputEntry) Get() *MessageOutputEntry
func (NullableMessageOutputEntry) IsSet ¶
func (v NullableMessageOutputEntry) IsSet() bool
func (NullableMessageOutputEntry) MarshalJSON ¶
func (v NullableMessageOutputEntry) MarshalJSON() ([]byte, error)
func (*NullableMessageOutputEntry) Set ¶
func (v *NullableMessageOutputEntry) Set(val *MessageOutputEntry)
func (*NullableMessageOutputEntry) UnmarshalJSON ¶
func (v *NullableMessageOutputEntry) UnmarshalJSON(src []byte) error
func (*NullableMessageOutputEntry) Unset ¶
func (v *NullableMessageOutputEntry) Unset()
type NullableMessageOutputEvent ¶
type NullableMessageOutputEvent struct {
// contains filtered or unexported fields
}
func NewNullableMessageOutputEvent ¶
func NewNullableMessageOutputEvent(val *MessageOutputEvent) *NullableMessageOutputEvent
func (NullableMessageOutputEvent) Get ¶
func (v NullableMessageOutputEvent) Get() *MessageOutputEvent
func (NullableMessageOutputEvent) IsSet ¶
func (v NullableMessageOutputEvent) IsSet() bool
func (NullableMessageOutputEvent) MarshalJSON ¶
func (v NullableMessageOutputEvent) MarshalJSON() ([]byte, error)
func (*NullableMessageOutputEvent) Set ¶
func (v *NullableMessageOutputEvent) Set(val *MessageOutputEvent)
func (*NullableMessageOutputEvent) UnmarshalJSON ¶
func (v *NullableMessageOutputEvent) UnmarshalJSON(src []byte) error
func (*NullableMessageOutputEvent) Unset ¶
func (v *NullableMessageOutputEvent) Unset()
type NullableMessagesInner ¶ added in v0.15.0
type NullableMessagesInner struct {
// contains filtered or unexported fields
}
func NewNullableMessagesInner ¶ added in v0.15.0
func NewNullableMessagesInner(val *MessagesInner) *NullableMessagesInner
func (NullableMessagesInner) Get ¶ added in v0.15.0
func (v NullableMessagesInner) Get() *MessagesInner
func (NullableMessagesInner) IsSet ¶ added in v0.15.0
func (v NullableMessagesInner) IsSet() bool
func (NullableMessagesInner) MarshalJSON ¶ added in v0.15.0
func (v NullableMessagesInner) MarshalJSON() ([]byte, error)
func (*NullableMessagesInner) Set ¶ added in v0.15.0
func (v *NullableMessagesInner) Set(val *MessagesInner)
func (*NullableMessagesInner) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableMessagesInner) UnmarshalJSON(src []byte) error
func (*NullableMessagesInner) Unset ¶ added in v0.15.0
func (v *NullableMessagesInner) Unset()
type NullableMetricOut ¶
type NullableMetricOut struct {
// contains filtered or unexported fields
}
func NewNullableMetricOut ¶
func NewNullableMetricOut(val *MetricOut) *NullableMetricOut
func (NullableMetricOut) Get ¶
func (v NullableMetricOut) Get() *MetricOut
func (NullableMetricOut) IsSet ¶
func (v NullableMetricOut) IsSet() bool
func (NullableMetricOut) MarshalJSON ¶
func (v NullableMetricOut) MarshalJSON() ([]byte, error)
func (*NullableMetricOut) Set ¶
func (v *NullableMetricOut) Set(val *MetricOut)
func (*NullableMetricOut) UnmarshalJSON ¶
func (v *NullableMetricOut) UnmarshalJSON(src []byte) error
func (*NullableMetricOut) Unset ¶
func (v *NullableMetricOut) Unset()
type NullableMistralPromptMode ¶
type NullableMistralPromptMode struct {
// contains filtered or unexported fields
}
func NewNullableMistralPromptMode ¶
func NewNullableMistralPromptMode(val *MistralPromptMode) *NullableMistralPromptMode
func (NullableMistralPromptMode) Get ¶
func (v NullableMistralPromptMode) Get() *MistralPromptMode
func (NullableMistralPromptMode) IsSet ¶
func (v NullableMistralPromptMode) IsSet() bool
func (NullableMistralPromptMode) MarshalJSON ¶
func (v NullableMistralPromptMode) MarshalJSON() ([]byte, error)
func (*NullableMistralPromptMode) Set ¶
func (v *NullableMistralPromptMode) Set(val *MistralPromptMode)
func (*NullableMistralPromptMode) UnmarshalJSON ¶
func (v *NullableMistralPromptMode) UnmarshalJSON(src []byte) error
func (*NullableMistralPromptMode) Unset ¶
func (v *NullableMistralPromptMode) Unset()
type NullableModelCapabilities ¶
type NullableModelCapabilities struct {
// contains filtered or unexported fields
}
func NewNullableModelCapabilities ¶
func NewNullableModelCapabilities(val *ModelCapabilities) *NullableModelCapabilities
func (NullableModelCapabilities) Get ¶
func (v NullableModelCapabilities) Get() *ModelCapabilities
func (NullableModelCapabilities) IsSet ¶
func (v NullableModelCapabilities) IsSet() bool
func (NullableModelCapabilities) MarshalJSON ¶
func (v NullableModelCapabilities) MarshalJSON() ([]byte, error)
func (*NullableModelCapabilities) Set ¶
func (v *NullableModelCapabilities) Set(val *ModelCapabilities)
func (*NullableModelCapabilities) UnmarshalJSON ¶
func (v *NullableModelCapabilities) UnmarshalJSON(src []byte) error
func (*NullableModelCapabilities) Unset ¶
func (v *NullableModelCapabilities) Unset()
type NullableModelConversation ¶
type NullableModelConversation struct {
// contains filtered or unexported fields
}
func NewNullableModelConversation ¶
func NewNullableModelConversation(val *ModelConversation) *NullableModelConversation
func (NullableModelConversation) Get ¶
func (v NullableModelConversation) Get() *ModelConversation
func (NullableModelConversation) IsSet ¶
func (v NullableModelConversation) IsSet() bool
func (NullableModelConversation) MarshalJSON ¶
func (v NullableModelConversation) MarshalJSON() ([]byte, error)
func (*NullableModelConversation) Set ¶
func (v *NullableModelConversation) Set(val *ModelConversation)
func (*NullableModelConversation) UnmarshalJSON ¶
func (v *NullableModelConversation) UnmarshalJSON(src []byte) error
func (*NullableModelConversation) Unset ¶
func (v *NullableModelConversation) Unset()
type NullableModelList ¶
type NullableModelList struct {
// contains filtered or unexported fields
}
func NewNullableModelList ¶
func NewNullableModelList(val *ModelList) *NullableModelList
func (NullableModelList) Get ¶
func (v NullableModelList) Get() *ModelList
func (NullableModelList) IsSet ¶
func (v NullableModelList) IsSet() bool
func (NullableModelList) MarshalJSON ¶
func (v NullableModelList) MarshalJSON() ([]byte, error)
func (*NullableModelList) Set ¶
func (v *NullableModelList) Set(val *ModelList)
func (*NullableModelList) UnmarshalJSON ¶
func (v *NullableModelList) UnmarshalJSON(src []byte) error
func (*NullableModelList) Unset ¶
func (v *NullableModelList) Unset()
type NullableModerationObject ¶
type NullableModerationObject struct {
// contains filtered or unexported fields
}
func NewNullableModerationObject ¶
func NewNullableModerationObject(val *ModerationObject) *NullableModerationObject
func (NullableModerationObject) Get ¶
func (v NullableModerationObject) Get() *ModerationObject
func (NullableModerationObject) IsSet ¶
func (v NullableModerationObject) IsSet() bool
func (NullableModerationObject) MarshalJSON ¶
func (v NullableModerationObject) MarshalJSON() ([]byte, error)
func (*NullableModerationObject) Set ¶
func (v *NullableModerationObject) Set(val *ModerationObject)
func (*NullableModerationObject) UnmarshalJSON ¶
func (v *NullableModerationObject) UnmarshalJSON(src []byte) error
func (*NullableModerationObject) Unset ¶
func (v *NullableModerationObject) Unset()
type NullableModerationResponse ¶
type NullableModerationResponse struct {
// contains filtered or unexported fields
}
func NewNullableModerationResponse ¶
func NewNullableModerationResponse(val *ModerationResponse) *NullableModerationResponse
func (NullableModerationResponse) Get ¶
func (v NullableModerationResponse) Get() *ModerationResponse
func (NullableModerationResponse) IsSet ¶
func (v NullableModerationResponse) IsSet() bool
func (NullableModerationResponse) MarshalJSON ¶
func (v NullableModerationResponse) MarshalJSON() ([]byte, error)
func (*NullableModerationResponse) Set ¶
func (v *NullableModerationResponse) Set(val *ModerationResponse)
func (*NullableModerationResponse) UnmarshalJSON ¶
func (v *NullableModerationResponse) UnmarshalJSON(src []byte) error
func (*NullableModerationResponse) Unset ¶
func (v *NullableModerationResponse) Unset()
type NullableName ¶ added in v0.15.0
type NullableName struct {
// contains filtered or unexported fields
}
func NewNullableName ¶ added in v0.15.0
func NewNullableName(val *Name) *NullableName
func (NullableName) Get ¶ added in v0.15.0
func (v NullableName) Get() *Name
func (NullableName) IsSet ¶ added in v0.15.0
func (v NullableName) IsSet() bool
func (NullableName) MarshalJSON ¶ added in v0.15.0
func (v NullableName) MarshalJSON() ([]byte, error)
func (*NullableName) Set ¶ added in v0.15.0
func (v *NullableName) Set(val *Name)
func (*NullableName) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableName) UnmarshalJSON(src []byte) error
func (*NullableName) Unset ¶ added in v0.15.0
func (v *NullableName) Unset()
type NullableOCRImageObject ¶
type NullableOCRImageObject struct {
// contains filtered or unexported fields
}
func NewNullableOCRImageObject ¶
func NewNullableOCRImageObject(val *OCRImageObject) *NullableOCRImageObject
func (NullableOCRImageObject) Get ¶
func (v NullableOCRImageObject) Get() *OCRImageObject
func (NullableOCRImageObject) IsSet ¶
func (v NullableOCRImageObject) IsSet() bool
func (NullableOCRImageObject) MarshalJSON ¶
func (v NullableOCRImageObject) MarshalJSON() ([]byte, error)
func (*NullableOCRImageObject) Set ¶
func (v *NullableOCRImageObject) Set(val *OCRImageObject)
func (*NullableOCRImageObject) UnmarshalJSON ¶
func (v *NullableOCRImageObject) UnmarshalJSON(src []byte) error
func (*NullableOCRImageObject) Unset ¶
func (v *NullableOCRImageObject) Unset()
type NullableOCRPageDimensions ¶
type NullableOCRPageDimensions struct {
// contains filtered or unexported fields
}
func NewNullableOCRPageDimensions ¶
func NewNullableOCRPageDimensions(val *OCRPageDimensions) *NullableOCRPageDimensions
func (NullableOCRPageDimensions) Get ¶
func (v NullableOCRPageDimensions) Get() *OCRPageDimensions
func (NullableOCRPageDimensions) IsSet ¶
func (v NullableOCRPageDimensions) IsSet() bool
func (NullableOCRPageDimensions) MarshalJSON ¶
func (v NullableOCRPageDimensions) MarshalJSON() ([]byte, error)
func (*NullableOCRPageDimensions) Set ¶
func (v *NullableOCRPageDimensions) Set(val *OCRPageDimensions)
func (*NullableOCRPageDimensions) UnmarshalJSON ¶
func (v *NullableOCRPageDimensions) UnmarshalJSON(src []byte) error
func (*NullableOCRPageDimensions) Unset ¶
func (v *NullableOCRPageDimensions) Unset()
type NullableOCRPageObject ¶
type NullableOCRPageObject struct {
// contains filtered or unexported fields
}
func NewNullableOCRPageObject ¶
func NewNullableOCRPageObject(val *OCRPageObject) *NullableOCRPageObject
func (NullableOCRPageObject) Get ¶
func (v NullableOCRPageObject) Get() *OCRPageObject
func (NullableOCRPageObject) IsSet ¶
func (v NullableOCRPageObject) IsSet() bool
func (NullableOCRPageObject) MarshalJSON ¶
func (v NullableOCRPageObject) MarshalJSON() ([]byte, error)
func (*NullableOCRPageObject) Set ¶
func (v *NullableOCRPageObject) Set(val *OCRPageObject)
func (*NullableOCRPageObject) UnmarshalJSON ¶
func (v *NullableOCRPageObject) UnmarshalJSON(src []byte) error
func (*NullableOCRPageObject) Unset ¶
func (v *NullableOCRPageObject) Unset()
type NullableOCRRequest ¶
type NullableOCRRequest struct {
// contains filtered or unexported fields
}
func NewNullableOCRRequest ¶
func NewNullableOCRRequest(val *OCRRequest) *NullableOCRRequest
func (NullableOCRRequest) Get ¶
func (v NullableOCRRequest) Get() *OCRRequest
func (NullableOCRRequest) IsSet ¶
func (v NullableOCRRequest) IsSet() bool
func (NullableOCRRequest) MarshalJSON ¶
func (v NullableOCRRequest) MarshalJSON() ([]byte, error)
func (*NullableOCRRequest) Set ¶
func (v *NullableOCRRequest) Set(val *OCRRequest)
func (*NullableOCRRequest) UnmarshalJSON ¶
func (v *NullableOCRRequest) UnmarshalJSON(src []byte) error
func (*NullableOCRRequest) Unset ¶
func (v *NullableOCRRequest) Unset()
type NullableOCRResponse ¶
type NullableOCRResponse struct {
// contains filtered or unexported fields
}
func NewNullableOCRResponse ¶
func NewNullableOCRResponse(val *OCRResponse) *NullableOCRResponse
func (NullableOCRResponse) Get ¶
func (v NullableOCRResponse) Get() *OCRResponse
func (NullableOCRResponse) IsSet ¶
func (v NullableOCRResponse) IsSet() bool
func (NullableOCRResponse) MarshalJSON ¶
func (v NullableOCRResponse) MarshalJSON() ([]byte, error)
func (*NullableOCRResponse) Set ¶
func (v *NullableOCRResponse) Set(val *OCRResponse)
func (*NullableOCRResponse) UnmarshalJSON ¶
func (v *NullableOCRResponse) UnmarshalJSON(src []byte) error
func (*NullableOCRResponse) Unset ¶
func (v *NullableOCRResponse) Unset()
type NullableOCRTableObject ¶ added in v0.15.0
type NullableOCRTableObject struct {
// contains filtered or unexported fields
}
func NewNullableOCRTableObject ¶ added in v0.15.0
func NewNullableOCRTableObject(val *OCRTableObject) *NullableOCRTableObject
func (NullableOCRTableObject) Get ¶ added in v0.15.0
func (v NullableOCRTableObject) Get() *OCRTableObject
func (NullableOCRTableObject) IsSet ¶ added in v0.15.0
func (v NullableOCRTableObject) IsSet() bool
func (NullableOCRTableObject) MarshalJSON ¶ added in v0.15.0
func (v NullableOCRTableObject) MarshalJSON() ([]byte, error)
func (*NullableOCRTableObject) Set ¶ added in v0.15.0
func (v *NullableOCRTableObject) Set(val *OCRTableObject)
func (*NullableOCRTableObject) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableOCRTableObject) UnmarshalJSON(src []byte) error
func (*NullableOCRTableObject) Unset ¶ added in v0.15.0
func (v *NullableOCRTableObject) Unset()
type NullableOCRUsageInfo ¶
type NullableOCRUsageInfo struct {
// contains filtered or unexported fields
}
func NewNullableOCRUsageInfo ¶
func NewNullableOCRUsageInfo(val *OCRUsageInfo) *NullableOCRUsageInfo
func (NullableOCRUsageInfo) Get ¶
func (v NullableOCRUsageInfo) Get() *OCRUsageInfo
func (NullableOCRUsageInfo) IsSet ¶
func (v NullableOCRUsageInfo) IsSet() bool
func (NullableOCRUsageInfo) MarshalJSON ¶
func (v NullableOCRUsageInfo) MarshalJSON() ([]byte, error)
func (*NullableOCRUsageInfo) Set ¶
func (v *NullableOCRUsageInfo) Set(val *OCRUsageInfo)
func (*NullableOCRUsageInfo) UnmarshalJSON ¶
func (v *NullableOCRUsageInfo) UnmarshalJSON(src []byte) error
func (*NullableOCRUsageInfo) Unset ¶
func (v *NullableOCRUsageInfo) Unset()
type NullableOutputContentChunks ¶
type NullableOutputContentChunks struct {
// contains filtered or unexported fields
}
func NewNullableOutputContentChunks ¶
func NewNullableOutputContentChunks(val *OutputContentChunks) *NullableOutputContentChunks
func (NullableOutputContentChunks) Get ¶
func (v NullableOutputContentChunks) Get() *OutputContentChunks
func (NullableOutputContentChunks) IsSet ¶
func (v NullableOutputContentChunks) IsSet() bool
func (NullableOutputContentChunks) MarshalJSON ¶
func (v NullableOutputContentChunks) MarshalJSON() ([]byte, error)
func (*NullableOutputContentChunks) Set ¶
func (v *NullableOutputContentChunks) Set(val *OutputContentChunks)
func (*NullableOutputContentChunks) UnmarshalJSON ¶
func (v *NullableOutputContentChunks) UnmarshalJSON(src []byte) error
func (*NullableOutputContentChunks) Unset ¶
func (v *NullableOutputContentChunks) Unset()
type NullableOutputsInner ¶ added in v0.15.0
type NullableOutputsInner struct {
// contains filtered or unexported fields
}
func NewNullableOutputsInner ¶ added in v0.15.0
func NewNullableOutputsInner(val *OutputsInner) *NullableOutputsInner
func (NullableOutputsInner) Get ¶ added in v0.15.0
func (v NullableOutputsInner) Get() *OutputsInner
func (NullableOutputsInner) IsSet ¶ added in v0.15.0
func (v NullableOutputsInner) IsSet() bool
func (NullableOutputsInner) MarshalJSON ¶ added in v0.15.0
func (v NullableOutputsInner) MarshalJSON() ([]byte, error)
func (*NullableOutputsInner) Set ¶ added in v0.15.0
func (v *NullableOutputsInner) Set(val *OutputsInner)
func (*NullableOutputsInner) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableOutputsInner) UnmarshalJSON(src []byte) error
func (*NullableOutputsInner) Unset ¶ added in v0.15.0
func (v *NullableOutputsInner) Unset()
type NullablePaginationInfo ¶ added in v0.6.0
type NullablePaginationInfo struct {
// contains filtered or unexported fields
}
func NewNullablePaginationInfo ¶ added in v0.6.0
func NewNullablePaginationInfo(val *PaginationInfo) *NullablePaginationInfo
func (NullablePaginationInfo) Get ¶ added in v0.6.0
func (v NullablePaginationInfo) Get() *PaginationInfo
func (NullablePaginationInfo) IsSet ¶ added in v0.6.0
func (v NullablePaginationInfo) IsSet() bool
func (NullablePaginationInfo) MarshalJSON ¶ added in v0.6.0
func (v NullablePaginationInfo) MarshalJSON() ([]byte, error)
func (*NullablePaginationInfo) Set ¶ added in v0.6.0
func (v *NullablePaginationInfo) Set(val *PaginationInfo)
func (*NullablePaginationInfo) UnmarshalJSON ¶ added in v0.6.0
func (v *NullablePaginationInfo) UnmarshalJSON(src []byte) error
func (*NullablePaginationInfo) Unset ¶ added in v0.6.0
func (v *NullablePaginationInfo) Unset()
type NullablePrediction ¶
type NullablePrediction struct {
// contains filtered or unexported fields
}
func NewNullablePrediction ¶
func NewNullablePrediction(val *Prediction) *NullablePrediction
func (NullablePrediction) Get ¶
func (v NullablePrediction) Get() *Prediction
func (NullablePrediction) IsSet ¶
func (v NullablePrediction) IsSet() bool
func (NullablePrediction) MarshalJSON ¶
func (v NullablePrediction) MarshalJSON() ([]byte, error)
func (*NullablePrediction) Set ¶
func (v *NullablePrediction) Set(val *Prediction)
func (*NullablePrediction) UnmarshalJSON ¶
func (v *NullablePrediction) UnmarshalJSON(src []byte) error
func (*NullablePrediction) Unset ¶
func (v *NullablePrediction) Unset()
type NullableProcessingStatusOut ¶ added in v0.6.0
type NullableProcessingStatusOut struct {
// contains filtered or unexported fields
}
func NewNullableProcessingStatusOut ¶ added in v0.6.0
func NewNullableProcessingStatusOut(val *ProcessingStatusOut) *NullableProcessingStatusOut
func (NullableProcessingStatusOut) Get ¶ added in v0.6.0
func (v NullableProcessingStatusOut) Get() *ProcessingStatusOut
func (NullableProcessingStatusOut) IsSet ¶ added in v0.6.0
func (v NullableProcessingStatusOut) IsSet() bool
func (NullableProcessingStatusOut) MarshalJSON ¶ added in v0.6.0
func (v NullableProcessingStatusOut) MarshalJSON() ([]byte, error)
func (*NullableProcessingStatusOut) Set ¶ added in v0.6.0
func (v *NullableProcessingStatusOut) Set(val *ProcessingStatusOut)
func (*NullableProcessingStatusOut) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableProcessingStatusOut) UnmarshalJSON(src []byte) error
func (*NullableProcessingStatusOut) Unset ¶ added in v0.6.0
func (v *NullableProcessingStatusOut) Unset()
type NullableReferenceChunk ¶
type NullableReferenceChunk struct {
// contains filtered or unexported fields
}
func NewNullableReferenceChunk ¶
func NewNullableReferenceChunk(val *ReferenceChunk) *NullableReferenceChunk
func (NullableReferenceChunk) Get ¶
func (v NullableReferenceChunk) Get() *ReferenceChunk
func (NullableReferenceChunk) IsSet ¶
func (v NullableReferenceChunk) IsSet() bool
func (NullableReferenceChunk) MarshalJSON ¶
func (v NullableReferenceChunk) MarshalJSON() ([]byte, error)
func (*NullableReferenceChunk) Set ¶
func (v *NullableReferenceChunk) Set(val *ReferenceChunk)
func (*NullableReferenceChunk) UnmarshalJSON ¶
func (v *NullableReferenceChunk) UnmarshalJSON(src []byte) error
func (*NullableReferenceChunk) Unset ¶
func (v *NullableReferenceChunk) Unset()
type NullableRequestSource ¶ added in v0.15.0
type NullableRequestSource struct {
// contains filtered or unexported fields
}
func NewNullableRequestSource ¶ added in v0.15.0
func NewNullableRequestSource(val *RequestSource) *NullableRequestSource
func (NullableRequestSource) Get ¶ added in v0.15.0
func (v NullableRequestSource) Get() *RequestSource
func (NullableRequestSource) IsSet ¶ added in v0.15.0
func (v NullableRequestSource) IsSet() bool
func (NullableRequestSource) MarshalJSON ¶ added in v0.15.0
func (v NullableRequestSource) MarshalJSON() ([]byte, error)
func (*NullableRequestSource) Set ¶ added in v0.15.0
func (v *NullableRequestSource) Set(val *RequestSource)
func (*NullableRequestSource) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableRequestSource) UnmarshalJSON(src []byte) error
func (*NullableRequestSource) Unset ¶ added in v0.15.0
func (v *NullableRequestSource) Unset()
type NullableResponse ¶
type NullableResponse struct {
// contains filtered or unexported fields
}
func NewNullableResponse ¶
func NewNullableResponse(val *Response) *NullableResponse
func (NullableResponse) Get ¶
func (v NullableResponse) Get() *Response
func (NullableResponse) IsSet ¶
func (v NullableResponse) IsSet() bool
func (NullableResponse) MarshalJSON ¶
func (v NullableResponse) MarshalJSON() ([]byte, error)
func (*NullableResponse) Set ¶
func (v *NullableResponse) Set(val *Response)
func (*NullableResponse) UnmarshalJSON ¶
func (v *NullableResponse) UnmarshalJSON(src []byte) error
func (*NullableResponse) Unset ¶
func (v *NullableResponse) Unset()
type NullableResponse1 ¶
type NullableResponse1 struct {
// contains filtered or unexported fields
}
func NewNullableResponse1 ¶
func NewNullableResponse1(val *Response1) *NullableResponse1
func (NullableResponse1) Get ¶
func (v NullableResponse1) Get() *Response1
func (NullableResponse1) IsSet ¶
func (v NullableResponse1) IsSet() bool
func (NullableResponse1) MarshalJSON ¶
func (v NullableResponse1) MarshalJSON() ([]byte, error)
func (*NullableResponse1) Set ¶
func (v *NullableResponse1) Set(val *Response1)
func (*NullableResponse1) UnmarshalJSON ¶
func (v *NullableResponse1) UnmarshalJSON(src []byte) error
func (*NullableResponse1) Unset ¶
func (v *NullableResponse1) Unset()
type NullableResponse2 ¶
type NullableResponse2 struct {
// contains filtered or unexported fields
}
func NewNullableResponse2 ¶
func NewNullableResponse2(val *Response2) *NullableResponse2
func (NullableResponse2) Get ¶
func (v NullableResponse2) Get() *Response2
func (NullableResponse2) IsSet ¶
func (v NullableResponse2) IsSet() bool
func (NullableResponse2) MarshalJSON ¶
func (v NullableResponse2) MarshalJSON() ([]byte, error)
func (*NullableResponse2) Set ¶
func (v *NullableResponse2) Set(val *Response2)
func (*NullableResponse2) UnmarshalJSON ¶
func (v *NullableResponse2) UnmarshalJSON(src []byte) error
func (*NullableResponse2) Unset ¶
func (v *NullableResponse2) Unset()
type NullableResponseAnyOf ¶
type NullableResponseAnyOf struct {
// contains filtered or unexported fields
}
func NewNullableResponseAnyOf ¶
func NewNullableResponseAnyOf(val *ResponseAnyOf) *NullableResponseAnyOf
func (NullableResponseAnyOf) Get ¶
func (v NullableResponseAnyOf) Get() *ResponseAnyOf
func (NullableResponseAnyOf) IsSet ¶
func (v NullableResponseAnyOf) IsSet() bool
func (NullableResponseAnyOf) MarshalJSON ¶
func (v NullableResponseAnyOf) MarshalJSON() ([]byte, error)
func (*NullableResponseAnyOf) Set ¶
func (v *NullableResponseAnyOf) Set(val *ResponseAnyOf)
func (*NullableResponseAnyOf) UnmarshalJSON ¶
func (v *NullableResponseAnyOf) UnmarshalJSON(src []byte) error
func (*NullableResponseAnyOf) Unset ¶
func (v *NullableResponseAnyOf) Unset()
type NullableResponseBase ¶
type NullableResponseBase struct {
// contains filtered or unexported fields
}
func NewNullableResponseBase ¶
func NewNullableResponseBase(val *ResponseBase) *NullableResponseBase
func (NullableResponseBase) Get ¶
func (v NullableResponseBase) Get() *ResponseBase
func (NullableResponseBase) IsSet ¶
func (v NullableResponseBase) IsSet() bool
func (NullableResponseBase) MarshalJSON ¶
func (v NullableResponseBase) MarshalJSON() ([]byte, error)
func (*NullableResponseBase) Set ¶
func (v *NullableResponseBase) Set(val *ResponseBase)
func (*NullableResponseBase) UnmarshalJSON ¶
func (v *NullableResponseBase) UnmarshalJSON(src []byte) error
func (*NullableResponseBase) Unset ¶
func (v *NullableResponseBase) Unset()
type NullableResponseDoneEvent ¶
type NullableResponseDoneEvent struct {
// contains filtered or unexported fields
}
func NewNullableResponseDoneEvent ¶
func NewNullableResponseDoneEvent(val *ResponseDoneEvent) *NullableResponseDoneEvent
func (NullableResponseDoneEvent) Get ¶
func (v NullableResponseDoneEvent) Get() *ResponseDoneEvent
func (NullableResponseDoneEvent) IsSet ¶
func (v NullableResponseDoneEvent) IsSet() bool
func (NullableResponseDoneEvent) MarshalJSON ¶
func (v NullableResponseDoneEvent) MarshalJSON() ([]byte, error)
func (*NullableResponseDoneEvent) Set ¶
func (v *NullableResponseDoneEvent) Set(val *ResponseDoneEvent)
func (*NullableResponseDoneEvent) UnmarshalJSON ¶
func (v *NullableResponseDoneEvent) UnmarshalJSON(src []byte) error
func (*NullableResponseDoneEvent) Unset ¶
func (v *NullableResponseDoneEvent) Unset()
type NullableResponseErrorEvent ¶
type NullableResponseErrorEvent struct {
// contains filtered or unexported fields
}
func NewNullableResponseErrorEvent ¶
func NewNullableResponseErrorEvent(val *ResponseErrorEvent) *NullableResponseErrorEvent
func (NullableResponseErrorEvent) Get ¶
func (v NullableResponseErrorEvent) Get() *ResponseErrorEvent
func (NullableResponseErrorEvent) IsSet ¶
func (v NullableResponseErrorEvent) IsSet() bool
func (NullableResponseErrorEvent) MarshalJSON ¶
func (v NullableResponseErrorEvent) MarshalJSON() ([]byte, error)
func (*NullableResponseErrorEvent) Set ¶
func (v *NullableResponseErrorEvent) Set(val *ResponseErrorEvent)
func (*NullableResponseErrorEvent) UnmarshalJSON ¶
func (v *NullableResponseErrorEvent) UnmarshalJSON(src []byte) error
func (*NullableResponseErrorEvent) Unset ¶
func (v *NullableResponseErrorEvent) Unset()
type NullableResponseFormat ¶
type NullableResponseFormat struct {
// contains filtered or unexported fields
}
func NewNullableResponseFormat ¶
func NewNullableResponseFormat(val *ResponseFormat) *NullableResponseFormat
func (NullableResponseFormat) Get ¶
func (v NullableResponseFormat) Get() *ResponseFormat
func (NullableResponseFormat) IsSet ¶
func (v NullableResponseFormat) IsSet() bool
func (NullableResponseFormat) MarshalJSON ¶
func (v NullableResponseFormat) MarshalJSON() ([]byte, error)
func (*NullableResponseFormat) Set ¶
func (v *NullableResponseFormat) Set(val *ResponseFormat)
func (*NullableResponseFormat) UnmarshalJSON ¶
func (v *NullableResponseFormat) UnmarshalJSON(src []byte) error
func (*NullableResponseFormat) Unset ¶
func (v *NullableResponseFormat) Unset()
type NullableResponseFormats ¶
type NullableResponseFormats struct {
// contains filtered or unexported fields
}
func NewNullableResponseFormats ¶
func NewNullableResponseFormats(val *ResponseFormats) *NullableResponseFormats
func (NullableResponseFormats) Get ¶
func (v NullableResponseFormats) Get() *ResponseFormats
func (NullableResponseFormats) IsSet ¶
func (v NullableResponseFormats) IsSet() bool
func (NullableResponseFormats) MarshalJSON ¶
func (v NullableResponseFormats) MarshalJSON() ([]byte, error)
func (*NullableResponseFormats) Set ¶
func (v *NullableResponseFormats) Set(val *ResponseFormats)
func (*NullableResponseFormats) UnmarshalJSON ¶
func (v *NullableResponseFormats) UnmarshalJSON(src []byte) error
func (*NullableResponseFormats) Unset ¶
func (v *NullableResponseFormats) Unset()
type NullableResponseRetrieveModelV1ModelsModelIdGet ¶
type NullableResponseRetrieveModelV1ModelsModelIdGet struct {
// contains filtered or unexported fields
}
func NewNullableResponseRetrieveModelV1ModelsModelIdGet ¶
func NewNullableResponseRetrieveModelV1ModelsModelIdGet(val *ResponseRetrieveModelV1ModelsModelIdGet) *NullableResponseRetrieveModelV1ModelsModelIdGet
func (NullableResponseRetrieveModelV1ModelsModelIdGet) IsSet ¶
func (v NullableResponseRetrieveModelV1ModelsModelIdGet) IsSet() bool
func (NullableResponseRetrieveModelV1ModelsModelIdGet) MarshalJSON ¶
func (v NullableResponseRetrieveModelV1ModelsModelIdGet) MarshalJSON() ([]byte, error)
func (*NullableResponseRetrieveModelV1ModelsModelIdGet) UnmarshalJSON ¶
func (v *NullableResponseRetrieveModelV1ModelsModelIdGet) UnmarshalJSON(src []byte) error
func (*NullableResponseRetrieveModelV1ModelsModelIdGet) Unset ¶
func (v *NullableResponseRetrieveModelV1ModelsModelIdGet) Unset()
type NullableResponseStartedEvent ¶
type NullableResponseStartedEvent struct {
// contains filtered or unexported fields
}
func NewNullableResponseStartedEvent ¶
func NewNullableResponseStartedEvent(val *ResponseStartedEvent) *NullableResponseStartedEvent
func (NullableResponseStartedEvent) Get ¶
func (v NullableResponseStartedEvent) Get() *ResponseStartedEvent
func (NullableResponseStartedEvent) IsSet ¶
func (v NullableResponseStartedEvent) IsSet() bool
func (NullableResponseStartedEvent) MarshalJSON ¶
func (v NullableResponseStartedEvent) MarshalJSON() ([]byte, error)
func (*NullableResponseStartedEvent) Set ¶
func (v *NullableResponseStartedEvent) Set(val *ResponseStartedEvent)
func (*NullableResponseStartedEvent) UnmarshalJSON ¶
func (v *NullableResponseStartedEvent) UnmarshalJSON(src []byte) error
func (*NullableResponseStartedEvent) Unset ¶
func (v *NullableResponseStartedEvent) Unset()
type NullableResponseV1ConversationsGet ¶
type NullableResponseV1ConversationsGet struct {
// contains filtered or unexported fields
}
func NewNullableResponseV1ConversationsGet ¶
func NewNullableResponseV1ConversationsGet(val *ResponseV1ConversationsGet) *NullableResponseV1ConversationsGet
func (NullableResponseV1ConversationsGet) Get ¶
func (v NullableResponseV1ConversationsGet) Get() *ResponseV1ConversationsGet
func (NullableResponseV1ConversationsGet) IsSet ¶
func (v NullableResponseV1ConversationsGet) IsSet() bool
func (NullableResponseV1ConversationsGet) MarshalJSON ¶
func (v NullableResponseV1ConversationsGet) MarshalJSON() ([]byte, error)
func (*NullableResponseV1ConversationsGet) Set ¶
func (v *NullableResponseV1ConversationsGet) Set(val *ResponseV1ConversationsGet)
func (*NullableResponseV1ConversationsGet) UnmarshalJSON ¶
func (v *NullableResponseV1ConversationsGet) UnmarshalJSON(src []byte) error
func (*NullableResponseV1ConversationsGet) Unset ¶
func (v *NullableResponseV1ConversationsGet) Unset()
type NullableResponseV1ConversationsListInner ¶ added in v0.15.0
type NullableResponseV1ConversationsListInner struct {
// contains filtered or unexported fields
}
func NewNullableResponseV1ConversationsListInner ¶ added in v0.15.0
func NewNullableResponseV1ConversationsListInner(val *ResponseV1ConversationsListInner) *NullableResponseV1ConversationsListInner
func (NullableResponseV1ConversationsListInner) IsSet ¶ added in v0.15.0
func (v NullableResponseV1ConversationsListInner) IsSet() bool
func (NullableResponseV1ConversationsListInner) MarshalJSON ¶ added in v0.15.0
func (v NullableResponseV1ConversationsListInner) MarshalJSON() ([]byte, error)
func (*NullableResponseV1ConversationsListInner) Set ¶ added in v0.15.0
func (v *NullableResponseV1ConversationsListInner) Set(val *ResponseV1ConversationsListInner)
func (*NullableResponseV1ConversationsListInner) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableResponseV1ConversationsListInner) UnmarshalJSON(src []byte) error
func (*NullableResponseV1ConversationsListInner) Unset ¶ added in v0.15.0
func (v *NullableResponseV1ConversationsListInner) Unset()
type NullableRetrieveFileOut ¶
type NullableRetrieveFileOut struct {
// contains filtered or unexported fields
}
func NewNullableRetrieveFileOut ¶
func NewNullableRetrieveFileOut(val *RetrieveFileOut) *NullableRetrieveFileOut
func (NullableRetrieveFileOut) Get ¶
func (v NullableRetrieveFileOut) Get() *RetrieveFileOut
func (NullableRetrieveFileOut) IsSet ¶
func (v NullableRetrieveFileOut) IsSet() bool
func (NullableRetrieveFileOut) MarshalJSON ¶
func (v NullableRetrieveFileOut) MarshalJSON() ([]byte, error)
func (*NullableRetrieveFileOut) Set ¶
func (v *NullableRetrieveFileOut) Set(val *RetrieveFileOut)
func (*NullableRetrieveFileOut) UnmarshalJSON ¶
func (v *NullableRetrieveFileOut) UnmarshalJSON(src []byte) error
func (*NullableRetrieveFileOut) Unset ¶
func (v *NullableRetrieveFileOut) Unset()
type NullableSSETypes ¶
type NullableSSETypes struct {
// contains filtered or unexported fields
}
func NewNullableSSETypes ¶
func NewNullableSSETypes(val *SSETypes) *NullableSSETypes
func (NullableSSETypes) Get ¶
func (v NullableSSETypes) Get() *SSETypes
func (NullableSSETypes) IsSet ¶
func (v NullableSSETypes) IsSet() bool
func (NullableSSETypes) MarshalJSON ¶
func (v NullableSSETypes) MarshalJSON() ([]byte, error)
func (*NullableSSETypes) Set ¶
func (v *NullableSSETypes) Set(val *SSETypes)
func (*NullableSSETypes) UnmarshalJSON ¶
func (v *NullableSSETypes) UnmarshalJSON(src []byte) error
func (*NullableSSETypes) Unset ¶
func (v *NullableSSETypes) Unset()
type NullableSampleType ¶
type NullableSampleType struct {
// contains filtered or unexported fields
}
func NewNullableSampleType ¶
func NewNullableSampleType(val *SampleType) *NullableSampleType
func (NullableSampleType) Get ¶
func (v NullableSampleType) Get() *SampleType
func (NullableSampleType) IsSet ¶
func (v NullableSampleType) IsSet() bool
func (NullableSampleType) MarshalJSON ¶
func (v NullableSampleType) MarshalJSON() ([]byte, error)
func (*NullableSampleType) Set ¶
func (v *NullableSampleType) Set(val *SampleType)
func (*NullableSampleType) UnmarshalJSON ¶
func (v *NullableSampleType) UnmarshalJSON(src []byte) error
func (*NullableSampleType) Unset ¶
func (v *NullableSampleType) Unset()
type NullableShareEnum ¶ added in v0.6.0
type NullableShareEnum struct {
// contains filtered or unexported fields
}
func NewNullableShareEnum ¶ added in v0.6.0
func NewNullableShareEnum(val *ShareEnum) *NullableShareEnum
func (NullableShareEnum) Get ¶ added in v0.6.0
func (v NullableShareEnum) Get() *ShareEnum
func (NullableShareEnum) IsSet ¶ added in v0.6.0
func (v NullableShareEnum) IsSet() bool
func (NullableShareEnum) MarshalJSON ¶ added in v0.6.0
func (v NullableShareEnum) MarshalJSON() ([]byte, error)
func (*NullableShareEnum) Set ¶ added in v0.6.0
func (v *NullableShareEnum) Set(val *ShareEnum)
func (*NullableShareEnum) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableShareEnum) UnmarshalJSON(src []byte) error
func (*NullableShareEnum) Unset ¶ added in v0.6.0
func (v *NullableShareEnum) Unset()
type NullableSharingDelete ¶ added in v0.6.0
type NullableSharingDelete struct {
// contains filtered or unexported fields
}
func NewNullableSharingDelete ¶ added in v0.6.0
func NewNullableSharingDelete(val *SharingDelete) *NullableSharingDelete
func (NullableSharingDelete) Get ¶ added in v0.6.0
func (v NullableSharingDelete) Get() *SharingDelete
func (NullableSharingDelete) IsSet ¶ added in v0.6.0
func (v NullableSharingDelete) IsSet() bool
func (NullableSharingDelete) MarshalJSON ¶ added in v0.6.0
func (v NullableSharingDelete) MarshalJSON() ([]byte, error)
func (*NullableSharingDelete) Set ¶ added in v0.6.0
func (v *NullableSharingDelete) Set(val *SharingDelete)
func (*NullableSharingDelete) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableSharingDelete) UnmarshalJSON(src []byte) error
func (*NullableSharingDelete) Unset ¶ added in v0.6.0
func (v *NullableSharingDelete) Unset()
type NullableSharingIn ¶ added in v0.6.0
type NullableSharingIn struct {
// contains filtered or unexported fields
}
func NewNullableSharingIn ¶ added in v0.6.0
func NewNullableSharingIn(val *SharingIn) *NullableSharingIn
func (NullableSharingIn) Get ¶ added in v0.6.0
func (v NullableSharingIn) Get() *SharingIn
func (NullableSharingIn) IsSet ¶ added in v0.6.0
func (v NullableSharingIn) IsSet() bool
func (NullableSharingIn) MarshalJSON ¶ added in v0.6.0
func (v NullableSharingIn) MarshalJSON() ([]byte, error)
func (*NullableSharingIn) Set ¶ added in v0.6.0
func (v *NullableSharingIn) Set(val *SharingIn)
func (*NullableSharingIn) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableSharingIn) UnmarshalJSON(src []byte) error
func (*NullableSharingIn) Unset ¶ added in v0.6.0
func (v *NullableSharingIn) Unset()
type NullableSharingOut ¶ added in v0.6.0
type NullableSharingOut struct {
// contains filtered or unexported fields
}
func NewNullableSharingOut ¶ added in v0.6.0
func NewNullableSharingOut(val *SharingOut) *NullableSharingOut
func (NullableSharingOut) Get ¶ added in v0.6.0
func (v NullableSharingOut) Get() *SharingOut
func (NullableSharingOut) IsSet ¶ added in v0.6.0
func (v NullableSharingOut) IsSet() bool
func (NullableSharingOut) MarshalJSON ¶ added in v0.6.0
func (v NullableSharingOut) MarshalJSON() ([]byte, error)
func (*NullableSharingOut) Set ¶ added in v0.6.0
func (v *NullableSharingOut) Set(val *SharingOut)
func (*NullableSharingOut) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableSharingOut) UnmarshalJSON(src []byte) error
func (*NullableSharingOut) Unset ¶ added in v0.6.0
func (v *NullableSharingOut) Unset()
type NullableSource ¶
type NullableSource struct {
// contains filtered or unexported fields
}
func NewNullableSource ¶
func NewNullableSource(val *Source) *NullableSource
func (NullableSource) Get ¶
func (v NullableSource) Get() *Source
func (NullableSource) IsSet ¶
func (v NullableSource) IsSet() bool
func (NullableSource) MarshalJSON ¶
func (v NullableSource) MarshalJSON() ([]byte, error)
func (*NullableSource) Set ¶
func (v *NullableSource) Set(val *Source)
func (*NullableSource) UnmarshalJSON ¶
func (v *NullableSource) UnmarshalJSON(src []byte) error
func (*NullableSource) Unset ¶
func (v *NullableSource) Unset()
type NullableStop ¶
type NullableStop struct {
// contains filtered or unexported fields
}
func NewNullableStop ¶
func NewNullableStop(val *Stop) *NullableStop
func (NullableStop) Get ¶
func (v NullableStop) Get() *Stop
func (NullableStop) IsSet ¶
func (v NullableStop) IsSet() bool
func (NullableStop) MarshalJSON ¶
func (v NullableStop) MarshalJSON() ([]byte, error)
func (*NullableStop) Set ¶
func (v *NullableStop) Set(val *Stop)
func (*NullableStop) UnmarshalJSON ¶
func (v *NullableStop) UnmarshalJSON(src []byte) error
func (*NullableStop) Unset ¶
func (v *NullableStop) 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 NullableSystemMessage ¶
type NullableSystemMessage struct {
// contains filtered or unexported fields
}
func NewNullableSystemMessage ¶
func NewNullableSystemMessage(val *SystemMessage) *NullableSystemMessage
func (NullableSystemMessage) Get ¶
func (v NullableSystemMessage) Get() *SystemMessage
func (NullableSystemMessage) IsSet ¶
func (v NullableSystemMessage) IsSet() bool
func (NullableSystemMessage) MarshalJSON ¶
func (v NullableSystemMessage) MarshalJSON() ([]byte, error)
func (*NullableSystemMessage) Set ¶
func (v *NullableSystemMessage) Set(val *SystemMessage)
func (*NullableSystemMessage) UnmarshalJSON ¶
func (v *NullableSystemMessage) UnmarshalJSON(src []byte) error
func (*NullableSystemMessage) Unset ¶
func (v *NullableSystemMessage) Unset()
type NullableSystemMessageContentChunks ¶ added in v0.15.0
type NullableSystemMessageContentChunks struct {
// contains filtered or unexported fields
}
func NewNullableSystemMessageContentChunks ¶ added in v0.15.0
func NewNullableSystemMessageContentChunks(val *SystemMessageContentChunks) *NullableSystemMessageContentChunks
func (NullableSystemMessageContentChunks) Get ¶ added in v0.15.0
func (v NullableSystemMessageContentChunks) Get() *SystemMessageContentChunks
func (NullableSystemMessageContentChunks) IsSet ¶ added in v0.15.0
func (v NullableSystemMessageContentChunks) IsSet() bool
func (NullableSystemMessageContentChunks) MarshalJSON ¶ added in v0.15.0
func (v NullableSystemMessageContentChunks) MarshalJSON() ([]byte, error)
func (*NullableSystemMessageContentChunks) Set ¶ added in v0.15.0
func (v *NullableSystemMessageContentChunks) Set(val *SystemMessageContentChunks)
func (*NullableSystemMessageContentChunks) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableSystemMessageContentChunks) UnmarshalJSON(src []byte) error
func (*NullableSystemMessageContentChunks) Unset ¶ added in v0.15.0
func (v *NullableSystemMessageContentChunks) Unset()
type NullableTextChunk ¶
type NullableTextChunk struct {
// contains filtered or unexported fields
}
func NewNullableTextChunk ¶
func NewNullableTextChunk(val *TextChunk) *NullableTextChunk
func (NullableTextChunk) Get ¶
func (v NullableTextChunk) Get() *TextChunk
func (NullableTextChunk) IsSet ¶
func (v NullableTextChunk) IsSet() bool
func (NullableTextChunk) MarshalJSON ¶
func (v NullableTextChunk) MarshalJSON() ([]byte, error)
func (*NullableTextChunk) Set ¶
func (v *NullableTextChunk) Set(val *TextChunk)
func (*NullableTextChunk) UnmarshalJSON ¶
func (v *NullableTextChunk) UnmarshalJSON(src []byte) error
func (*NullableTextChunk) Unset ¶
func (v *NullableTextChunk) Unset()
type NullableThinkChunk ¶ added in v0.15.0
type NullableThinkChunk struct {
// contains filtered or unexported fields
}
func NewNullableThinkChunk ¶ added in v0.15.0
func NewNullableThinkChunk(val *ThinkChunk) *NullableThinkChunk
func (NullableThinkChunk) Get ¶ added in v0.15.0
func (v NullableThinkChunk) Get() *ThinkChunk
func (NullableThinkChunk) IsSet ¶ added in v0.15.0
func (v NullableThinkChunk) IsSet() bool
func (NullableThinkChunk) MarshalJSON ¶ added in v0.15.0
func (v NullableThinkChunk) MarshalJSON() ([]byte, error)
func (*NullableThinkChunk) Set ¶ added in v0.15.0
func (v *NullableThinkChunk) Set(val *ThinkChunk)
func (*NullableThinkChunk) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableThinkChunk) UnmarshalJSON(src []byte) error
func (*NullableThinkChunk) Unset ¶ added in v0.15.0
func (v *NullableThinkChunk) Unset()
type NullableThinkingInner ¶ added in v0.15.0
type NullableThinkingInner struct {
// contains filtered or unexported fields
}
func NewNullableThinkingInner ¶ added in v0.15.0
func NewNullableThinkingInner(val *ThinkingInner) *NullableThinkingInner
func (NullableThinkingInner) Get ¶ added in v0.15.0
func (v NullableThinkingInner) Get() *ThinkingInner
func (NullableThinkingInner) IsSet ¶ added in v0.15.0
func (v NullableThinkingInner) IsSet() bool
func (NullableThinkingInner) MarshalJSON ¶ added in v0.15.0
func (v NullableThinkingInner) MarshalJSON() ([]byte, error)
func (*NullableThinkingInner) Set ¶ added in v0.15.0
func (v *NullableThinkingInner) Set(val *ThinkingInner)
func (*NullableThinkingInner) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableThinkingInner) UnmarshalJSON(src []byte) error
func (*NullableThinkingInner) Unset ¶ added in v0.15.0
func (v *NullableThinkingInner) 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 NullableTimestampGranularity ¶ added in v0.15.0
type NullableTimestampGranularity struct {
// contains filtered or unexported fields
}
func NewNullableTimestampGranularity ¶ added in v0.15.0
func NewNullableTimestampGranularity(val *TimestampGranularity) *NullableTimestampGranularity
func (NullableTimestampGranularity) Get ¶ added in v0.15.0
func (v NullableTimestampGranularity) Get() *TimestampGranularity
func (NullableTimestampGranularity) IsSet ¶ added in v0.15.0
func (v NullableTimestampGranularity) IsSet() bool
func (NullableTimestampGranularity) MarshalJSON ¶ added in v0.15.0
func (v NullableTimestampGranularity) MarshalJSON() ([]byte, error)
func (*NullableTimestampGranularity) Set ¶ added in v0.15.0
func (v *NullableTimestampGranularity) Set(val *TimestampGranularity)
func (*NullableTimestampGranularity) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTimestampGranularity) UnmarshalJSON(src []byte) error
func (*NullableTimestampGranularity) Unset ¶ added in v0.15.0
func (v *NullableTimestampGranularity) Unset()
type NullableTool ¶
type NullableTool struct {
// contains filtered or unexported fields
}
func NewNullableTool ¶
func NewNullableTool(val *Tool) *NullableTool
func (NullableTool) Get ¶
func (v NullableTool) Get() *Tool
func (NullableTool) IsSet ¶
func (v NullableTool) IsSet() bool
func (NullableTool) MarshalJSON ¶
func (v NullableTool) MarshalJSON() ([]byte, error)
func (*NullableTool) Set ¶
func (v *NullableTool) Set(val *Tool)
func (*NullableTool) UnmarshalJSON ¶
func (v *NullableTool) UnmarshalJSON(src []byte) error
func (*NullableTool) Unset ¶
func (v *NullableTool) Unset()
type NullableTool1 ¶ added in v0.15.0
type NullableTool1 struct {
// contains filtered or unexported fields
}
func NewNullableTool1 ¶ added in v0.15.0
func NewNullableTool1(val *Tool1) *NullableTool1
func (NullableTool1) Get ¶ added in v0.15.0
func (v NullableTool1) Get() *Tool1
func (NullableTool1) IsSet ¶ added in v0.15.0
func (v NullableTool1) IsSet() bool
func (NullableTool1) MarshalJSON ¶ added in v0.15.0
func (v NullableTool1) MarshalJSON() ([]byte, error)
func (*NullableTool1) Set ¶ added in v0.15.0
func (v *NullableTool1) Set(val *Tool1)
func (*NullableTool1) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTool1) UnmarshalJSON(src []byte) error
func (*NullableTool1) Unset ¶ added in v0.15.0
func (v *NullableTool1) Unset()
type NullableToolCall ¶
type NullableToolCall struct {
// contains filtered or unexported fields
}
func NewNullableToolCall ¶
func NewNullableToolCall(val *ToolCall) *NullableToolCall
func (NullableToolCall) Get ¶
func (v NullableToolCall) Get() *ToolCall
func (NullableToolCall) IsSet ¶
func (v NullableToolCall) IsSet() bool
func (NullableToolCall) MarshalJSON ¶
func (v NullableToolCall) MarshalJSON() ([]byte, error)
func (*NullableToolCall) Set ¶
func (v *NullableToolCall) Set(val *ToolCall)
func (*NullableToolCall) UnmarshalJSON ¶
func (v *NullableToolCall) UnmarshalJSON(src []byte) error
func (*NullableToolCall) Unset ¶
func (v *NullableToolCall) Unset()
type NullableToolChoice ¶
type NullableToolChoice struct {
// contains filtered or unexported fields
}
func NewNullableToolChoice ¶
func NewNullableToolChoice(val *ToolChoice) *NullableToolChoice
func (NullableToolChoice) Get ¶
func (v NullableToolChoice) Get() *ToolChoice
func (NullableToolChoice) IsSet ¶
func (v NullableToolChoice) IsSet() bool
func (NullableToolChoice) MarshalJSON ¶
func (v NullableToolChoice) MarshalJSON() ([]byte, error)
func (*NullableToolChoice) Set ¶
func (v *NullableToolChoice) Set(val *ToolChoice)
func (*NullableToolChoice) UnmarshalJSON ¶
func (v *NullableToolChoice) UnmarshalJSON(src []byte) error
func (*NullableToolChoice) Unset ¶
func (v *NullableToolChoice) Unset()
type NullableToolChoice1 ¶ added in v0.15.0
type NullableToolChoice1 struct {
// contains filtered or unexported fields
}
func NewNullableToolChoice1 ¶ added in v0.15.0
func NewNullableToolChoice1(val *ToolChoice1) *NullableToolChoice1
func (NullableToolChoice1) Get ¶ added in v0.15.0
func (v NullableToolChoice1) Get() *ToolChoice1
func (NullableToolChoice1) IsSet ¶ added in v0.15.0
func (v NullableToolChoice1) IsSet() bool
func (NullableToolChoice1) MarshalJSON ¶ added in v0.15.0
func (v NullableToolChoice1) MarshalJSON() ([]byte, error)
func (*NullableToolChoice1) Set ¶ added in v0.15.0
func (v *NullableToolChoice1) Set(val *ToolChoice1)
func (*NullableToolChoice1) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableToolChoice1) UnmarshalJSON(src []byte) error
func (*NullableToolChoice1) Unset ¶ added in v0.15.0
func (v *NullableToolChoice1) Unset()
type NullableToolChoiceEnum ¶
type NullableToolChoiceEnum struct {
// contains filtered or unexported fields
}
func NewNullableToolChoiceEnum ¶
func NewNullableToolChoiceEnum(val *ToolChoiceEnum) *NullableToolChoiceEnum
func (NullableToolChoiceEnum) Get ¶
func (v NullableToolChoiceEnum) Get() *ToolChoiceEnum
func (NullableToolChoiceEnum) IsSet ¶
func (v NullableToolChoiceEnum) IsSet() bool
func (NullableToolChoiceEnum) MarshalJSON ¶
func (v NullableToolChoiceEnum) MarshalJSON() ([]byte, error)
func (*NullableToolChoiceEnum) Set ¶
func (v *NullableToolChoiceEnum) Set(val *ToolChoiceEnum)
func (*NullableToolChoiceEnum) UnmarshalJSON ¶
func (v *NullableToolChoiceEnum) UnmarshalJSON(src []byte) error
func (*NullableToolChoiceEnum) Unset ¶
func (v *NullableToolChoiceEnum) Unset()
type NullableToolExecutionDeltaEvent ¶ added in v0.6.0
type NullableToolExecutionDeltaEvent struct {
// contains filtered or unexported fields
}
func NewNullableToolExecutionDeltaEvent ¶ added in v0.6.0
func NewNullableToolExecutionDeltaEvent(val *ToolExecutionDeltaEvent) *NullableToolExecutionDeltaEvent
func (NullableToolExecutionDeltaEvent) Get ¶ added in v0.6.0
func (v NullableToolExecutionDeltaEvent) Get() *ToolExecutionDeltaEvent
func (NullableToolExecutionDeltaEvent) IsSet ¶ added in v0.6.0
func (v NullableToolExecutionDeltaEvent) IsSet() bool
func (NullableToolExecutionDeltaEvent) MarshalJSON ¶ added in v0.6.0
func (v NullableToolExecutionDeltaEvent) MarshalJSON() ([]byte, error)
func (*NullableToolExecutionDeltaEvent) Set ¶ added in v0.6.0
func (v *NullableToolExecutionDeltaEvent) Set(val *ToolExecutionDeltaEvent)
func (*NullableToolExecutionDeltaEvent) UnmarshalJSON ¶ added in v0.6.0
func (v *NullableToolExecutionDeltaEvent) UnmarshalJSON(src []byte) error
func (*NullableToolExecutionDeltaEvent) Unset ¶ added in v0.6.0
func (v *NullableToolExecutionDeltaEvent) Unset()
type NullableToolExecutionDoneEvent ¶
type NullableToolExecutionDoneEvent struct {
// contains filtered or unexported fields
}
func NewNullableToolExecutionDoneEvent ¶
func NewNullableToolExecutionDoneEvent(val *ToolExecutionDoneEvent) *NullableToolExecutionDoneEvent
func (NullableToolExecutionDoneEvent) Get ¶
func (v NullableToolExecutionDoneEvent) Get() *ToolExecutionDoneEvent
func (NullableToolExecutionDoneEvent) IsSet ¶
func (v NullableToolExecutionDoneEvent) IsSet() bool
func (NullableToolExecutionDoneEvent) MarshalJSON ¶
func (v NullableToolExecutionDoneEvent) MarshalJSON() ([]byte, error)
func (*NullableToolExecutionDoneEvent) Set ¶
func (v *NullableToolExecutionDoneEvent) Set(val *ToolExecutionDoneEvent)
func (*NullableToolExecutionDoneEvent) UnmarshalJSON ¶
func (v *NullableToolExecutionDoneEvent) UnmarshalJSON(src []byte) error
func (*NullableToolExecutionDoneEvent) Unset ¶
func (v *NullableToolExecutionDoneEvent) Unset()
type NullableToolExecutionEntry ¶
type NullableToolExecutionEntry struct {
// contains filtered or unexported fields
}
func NewNullableToolExecutionEntry ¶
func NewNullableToolExecutionEntry(val *ToolExecutionEntry) *NullableToolExecutionEntry
func (NullableToolExecutionEntry) Get ¶
func (v NullableToolExecutionEntry) Get() *ToolExecutionEntry
func (NullableToolExecutionEntry) IsSet ¶
func (v NullableToolExecutionEntry) IsSet() bool
func (NullableToolExecutionEntry) MarshalJSON ¶
func (v NullableToolExecutionEntry) MarshalJSON() ([]byte, error)
func (*NullableToolExecutionEntry) Set ¶
func (v *NullableToolExecutionEntry) Set(val *ToolExecutionEntry)
func (*NullableToolExecutionEntry) UnmarshalJSON ¶
func (v *NullableToolExecutionEntry) UnmarshalJSON(src []byte) error
func (*NullableToolExecutionEntry) Unset ¶
func (v *NullableToolExecutionEntry) Unset()
type NullableToolExecutionStartedEvent ¶
type NullableToolExecutionStartedEvent struct {
// contains filtered or unexported fields
}
func NewNullableToolExecutionStartedEvent ¶
func NewNullableToolExecutionStartedEvent(val *ToolExecutionStartedEvent) *NullableToolExecutionStartedEvent
func (NullableToolExecutionStartedEvent) Get ¶
func (v NullableToolExecutionStartedEvent) Get() *ToolExecutionStartedEvent
func (NullableToolExecutionStartedEvent) IsSet ¶
func (v NullableToolExecutionStartedEvent) IsSet() bool
func (NullableToolExecutionStartedEvent) MarshalJSON ¶
func (v NullableToolExecutionStartedEvent) MarshalJSON() ([]byte, error)
func (*NullableToolExecutionStartedEvent) Set ¶
func (v *NullableToolExecutionStartedEvent) Set(val *ToolExecutionStartedEvent)
func (*NullableToolExecutionStartedEvent) UnmarshalJSON ¶
func (v *NullableToolExecutionStartedEvent) UnmarshalJSON(src []byte) error
func (*NullableToolExecutionStartedEvent) Unset ¶
func (v *NullableToolExecutionStartedEvent) Unset()
type NullableToolFileChunk ¶
type NullableToolFileChunk struct {
// contains filtered or unexported fields
}
func NewNullableToolFileChunk ¶
func NewNullableToolFileChunk(val *ToolFileChunk) *NullableToolFileChunk
func (NullableToolFileChunk) Get ¶
func (v NullableToolFileChunk) Get() *ToolFileChunk
func (NullableToolFileChunk) IsSet ¶
func (v NullableToolFileChunk) IsSet() bool
func (NullableToolFileChunk) MarshalJSON ¶
func (v NullableToolFileChunk) MarshalJSON() ([]byte, error)
func (*NullableToolFileChunk) Set ¶
func (v *NullableToolFileChunk) Set(val *ToolFileChunk)
func (*NullableToolFileChunk) UnmarshalJSON ¶
func (v *NullableToolFileChunk) UnmarshalJSON(src []byte) error
func (*NullableToolFileChunk) Unset ¶
func (v *NullableToolFileChunk) Unset()
type NullableToolMessage ¶
type NullableToolMessage struct {
// contains filtered or unexported fields
}
func NewNullableToolMessage ¶
func NewNullableToolMessage(val *ToolMessage) *NullableToolMessage
func (NullableToolMessage) Get ¶
func (v NullableToolMessage) Get() *ToolMessage
func (NullableToolMessage) IsSet ¶
func (v NullableToolMessage) IsSet() bool
func (NullableToolMessage) MarshalJSON ¶
func (v NullableToolMessage) MarshalJSON() ([]byte, error)
func (*NullableToolMessage) Set ¶
func (v *NullableToolMessage) Set(val *ToolMessage)
func (*NullableToolMessage) UnmarshalJSON ¶
func (v *NullableToolMessage) UnmarshalJSON(src []byte) error
func (*NullableToolMessage) Unset ¶
func (v *NullableToolMessage) Unset()
type NullableToolReferenceChunk ¶
type NullableToolReferenceChunk struct {
// contains filtered or unexported fields
}
func NewNullableToolReferenceChunk ¶
func NewNullableToolReferenceChunk(val *ToolReferenceChunk) *NullableToolReferenceChunk
func (NullableToolReferenceChunk) Get ¶
func (v NullableToolReferenceChunk) Get() *ToolReferenceChunk
func (NullableToolReferenceChunk) IsSet ¶
func (v NullableToolReferenceChunk) IsSet() bool
func (NullableToolReferenceChunk) MarshalJSON ¶
func (v NullableToolReferenceChunk) MarshalJSON() ([]byte, error)
func (*NullableToolReferenceChunk) Set ¶
func (v *NullableToolReferenceChunk) Set(val *ToolReferenceChunk)
func (*NullableToolReferenceChunk) UnmarshalJSON ¶
func (v *NullableToolReferenceChunk) UnmarshalJSON(src []byte) error
func (*NullableToolReferenceChunk) Unset ¶
func (v *NullableToolReferenceChunk) Unset()
type NullableToolTypes ¶
type NullableToolTypes struct {
// contains filtered or unexported fields
}
func NewNullableToolTypes ¶
func NewNullableToolTypes(val *ToolTypes) *NullableToolTypes
func (NullableToolTypes) Get ¶
func (v NullableToolTypes) Get() *ToolTypes
func (NullableToolTypes) IsSet ¶
func (v NullableToolTypes) IsSet() bool
func (NullableToolTypes) MarshalJSON ¶
func (v NullableToolTypes) MarshalJSON() ([]byte, error)
func (*NullableToolTypes) Set ¶
func (v *NullableToolTypes) Set(val *ToolTypes)
func (*NullableToolTypes) UnmarshalJSON ¶
func (v *NullableToolTypes) UnmarshalJSON(src []byte) error
func (*NullableToolTypes) Unset ¶
func (v *NullableToolTypes) Unset()
type NullableToolsInner ¶ added in v0.15.0
type NullableToolsInner struct {
// contains filtered or unexported fields
}
func NewNullableToolsInner ¶ added in v0.15.0
func NewNullableToolsInner(val *ToolsInner) *NullableToolsInner
func (NullableToolsInner) Get ¶ added in v0.15.0
func (v NullableToolsInner) Get() *ToolsInner
func (NullableToolsInner) IsSet ¶ added in v0.15.0
func (v NullableToolsInner) IsSet() bool
func (NullableToolsInner) MarshalJSON ¶ added in v0.15.0
func (v NullableToolsInner) MarshalJSON() ([]byte, error)
func (*NullableToolsInner) Set ¶ added in v0.15.0
func (v *NullableToolsInner) Set(val *ToolsInner)
func (*NullableToolsInner) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableToolsInner) UnmarshalJSON(src []byte) error
func (*NullableToolsInner) Unset ¶ added in v0.15.0
func (v *NullableToolsInner) Unset()
type NullableTrainingFile ¶
type NullableTrainingFile struct {
// contains filtered or unexported fields
}
func NewNullableTrainingFile ¶
func NewNullableTrainingFile(val *TrainingFile) *NullableTrainingFile
func (NullableTrainingFile) Get ¶
func (v NullableTrainingFile) Get() *TrainingFile
func (NullableTrainingFile) IsSet ¶
func (v NullableTrainingFile) IsSet() bool
func (NullableTrainingFile) MarshalJSON ¶
func (v NullableTrainingFile) MarshalJSON() ([]byte, error)
func (*NullableTrainingFile) Set ¶
func (v *NullableTrainingFile) Set(val *TrainingFile)
func (*NullableTrainingFile) UnmarshalJSON ¶
func (v *NullableTrainingFile) UnmarshalJSON(src []byte) error
func (*NullableTrainingFile) Unset ¶
func (v *NullableTrainingFile) Unset()
type NullableTranscriptionResponse ¶ added in v0.15.0
type NullableTranscriptionResponse struct {
// contains filtered or unexported fields
}
func NewNullableTranscriptionResponse ¶ added in v0.15.0
func NewNullableTranscriptionResponse(val *TranscriptionResponse) *NullableTranscriptionResponse
func (NullableTranscriptionResponse) Get ¶ added in v0.15.0
func (v NullableTranscriptionResponse) Get() *TranscriptionResponse
func (NullableTranscriptionResponse) IsSet ¶ added in v0.15.0
func (v NullableTranscriptionResponse) IsSet() bool
func (NullableTranscriptionResponse) MarshalJSON ¶ added in v0.15.0
func (v NullableTranscriptionResponse) MarshalJSON() ([]byte, error)
func (*NullableTranscriptionResponse) Set ¶ added in v0.15.0
func (v *NullableTranscriptionResponse) Set(val *TranscriptionResponse)
func (*NullableTranscriptionResponse) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTranscriptionResponse) UnmarshalJSON(src []byte) error
func (*NullableTranscriptionResponse) Unset ¶ added in v0.15.0
func (v *NullableTranscriptionResponse) Unset()
type NullableTranscriptionSegmentChunk ¶ added in v0.15.0
type NullableTranscriptionSegmentChunk struct {
// contains filtered or unexported fields
}
func NewNullableTranscriptionSegmentChunk ¶ added in v0.15.0
func NewNullableTranscriptionSegmentChunk(val *TranscriptionSegmentChunk) *NullableTranscriptionSegmentChunk
func (NullableTranscriptionSegmentChunk) Get ¶ added in v0.15.0
func (v NullableTranscriptionSegmentChunk) Get() *TranscriptionSegmentChunk
func (NullableTranscriptionSegmentChunk) IsSet ¶ added in v0.15.0
func (v NullableTranscriptionSegmentChunk) IsSet() bool
func (NullableTranscriptionSegmentChunk) MarshalJSON ¶ added in v0.15.0
func (v NullableTranscriptionSegmentChunk) MarshalJSON() ([]byte, error)
func (*NullableTranscriptionSegmentChunk) Set ¶ added in v0.15.0
func (v *NullableTranscriptionSegmentChunk) Set(val *TranscriptionSegmentChunk)
func (*NullableTranscriptionSegmentChunk) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTranscriptionSegmentChunk) UnmarshalJSON(src []byte) error
func (*NullableTranscriptionSegmentChunk) Unset ¶ added in v0.15.0
func (v *NullableTranscriptionSegmentChunk) Unset()
type NullableTranscriptionStreamDone ¶ added in v0.15.0
type NullableTranscriptionStreamDone struct {
// contains filtered or unexported fields
}
func NewNullableTranscriptionStreamDone ¶ added in v0.15.0
func NewNullableTranscriptionStreamDone(val *TranscriptionStreamDone) *NullableTranscriptionStreamDone
func (NullableTranscriptionStreamDone) Get ¶ added in v0.15.0
func (v NullableTranscriptionStreamDone) Get() *TranscriptionStreamDone
func (NullableTranscriptionStreamDone) IsSet ¶ added in v0.15.0
func (v NullableTranscriptionStreamDone) IsSet() bool
func (NullableTranscriptionStreamDone) MarshalJSON ¶ added in v0.15.0
func (v NullableTranscriptionStreamDone) MarshalJSON() ([]byte, error)
func (*NullableTranscriptionStreamDone) Set ¶ added in v0.15.0
func (v *NullableTranscriptionStreamDone) Set(val *TranscriptionStreamDone)
func (*NullableTranscriptionStreamDone) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTranscriptionStreamDone) UnmarshalJSON(src []byte) error
func (*NullableTranscriptionStreamDone) Unset ¶ added in v0.15.0
func (v *NullableTranscriptionStreamDone) Unset()
type NullableTranscriptionStreamEventTypes ¶ added in v0.15.0
type NullableTranscriptionStreamEventTypes struct {
// contains filtered or unexported fields
}
func NewNullableTranscriptionStreamEventTypes ¶ added in v0.15.0
func NewNullableTranscriptionStreamEventTypes(val *TranscriptionStreamEventTypes) *NullableTranscriptionStreamEventTypes
func (NullableTranscriptionStreamEventTypes) Get ¶ added in v0.15.0
func (v NullableTranscriptionStreamEventTypes) Get() *TranscriptionStreamEventTypes
func (NullableTranscriptionStreamEventTypes) IsSet ¶ added in v0.15.0
func (v NullableTranscriptionStreamEventTypes) IsSet() bool
func (NullableTranscriptionStreamEventTypes) MarshalJSON ¶ added in v0.15.0
func (v NullableTranscriptionStreamEventTypes) MarshalJSON() ([]byte, error)
func (*NullableTranscriptionStreamEventTypes) Set ¶ added in v0.15.0
func (v *NullableTranscriptionStreamEventTypes) Set(val *TranscriptionStreamEventTypes)
func (*NullableTranscriptionStreamEventTypes) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTranscriptionStreamEventTypes) UnmarshalJSON(src []byte) error
func (*NullableTranscriptionStreamEventTypes) Unset ¶ added in v0.15.0
func (v *NullableTranscriptionStreamEventTypes) Unset()
type NullableTranscriptionStreamEvents ¶ added in v0.15.0
type NullableTranscriptionStreamEvents struct {
// contains filtered or unexported fields
}
func NewNullableTranscriptionStreamEvents ¶ added in v0.15.0
func NewNullableTranscriptionStreamEvents(val *TranscriptionStreamEvents) *NullableTranscriptionStreamEvents
func (NullableTranscriptionStreamEvents) Get ¶ added in v0.15.0
func (v NullableTranscriptionStreamEvents) Get() *TranscriptionStreamEvents
func (NullableTranscriptionStreamEvents) IsSet ¶ added in v0.15.0
func (v NullableTranscriptionStreamEvents) IsSet() bool
func (NullableTranscriptionStreamEvents) MarshalJSON ¶ added in v0.15.0
func (v NullableTranscriptionStreamEvents) MarshalJSON() ([]byte, error)
func (*NullableTranscriptionStreamEvents) Set ¶ added in v0.15.0
func (v *NullableTranscriptionStreamEvents) Set(val *TranscriptionStreamEvents)
func (*NullableTranscriptionStreamEvents) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTranscriptionStreamEvents) UnmarshalJSON(src []byte) error
func (*NullableTranscriptionStreamEvents) Unset ¶ added in v0.15.0
func (v *NullableTranscriptionStreamEvents) Unset()
type NullableTranscriptionStreamLanguage ¶ added in v0.15.0
type NullableTranscriptionStreamLanguage struct {
// contains filtered or unexported fields
}
func NewNullableTranscriptionStreamLanguage ¶ added in v0.15.0
func NewNullableTranscriptionStreamLanguage(val *TranscriptionStreamLanguage) *NullableTranscriptionStreamLanguage
func (NullableTranscriptionStreamLanguage) Get ¶ added in v0.15.0
func (v NullableTranscriptionStreamLanguage) Get() *TranscriptionStreamLanguage
func (NullableTranscriptionStreamLanguage) IsSet ¶ added in v0.15.0
func (v NullableTranscriptionStreamLanguage) IsSet() bool
func (NullableTranscriptionStreamLanguage) MarshalJSON ¶ added in v0.15.0
func (v NullableTranscriptionStreamLanguage) MarshalJSON() ([]byte, error)
func (*NullableTranscriptionStreamLanguage) Set ¶ added in v0.15.0
func (v *NullableTranscriptionStreamLanguage) Set(val *TranscriptionStreamLanguage)
func (*NullableTranscriptionStreamLanguage) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTranscriptionStreamLanguage) UnmarshalJSON(src []byte) error
func (*NullableTranscriptionStreamLanguage) Unset ¶ added in v0.15.0
func (v *NullableTranscriptionStreamLanguage) Unset()
type NullableTranscriptionStreamSegmentDelta ¶ added in v0.15.0
type NullableTranscriptionStreamSegmentDelta struct {
// contains filtered or unexported fields
}
func NewNullableTranscriptionStreamSegmentDelta ¶ added in v0.15.0
func NewNullableTranscriptionStreamSegmentDelta(val *TranscriptionStreamSegmentDelta) *NullableTranscriptionStreamSegmentDelta
func (NullableTranscriptionStreamSegmentDelta) IsSet ¶ added in v0.15.0
func (v NullableTranscriptionStreamSegmentDelta) IsSet() bool
func (NullableTranscriptionStreamSegmentDelta) MarshalJSON ¶ added in v0.15.0
func (v NullableTranscriptionStreamSegmentDelta) MarshalJSON() ([]byte, error)
func (*NullableTranscriptionStreamSegmentDelta) Set ¶ added in v0.15.0
func (v *NullableTranscriptionStreamSegmentDelta) Set(val *TranscriptionStreamSegmentDelta)
func (*NullableTranscriptionStreamSegmentDelta) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTranscriptionStreamSegmentDelta) UnmarshalJSON(src []byte) error
func (*NullableTranscriptionStreamSegmentDelta) Unset ¶ added in v0.15.0
func (v *NullableTranscriptionStreamSegmentDelta) Unset()
type NullableTranscriptionStreamTextDelta ¶ added in v0.15.0
type NullableTranscriptionStreamTextDelta struct {
// contains filtered or unexported fields
}
func NewNullableTranscriptionStreamTextDelta ¶ added in v0.15.0
func NewNullableTranscriptionStreamTextDelta(val *TranscriptionStreamTextDelta) *NullableTranscriptionStreamTextDelta
func (NullableTranscriptionStreamTextDelta) Get ¶ added in v0.15.0
func (v NullableTranscriptionStreamTextDelta) Get() *TranscriptionStreamTextDelta
func (NullableTranscriptionStreamTextDelta) IsSet ¶ added in v0.15.0
func (v NullableTranscriptionStreamTextDelta) IsSet() bool
func (NullableTranscriptionStreamTextDelta) MarshalJSON ¶ added in v0.15.0
func (v NullableTranscriptionStreamTextDelta) MarshalJSON() ([]byte, error)
func (*NullableTranscriptionStreamTextDelta) Set ¶ added in v0.15.0
func (v *NullableTranscriptionStreamTextDelta) Set(val *TranscriptionStreamTextDelta)
func (*NullableTranscriptionStreamTextDelta) UnmarshalJSON ¶ added in v0.15.0
func (v *NullableTranscriptionStreamTextDelta) UnmarshalJSON(src []byte) error
func (*NullableTranscriptionStreamTextDelta) Unset ¶ added in v0.15.0
func (v *NullableTranscriptionStreamTextDelta) Unset()
type NullableUnarchiveFTModelOut ¶
type NullableUnarchiveFTModelOut struct {
// contains filtered or unexported fields
}
func NewNullableUnarchiveFTModelOut ¶
func NewNullableUnarchiveFTModelOut(val *UnarchiveFTModelOut) *NullableUnarchiveFTModelOut
func (NullableUnarchiveFTModelOut) Get ¶
func (v NullableUnarchiveFTModelOut) Get() *UnarchiveFTModelOut
func (NullableUnarchiveFTModelOut) IsSet ¶
func (v NullableUnarchiveFTModelOut) IsSet() bool
func (NullableUnarchiveFTModelOut) MarshalJSON ¶
func (v NullableUnarchiveFTModelOut) MarshalJSON() ([]byte, error)
func (*NullableUnarchiveFTModelOut) Set ¶
func (v *NullableUnarchiveFTModelOut) Set(val *UnarchiveFTModelOut)
func (*NullableUnarchiveFTModelOut) UnmarshalJSON ¶
func (v *NullableUnarchiveFTModelOut) UnmarshalJSON(src []byte) error
func (*NullableUnarchiveFTModelOut) Unset ¶
func (v *NullableUnarchiveFTModelOut) Unset()
type NullableUpdateFTModelIn ¶
type NullableUpdateFTModelIn struct {
// contains filtered or unexported fields
}
func NewNullableUpdateFTModelIn ¶
func NewNullableUpdateFTModelIn(val *UpdateFTModelIn) *NullableUpdateFTModelIn
func (NullableUpdateFTModelIn) Get ¶
func (v NullableUpdateFTModelIn) Get() *UpdateFTModelIn
func (NullableUpdateFTModelIn) IsSet ¶
func (v NullableUpdateFTModelIn) IsSet() bool
func (NullableUpdateFTModelIn) MarshalJSON ¶
func (v NullableUpdateFTModelIn) MarshalJSON() ([]byte, error)
func (*NullableUpdateFTModelIn) Set ¶
func (v *NullableUpdateFTModelIn) Set(val *UpdateFTModelIn)
func (*NullableUpdateFTModelIn) UnmarshalJSON ¶
func (v *NullableUpdateFTModelIn) UnmarshalJSON(src []byte) error
func (*NullableUpdateFTModelIn) Unset ¶
func (v *NullableUpdateFTModelIn) Unset()
type NullableUploadFileOut ¶
type NullableUploadFileOut struct {
// contains filtered or unexported fields
}
func NewNullableUploadFileOut ¶
func NewNullableUploadFileOut(val *UploadFileOut) *NullableUploadFileOut
func (NullableUploadFileOut) Get ¶
func (v NullableUploadFileOut) Get() *UploadFileOut
func (NullableUploadFileOut) IsSet ¶
func (v NullableUploadFileOut) IsSet() bool
func (NullableUploadFileOut) MarshalJSON ¶
func (v NullableUploadFileOut) MarshalJSON() ([]byte, error)
func (*NullableUploadFileOut) Set ¶
func (v *NullableUploadFileOut) Set(val *UploadFileOut)
func (*NullableUploadFileOut) UnmarshalJSON ¶
func (v *NullableUploadFileOut) UnmarshalJSON(src []byte) error
func (*NullableUploadFileOut) Unset ¶
func (v *NullableUploadFileOut) Unset()
type NullableUsageInfo ¶
type NullableUsageInfo struct {
// contains filtered or unexported fields
}
func NewNullableUsageInfo ¶
func NewNullableUsageInfo(val *UsageInfo) *NullableUsageInfo
func (NullableUsageInfo) Get ¶
func (v NullableUsageInfo) Get() *UsageInfo
func (NullableUsageInfo) IsSet ¶
func (v NullableUsageInfo) IsSet() bool
func (NullableUsageInfo) MarshalJSON ¶
func (v NullableUsageInfo) MarshalJSON() ([]byte, error)
func (*NullableUsageInfo) Set ¶
func (v *NullableUsageInfo) Set(val *UsageInfo)
func (*NullableUsageInfo) UnmarshalJSON ¶
func (v *NullableUsageInfo) UnmarshalJSON(src []byte) error
func (*NullableUsageInfo) Unset ¶
func (v *NullableUsageInfo) Unset()
type NullableUserMessage ¶
type NullableUserMessage struct {
// contains filtered or unexported fields
}
func NewNullableUserMessage ¶
func NewNullableUserMessage(val *UserMessage) *NullableUserMessage
func (NullableUserMessage) Get ¶
func (v NullableUserMessage) Get() *UserMessage
func (NullableUserMessage) IsSet ¶
func (v NullableUserMessage) IsSet() bool
func (NullableUserMessage) MarshalJSON ¶
func (v NullableUserMessage) MarshalJSON() ([]byte, error)
func (*NullableUserMessage) Set ¶
func (v *NullableUserMessage) Set(val *UserMessage)
func (*NullableUserMessage) UnmarshalJSON ¶
func (v *NullableUserMessage) UnmarshalJSON(src []byte) error
func (*NullableUserMessage) Unset ¶
func (v *NullableUserMessage) 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 NullableWandbIntegration ¶
type NullableWandbIntegration struct {
// contains filtered or unexported fields
}
func NewNullableWandbIntegration ¶
func NewNullableWandbIntegration(val *WandbIntegration) *NullableWandbIntegration
func (NullableWandbIntegration) Get ¶
func (v NullableWandbIntegration) Get() *WandbIntegration
func (NullableWandbIntegration) IsSet ¶
func (v NullableWandbIntegration) IsSet() bool
func (NullableWandbIntegration) MarshalJSON ¶
func (v NullableWandbIntegration) MarshalJSON() ([]byte, error)
func (*NullableWandbIntegration) Set ¶
func (v *NullableWandbIntegration) Set(val *WandbIntegration)
func (*NullableWandbIntegration) UnmarshalJSON ¶
func (v *NullableWandbIntegration) UnmarshalJSON(src []byte) error
func (*NullableWandbIntegration) Unset ¶
func (v *NullableWandbIntegration) Unset()
type NullableWandbIntegrationOut ¶
type NullableWandbIntegrationOut struct {
// contains filtered or unexported fields
}
func NewNullableWandbIntegrationOut ¶
func NewNullableWandbIntegrationOut(val *WandbIntegrationOut) *NullableWandbIntegrationOut
func (NullableWandbIntegrationOut) Get ¶
func (v NullableWandbIntegrationOut) Get() *WandbIntegrationOut
func (NullableWandbIntegrationOut) IsSet ¶
func (v NullableWandbIntegrationOut) IsSet() bool
func (NullableWandbIntegrationOut) MarshalJSON ¶
func (v NullableWandbIntegrationOut) MarshalJSON() ([]byte, error)
func (*NullableWandbIntegrationOut) Set ¶
func (v *NullableWandbIntegrationOut) Set(val *WandbIntegrationOut)
func (*NullableWandbIntegrationOut) UnmarshalJSON ¶
func (v *NullableWandbIntegrationOut) UnmarshalJSON(src []byte) error
func (*NullableWandbIntegrationOut) Unset ¶
func (v *NullableWandbIntegrationOut) Unset()
type NullableWebSearchPremiumTool ¶
type NullableWebSearchPremiumTool struct {
// contains filtered or unexported fields
}
func NewNullableWebSearchPremiumTool ¶
func NewNullableWebSearchPremiumTool(val *WebSearchPremiumTool) *NullableWebSearchPremiumTool
func (NullableWebSearchPremiumTool) Get ¶
func (v NullableWebSearchPremiumTool) Get() *WebSearchPremiumTool
func (NullableWebSearchPremiumTool) IsSet ¶
func (v NullableWebSearchPremiumTool) IsSet() bool
func (NullableWebSearchPremiumTool) MarshalJSON ¶
func (v NullableWebSearchPremiumTool) MarshalJSON() ([]byte, error)
func (*NullableWebSearchPremiumTool) Set ¶
func (v *NullableWebSearchPremiumTool) Set(val *WebSearchPremiumTool)
func (*NullableWebSearchPremiumTool) UnmarshalJSON ¶
func (v *NullableWebSearchPremiumTool) UnmarshalJSON(src []byte) error
func (*NullableWebSearchPremiumTool) Unset ¶
func (v *NullableWebSearchPremiumTool) Unset()
type NullableWebSearchTool ¶
type NullableWebSearchTool struct {
// contains filtered or unexported fields
}
func NewNullableWebSearchTool ¶
func NewNullableWebSearchTool(val *WebSearchTool) *NullableWebSearchTool
func (NullableWebSearchTool) Get ¶
func (v NullableWebSearchTool) Get() *WebSearchTool
func (NullableWebSearchTool) IsSet ¶
func (v NullableWebSearchTool) IsSet() bool
func (NullableWebSearchTool) MarshalJSON ¶
func (v NullableWebSearchTool) MarshalJSON() ([]byte, error)
func (*NullableWebSearchTool) Set ¶
func (v *NullableWebSearchTool) Set(val *WebSearchTool)
func (*NullableWebSearchTool) UnmarshalJSON ¶
func (v *NullableWebSearchTool) UnmarshalJSON(src []byte) error
func (*NullableWebSearchTool) Unset ¶
func (v *NullableWebSearchTool) Unset()
type OCRImageObject ¶
type OCRImageObject struct {
// Image ID for extracted image in a page
Id string `json:"id"`
TopLeftX NullableInt32 `json:"top_left_x"`
TopLeftY NullableInt32 `json:"top_left_y"`
BottomRightX NullableInt32 `json:"bottom_right_x"`
BottomRightY NullableInt32 `json:"bottom_right_y"`
ImageBase64 NullableString `json:"image_base64,omitempty"`
ImageAnnotation NullableString `json:"image_annotation,omitempty"`
}
OCRImageObject struct for OCRImageObject
func NewOCRImageObject ¶
func NewOCRImageObject(id string, topLeftX NullableInt32, topLeftY NullableInt32, bottomRightX NullableInt32, bottomRightY NullableInt32) *OCRImageObject
NewOCRImageObject instantiates a new OCRImageObject 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 NewOCRImageObjectWithDefaults ¶
func NewOCRImageObjectWithDefaults() *OCRImageObject
NewOCRImageObjectWithDefaults instantiates a new OCRImageObject 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 (*OCRImageObject) GetBottomRightX ¶
func (o *OCRImageObject) GetBottomRightX() int32
GetBottomRightX returns the BottomRightX field value If the value is explicit nil, the zero value for int32 will be returned
func (*OCRImageObject) GetBottomRightXOk ¶
func (o *OCRImageObject) GetBottomRightXOk() (*int32, bool)
GetBottomRightXOk returns a tuple with the BottomRightX 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 (*OCRImageObject) GetBottomRightY ¶
func (o *OCRImageObject) GetBottomRightY() int32
GetBottomRightY returns the BottomRightY field value If the value is explicit nil, the zero value for int32 will be returned
func (*OCRImageObject) GetBottomRightYOk ¶
func (o *OCRImageObject) GetBottomRightYOk() (*int32, bool)
GetBottomRightYOk returns a tuple with the BottomRightY 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 (*OCRImageObject) GetId ¶
func (o *OCRImageObject) GetId() string
GetId returns the Id field value
func (*OCRImageObject) GetIdOk ¶
func (o *OCRImageObject) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*OCRImageObject) GetImageAnnotation ¶
func (o *OCRImageObject) GetImageAnnotation() string
GetImageAnnotation returns the ImageAnnotation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRImageObject) GetImageAnnotationOk ¶
func (o *OCRImageObject) GetImageAnnotationOk() (*string, bool)
GetImageAnnotationOk returns a tuple with the ImageAnnotation 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 (*OCRImageObject) GetImageBase64 ¶
func (o *OCRImageObject) GetImageBase64() string
GetImageBase64 returns the ImageBase64 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRImageObject) GetImageBase64Ok ¶
func (o *OCRImageObject) GetImageBase64Ok() (*string, bool)
GetImageBase64Ok returns a tuple with the ImageBase64 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 (*OCRImageObject) GetTopLeftX ¶
func (o *OCRImageObject) GetTopLeftX() int32
GetTopLeftX returns the TopLeftX field value If the value is explicit nil, the zero value for int32 will be returned
func (*OCRImageObject) GetTopLeftXOk ¶
func (o *OCRImageObject) GetTopLeftXOk() (*int32, bool)
GetTopLeftXOk returns a tuple with the TopLeftX 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 (*OCRImageObject) GetTopLeftY ¶
func (o *OCRImageObject) GetTopLeftY() int32
GetTopLeftY returns the TopLeftY field value If the value is explicit nil, the zero value for int32 will be returned
func (*OCRImageObject) GetTopLeftYOk ¶
func (o *OCRImageObject) GetTopLeftYOk() (*int32, bool)
GetTopLeftYOk returns a tuple with the TopLeftY 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 (*OCRImageObject) HasImageAnnotation ¶
func (o *OCRImageObject) HasImageAnnotation() bool
HasImageAnnotation returns a boolean if a field has been set.
func (*OCRImageObject) HasImageBase64 ¶
func (o *OCRImageObject) HasImageBase64() bool
HasImageBase64 returns a boolean if a field has been set.
func (OCRImageObject) MarshalJSON ¶
func (o OCRImageObject) MarshalJSON() ([]byte, error)
func (*OCRImageObject) SetBottomRightX ¶
func (o *OCRImageObject) SetBottomRightX(v int32)
SetBottomRightX sets field value
func (*OCRImageObject) SetBottomRightY ¶
func (o *OCRImageObject) SetBottomRightY(v int32)
SetBottomRightY sets field value
func (*OCRImageObject) SetImageAnnotation ¶
func (o *OCRImageObject) SetImageAnnotation(v string)
SetImageAnnotation gets a reference to the given NullableString and assigns it to the ImageAnnotation field.
func (*OCRImageObject) SetImageAnnotationNil ¶
func (o *OCRImageObject) SetImageAnnotationNil()
SetImageAnnotationNil sets the value for ImageAnnotation to be an explicit nil
func (*OCRImageObject) SetImageBase64 ¶
func (o *OCRImageObject) SetImageBase64(v string)
SetImageBase64 gets a reference to the given NullableString and assigns it to the ImageBase64 field.
func (*OCRImageObject) SetImageBase64Nil ¶
func (o *OCRImageObject) SetImageBase64Nil()
SetImageBase64Nil sets the value for ImageBase64 to be an explicit nil
func (*OCRImageObject) SetTopLeftX ¶
func (o *OCRImageObject) SetTopLeftX(v int32)
SetTopLeftX sets field value
func (*OCRImageObject) SetTopLeftY ¶
func (o *OCRImageObject) SetTopLeftY(v int32)
SetTopLeftY sets field value
func (OCRImageObject) ToMap ¶
func (o OCRImageObject) ToMap() (map[string]interface{}, error)
func (*OCRImageObject) UnmarshalJSON ¶
func (o *OCRImageObject) UnmarshalJSON(data []byte) (err error)
func (*OCRImageObject) UnsetImageAnnotation ¶
func (o *OCRImageObject) UnsetImageAnnotation()
UnsetImageAnnotation ensures that no value is present for ImageAnnotation, not even an explicit nil
func (*OCRImageObject) UnsetImageBase64 ¶
func (o *OCRImageObject) UnsetImageBase64()
UnsetImageBase64 ensures that no value is present for ImageBase64, not even an explicit nil
type OCRPageDimensions ¶
type OCRPageDimensions struct {
// Dots per inch of the page-image
Dpi int32 `json:"dpi"`
// Height of the image in pixels
Height int32 `json:"height"`
// Width of the image in pixels
Width int32 `json:"width"`
}
OCRPageDimensions struct for OCRPageDimensions
func NewOCRPageDimensions ¶
func NewOCRPageDimensions(dpi int32, height int32, width int32) *OCRPageDimensions
NewOCRPageDimensions instantiates a new OCRPageDimensions 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 NewOCRPageDimensionsWithDefaults ¶
func NewOCRPageDimensionsWithDefaults() *OCRPageDimensions
NewOCRPageDimensionsWithDefaults instantiates a new OCRPageDimensions 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 (*OCRPageDimensions) GetDpi ¶
func (o *OCRPageDimensions) GetDpi() int32
GetDpi returns the Dpi field value
func (*OCRPageDimensions) GetDpiOk ¶
func (o *OCRPageDimensions) GetDpiOk() (*int32, bool)
GetDpiOk returns a tuple with the Dpi field value and a boolean to check if the value has been set.
func (*OCRPageDimensions) GetHeight ¶
func (o *OCRPageDimensions) GetHeight() int32
GetHeight returns the Height field value
func (*OCRPageDimensions) GetHeightOk ¶
func (o *OCRPageDimensions) GetHeightOk() (*int32, bool)
GetHeightOk returns a tuple with the Height field value and a boolean to check if the value has been set.
func (*OCRPageDimensions) GetWidth ¶
func (o *OCRPageDimensions) GetWidth() int32
GetWidth returns the Width field value
func (*OCRPageDimensions) GetWidthOk ¶
func (o *OCRPageDimensions) GetWidthOk() (*int32, bool)
GetWidthOk returns a tuple with the Width field value and a boolean to check if the value has been set.
func (OCRPageDimensions) MarshalJSON ¶
func (o OCRPageDimensions) MarshalJSON() ([]byte, error)
func (*OCRPageDimensions) SetDpi ¶
func (o *OCRPageDimensions) SetDpi(v int32)
SetDpi sets field value
func (*OCRPageDimensions) SetHeight ¶
func (o *OCRPageDimensions) SetHeight(v int32)
SetHeight sets field value
func (*OCRPageDimensions) SetWidth ¶
func (o *OCRPageDimensions) SetWidth(v int32)
SetWidth sets field value
func (OCRPageDimensions) ToMap ¶
func (o OCRPageDimensions) ToMap() (map[string]interface{}, error)
func (*OCRPageDimensions) UnmarshalJSON ¶
func (o *OCRPageDimensions) UnmarshalJSON(data []byte) (err error)
type OCRPageObject ¶
type OCRPageObject struct {
// The page index in a pdf document starting from 0
Index int32 `json:"index"`
// The markdown string response of the page
Markdown string `json:"markdown"`
// List of all extracted images in the page
Images []OCRImageObject `json:"images"`
// List of all extracted tables in the page
Tables []OCRTableObject `json:"tables,omitempty"`
// List of all hyperlinks in the page
Hyperlinks []string `json:"hyperlinks,omitempty"`
Header NullableString `json:"header,omitempty"`
Dimensions NullableOCRPageDimensions `json:"dimensions"`
}
OCRPageObject struct for OCRPageObject
func NewOCRPageObject ¶
func NewOCRPageObject(index int32, markdown string, images []OCRImageObject, dimensions NullableOCRPageDimensions) *OCRPageObject
NewOCRPageObject instantiates a new OCRPageObject 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 NewOCRPageObjectWithDefaults ¶
func NewOCRPageObjectWithDefaults() *OCRPageObject
NewOCRPageObjectWithDefaults instantiates a new OCRPageObject 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 (*OCRPageObject) GetDimensions ¶
func (o *OCRPageObject) GetDimensions() OCRPageDimensions
GetDimensions returns the Dimensions field value If the value is explicit nil, the zero value for OCRPageDimensions will be returned
func (*OCRPageObject) GetDimensionsOk ¶
func (o *OCRPageObject) GetDimensionsOk() (*OCRPageDimensions, bool)
GetDimensionsOk returns a tuple with the Dimensions 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 (*OCRPageObject) GetFooter ¶ added in v0.15.0
func (o *OCRPageObject) GetFooter() string
GetFooter returns the Footer field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRPageObject) GetFooterOk ¶ added in v0.15.0
func (o *OCRPageObject) GetFooterOk() (*string, bool)
GetFooterOk returns a tuple with the Footer 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 (*OCRPageObject) GetHeader ¶ added in v0.15.0
func (o *OCRPageObject) GetHeader() string
GetHeader returns the Header field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRPageObject) GetHeaderOk ¶ added in v0.15.0
func (o *OCRPageObject) GetHeaderOk() (*string, bool)
GetHeaderOk returns a tuple with the Header 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 (*OCRPageObject) GetHyperlinks ¶ added in v0.15.0
func (o *OCRPageObject) GetHyperlinks() []string
GetHyperlinks returns the Hyperlinks field value if set, zero value otherwise.
func (*OCRPageObject) GetHyperlinksOk ¶ added in v0.15.0
func (o *OCRPageObject) GetHyperlinksOk() ([]string, bool)
GetHyperlinksOk returns a tuple with the Hyperlinks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRPageObject) GetImages ¶
func (o *OCRPageObject) GetImages() []OCRImageObject
GetImages returns the Images field value
func (*OCRPageObject) GetImagesOk ¶
func (o *OCRPageObject) GetImagesOk() ([]OCRImageObject, bool)
GetImagesOk returns a tuple with the Images field value and a boolean to check if the value has been set.
func (*OCRPageObject) GetIndex ¶
func (o *OCRPageObject) GetIndex() int32
GetIndex returns the Index field value
func (*OCRPageObject) GetIndexOk ¶
func (o *OCRPageObject) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field value and a boolean to check if the value has been set.
func (*OCRPageObject) GetMarkdown ¶
func (o *OCRPageObject) GetMarkdown() string
GetMarkdown returns the Markdown field value
func (*OCRPageObject) GetMarkdownOk ¶
func (o *OCRPageObject) GetMarkdownOk() (*string, bool)
GetMarkdownOk returns a tuple with the Markdown field value and a boolean to check if the value has been set.
func (*OCRPageObject) GetTables ¶ added in v0.15.0
func (o *OCRPageObject) GetTables() []OCRTableObject
GetTables returns the Tables field value if set, zero value otherwise.
func (*OCRPageObject) GetTablesOk ¶ added in v0.15.0
func (o *OCRPageObject) GetTablesOk() ([]OCRTableObject, bool)
GetTablesOk returns a tuple with the Tables field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRPageObject) HasFooter ¶ added in v0.15.0
func (o *OCRPageObject) HasFooter() bool
HasFooter returns a boolean if a field has been set.
func (*OCRPageObject) HasHeader ¶ added in v0.15.0
func (o *OCRPageObject) HasHeader() bool
HasHeader returns a boolean if a field has been set.
func (*OCRPageObject) HasHyperlinks ¶ added in v0.15.0
func (o *OCRPageObject) HasHyperlinks() bool
HasHyperlinks returns a boolean if a field has been set.
func (*OCRPageObject) HasTables ¶ added in v0.15.0
func (o *OCRPageObject) HasTables() bool
HasTables returns a boolean if a field has been set.
func (OCRPageObject) MarshalJSON ¶
func (o OCRPageObject) MarshalJSON() ([]byte, error)
func (*OCRPageObject) SetDimensions ¶
func (o *OCRPageObject) SetDimensions(v OCRPageDimensions)
SetDimensions sets field value
func (*OCRPageObject) SetFooter ¶ added in v0.15.0
func (o *OCRPageObject) SetFooter(v string)
SetFooter gets a reference to the given NullableString and assigns it to the Footer field.
func (*OCRPageObject) SetFooterNil ¶ added in v0.15.0
func (o *OCRPageObject) SetFooterNil()
SetFooterNil sets the value for Footer to be an explicit nil
func (*OCRPageObject) SetHeader ¶ added in v0.15.0
func (o *OCRPageObject) SetHeader(v string)
SetHeader gets a reference to the given NullableString and assigns it to the Header field.
func (*OCRPageObject) SetHeaderNil ¶ added in v0.15.0
func (o *OCRPageObject) SetHeaderNil()
SetHeaderNil sets the value for Header to be an explicit nil
func (*OCRPageObject) SetHyperlinks ¶ added in v0.15.0
func (o *OCRPageObject) SetHyperlinks(v []string)
SetHyperlinks gets a reference to the given []string and assigns it to the Hyperlinks field.
func (*OCRPageObject) SetImages ¶
func (o *OCRPageObject) SetImages(v []OCRImageObject)
SetImages sets field value
func (*OCRPageObject) SetIndex ¶
func (o *OCRPageObject) SetIndex(v int32)
SetIndex sets field value
func (*OCRPageObject) SetMarkdown ¶
func (o *OCRPageObject) SetMarkdown(v string)
SetMarkdown sets field value
func (*OCRPageObject) SetTables ¶ added in v0.15.0
func (o *OCRPageObject) SetTables(v []OCRTableObject)
SetTables gets a reference to the given []OCRTableObject and assigns it to the Tables field.
func (OCRPageObject) ToMap ¶
func (o OCRPageObject) ToMap() (map[string]interface{}, error)
func (*OCRPageObject) UnmarshalJSON ¶
func (o *OCRPageObject) UnmarshalJSON(data []byte) (err error)
func (*OCRPageObject) UnsetFooter ¶ added in v0.15.0
func (o *OCRPageObject) UnsetFooter()
UnsetFooter ensures that no value is present for Footer, not even an explicit nil
func (*OCRPageObject) UnsetHeader ¶ added in v0.15.0
func (o *OCRPageObject) UnsetHeader()
UnsetHeader ensures that no value is present for Header, not even an explicit nil
type OCRRequest ¶
type OCRRequest struct {
Model NullableString `json:"model"`
Id *string `json:"id,omitempty"`
Document Document `json:"document"`
Pages []int32 `json:"pages,omitempty"`
IncludeImageBase64 NullableBool `json:"include_image_base64,omitempty"`
ImageLimit NullableInt32 `json:"image_limit,omitempty"`
ImageMinSize NullableInt32 `json:"image_min_size,omitempty"`
BboxAnnotationFormat NullableResponseFormat `json:"bbox_annotation_format,omitempty"`
DocumentAnnotationFormat NullableResponseFormat `json:"document_annotation_format,omitempty"`
DocumentAnnotationPrompt NullableString `json:"document_annotation_prompt,omitempty"`
TableFormat NullableString `json:"table_format,omitempty"`
ExtractHeader *bool `json:"extract_header,omitempty"`
}
OCRRequest struct for OCRRequest
func NewOCRRequest ¶
func NewOCRRequest(model NullableString, document Document) *OCRRequest
NewOCRRequest instantiates a new OCRRequest 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 NewOCRRequestWithDefaults ¶
func NewOCRRequestWithDefaults() *OCRRequest
NewOCRRequestWithDefaults instantiates a new OCRRequest 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 (*OCRRequest) GetBboxAnnotationFormat ¶
func (o *OCRRequest) GetBboxAnnotationFormat() ResponseFormat
GetBboxAnnotationFormat returns the BboxAnnotationFormat field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRRequest) GetBboxAnnotationFormatOk ¶
func (o *OCRRequest) GetBboxAnnotationFormatOk() (*ResponseFormat, bool)
GetBboxAnnotationFormatOk returns a tuple with the BboxAnnotationFormat 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 (*OCRRequest) GetDocument ¶
func (o *OCRRequest) GetDocument() Document
GetDocument returns the Document field value
func (*OCRRequest) GetDocumentAnnotationFormat ¶
func (o *OCRRequest) GetDocumentAnnotationFormat() ResponseFormat
GetDocumentAnnotationFormat returns the DocumentAnnotationFormat field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRRequest) GetDocumentAnnotationFormatOk ¶
func (o *OCRRequest) GetDocumentAnnotationFormatOk() (*ResponseFormat, bool)
GetDocumentAnnotationFormatOk returns a tuple with the DocumentAnnotationFormat 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 (*OCRRequest) GetDocumentAnnotationPrompt ¶ added in v0.15.0
func (o *OCRRequest) GetDocumentAnnotationPrompt() string
GetDocumentAnnotationPrompt returns the DocumentAnnotationPrompt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRRequest) GetDocumentAnnotationPromptOk ¶ added in v0.15.0
func (o *OCRRequest) GetDocumentAnnotationPromptOk() (*string, bool)
GetDocumentAnnotationPromptOk returns a tuple with the DocumentAnnotationPrompt 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 (*OCRRequest) GetDocumentOk ¶
func (o *OCRRequest) GetDocumentOk() (*Document, bool)
GetDocumentOk returns a tuple with the Document field value and a boolean to check if the value has been set.
func (*OCRRequest) GetExtractFooter ¶ added in v0.15.0
func (o *OCRRequest) GetExtractFooter() bool
GetExtractFooter returns the ExtractFooter field value if set, zero value otherwise.
func (*OCRRequest) GetExtractFooterOk ¶ added in v0.15.0
func (o *OCRRequest) GetExtractFooterOk() (*bool, bool)
GetExtractFooterOk returns a tuple with the ExtractFooter field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRRequest) GetExtractHeader ¶ added in v0.15.0
func (o *OCRRequest) GetExtractHeader() bool
GetExtractHeader returns the ExtractHeader field value if set, zero value otherwise.
func (*OCRRequest) GetExtractHeaderOk ¶ added in v0.15.0
func (o *OCRRequest) GetExtractHeaderOk() (*bool, bool)
GetExtractHeaderOk returns a tuple with the ExtractHeader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRRequest) GetId ¶
func (o *OCRRequest) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*OCRRequest) GetIdOk ¶
func (o *OCRRequest) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*OCRRequest) GetImageLimit ¶
func (o *OCRRequest) GetImageLimit() int32
GetImageLimit returns the ImageLimit field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRRequest) GetImageLimitOk ¶
func (o *OCRRequest) GetImageLimitOk() (*int32, bool)
GetImageLimitOk returns a tuple with the ImageLimit 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 (*OCRRequest) GetImageMinSize ¶
func (o *OCRRequest) GetImageMinSize() int32
GetImageMinSize returns the ImageMinSize field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRRequest) GetImageMinSizeOk ¶
func (o *OCRRequest) GetImageMinSizeOk() (*int32, bool)
GetImageMinSizeOk returns a tuple with the ImageMinSize 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 (*OCRRequest) GetIncludeImageBase64 ¶
func (o *OCRRequest) GetIncludeImageBase64() bool
GetIncludeImageBase64 returns the IncludeImageBase64 field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRRequest) GetIncludeImageBase64Ok ¶
func (o *OCRRequest) GetIncludeImageBase64Ok() (*bool, bool)
GetIncludeImageBase64Ok returns a tuple with the IncludeImageBase64 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 (*OCRRequest) GetModel ¶
func (o *OCRRequest) GetModel() string
GetModel returns the Model field value If the value is explicit nil, the zero value for string will be returned
func (*OCRRequest) GetModelOk ¶
func (o *OCRRequest) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model 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 (*OCRRequest) GetPages ¶
func (o *OCRRequest) GetPages() []int32
GetPages returns the Pages field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRRequest) GetPagesOk ¶
func (o *OCRRequest) GetPagesOk() ([]int32, bool)
GetPagesOk returns a tuple with the Pages 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 (*OCRRequest) GetTableFormat ¶ added in v0.15.0
func (o *OCRRequest) GetTableFormat() string
GetTableFormat returns the TableFormat field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRRequest) GetTableFormatOk ¶ added in v0.15.0
func (o *OCRRequest) GetTableFormatOk() (*string, bool)
GetTableFormatOk returns a tuple with the TableFormat 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 (*OCRRequest) HasBboxAnnotationFormat ¶
func (o *OCRRequest) HasBboxAnnotationFormat() bool
HasBboxAnnotationFormat returns a boolean if a field has been set.
func (*OCRRequest) HasDocumentAnnotationFormat ¶
func (o *OCRRequest) HasDocumentAnnotationFormat() bool
HasDocumentAnnotationFormat returns a boolean if a field has been set.
func (*OCRRequest) HasDocumentAnnotationPrompt ¶ added in v0.15.0
func (o *OCRRequest) HasDocumentAnnotationPrompt() bool
HasDocumentAnnotationPrompt returns a boolean if a field has been set.
func (*OCRRequest) HasExtractFooter ¶ added in v0.15.0
func (o *OCRRequest) HasExtractFooter() bool
HasExtractFooter returns a boolean if a field has been set.
func (*OCRRequest) HasExtractHeader ¶ added in v0.15.0
func (o *OCRRequest) HasExtractHeader() bool
HasExtractHeader returns a boolean if a field has been set.
func (*OCRRequest) HasId ¶
func (o *OCRRequest) HasId() bool
HasId returns a boolean if a field has been set.
func (*OCRRequest) HasImageLimit ¶
func (o *OCRRequest) HasImageLimit() bool
HasImageLimit returns a boolean if a field has been set.
func (*OCRRequest) HasImageMinSize ¶
func (o *OCRRequest) HasImageMinSize() bool
HasImageMinSize returns a boolean if a field has been set.
func (*OCRRequest) HasIncludeImageBase64 ¶
func (o *OCRRequest) HasIncludeImageBase64() bool
HasIncludeImageBase64 returns a boolean if a field has been set.
func (*OCRRequest) HasPages ¶
func (o *OCRRequest) HasPages() bool
HasPages returns a boolean if a field has been set.
func (*OCRRequest) HasTableFormat ¶ added in v0.15.0
func (o *OCRRequest) HasTableFormat() bool
HasTableFormat returns a boolean if a field has been set.
func (OCRRequest) MarshalJSON ¶
func (o OCRRequest) MarshalJSON() ([]byte, error)
func (*OCRRequest) SetBboxAnnotationFormat ¶
func (o *OCRRequest) SetBboxAnnotationFormat(v ResponseFormat)
SetBboxAnnotationFormat gets a reference to the given NullableResponseFormat and assigns it to the BboxAnnotationFormat field.
func (*OCRRequest) SetBboxAnnotationFormatNil ¶
func (o *OCRRequest) SetBboxAnnotationFormatNil()
SetBboxAnnotationFormatNil sets the value for BboxAnnotationFormat to be an explicit nil
func (*OCRRequest) SetDocument ¶
func (o *OCRRequest) SetDocument(v Document)
SetDocument sets field value
func (*OCRRequest) SetDocumentAnnotationFormat ¶
func (o *OCRRequest) SetDocumentAnnotationFormat(v ResponseFormat)
SetDocumentAnnotationFormat gets a reference to the given NullableResponseFormat and assigns it to the DocumentAnnotationFormat field.
func (*OCRRequest) SetDocumentAnnotationFormatNil ¶
func (o *OCRRequest) SetDocumentAnnotationFormatNil()
SetDocumentAnnotationFormatNil sets the value for DocumentAnnotationFormat to be an explicit nil
func (*OCRRequest) SetDocumentAnnotationPrompt ¶ added in v0.15.0
func (o *OCRRequest) SetDocumentAnnotationPrompt(v string)
SetDocumentAnnotationPrompt gets a reference to the given NullableString and assigns it to the DocumentAnnotationPrompt field.
func (*OCRRequest) SetDocumentAnnotationPromptNil ¶ added in v0.15.0
func (o *OCRRequest) SetDocumentAnnotationPromptNil()
SetDocumentAnnotationPromptNil sets the value for DocumentAnnotationPrompt to be an explicit nil
func (*OCRRequest) SetExtractFooter ¶ added in v0.15.0
func (o *OCRRequest) SetExtractFooter(v bool)
SetExtractFooter gets a reference to the given bool and assigns it to the ExtractFooter field.
func (*OCRRequest) SetExtractHeader ¶ added in v0.15.0
func (o *OCRRequest) SetExtractHeader(v bool)
SetExtractHeader gets a reference to the given bool and assigns it to the ExtractHeader field.
func (*OCRRequest) SetId ¶
func (o *OCRRequest) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*OCRRequest) SetImageLimit ¶
func (o *OCRRequest) SetImageLimit(v int32)
SetImageLimit gets a reference to the given NullableInt32 and assigns it to the ImageLimit field.
func (*OCRRequest) SetImageLimitNil ¶
func (o *OCRRequest) SetImageLimitNil()
SetImageLimitNil sets the value for ImageLimit to be an explicit nil
func (*OCRRequest) SetImageMinSize ¶
func (o *OCRRequest) SetImageMinSize(v int32)
SetImageMinSize gets a reference to the given NullableInt32 and assigns it to the ImageMinSize field.
func (*OCRRequest) SetImageMinSizeNil ¶
func (o *OCRRequest) SetImageMinSizeNil()
SetImageMinSizeNil sets the value for ImageMinSize to be an explicit nil
func (*OCRRequest) SetIncludeImageBase64 ¶
func (o *OCRRequest) SetIncludeImageBase64(v bool)
SetIncludeImageBase64 gets a reference to the given NullableBool and assigns it to the IncludeImageBase64 field.
func (*OCRRequest) SetIncludeImageBase64Nil ¶
func (o *OCRRequest) SetIncludeImageBase64Nil()
SetIncludeImageBase64Nil sets the value for IncludeImageBase64 to be an explicit nil
func (*OCRRequest) SetPages ¶
func (o *OCRRequest) SetPages(v []int32)
SetPages gets a reference to the given []int32 and assigns it to the Pages field.
func (*OCRRequest) SetTableFormat ¶ added in v0.15.0
func (o *OCRRequest) SetTableFormat(v string)
SetTableFormat gets a reference to the given NullableString and assigns it to the TableFormat field.
func (*OCRRequest) SetTableFormatNil ¶ added in v0.15.0
func (o *OCRRequest) SetTableFormatNil()
SetTableFormatNil sets the value for TableFormat to be an explicit nil
func (OCRRequest) ToMap ¶
func (o OCRRequest) ToMap() (map[string]interface{}, error)
func (*OCRRequest) UnmarshalJSON ¶
func (o *OCRRequest) UnmarshalJSON(data []byte) (err error)
func (*OCRRequest) UnsetBboxAnnotationFormat ¶
func (o *OCRRequest) UnsetBboxAnnotationFormat()
UnsetBboxAnnotationFormat ensures that no value is present for BboxAnnotationFormat, not even an explicit nil
func (*OCRRequest) UnsetDocumentAnnotationFormat ¶
func (o *OCRRequest) UnsetDocumentAnnotationFormat()
UnsetDocumentAnnotationFormat ensures that no value is present for DocumentAnnotationFormat, not even an explicit nil
func (*OCRRequest) UnsetDocumentAnnotationPrompt ¶ added in v0.15.0
func (o *OCRRequest) UnsetDocumentAnnotationPrompt()
UnsetDocumentAnnotationPrompt ensures that no value is present for DocumentAnnotationPrompt, not even an explicit nil
func (*OCRRequest) UnsetImageLimit ¶
func (o *OCRRequest) UnsetImageLimit()
UnsetImageLimit ensures that no value is present for ImageLimit, not even an explicit nil
func (*OCRRequest) UnsetImageMinSize ¶
func (o *OCRRequest) UnsetImageMinSize()
UnsetImageMinSize ensures that no value is present for ImageMinSize, not even an explicit nil
func (*OCRRequest) UnsetIncludeImageBase64 ¶
func (o *OCRRequest) UnsetIncludeImageBase64()
UnsetIncludeImageBase64 ensures that no value is present for IncludeImageBase64, not even an explicit nil
func (*OCRRequest) UnsetTableFormat ¶ added in v0.15.0
func (o *OCRRequest) UnsetTableFormat()
UnsetTableFormat ensures that no value is present for TableFormat, not even an explicit nil
type OCRResponse ¶
type OCRResponse struct {
// List of OCR info for pages.
Pages []OCRPageObject `json:"pages"`
// The model used to generate the OCR.
Model string `json:"model"`
DocumentAnnotation NullableString `json:"document_annotation,omitempty"`
// Usage info for the OCR request.
UsageInfo OCRUsageInfo `json:"usage_info"`
}
OCRResponse struct for OCRResponse
func NewOCRResponse ¶
func NewOCRResponse(pages []OCRPageObject, model string, usageInfo OCRUsageInfo) *OCRResponse
NewOCRResponse instantiates a new OCRResponse 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 NewOCRResponseWithDefaults ¶
func NewOCRResponseWithDefaults() *OCRResponse
NewOCRResponseWithDefaults instantiates a new OCRResponse 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 (*OCRResponse) GetDocumentAnnotation ¶
func (o *OCRResponse) GetDocumentAnnotation() string
GetDocumentAnnotation returns the DocumentAnnotation field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRResponse) GetDocumentAnnotationOk ¶
func (o *OCRResponse) GetDocumentAnnotationOk() (*string, bool)
GetDocumentAnnotationOk returns a tuple with the DocumentAnnotation 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 (*OCRResponse) GetModel ¶
func (o *OCRResponse) GetModel() string
GetModel returns the Model field value
func (*OCRResponse) GetModelOk ¶
func (o *OCRResponse) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*OCRResponse) GetPages ¶
func (o *OCRResponse) GetPages() []OCRPageObject
GetPages returns the Pages field value
func (*OCRResponse) GetPagesOk ¶
func (o *OCRResponse) GetPagesOk() ([]OCRPageObject, bool)
GetPagesOk returns a tuple with the Pages field value and a boolean to check if the value has been set.
func (*OCRResponse) GetUsageInfo ¶
func (o *OCRResponse) GetUsageInfo() OCRUsageInfo
GetUsageInfo returns the UsageInfo field value
func (*OCRResponse) GetUsageInfoOk ¶
func (o *OCRResponse) GetUsageInfoOk() (*OCRUsageInfo, bool)
GetUsageInfoOk returns a tuple with the UsageInfo field value and a boolean to check if the value has been set.
func (*OCRResponse) HasDocumentAnnotation ¶
func (o *OCRResponse) HasDocumentAnnotation() bool
HasDocumentAnnotation returns a boolean if a field has been set.
func (OCRResponse) MarshalJSON ¶
func (o OCRResponse) MarshalJSON() ([]byte, error)
func (*OCRResponse) SetDocumentAnnotation ¶
func (o *OCRResponse) SetDocumentAnnotation(v string)
SetDocumentAnnotation gets a reference to the given NullableString and assigns it to the DocumentAnnotation field.
func (*OCRResponse) SetDocumentAnnotationNil ¶
func (o *OCRResponse) SetDocumentAnnotationNil()
SetDocumentAnnotationNil sets the value for DocumentAnnotation to be an explicit nil
func (*OCRResponse) SetPages ¶
func (o *OCRResponse) SetPages(v []OCRPageObject)
SetPages sets field value
func (*OCRResponse) SetUsageInfo ¶
func (o *OCRResponse) SetUsageInfo(v OCRUsageInfo)
SetUsageInfo sets field value
func (OCRResponse) ToMap ¶
func (o OCRResponse) ToMap() (map[string]interface{}, error)
func (*OCRResponse) UnmarshalJSON ¶
func (o *OCRResponse) UnmarshalJSON(data []byte) (err error)
func (*OCRResponse) UnsetDocumentAnnotation ¶
func (o *OCRResponse) UnsetDocumentAnnotation()
UnsetDocumentAnnotation ensures that no value is present for DocumentAnnotation, not even an explicit nil
type OCRTableObject ¶ added in v0.15.0
type OCRTableObject struct {
// Table ID for extracted table in a page
Id string `json:"id"`
// Content of the table in the given format
Content string `json:"content"`
// Format of the table
Format string `json:"format"`
}
OCRTableObject struct for OCRTableObject
func NewOCRTableObject ¶ added in v0.15.0
func NewOCRTableObject(id string, content string, format string) *OCRTableObject
NewOCRTableObject instantiates a new OCRTableObject 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 NewOCRTableObjectWithDefaults ¶ added in v0.15.0
func NewOCRTableObjectWithDefaults() *OCRTableObject
NewOCRTableObjectWithDefaults instantiates a new OCRTableObject 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 (*OCRTableObject) GetContent ¶ added in v0.15.0
func (o *OCRTableObject) GetContent() string
GetContent returns the Content field value
func (*OCRTableObject) GetContentOk ¶ added in v0.15.0
func (o *OCRTableObject) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*OCRTableObject) GetFormat ¶ added in v0.15.0
func (o *OCRTableObject) GetFormat() string
GetFormat returns the Format field value
func (*OCRTableObject) GetFormatOk ¶ added in v0.15.0
func (o *OCRTableObject) GetFormatOk() (*string, bool)
GetFormatOk returns a tuple with the Format field value and a boolean to check if the value has been set.
func (*OCRTableObject) GetId ¶ added in v0.15.0
func (o *OCRTableObject) GetId() string
GetId returns the Id field value
func (*OCRTableObject) GetIdOk ¶ added in v0.15.0
func (o *OCRTableObject) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (OCRTableObject) MarshalJSON ¶ added in v0.15.0
func (o OCRTableObject) MarshalJSON() ([]byte, error)
func (*OCRTableObject) SetContent ¶ added in v0.15.0
func (o *OCRTableObject) SetContent(v string)
SetContent sets field value
func (*OCRTableObject) SetFormat ¶ added in v0.15.0
func (o *OCRTableObject) SetFormat(v string)
SetFormat sets field value
func (*OCRTableObject) SetId ¶ added in v0.15.0
func (o *OCRTableObject) SetId(v string)
SetId sets field value
func (OCRTableObject) ToMap ¶ added in v0.15.0
func (o OCRTableObject) ToMap() (map[string]interface{}, error)
func (*OCRTableObject) UnmarshalJSON ¶ added in v0.15.0
func (o *OCRTableObject) UnmarshalJSON(data []byte) (err error)
type OCRUsageInfo ¶
type OCRUsageInfo struct {
// Number of pages processed
PagesProcessed int32 `json:"pages_processed"`
DocSizeBytes NullableInt32 `json:"doc_size_bytes,omitempty"`
}
OCRUsageInfo struct for OCRUsageInfo
func NewOCRUsageInfo ¶
func NewOCRUsageInfo(pagesProcessed int32) *OCRUsageInfo
NewOCRUsageInfo instantiates a new OCRUsageInfo 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 NewOCRUsageInfoWithDefaults ¶
func NewOCRUsageInfoWithDefaults() *OCRUsageInfo
NewOCRUsageInfoWithDefaults instantiates a new OCRUsageInfo 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 (*OCRUsageInfo) GetDocSizeBytes ¶
func (o *OCRUsageInfo) GetDocSizeBytes() int32
GetDocSizeBytes returns the DocSizeBytes field value if set, zero value otherwise (both if not set or set to explicit null).
func (*OCRUsageInfo) GetDocSizeBytesOk ¶
func (o *OCRUsageInfo) GetDocSizeBytesOk() (*int32, bool)
GetDocSizeBytesOk returns a tuple with the DocSizeBytes 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 (*OCRUsageInfo) GetPagesProcessed ¶
func (o *OCRUsageInfo) GetPagesProcessed() int32
GetPagesProcessed returns the PagesProcessed field value
func (*OCRUsageInfo) GetPagesProcessedOk ¶
func (o *OCRUsageInfo) GetPagesProcessedOk() (*int32, bool)
GetPagesProcessedOk returns a tuple with the PagesProcessed field value and a boolean to check if the value has been set.
func (*OCRUsageInfo) HasDocSizeBytes ¶
func (o *OCRUsageInfo) HasDocSizeBytes() bool
HasDocSizeBytes returns a boolean if a field has been set.
func (OCRUsageInfo) MarshalJSON ¶
func (o OCRUsageInfo) MarshalJSON() ([]byte, error)
func (*OCRUsageInfo) SetDocSizeBytes ¶
func (o *OCRUsageInfo) SetDocSizeBytes(v int32)
SetDocSizeBytes gets a reference to the given NullableInt32 and assigns it to the DocSizeBytes field.
func (*OCRUsageInfo) SetDocSizeBytesNil ¶
func (o *OCRUsageInfo) SetDocSizeBytesNil()
SetDocSizeBytesNil sets the value for DocSizeBytes to be an explicit nil
func (*OCRUsageInfo) SetPagesProcessed ¶
func (o *OCRUsageInfo) SetPagesProcessed(v int32)
SetPagesProcessed sets field value
func (OCRUsageInfo) ToMap ¶
func (o OCRUsageInfo) ToMap() (map[string]interface{}, error)
func (*OCRUsageInfo) UnmarshalJSON ¶
func (o *OCRUsageInfo) UnmarshalJSON(data []byte) (err error)
func (*OCRUsageInfo) UnsetDocSizeBytes ¶
func (o *OCRUsageInfo) UnsetDocSizeBytes()
UnsetDocSizeBytes ensures that no value is present for DocSizeBytes, not even an explicit nil
type OcrAPI ¶
type OcrAPI interface {
/*
OcrV1OcrPost OCR
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiOcrV1OcrPostRequest
*/
OcrV1OcrPost(ctx context.Context) ApiOcrV1OcrPostRequest
// OcrV1OcrPostExecute executes the request
// @return OCRResponse
OcrV1OcrPostExecute(r ApiOcrV1OcrPostRequest) (*OCRResponse, *http.Response, error)
}
type OcrAPIService ¶
type OcrAPIService service
OcrAPIService OcrAPI service
func (*OcrAPIService) OcrV1OcrPost ¶
func (a *OcrAPIService) OcrV1OcrPost(ctx context.Context) ApiOcrV1OcrPostRequest
OcrV1OcrPost OCR
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiOcrV1OcrPostRequest
func (*OcrAPIService) OcrV1OcrPostExecute ¶
func (a *OcrAPIService) OcrV1OcrPostExecute(r ApiOcrV1OcrPostRequest) (*OCRResponse, *http.Response, error)
Execute executes the request
@return OCRResponse
type OutputContentChunks ¶
type OutputContentChunks struct {
DocumentURLChunk *DocumentURLChunk
ImageURLChunk *ImageURLChunk
TextChunk *TextChunk
ThinkChunk *ThinkChunk
ToolFileChunk *ToolFileChunk
ToolReferenceChunk *ToolReferenceChunk
}
OutputContentChunks struct for OutputContentChunks
func (OutputContentChunks) MarshalJSON ¶
func (src OutputContentChunks) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*OutputContentChunks) UnmarshalJSON ¶
func (dst *OutputContentChunks) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type OutputsInner ¶ added in v0.15.0
type OutputsInner struct {
AgentHandoffEntry *AgentHandoffEntry
FunctionCallEntry *FunctionCallEntry
MessageOutputEntry *MessageOutputEntry
ToolExecutionEntry *ToolExecutionEntry
}
OutputsInner struct for OutputsInner
func (OutputsInner) MarshalJSON ¶ added in v0.15.0
func (src OutputsInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*OutputsInner) UnmarshalJSON ¶ added in v0.15.0
func (dst *OutputsInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type PaginationInfo ¶ added in v0.6.0
type PaginationInfo struct {
TotalItems int32 `json:"total_items"`
TotalPages int32 `json:"total_pages"`
CurrentPage int32 `json:"current_page"`
PageSize int32 `json:"page_size"`
HasMore bool `json:"has_more"`
AdditionalProperties map[string]interface{}
}
PaginationInfo struct for PaginationInfo
func NewPaginationInfo ¶ added in v0.6.0
func NewPaginationInfo(totalItems int32, totalPages int32, currentPage int32, pageSize int32, hasMore bool) *PaginationInfo
NewPaginationInfo instantiates a new PaginationInfo 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 NewPaginationInfoWithDefaults ¶ added in v0.6.0
func NewPaginationInfoWithDefaults() *PaginationInfo
NewPaginationInfoWithDefaults instantiates a new PaginationInfo 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 (*PaginationInfo) GetCurrentPage ¶ added in v0.6.0
func (o *PaginationInfo) GetCurrentPage() int32
GetCurrentPage returns the CurrentPage field value
func (*PaginationInfo) GetCurrentPageOk ¶ added in v0.6.0
func (o *PaginationInfo) GetCurrentPageOk() (*int32, bool)
GetCurrentPageOk returns a tuple with the CurrentPage field value and a boolean to check if the value has been set.
func (*PaginationInfo) GetHasMore ¶ added in v0.6.0
func (o *PaginationInfo) GetHasMore() bool
GetHasMore returns the HasMore field value
func (*PaginationInfo) GetHasMoreOk ¶ added in v0.6.0
func (o *PaginationInfo) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field value and a boolean to check if the value has been set.
func (*PaginationInfo) GetPageSize ¶ added in v0.6.0
func (o *PaginationInfo) GetPageSize() int32
GetPageSize returns the PageSize field value
func (*PaginationInfo) GetPageSizeOk ¶ added in v0.6.0
func (o *PaginationInfo) GetPageSizeOk() (*int32, bool)
GetPageSizeOk returns a tuple with the PageSize field value and a boolean to check if the value has been set.
func (*PaginationInfo) GetTotalItems ¶ added in v0.6.0
func (o *PaginationInfo) GetTotalItems() int32
GetTotalItems returns the TotalItems field value
func (*PaginationInfo) GetTotalItemsOk ¶ added in v0.6.0
func (o *PaginationInfo) GetTotalItemsOk() (*int32, bool)
GetTotalItemsOk returns a tuple with the TotalItems field value and a boolean to check if the value has been set.
func (*PaginationInfo) GetTotalPages ¶ added in v0.6.0
func (o *PaginationInfo) GetTotalPages() int32
GetTotalPages returns the TotalPages field value
func (*PaginationInfo) GetTotalPagesOk ¶ added in v0.6.0
func (o *PaginationInfo) GetTotalPagesOk() (*int32, bool)
GetTotalPagesOk returns a tuple with the TotalPages field value and a boolean to check if the value has been set.
func (PaginationInfo) MarshalJSON ¶ added in v0.6.0
func (o PaginationInfo) MarshalJSON() ([]byte, error)
func (*PaginationInfo) SetCurrentPage ¶ added in v0.6.0
func (o *PaginationInfo) SetCurrentPage(v int32)
SetCurrentPage sets field value
func (*PaginationInfo) SetHasMore ¶ added in v0.6.0
func (o *PaginationInfo) SetHasMore(v bool)
SetHasMore sets field value
func (*PaginationInfo) SetPageSize ¶ added in v0.6.0
func (o *PaginationInfo) SetPageSize(v int32)
SetPageSize sets field value
func (*PaginationInfo) SetTotalItems ¶ added in v0.6.0
func (o *PaginationInfo) SetTotalItems(v int32)
SetTotalItems sets field value
func (*PaginationInfo) SetTotalPages ¶ added in v0.6.0
func (o *PaginationInfo) SetTotalPages(v int32)
SetTotalPages sets field value
func (PaginationInfo) ToMap ¶ added in v0.6.0
func (o PaginationInfo) ToMap() (map[string]interface{}, error)
func (*PaginationInfo) UnmarshalJSON ¶ added in v0.6.0
func (o *PaginationInfo) UnmarshalJSON(data []byte) (err error)
type Prediction ¶
type Prediction struct {
Type *string `json:"type,omitempty"`
Content *string `json:"content,omitempty"`
}
Prediction Enable users to specify an expected completion, optimizing response times by leveraging known or predictable content.
func NewPrediction ¶
func NewPrediction() *Prediction
NewPrediction instantiates a new Prediction 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 NewPredictionWithDefaults ¶
func NewPredictionWithDefaults() *Prediction
NewPredictionWithDefaults instantiates a new Prediction 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 (*Prediction) GetContent ¶
func (o *Prediction) GetContent() string
GetContent returns the Content field value if set, zero value otherwise.
func (*Prediction) GetContentOk ¶
func (o *Prediction) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Prediction) GetType ¶
func (o *Prediction) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*Prediction) GetTypeOk ¶
func (o *Prediction) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Prediction) HasContent ¶
func (o *Prediction) HasContent() bool
HasContent returns a boolean if a field has been set.
func (*Prediction) HasType ¶
func (o *Prediction) HasType() bool
HasType returns a boolean if a field has been set.
func (Prediction) MarshalJSON ¶
func (o Prediction) MarshalJSON() ([]byte, error)
func (*Prediction) SetContent ¶
func (o *Prediction) SetContent(v string)
SetContent gets a reference to the given string and assigns it to the Content field.
func (*Prediction) SetType ¶
func (o *Prediction) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (Prediction) ToMap ¶
func (o Prediction) ToMap() (map[string]interface{}, error)
type ProcessingStatusOut ¶ added in v0.6.0
type ProcessingStatusOut struct {
DocumentId string `json:"document_id"`
ProcessingStatus string `json:"processing_status"`
AdditionalProperties map[string]interface{}
}
ProcessingStatusOut struct for ProcessingStatusOut
func NewProcessingStatusOut ¶ added in v0.6.0
func NewProcessingStatusOut(documentId string, processingStatus string) *ProcessingStatusOut
NewProcessingStatusOut instantiates a new ProcessingStatusOut 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 NewProcessingStatusOutWithDefaults ¶ added in v0.6.0
func NewProcessingStatusOutWithDefaults() *ProcessingStatusOut
NewProcessingStatusOutWithDefaults instantiates a new ProcessingStatusOut 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 (*ProcessingStatusOut) GetDocumentId ¶ added in v0.6.0
func (o *ProcessingStatusOut) GetDocumentId() string
GetDocumentId returns the DocumentId field value
func (*ProcessingStatusOut) GetDocumentIdOk ¶ added in v0.6.0
func (o *ProcessingStatusOut) GetDocumentIdOk() (*string, bool)
GetDocumentIdOk returns a tuple with the DocumentId field value and a boolean to check if the value has been set.
func (*ProcessingStatusOut) GetProcessingStatus ¶ added in v0.6.0
func (o *ProcessingStatusOut) GetProcessingStatus() string
GetProcessingStatus returns the ProcessingStatus field value
func (*ProcessingStatusOut) GetProcessingStatusOk ¶ added in v0.6.0
func (o *ProcessingStatusOut) GetProcessingStatusOk() (*string, bool)
GetProcessingStatusOk returns a tuple with the ProcessingStatus field value and a boolean to check if the value has been set.
func (ProcessingStatusOut) MarshalJSON ¶ added in v0.6.0
func (o ProcessingStatusOut) MarshalJSON() ([]byte, error)
func (*ProcessingStatusOut) SetDocumentId ¶ added in v0.6.0
func (o *ProcessingStatusOut) SetDocumentId(v string)
SetDocumentId sets field value
func (*ProcessingStatusOut) SetProcessingStatus ¶ added in v0.6.0
func (o *ProcessingStatusOut) SetProcessingStatus(v string)
SetProcessingStatus sets field value
func (ProcessingStatusOut) ToMap ¶ added in v0.6.0
func (o ProcessingStatusOut) ToMap() (map[string]interface{}, error)
func (*ProcessingStatusOut) UnmarshalJSON ¶ added in v0.6.0
func (o *ProcessingStatusOut) UnmarshalJSON(data []byte) (err error)
type ReferenceChunk ¶
type ReferenceChunk struct {
ReferenceIds []int32 `json:"reference_ids"`
Type *string `json:"type,omitempty"`
}
ReferenceChunk struct for ReferenceChunk
func NewReferenceChunk ¶
func NewReferenceChunk(referenceIds []int32) *ReferenceChunk
NewReferenceChunk instantiates a new ReferenceChunk 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 NewReferenceChunkWithDefaults ¶
func NewReferenceChunkWithDefaults() *ReferenceChunk
NewReferenceChunkWithDefaults instantiates a new ReferenceChunk 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 (*ReferenceChunk) GetReferenceIds ¶
func (o *ReferenceChunk) GetReferenceIds() []int32
GetReferenceIds returns the ReferenceIds field value
func (*ReferenceChunk) GetReferenceIdsOk ¶
func (o *ReferenceChunk) GetReferenceIdsOk() ([]int32, bool)
GetReferenceIdsOk returns a tuple with the ReferenceIds field value and a boolean to check if the value has been set.
func (*ReferenceChunk) GetType ¶
func (o *ReferenceChunk) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ReferenceChunk) GetTypeOk ¶
func (o *ReferenceChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ReferenceChunk) HasType ¶
func (o *ReferenceChunk) HasType() bool
HasType returns a boolean if a field has been set.
func (ReferenceChunk) MarshalJSON ¶
func (o ReferenceChunk) MarshalJSON() ([]byte, error)
func (*ReferenceChunk) SetReferenceIds ¶
func (o *ReferenceChunk) SetReferenceIds(v []int32)
SetReferenceIds sets field value
func (*ReferenceChunk) SetType ¶
func (o *ReferenceChunk) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ReferenceChunk) ToMap ¶
func (o ReferenceChunk) ToMap() (map[string]interface{}, error)
func (*ReferenceChunk) UnmarshalJSON ¶
func (o *ReferenceChunk) UnmarshalJSON(data []byte) (err error)
type RequestSource ¶ added in v0.15.0
type RequestSource string
RequestSource the model 'RequestSource'
const ( REQUESTSOURCE_API RequestSource = "api" REQUESTSOURCE_PLAYGROUND RequestSource = "playground" REQUESTSOURCE_AGENT_BUILDER_V1 RequestSource = "agent_builder_v1" )
List of RequestSource
func NewRequestSourceFromValue ¶ added in v0.15.0
func NewRequestSourceFromValue(v string) (*RequestSource, error)
NewRequestSourceFromValue returns a pointer to a valid RequestSource for the value passed as argument, or an error if the value passed is not allowed by the enum
func (RequestSource) IsValid ¶ added in v0.15.0
func (v RequestSource) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (RequestSource) Ptr ¶ added in v0.15.0
func (v RequestSource) Ptr() *RequestSource
Ptr returns reference to RequestSource value
func (*RequestSource) UnmarshalJSON ¶ added in v0.15.0
func (v *RequestSource) UnmarshalJSON(src []byte) error
type Response ¶
type Response struct {
LegacyJobMetadataOut *LegacyJobMetadataOut
ResponseAnyOf *ResponseAnyOf
}
Response struct for Response
func (Response) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Response) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type Response1 ¶
type Response1 struct {
ClassifierDetailedJobOut *ClassifierDetailedJobOut
CompletionDetailedJobOut *CompletionDetailedJobOut
}
Response1 - struct for Response1
func ClassifierDetailedJobOutAsResponse1 ¶
func ClassifierDetailedJobOutAsResponse1(v *ClassifierDetailedJobOut) Response1
ClassifierDetailedJobOutAsResponse1 is a convenience function that returns ClassifierDetailedJobOut wrapped in Response1
func CompletionDetailedJobOutAsResponse1 ¶
func CompletionDetailedJobOutAsResponse1(v *CompletionDetailedJobOut) Response1
CompletionDetailedJobOutAsResponse1 is a convenience function that returns CompletionDetailedJobOut wrapped in Response1
func (*Response1) GetActualInstance ¶
func (obj *Response1) GetActualInstance() interface{}
Get the actual instance
func (Response1) GetActualInstanceValue ¶
func (obj Response1) GetActualInstanceValue() interface{}
Get the actual instance value
func (Response1) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Response1) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type Response2 ¶
type Response2 struct {
ClassifierFTModelOut *ClassifierFTModelOut
CompletionFTModelOut *CompletionFTModelOut
}
Response2 - struct for Response2
func ClassifierFTModelOutAsResponse2 ¶
func ClassifierFTModelOutAsResponse2(v *ClassifierFTModelOut) Response2
ClassifierFTModelOutAsResponse2 is a convenience function that returns ClassifierFTModelOut wrapped in Response2
func CompletionFTModelOutAsResponse2 ¶
func CompletionFTModelOutAsResponse2(v *CompletionFTModelOut) Response2
CompletionFTModelOutAsResponse2 is a convenience function that returns CompletionFTModelOut wrapped in Response2
func (*Response2) GetActualInstance ¶
func (obj *Response2) GetActualInstance() interface{}
Get the actual instance
func (Response2) GetActualInstanceValue ¶
func (obj Response2) GetActualInstanceValue() interface{}
Get the actual instance value
func (Response2) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Response2) UnmarshalJSON ¶
Unmarshal JSON data into one of the pointers in the struct
type ResponseAnyOf ¶
type ResponseAnyOf struct {
ClassifierJobOut *ClassifierJobOut
CompletionJobOut *CompletionJobOut
}
ResponseAnyOf - struct for ResponseAnyOf
func ClassifierJobOutAsResponseAnyOf ¶
func ClassifierJobOutAsResponseAnyOf(v *ClassifierJobOut) ResponseAnyOf
ClassifierJobOutAsResponseAnyOf is a convenience function that returns ClassifierJobOut wrapped in ResponseAnyOf
func CompletionJobOutAsResponseAnyOf ¶
func CompletionJobOutAsResponseAnyOf(v *CompletionJobOut) ResponseAnyOf
CompletionJobOutAsResponseAnyOf is a convenience function that returns CompletionJobOut wrapped in ResponseAnyOf
func (*ResponseAnyOf) GetActualInstance ¶
func (obj *ResponseAnyOf) GetActualInstance() interface{}
Get the actual instance
func (ResponseAnyOf) GetActualInstanceValue ¶
func (obj ResponseAnyOf) GetActualInstanceValue() interface{}
Get the actual instance value
func (ResponseAnyOf) MarshalJSON ¶
func (src ResponseAnyOf) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ResponseAnyOf) UnmarshalJSON ¶
func (dst *ResponseAnyOf) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ResponseBase ¶
type ResponseBase struct {
Id *string `json:"id,omitempty"`
Object *string `json:"object,omitempty"`
Model *string `json:"model,omitempty"`
Usage *UsageInfo `json:"usage,omitempty"`
AdditionalProperties map[string]interface{}
}
ResponseBase struct for ResponseBase
func NewResponseBase ¶
func NewResponseBase() *ResponseBase
NewResponseBase instantiates a new ResponseBase 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 NewResponseBaseWithDefaults ¶
func NewResponseBaseWithDefaults() *ResponseBase
NewResponseBaseWithDefaults instantiates a new ResponseBase 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 (*ResponseBase) GetId ¶
func (o *ResponseBase) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ResponseBase) GetIdOk ¶
func (o *ResponseBase) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseBase) GetModel ¶
func (o *ResponseBase) GetModel() string
GetModel returns the Model field value if set, zero value otherwise.
func (*ResponseBase) GetModelOk ¶
func (o *ResponseBase) 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.
func (*ResponseBase) GetObject ¶
func (o *ResponseBase) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ResponseBase) GetObjectOk ¶
func (o *ResponseBase) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseBase) GetUsage ¶
func (o *ResponseBase) GetUsage() UsageInfo
GetUsage returns the Usage field value if set, zero value otherwise.
func (*ResponseBase) GetUsageOk ¶
func (o *ResponseBase) GetUsageOk() (*UsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseBase) HasId ¶
func (o *ResponseBase) HasId() bool
HasId returns a boolean if a field has been set.
func (*ResponseBase) HasModel ¶
func (o *ResponseBase) HasModel() bool
HasModel returns a boolean if a field has been set.
func (*ResponseBase) HasObject ¶
func (o *ResponseBase) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ResponseBase) HasUsage ¶
func (o *ResponseBase) HasUsage() bool
HasUsage returns a boolean if a field has been set.
func (ResponseBase) MarshalJSON ¶
func (o ResponseBase) MarshalJSON() ([]byte, error)
func (*ResponseBase) SetId ¶
func (o *ResponseBase) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ResponseBase) SetModel ¶
func (o *ResponseBase) SetModel(v string)
SetModel gets a reference to the given string and assigns it to the Model field.
func (*ResponseBase) SetObject ¶
func (o *ResponseBase) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ResponseBase) SetUsage ¶
func (o *ResponseBase) SetUsage(v UsageInfo)
SetUsage gets a reference to the given UsageInfo and assigns it to the Usage field.
func (ResponseBase) ToMap ¶
func (o ResponseBase) ToMap() (map[string]interface{}, error)
func (*ResponseBase) UnmarshalJSON ¶
func (o *ResponseBase) UnmarshalJSON(data []byte) (err error)
type ResponseDoneEvent ¶
type ResponseDoneEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Usage ConversationUsageInfo `json:"usage"`
}
ResponseDoneEvent struct for ResponseDoneEvent
func NewResponseDoneEvent ¶
func NewResponseDoneEvent(usage ConversationUsageInfo) *ResponseDoneEvent
NewResponseDoneEvent instantiates a new ResponseDoneEvent 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 NewResponseDoneEventWithDefaults ¶
func NewResponseDoneEventWithDefaults() *ResponseDoneEvent
NewResponseDoneEventWithDefaults instantiates a new ResponseDoneEvent 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 (*ResponseDoneEvent) GetCreatedAt ¶
func (o *ResponseDoneEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ResponseDoneEvent) GetCreatedAtOk ¶
func (o *ResponseDoneEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseDoneEvent) GetType ¶
func (o *ResponseDoneEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ResponseDoneEvent) GetTypeOk ¶
func (o *ResponseDoneEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseDoneEvent) GetUsage ¶
func (o *ResponseDoneEvent) GetUsage() ConversationUsageInfo
GetUsage returns the Usage field value
func (*ResponseDoneEvent) GetUsageOk ¶
func (o *ResponseDoneEvent) GetUsageOk() (*ConversationUsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value and a boolean to check if the value has been set.
func (*ResponseDoneEvent) HasCreatedAt ¶
func (o *ResponseDoneEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ResponseDoneEvent) HasType ¶
func (o *ResponseDoneEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (ResponseDoneEvent) MarshalJSON ¶
func (o ResponseDoneEvent) MarshalJSON() ([]byte, error)
func (*ResponseDoneEvent) SetCreatedAt ¶
func (o *ResponseDoneEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ResponseDoneEvent) SetType ¶
func (o *ResponseDoneEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*ResponseDoneEvent) SetUsage ¶
func (o *ResponseDoneEvent) SetUsage(v ConversationUsageInfo)
SetUsage sets field value
func (ResponseDoneEvent) ToMap ¶
func (o ResponseDoneEvent) ToMap() (map[string]interface{}, error)
func (*ResponseDoneEvent) UnmarshalJSON ¶
func (o *ResponseDoneEvent) UnmarshalJSON(data []byte) (err error)
type ResponseErrorEvent ¶
type ResponseErrorEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Message string `json:"message"`
Code int32 `json:"code"`
}
ResponseErrorEvent struct for ResponseErrorEvent
func NewResponseErrorEvent ¶
func NewResponseErrorEvent(message string, code int32) *ResponseErrorEvent
NewResponseErrorEvent instantiates a new ResponseErrorEvent 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 NewResponseErrorEventWithDefaults ¶
func NewResponseErrorEventWithDefaults() *ResponseErrorEvent
NewResponseErrorEventWithDefaults instantiates a new ResponseErrorEvent 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 (*ResponseErrorEvent) GetCode ¶
func (o *ResponseErrorEvent) GetCode() int32
GetCode returns the Code field value
func (*ResponseErrorEvent) GetCodeOk ¶
func (o *ResponseErrorEvent) GetCodeOk() (*int32, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*ResponseErrorEvent) GetCreatedAt ¶
func (o *ResponseErrorEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ResponseErrorEvent) GetCreatedAtOk ¶
func (o *ResponseErrorEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseErrorEvent) GetMessage ¶
func (o *ResponseErrorEvent) GetMessage() string
GetMessage returns the Message field value
func (*ResponseErrorEvent) GetMessageOk ¶
func (o *ResponseErrorEvent) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (*ResponseErrorEvent) GetType ¶
func (o *ResponseErrorEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ResponseErrorEvent) GetTypeOk ¶
func (o *ResponseErrorEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseErrorEvent) HasCreatedAt ¶
func (o *ResponseErrorEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ResponseErrorEvent) HasType ¶
func (o *ResponseErrorEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (ResponseErrorEvent) MarshalJSON ¶
func (o ResponseErrorEvent) MarshalJSON() ([]byte, error)
func (*ResponseErrorEvent) SetCode ¶
func (o *ResponseErrorEvent) SetCode(v int32)
SetCode sets field value
func (*ResponseErrorEvent) SetCreatedAt ¶
func (o *ResponseErrorEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ResponseErrorEvent) SetMessage ¶
func (o *ResponseErrorEvent) SetMessage(v string)
SetMessage sets field value
func (*ResponseErrorEvent) SetType ¶
func (o *ResponseErrorEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ResponseErrorEvent) ToMap ¶
func (o ResponseErrorEvent) ToMap() (map[string]interface{}, error)
func (*ResponseErrorEvent) UnmarshalJSON ¶
func (o *ResponseErrorEvent) UnmarshalJSON(data []byte) (err error)
type ResponseFormat ¶
type ResponseFormat struct {
Type *ResponseFormats `json:"type,omitempty"`
JsonSchema NullableJsonSchema `json:"json_schema,omitempty"`
}
ResponseFormat Specify the format that the model must output. By default it will use `{ \"type\": \"text\" }`. Setting to `{ \"type\": \"json_object\" }` enables JSON mode, which guarantees the message the model generates is in JSON. When using JSON mode you MUST also instruct the model to produce JSON yourself with a system or a user message. Setting to `{ \"type\": \"json_schema\" }` enables JSON schema mode, which guarantees the message the model generates is in JSON and follows the schema you provide.
func NewResponseFormat ¶
func NewResponseFormat() *ResponseFormat
NewResponseFormat instantiates a new ResponseFormat 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 NewResponseFormatWithDefaults ¶
func NewResponseFormatWithDefaults() *ResponseFormat
NewResponseFormatWithDefaults instantiates a new ResponseFormat 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 (*ResponseFormat) GetJsonSchema ¶
func (o *ResponseFormat) GetJsonSchema() JsonSchema
GetJsonSchema returns the JsonSchema field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ResponseFormat) GetJsonSchemaOk ¶
func (o *ResponseFormat) GetJsonSchemaOk() (*JsonSchema, bool)
GetJsonSchemaOk returns a tuple with the JsonSchema 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 (*ResponseFormat) GetType ¶
func (o *ResponseFormat) GetType() ResponseFormats
GetType returns the Type field value if set, zero value otherwise.
func (*ResponseFormat) GetTypeOk ¶
func (o *ResponseFormat) GetTypeOk() (*ResponseFormats, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseFormat) HasJsonSchema ¶
func (o *ResponseFormat) HasJsonSchema() bool
HasJsonSchema returns a boolean if a field has been set.
func (*ResponseFormat) HasType ¶
func (o *ResponseFormat) HasType() bool
HasType returns a boolean if a field has been set.
func (ResponseFormat) MarshalJSON ¶
func (o ResponseFormat) MarshalJSON() ([]byte, error)
func (*ResponseFormat) SetJsonSchema ¶
func (o *ResponseFormat) SetJsonSchema(v JsonSchema)
SetJsonSchema gets a reference to the given NullableJsonSchema and assigns it to the JsonSchema field.
func (*ResponseFormat) SetJsonSchemaNil ¶
func (o *ResponseFormat) SetJsonSchemaNil()
SetJsonSchemaNil sets the value for JsonSchema to be an explicit nil
func (*ResponseFormat) SetType ¶
func (o *ResponseFormat) SetType(v ResponseFormats)
SetType gets a reference to the given ResponseFormats and assigns it to the Type field.
func (ResponseFormat) ToMap ¶
func (o ResponseFormat) ToMap() (map[string]interface{}, error)
func (*ResponseFormat) UnsetJsonSchema ¶
func (o *ResponseFormat) UnsetJsonSchema()
UnsetJsonSchema ensures that no value is present for JsonSchema, not even an explicit nil
type ResponseFormats ¶
type ResponseFormats string
ResponseFormats the model 'ResponseFormats'
const ( RESPONSEFORMATS_TEXT ResponseFormats = "text" RESPONSEFORMATS_JSON_OBJECT ResponseFormats = "json_object" RESPONSEFORMATS_JSON_SCHEMA ResponseFormats = "json_schema" )
List of ResponseFormats
func NewResponseFormatsFromValue ¶
func NewResponseFormatsFromValue(v string) (*ResponseFormats, error)
NewResponseFormatsFromValue returns a pointer to a valid ResponseFormats for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ResponseFormats) IsValid ¶
func (v ResponseFormats) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ResponseFormats) Ptr ¶
func (v ResponseFormats) Ptr() *ResponseFormats
Ptr returns reference to ResponseFormats value
func (*ResponseFormats) UnmarshalJSON ¶
func (v *ResponseFormats) UnmarshalJSON(src []byte) error
type ResponseRetrieveModelV1ModelsModelIdGet ¶
type ResponseRetrieveModelV1ModelsModelIdGet struct {
BaseModelCard *BaseModelCard
FTModelCard *FTModelCard
}
ResponseRetrieveModelV1ModelsModelIdGet - struct for ResponseRetrieveModelV1ModelsModelIdGet
func BaseModelCardAsResponseRetrieveModelV1ModelsModelIdGet ¶
func BaseModelCardAsResponseRetrieveModelV1ModelsModelIdGet(v *BaseModelCard) ResponseRetrieveModelV1ModelsModelIdGet
BaseModelCardAsResponseRetrieveModelV1ModelsModelIdGet is a convenience function that returns BaseModelCard wrapped in ResponseRetrieveModelV1ModelsModelIdGet
func FTModelCardAsResponseRetrieveModelV1ModelsModelIdGet ¶
func FTModelCardAsResponseRetrieveModelV1ModelsModelIdGet(v *FTModelCard) ResponseRetrieveModelV1ModelsModelIdGet
FTModelCardAsResponseRetrieveModelV1ModelsModelIdGet is a convenience function that returns FTModelCard wrapped in ResponseRetrieveModelV1ModelsModelIdGet
func (*ResponseRetrieveModelV1ModelsModelIdGet) GetActualInstance ¶
func (obj *ResponseRetrieveModelV1ModelsModelIdGet) GetActualInstance() interface{}
Get the actual instance
func (ResponseRetrieveModelV1ModelsModelIdGet) GetActualInstanceValue ¶
func (obj ResponseRetrieveModelV1ModelsModelIdGet) GetActualInstanceValue() interface{}
Get the actual instance value
func (ResponseRetrieveModelV1ModelsModelIdGet) MarshalJSON ¶
func (src ResponseRetrieveModelV1ModelsModelIdGet) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ResponseRetrieveModelV1ModelsModelIdGet) UnmarshalJSON ¶
func (dst *ResponseRetrieveModelV1ModelsModelIdGet) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type ResponseStartedEvent ¶
type ResponseStartedEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
ConversationId string `json:"conversation_id"`
}
ResponseStartedEvent struct for ResponseStartedEvent
func NewResponseStartedEvent ¶
func NewResponseStartedEvent(conversationId string) *ResponseStartedEvent
NewResponseStartedEvent instantiates a new ResponseStartedEvent 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 NewResponseStartedEventWithDefaults ¶
func NewResponseStartedEventWithDefaults() *ResponseStartedEvent
NewResponseStartedEventWithDefaults instantiates a new ResponseStartedEvent 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 (*ResponseStartedEvent) GetConversationId ¶
func (o *ResponseStartedEvent) GetConversationId() string
GetConversationId returns the ConversationId field value
func (*ResponseStartedEvent) GetConversationIdOk ¶
func (o *ResponseStartedEvent) GetConversationIdOk() (*string, bool)
GetConversationIdOk returns a tuple with the ConversationId field value and a boolean to check if the value has been set.
func (*ResponseStartedEvent) GetCreatedAt ¶
func (o *ResponseStartedEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ResponseStartedEvent) GetCreatedAtOk ¶
func (o *ResponseStartedEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseStartedEvent) GetType ¶
func (o *ResponseStartedEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ResponseStartedEvent) GetTypeOk ¶
func (o *ResponseStartedEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ResponseStartedEvent) HasCreatedAt ¶
func (o *ResponseStartedEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ResponseStartedEvent) HasType ¶
func (o *ResponseStartedEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (ResponseStartedEvent) MarshalJSON ¶
func (o ResponseStartedEvent) MarshalJSON() ([]byte, error)
func (*ResponseStartedEvent) SetConversationId ¶
func (o *ResponseStartedEvent) SetConversationId(v string)
SetConversationId sets field value
func (*ResponseStartedEvent) SetCreatedAt ¶
func (o *ResponseStartedEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ResponseStartedEvent) SetType ¶
func (o *ResponseStartedEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ResponseStartedEvent) ToMap ¶
func (o ResponseStartedEvent) ToMap() (map[string]interface{}, error)
func (*ResponseStartedEvent) UnmarshalJSON ¶
func (o *ResponseStartedEvent) UnmarshalJSON(data []byte) (err error)
type ResponseV1ConversationsGet ¶
type ResponseV1ConversationsGet struct {
AgentConversation *AgentConversation
ModelConversation *ModelConversation
}
ResponseV1ConversationsGet struct for ResponseV1ConversationsGet
func (ResponseV1ConversationsGet) MarshalJSON ¶
func (src ResponseV1ConversationsGet) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ResponseV1ConversationsGet) UnmarshalJSON ¶
func (dst *ResponseV1ConversationsGet) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type ResponseV1ConversationsListInner ¶ added in v0.15.0
type ResponseV1ConversationsListInner struct {
AgentConversation *AgentConversation
ModelConversation *ModelConversation
}
ResponseV1ConversationsListInner struct for ResponseV1ConversationsListInner
func (ResponseV1ConversationsListInner) MarshalJSON ¶ added in v0.15.0
func (src ResponseV1ConversationsListInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ResponseV1ConversationsListInner) UnmarshalJSON ¶ added in v0.15.0
func (dst *ResponseV1ConversationsListInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type RetrieveFileOut ¶
type RetrieveFileOut struct {
// The unique identifier of the file.
Id string `json:"id"`
// The object type, which is always \"file\".
Object string `json:"object"`
// The size of the file, in bytes.
Bytes int32 `json:"bytes"`
// The UNIX timestamp (in seconds) of the event.
CreatedAt int32 `json:"created_at"`
// The name of the uploaded file.
Filename string `json:"filename"`
// The intended purpose of the uploaded file, currently supports fine-tuning (`fine-tune`), OCR (`ocr`), Audio/Transcription (`audio`) and batch inference (`batch`).
Purpose FilePurpose `json:"purpose"`
SampleType SampleType `json:"sample_type"`
NumLines NullableInt32 `json:"num_lines,omitempty"`
Mimetype NullableString `json:"mimetype,omitempty"`
Source Source `json:"source"`
Signature NullableString `json:"signature,omitempty"`
Deleted bool `json:"deleted"`
AdditionalProperties map[string]interface{}
}
RetrieveFileOut struct for RetrieveFileOut
func NewRetrieveFileOut ¶
func NewRetrieveFileOut(id string, object string, bytes int32, createdAt int32, filename string, purpose FilePurpose, sampleType SampleType, source Source, deleted bool) *RetrieveFileOut
NewRetrieveFileOut instantiates a new RetrieveFileOut 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 NewRetrieveFileOutWithDefaults ¶
func NewRetrieveFileOutWithDefaults() *RetrieveFileOut
NewRetrieveFileOutWithDefaults instantiates a new RetrieveFileOut 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 (*RetrieveFileOut) GetBytes ¶
func (o *RetrieveFileOut) GetBytes() int32
GetBytes returns the Bytes field value
func (*RetrieveFileOut) GetBytesOk ¶
func (o *RetrieveFileOut) GetBytesOk() (*int32, bool)
GetBytesOk returns a tuple with the Bytes field value and a boolean to check if the value has been set.
func (*RetrieveFileOut) GetCreatedAt ¶
func (o *RetrieveFileOut) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field value
func (*RetrieveFileOut) GetCreatedAtOk ¶
func (o *RetrieveFileOut) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*RetrieveFileOut) GetDeleted ¶
func (o *RetrieveFileOut) GetDeleted() bool
GetDeleted returns the Deleted field value
func (*RetrieveFileOut) GetDeletedOk ¶
func (o *RetrieveFileOut) GetDeletedOk() (*bool, bool)
GetDeletedOk returns a tuple with the Deleted field value and a boolean to check if the value has been set.
func (*RetrieveFileOut) GetFilename ¶
func (o *RetrieveFileOut) GetFilename() string
GetFilename returns the Filename field value
func (*RetrieveFileOut) GetFilenameOk ¶
func (o *RetrieveFileOut) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value and a boolean to check if the value has been set.
func (*RetrieveFileOut) GetId ¶
func (o *RetrieveFileOut) GetId() string
GetId returns the Id field value
func (*RetrieveFileOut) GetIdOk ¶
func (o *RetrieveFileOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*RetrieveFileOut) GetMimetype ¶ added in v0.15.0
func (o *RetrieveFileOut) GetMimetype() string
GetMimetype returns the Mimetype field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RetrieveFileOut) GetMimetypeOk ¶ added in v0.15.0
func (o *RetrieveFileOut) GetMimetypeOk() (*string, bool)
GetMimetypeOk returns a tuple with the Mimetype 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 (*RetrieveFileOut) GetNumLines ¶
func (o *RetrieveFileOut) GetNumLines() int32
GetNumLines returns the NumLines field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RetrieveFileOut) GetNumLinesOk ¶
func (o *RetrieveFileOut) GetNumLinesOk() (*int32, bool)
GetNumLinesOk returns a tuple with the NumLines 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 (*RetrieveFileOut) GetObject ¶
func (o *RetrieveFileOut) GetObject() string
GetObject returns the Object field value
func (*RetrieveFileOut) GetObjectOk ¶
func (o *RetrieveFileOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*RetrieveFileOut) GetPurpose ¶
func (o *RetrieveFileOut) GetPurpose() FilePurpose
GetPurpose returns the Purpose field value
func (*RetrieveFileOut) GetPurposeOk ¶
func (o *RetrieveFileOut) GetPurposeOk() (*FilePurpose, bool)
GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.
func (*RetrieveFileOut) GetSampleType ¶
func (o *RetrieveFileOut) GetSampleType() SampleType
GetSampleType returns the SampleType field value
func (*RetrieveFileOut) GetSampleTypeOk ¶
func (o *RetrieveFileOut) GetSampleTypeOk() (*SampleType, bool)
GetSampleTypeOk returns a tuple with the SampleType field value and a boolean to check if the value has been set.
func (*RetrieveFileOut) GetSignature ¶ added in v0.15.0
func (o *RetrieveFileOut) GetSignature() string
GetSignature returns the Signature field value if set, zero value otherwise (both if not set or set to explicit null).
func (*RetrieveFileOut) GetSignatureOk ¶ added in v0.15.0
func (o *RetrieveFileOut) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature 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 (*RetrieveFileOut) GetSource ¶
func (o *RetrieveFileOut) GetSource() Source
GetSource returns the Source field value
func (*RetrieveFileOut) GetSourceOk ¶
func (o *RetrieveFileOut) GetSourceOk() (*Source, bool)
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (*RetrieveFileOut) HasMimetype ¶ added in v0.15.0
func (o *RetrieveFileOut) HasMimetype() bool
HasMimetype returns a boolean if a field has been set.
func (*RetrieveFileOut) HasNumLines ¶
func (o *RetrieveFileOut) HasNumLines() bool
HasNumLines returns a boolean if a field has been set.
func (*RetrieveFileOut) HasSignature ¶ added in v0.15.0
func (o *RetrieveFileOut) HasSignature() bool
HasSignature returns a boolean if a field has been set.
func (RetrieveFileOut) MarshalJSON ¶
func (o RetrieveFileOut) MarshalJSON() ([]byte, error)
func (*RetrieveFileOut) SetBytes ¶
func (o *RetrieveFileOut) SetBytes(v int32)
SetBytes sets field value
func (*RetrieveFileOut) SetCreatedAt ¶
func (o *RetrieveFileOut) SetCreatedAt(v int32)
SetCreatedAt sets field value
func (*RetrieveFileOut) SetDeleted ¶
func (o *RetrieveFileOut) SetDeleted(v bool)
SetDeleted sets field value
func (*RetrieveFileOut) SetFilename ¶
func (o *RetrieveFileOut) SetFilename(v string)
SetFilename sets field value
func (*RetrieveFileOut) SetMimetype ¶ added in v0.15.0
func (o *RetrieveFileOut) SetMimetype(v string)
SetMimetype gets a reference to the given NullableString and assigns it to the Mimetype field.
func (*RetrieveFileOut) SetMimetypeNil ¶ added in v0.15.0
func (o *RetrieveFileOut) SetMimetypeNil()
SetMimetypeNil sets the value for Mimetype to be an explicit nil
func (*RetrieveFileOut) SetNumLines ¶
func (o *RetrieveFileOut) SetNumLines(v int32)
SetNumLines gets a reference to the given NullableInt32 and assigns it to the NumLines field.
func (*RetrieveFileOut) SetNumLinesNil ¶
func (o *RetrieveFileOut) SetNumLinesNil()
SetNumLinesNil sets the value for NumLines to be an explicit nil
func (*RetrieveFileOut) SetObject ¶
func (o *RetrieveFileOut) SetObject(v string)
SetObject sets field value
func (*RetrieveFileOut) SetPurpose ¶
func (o *RetrieveFileOut) SetPurpose(v FilePurpose)
SetPurpose sets field value
func (*RetrieveFileOut) SetSampleType ¶
func (o *RetrieveFileOut) SetSampleType(v SampleType)
SetSampleType sets field value
func (*RetrieveFileOut) SetSignature ¶ added in v0.15.0
func (o *RetrieveFileOut) SetSignature(v string)
SetSignature gets a reference to the given NullableString and assigns it to the Signature field.
func (*RetrieveFileOut) SetSignatureNil ¶ added in v0.15.0
func (o *RetrieveFileOut) SetSignatureNil()
SetSignatureNil sets the value for Signature to be an explicit nil
func (*RetrieveFileOut) SetSource ¶
func (o *RetrieveFileOut) SetSource(v Source)
SetSource sets field value
func (RetrieveFileOut) ToMap ¶
func (o RetrieveFileOut) ToMap() (map[string]interface{}, error)
func (*RetrieveFileOut) UnmarshalJSON ¶
func (o *RetrieveFileOut) UnmarshalJSON(data []byte) (err error)
func (*RetrieveFileOut) UnsetMimetype ¶ added in v0.15.0
func (o *RetrieveFileOut) UnsetMimetype()
UnsetMimetype ensures that no value is present for Mimetype, not even an explicit nil
func (*RetrieveFileOut) UnsetNumLines ¶
func (o *RetrieveFileOut) UnsetNumLines()
UnsetNumLines ensures that no value is present for NumLines, not even an explicit nil
func (*RetrieveFileOut) UnsetSignature ¶ added in v0.15.0
func (o *RetrieveFileOut) UnsetSignature()
UnsetSignature ensures that no value is present for Signature, not even an explicit nil
type SSETypes ¶
type SSETypes string
SSETypes Server side events sent when streaming a conversation response.
const ( SSETYPES_CONVERSATION_RESPONSE_STARTED SSETypes = "conversation.response.started" SSETYPES_CONVERSATION_RESPONSE_DONE SSETypes = "conversation.response.done" SSETYPES_CONVERSATION_RESPONSE_ERROR SSETypes = "conversation.response.error" SSETYPES_MESSAGE_OUTPUT_DELTA SSETypes = "message.output.delta" SSETYPES_TOOL_EXECUTION_STARTED SSETypes = "tool.execution.started" SSETYPES_TOOL_EXECUTION_DELTA SSETypes = "tool.execution.delta" SSETYPES_TOOL_EXECUTION_DONE SSETypes = "tool.execution.done" SSETYPES_AGENT_HANDOFF_STARTED SSETypes = "agent.handoff.started" SSETYPES_AGENT_HANDOFF_DONE SSETypes = "agent.handoff.done" SSETYPES_FUNCTION_CALL_DELTA SSETypes = "function.call.delta" )
List of SSETypes
func NewSSETypesFromValue ¶
NewSSETypesFromValue returns a pointer to a valid SSETypes for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*SSETypes) UnmarshalJSON ¶
type SampleType ¶
type SampleType string
SampleType the model 'SampleType'
const ( SAMPLETYPE_PRETRAIN SampleType = "pretrain" SAMPLETYPE_INSTRUCT SampleType = "instruct" SAMPLETYPE_BATCH_REQUEST SampleType = "batch_request" SAMPLETYPE_BATCH_RESULT SampleType = "batch_result" SAMPLETYPE_BATCH_ERROR SampleType = "batch_error" )
List of SampleType
func NewSampleTypeFromValue ¶
func NewSampleTypeFromValue(v string) (*SampleType, error)
NewSampleTypeFromValue returns a pointer to a valid SampleType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (SampleType) IsValid ¶
func (v SampleType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (SampleType) Ptr ¶
func (v SampleType) Ptr() *SampleType
Ptr returns reference to SampleType value
func (*SampleType) UnmarshalJSON ¶
func (v *SampleType) UnmarshalJSON(src []byte) error
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 ShareEnum ¶ added in v0.6.0
type ShareEnum string
ShareEnum the model 'ShareEnum'
List of ShareEnum
func NewShareEnumFromValue ¶ added in v0.6.0
NewShareEnumFromValue returns a pointer to a valid ShareEnum for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ShareEnum) IsValid ¶ added in v0.6.0
IsValid return true if the value is valid for the enum, false otherwise
func (*ShareEnum) UnmarshalJSON ¶ added in v0.6.0
type SharingDelete ¶ added in v0.6.0
type SharingDelete struct {
OrgId NullableString `json:"org_id,omitempty"`
// The id of the entity (user, workspace or organization) to share with
AdditionalProperties map[string]interface{}
}
SharingDelete struct for SharingDelete
func NewSharingDelete ¶ added in v0.6.0
func NewSharingDelete(shareWithUuid string, shareWithType EntityType) *SharingDelete
NewSharingDelete instantiates a new SharingDelete 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 NewSharingDeleteWithDefaults ¶ added in v0.6.0
func NewSharingDeleteWithDefaults() *SharingDelete
NewSharingDeleteWithDefaults instantiates a new SharingDelete 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 (*SharingDelete) GetOrgId ¶ added in v0.6.0
func (o *SharingDelete) GetOrgId() string
GetOrgId returns the OrgId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SharingDelete) GetOrgIdOk ¶ added in v0.6.0
func (o *SharingDelete) GetOrgIdOk() (*string, bool)
GetOrgIdOk returns a tuple with the OrgId 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 (*SharingDelete) GetShareWithType ¶ added in v0.6.0
func (o *SharingDelete) GetShareWithType() EntityType
GetShareWithType returns the ShareWithType field value
func (*SharingDelete) GetShareWithTypeOk ¶ added in v0.6.0
func (o *SharingDelete) GetShareWithTypeOk() (*EntityType, bool)
GetShareWithTypeOk returns a tuple with the ShareWithType field value and a boolean to check if the value has been set.
func (*SharingDelete) GetShareWithUuid ¶ added in v0.6.0
func (o *SharingDelete) GetShareWithUuid() string
GetShareWithUuid returns the ShareWithUuid field value
func (*SharingDelete) GetShareWithUuidOk ¶ added in v0.6.0
func (o *SharingDelete) GetShareWithUuidOk() (*string, bool)
GetShareWithUuidOk returns a tuple with the ShareWithUuid field value and a boolean to check if the value has been set.
func (*SharingDelete) HasOrgId ¶ added in v0.15.0
func (o *SharingDelete) HasOrgId() bool
HasOrgId returns a boolean if a field has been set.
func (SharingDelete) MarshalJSON ¶ added in v0.6.0
func (o SharingDelete) MarshalJSON() ([]byte, error)
func (*SharingDelete) SetOrgId ¶ added in v0.6.0
func (o *SharingDelete) SetOrgId(v string)
SetOrgId gets a reference to the given NullableString and assigns it to the OrgId field.
func (*SharingDelete) SetOrgIdNil ¶ added in v0.15.0
func (o *SharingDelete) SetOrgIdNil()
SetOrgIdNil sets the value for OrgId to be an explicit nil
func (*SharingDelete) SetShareWithType ¶ added in v0.6.0
func (o *SharingDelete) SetShareWithType(v EntityType)
SetShareWithType sets field value
func (*SharingDelete) SetShareWithUuid ¶ added in v0.6.0
func (o *SharingDelete) SetShareWithUuid(v string)
SetShareWithUuid sets field value
func (SharingDelete) ToMap ¶ added in v0.6.0
func (o SharingDelete) ToMap() (map[string]interface{}, error)
func (*SharingDelete) UnmarshalJSON ¶ added in v0.6.0
func (o *SharingDelete) UnmarshalJSON(data []byte) (err error)
func (*SharingDelete) UnsetOrgId ¶ added in v0.15.0
func (o *SharingDelete) UnsetOrgId()
UnsetOrgId ensures that no value is present for OrgId, not even an explicit nil
type SharingIn ¶ added in v0.6.0
type SharingIn struct {
OrgId NullableString `json:"org_id,omitempty"`
Level ShareEnum `json:"level"`
// The id of the entity (user, workspace or organization) to share with
AdditionalProperties map[string]interface{}
}
SharingIn struct for SharingIn
func NewSharingIn ¶ added in v0.6.0
func NewSharingIn(level ShareEnum, shareWithUuid string, shareWithType EntityType) *SharingIn
NewSharingIn instantiates a new SharingIn 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 NewSharingInWithDefaults ¶ added in v0.6.0
func NewSharingInWithDefaults() *SharingIn
NewSharingInWithDefaults instantiates a new SharingIn 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 (*SharingIn) GetLevelOk ¶ added in v0.6.0
GetLevelOk returns a tuple with the Level field value and a boolean to check if the value has been set.
func (*SharingIn) GetOrgId ¶ added in v0.6.0
GetOrgId returns the OrgId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SharingIn) GetOrgIdOk ¶ added in v0.6.0
GetOrgIdOk returns a tuple with the OrgId 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 (*SharingIn) GetShareWithType ¶ added in v0.6.0
func (o *SharingIn) GetShareWithType() EntityType
GetShareWithType returns the ShareWithType field value
func (*SharingIn) GetShareWithTypeOk ¶ added in v0.6.0
func (o *SharingIn) GetShareWithTypeOk() (*EntityType, bool)
GetShareWithTypeOk returns a tuple with the ShareWithType field value and a boolean to check if the value has been set.
func (*SharingIn) GetShareWithUuid ¶ added in v0.6.0
GetShareWithUuid returns the ShareWithUuid field value
func (*SharingIn) GetShareWithUuidOk ¶ added in v0.6.0
GetShareWithUuidOk returns a tuple with the ShareWithUuid field value and a boolean to check if the value has been set.
func (SharingIn) MarshalJSON ¶ added in v0.6.0
func (*SharingIn) SetOrgId ¶ added in v0.6.0
SetOrgId gets a reference to the given NullableString and assigns it to the OrgId field.
func (*SharingIn) SetOrgIdNil ¶ added in v0.15.0
func (o *SharingIn) SetOrgIdNil()
SetOrgIdNil sets the value for OrgId to be an explicit nil
func (*SharingIn) SetShareWithType ¶ added in v0.6.0
func (o *SharingIn) SetShareWithType(v EntityType)
SetShareWithType sets field value
func (*SharingIn) SetShareWithUuid ¶ added in v0.6.0
SetShareWithUuid sets field value
func (*SharingIn) UnmarshalJSON ¶ added in v0.6.0
func (*SharingIn) UnsetOrgId ¶ added in v0.15.0
func (o *SharingIn) UnsetOrgId()
UnsetOrgId ensures that no value is present for OrgId, not even an explicit nil
type SharingOut ¶ added in v0.6.0
type SharingOut struct {
LibraryId string `json:"library_id"`
UserId NullableString `json:"user_id,omitempty"`
OrgId string `json:"org_id"`
Role string `json:"role"`
AdditionalProperties map[string]interface{}
}
SharingOut struct for SharingOut
func NewSharingOut ¶ added in v0.6.0
func NewSharingOut(libraryId string, orgId string, role string, shareWithType string, shareWithUuid NullableString) *SharingOut
NewSharingOut instantiates a new SharingOut 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 NewSharingOutWithDefaults ¶ added in v0.6.0
func NewSharingOutWithDefaults() *SharingOut
NewSharingOutWithDefaults instantiates a new SharingOut 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 (*SharingOut) GetLibraryId ¶ added in v0.6.0
func (o *SharingOut) GetLibraryId() string
GetLibraryId returns the LibraryId field value
func (*SharingOut) GetLibraryIdOk ¶ added in v0.6.0
func (o *SharingOut) GetLibraryIdOk() (*string, bool)
GetLibraryIdOk returns a tuple with the LibraryId field value and a boolean to check if the value has been set.
func (*SharingOut) GetOrgId ¶ added in v0.6.0
func (o *SharingOut) GetOrgId() string
GetOrgId returns the OrgId field value
func (*SharingOut) GetOrgIdOk ¶ added in v0.6.0
func (o *SharingOut) GetOrgIdOk() (*string, bool)
GetOrgIdOk returns a tuple with the OrgId field value and a boolean to check if the value has been set.
func (*SharingOut) GetRole ¶ added in v0.6.0
func (o *SharingOut) GetRole() string
GetRole returns the Role field value
func (*SharingOut) GetRoleOk ¶ added in v0.6.0
func (o *SharingOut) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value and a boolean to check if the value has been set.
func (*SharingOut) GetShareWithType ¶ added in v0.6.0
func (o *SharingOut) GetShareWithType() string
GetShareWithType returns the ShareWithType field value
func (*SharingOut) GetShareWithTypeOk ¶ added in v0.6.0
func (o *SharingOut) GetShareWithTypeOk() (*string, bool)
GetShareWithTypeOk returns a tuple with the ShareWithType field value and a boolean to check if the value has been set.
func (*SharingOut) GetShareWithUuid ¶ added in v0.6.0
func (o *SharingOut) GetShareWithUuid() string
GetShareWithUuid returns the ShareWithUuid field value If the value is explicit nil, the zero value for string will be returned
func (*SharingOut) GetShareWithUuidOk ¶ added in v0.6.0
func (o *SharingOut) GetShareWithUuidOk() (*string, bool)
GetShareWithUuidOk returns a tuple with the ShareWithUuid 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 (*SharingOut) GetUserId ¶ added in v0.6.0
func (o *SharingOut) GetUserId() string
GetUserId returns the UserId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*SharingOut) GetUserIdOk ¶ added in v0.6.0
func (o *SharingOut) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId 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 (*SharingOut) HasUserId ¶ added in v0.6.0
func (o *SharingOut) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (SharingOut) MarshalJSON ¶ added in v0.6.0
func (o SharingOut) MarshalJSON() ([]byte, error)
func (*SharingOut) SetLibraryId ¶ added in v0.6.0
func (o *SharingOut) SetLibraryId(v string)
SetLibraryId sets field value
func (*SharingOut) SetOrgId ¶ added in v0.6.0
func (o *SharingOut) SetOrgId(v string)
SetOrgId sets field value
func (*SharingOut) SetRole ¶ added in v0.6.0
func (o *SharingOut) SetRole(v string)
SetRole sets field value
func (*SharingOut) SetShareWithType ¶ added in v0.6.0
func (o *SharingOut) SetShareWithType(v string)
SetShareWithType sets field value
func (*SharingOut) SetShareWithUuid ¶ added in v0.6.0
func (o *SharingOut) SetShareWithUuid(v string)
SetShareWithUuid sets field value
func (*SharingOut) SetUserId ¶ added in v0.6.0
func (o *SharingOut) SetUserId(v string)
SetUserId gets a reference to the given NullableString and assigns it to the UserId field.
func (*SharingOut) SetUserIdNil ¶ added in v0.6.0
func (o *SharingOut) SetUserIdNil()
SetUserIdNil sets the value for UserId to be an explicit nil
func (SharingOut) ToMap ¶ added in v0.6.0
func (o SharingOut) ToMap() (map[string]interface{}, error)
func (*SharingOut) UnmarshalJSON ¶ added in v0.6.0
func (o *SharingOut) UnmarshalJSON(data []byte) (err error)
func (*SharingOut) UnsetUserId ¶ added in v0.6.0
func (o *SharingOut) UnsetUserId()
UnsetUserId ensures that no value is present for UserId, not even an explicit nil
type Source ¶
type Source string
Source the model 'Source'
const ( SOURCE_UPLOAD Source = "upload" SOURCE_REPOSITORY Source = "repository" SOURCE_MISTRAL Source = "mistral" )
List of Source
func NewSourceFromValue ¶
NewSourceFromValue returns a pointer to a valid Source for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*Source) UnmarshalJSON ¶
type Stop ¶
Stop Stop generation if this token is detected. Or if one of these tokens is detected when providing an array
func (Stop) MarshalJSON ¶
Marshal data from the first non-nil pointers in the struct to JSON
func (*Stop) UnmarshalJSON ¶
Unmarshal JSON data into any of the pointers in the struct
type SystemMessage ¶
type SystemMessage struct {
Content Content4 `json:"content"`
Role *string `json:"role,omitempty"`
}
SystemMessage struct for SystemMessage
func NewSystemMessage ¶
func NewSystemMessage(content Content4) *SystemMessage
NewSystemMessage instantiates a new SystemMessage 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 NewSystemMessageWithDefaults ¶
func NewSystemMessageWithDefaults() *SystemMessage
NewSystemMessageWithDefaults instantiates a new SystemMessage 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 (*SystemMessage) GetContent ¶
func (o *SystemMessage) GetContent() Content4
GetContent returns the Content field value
func (*SystemMessage) GetContentOk ¶
func (o *SystemMessage) GetContentOk() (*Content4, bool)
GetContentOk returns a tuple with the Content field value and a boolean to check if the value has been set.
func (*SystemMessage) GetRole ¶
func (o *SystemMessage) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*SystemMessage) GetRoleOk ¶
func (o *SystemMessage) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SystemMessage) HasRole ¶
func (o *SystemMessage) HasRole() bool
HasRole returns a boolean if a field has been set.
func (SystemMessage) MarshalJSON ¶
func (o SystemMessage) MarshalJSON() ([]byte, error)
func (*SystemMessage) SetContent ¶
func (o *SystemMessage) SetContent(v Content4)
SetContent sets field value
func (*SystemMessage) SetRole ¶
func (o *SystemMessage) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (SystemMessage) ToMap ¶
func (o SystemMessage) ToMap() (map[string]interface{}, error)
func (*SystemMessage) UnmarshalJSON ¶
func (o *SystemMessage) UnmarshalJSON(data []byte) (err error)
type SystemMessageContentChunks ¶ added in v0.15.0
type SystemMessageContentChunks struct {
TextChunk *TextChunk
ThinkChunk *ThinkChunk
}
SystemMessageContentChunks - struct for SystemMessageContentChunks
func TextChunkAsSystemMessageContentChunks ¶ added in v0.15.0
func TextChunkAsSystemMessageContentChunks(v *TextChunk) SystemMessageContentChunks
TextChunkAsSystemMessageContentChunks is a convenience function that returns TextChunk wrapped in SystemMessageContentChunks
func ThinkChunkAsSystemMessageContentChunks ¶ added in v0.15.0
func ThinkChunkAsSystemMessageContentChunks(v *ThinkChunk) SystemMessageContentChunks
ThinkChunkAsSystemMessageContentChunks is a convenience function that returns ThinkChunk wrapped in SystemMessageContentChunks
func (*SystemMessageContentChunks) GetActualInstance ¶ added in v0.15.0
func (obj *SystemMessageContentChunks) GetActualInstance() interface{}
Get the actual instance
func (SystemMessageContentChunks) GetActualInstanceValue ¶ added in v0.15.0
func (obj SystemMessageContentChunks) GetActualInstanceValue() interface{}
Get the actual instance value
func (SystemMessageContentChunks) MarshalJSON ¶ added in v0.15.0
func (src SystemMessageContentChunks) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*SystemMessageContentChunks) UnmarshalJSON ¶ added in v0.15.0
func (dst *SystemMessageContentChunks) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type TextChunk ¶
TextChunk struct for TextChunk
func NewTextChunk ¶
NewTextChunk instantiates a new TextChunk 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 NewTextChunkWithDefaults ¶
func NewTextChunkWithDefaults() *TextChunk
NewTextChunkWithDefaults instantiates a new TextChunk 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 (*TextChunk) GetTextOk ¶
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*TextChunk) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (TextChunk) MarshalJSON ¶
func (*TextChunk) SetType ¶
SetType gets a reference to the given string and assigns it to the Type field.
func (*TextChunk) UnmarshalJSON ¶
type ThinkChunk ¶ added in v0.15.0
type ThinkChunk struct {
Thinking []ThinkingInner `json:"thinking"`
// Whether the thinking chunk is closed or not. Currently only used for prefixing.
Closed *bool `json:"closed,omitempty"`
Type *string `json:"type,omitempty"`
}
ThinkChunk struct for ThinkChunk
func NewThinkChunk ¶ added in v0.15.0
func NewThinkChunk(thinking []ThinkingInner) *ThinkChunk
NewThinkChunk instantiates a new ThinkChunk 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 NewThinkChunkWithDefaults ¶ added in v0.15.0
func NewThinkChunkWithDefaults() *ThinkChunk
NewThinkChunkWithDefaults instantiates a new ThinkChunk 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 (*ThinkChunk) GetClosed ¶ added in v0.15.0
func (o *ThinkChunk) GetClosed() bool
GetClosed returns the Closed field value if set, zero value otherwise.
func (*ThinkChunk) GetClosedOk ¶ added in v0.15.0
func (o *ThinkChunk) GetClosedOk() (*bool, bool)
GetClosedOk returns a tuple with the Closed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ThinkChunk) GetThinking ¶ added in v0.15.0
func (o *ThinkChunk) GetThinking() []ThinkingInner
GetThinking returns the Thinking field value
func (*ThinkChunk) GetThinkingOk ¶ added in v0.15.0
func (o *ThinkChunk) GetThinkingOk() ([]ThinkingInner, bool)
GetThinkingOk returns a tuple with the Thinking field value and a boolean to check if the value has been set.
func (*ThinkChunk) GetType ¶ added in v0.15.0
func (o *ThinkChunk) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ThinkChunk) GetTypeOk ¶ added in v0.15.0
func (o *ThinkChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ThinkChunk) HasClosed ¶ added in v0.15.0
func (o *ThinkChunk) HasClosed() bool
HasClosed returns a boolean if a field has been set.
func (*ThinkChunk) HasType ¶ added in v0.15.0
func (o *ThinkChunk) HasType() bool
HasType returns a boolean if a field has been set.
func (ThinkChunk) MarshalJSON ¶ added in v0.15.0
func (o ThinkChunk) MarshalJSON() ([]byte, error)
func (*ThinkChunk) SetClosed ¶ added in v0.15.0
func (o *ThinkChunk) SetClosed(v bool)
SetClosed gets a reference to the given bool and assigns it to the Closed field.
func (*ThinkChunk) SetThinking ¶ added in v0.15.0
func (o *ThinkChunk) SetThinking(v []ThinkingInner)
SetThinking sets field value
func (*ThinkChunk) SetType ¶ added in v0.15.0
func (o *ThinkChunk) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ThinkChunk) ToMap ¶ added in v0.15.0
func (o ThinkChunk) ToMap() (map[string]interface{}, error)
func (*ThinkChunk) UnmarshalJSON ¶ added in v0.15.0
func (o *ThinkChunk) UnmarshalJSON(data []byte) (err error)
type ThinkingInner ¶ added in v0.15.0
type ThinkingInner struct {
ReferenceChunk *ReferenceChunk
TextChunk *TextChunk
}
ThinkingInner struct for ThinkingInner
func (ThinkingInner) MarshalJSON ¶ added in v0.15.0
func (src ThinkingInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ThinkingInner) UnmarshalJSON ¶ added in v0.15.0
func (dst *ThinkingInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type TimestampGranularity ¶ added in v0.15.0
type TimestampGranularity string
TimestampGranularity the model 'TimestampGranularity'
const ( TIMESTAMPGRANULARITY_SEGMENT TimestampGranularity = "segment" TIMESTAMPGRANULARITY_WORD TimestampGranularity = "word" )
List of TimestampGranularity
func NewTimestampGranularityFromValue ¶ added in v0.15.0
func NewTimestampGranularityFromValue(v string) (*TimestampGranularity, error)
NewTimestampGranularityFromValue returns a pointer to a valid TimestampGranularity for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TimestampGranularity) IsValid ¶ added in v0.15.0
func (v TimestampGranularity) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TimestampGranularity) Ptr ¶ added in v0.15.0
func (v TimestampGranularity) Ptr() *TimestampGranularity
Ptr returns reference to TimestampGranularity value
func (*TimestampGranularity) UnmarshalJSON ¶ added in v0.15.0
func (v *TimestampGranularity) UnmarshalJSON(src []byte) error
type Tool ¶
Tool struct for Tool
func NewTool ¶
NewTool instantiates a new Tool 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 NewToolWithDefaults ¶
func NewToolWithDefaults() *Tool
NewToolWithDefaults instantiates a new Tool 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 (*Tool) GetFunction ¶
GetFunction returns the Function field value
func (*Tool) GetFunctionOk ¶
GetFunctionOk returns a tuple with the Function field value and a boolean to check if the value has been set.
func (*Tool) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (Tool) MarshalJSON ¶
func (*Tool) SetType ¶
SetType gets a reference to the given ToolTypes and assigns it to the Type field.
func (*Tool) UnmarshalJSON ¶
type Tool1 ¶ added in v0.15.0
type Tool1 struct {
BuiltInConnectors *BuiltInConnectors
String *string
}
Tool1 struct for Tool1
func (Tool1) MarshalJSON ¶ added in v0.15.0
Marshal data from the first non-nil pointers in the struct to JSON
func (*Tool1) UnmarshalJSON ¶ added in v0.15.0
Unmarshal JSON data into any of the pointers in the struct
type ToolCall ¶
type ToolCall struct {
Id *string `json:"id,omitempty"`
Type *ToolTypes `json:"type,omitempty"`
Function FunctionCall `json:"function"`
Index *int32 `json:"index,omitempty"`
}
ToolCall struct for ToolCall
func NewToolCall ¶
func NewToolCall(function FunctionCall) *ToolCall
NewToolCall instantiates a new ToolCall 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 NewToolCallWithDefaults ¶
func NewToolCallWithDefaults() *ToolCall
NewToolCallWithDefaults instantiates a new ToolCall 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 (*ToolCall) GetFunction ¶
func (o *ToolCall) GetFunction() FunctionCall
GetFunction returns the Function field value
func (*ToolCall) GetFunctionOk ¶
func (o *ToolCall) GetFunctionOk() (*FunctionCall, bool)
GetFunctionOk returns a tuple with the Function field value and a boolean to check if the value has been set.
func (*ToolCall) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolCall) GetIndexOk ¶
GetIndexOk returns a tuple with the Index field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolCall) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (ToolCall) MarshalJSON ¶
func (*ToolCall) SetFunction ¶
func (o *ToolCall) SetFunction(v FunctionCall)
SetFunction sets field value
func (*ToolCall) SetIndex ¶
SetIndex gets a reference to the given int32 and assigns it to the Index field.
func (*ToolCall) SetType ¶
SetType gets a reference to the given ToolTypes and assigns it to the Type field.
func (*ToolCall) UnmarshalJSON ¶
type ToolChoice ¶
type ToolChoice struct {
ToolChoice *ToolChoice
ToolChoiceEnum *ToolChoiceEnum
}
ToolChoice Controls which (if any) tool is called by the model. `none` means the model will not call any tool and instead generates a message. `auto` means the model can pick between generating a message or calling one or more tools. `any` or `required` means the model must call one or more tools. Specifying a particular tool via `{\"type\": \"function\", \"function\": {\"name\": \"my_function\"}}` forces the model to call that tool.
func (ToolChoice) MarshalJSON ¶
func (src ToolChoice) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ToolChoice) UnmarshalJSON ¶
func (dst *ToolChoice) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type ToolChoice1 ¶ added in v0.15.0
type ToolChoice1 struct {
ToolChoice *ToolChoice
ToolChoiceEnum *ToolChoiceEnum
}
ToolChoice1 struct for ToolChoice1
func (ToolChoice1) MarshalJSON ¶ added in v0.15.0
func (src ToolChoice1) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ToolChoice1) UnmarshalJSON ¶ added in v0.15.0
func (dst *ToolChoice1) UnmarshalJSON(data []byte) error
Unmarshal JSON data into any of the pointers in the struct
type ToolChoiceEnum ¶
type ToolChoiceEnum string
ToolChoiceEnum the model 'ToolChoiceEnum'
const ( TOOLCHOICEENUM_auto ToolChoiceEnum = "auto" TOOLCHOICEENUM_NONE ToolChoiceEnum = "none" TOOLCHOICEENUM_ANY ToolChoiceEnum = "any" TOOLCHOICEENUM_REQUIRED ToolChoiceEnum = "required" )
List of ToolChoiceEnum
func NewToolChoiceEnumFromValue ¶
func NewToolChoiceEnumFromValue(v string) (*ToolChoiceEnum, error)
NewToolChoiceEnumFromValue returns a pointer to a valid ToolChoiceEnum for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ToolChoiceEnum) IsValid ¶
func (v ToolChoiceEnum) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ToolChoiceEnum) Ptr ¶
func (v ToolChoiceEnum) Ptr() *ToolChoiceEnum
Ptr returns reference to ToolChoiceEnum value
func (*ToolChoiceEnum) UnmarshalJSON ¶
func (v *ToolChoiceEnum) UnmarshalJSON(src []byte) error
type ToolExecutionDeltaEvent ¶ added in v0.6.0
type ToolExecutionDeltaEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
OutputIndex *int32 `json:"output_index,omitempty"`
Id string `json:"id"`
Name Name `json:"name"`
Arguments string `json:"arguments"`
}
ToolExecutionDeltaEvent struct for ToolExecutionDeltaEvent
func NewToolExecutionDeltaEvent ¶ added in v0.6.0
func NewToolExecutionDeltaEvent(id string, name Name, arguments string) *ToolExecutionDeltaEvent
NewToolExecutionDeltaEvent instantiates a new ToolExecutionDeltaEvent 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 NewToolExecutionDeltaEventWithDefaults ¶ added in v0.6.0
func NewToolExecutionDeltaEventWithDefaults() *ToolExecutionDeltaEvent
NewToolExecutionDeltaEventWithDefaults instantiates a new ToolExecutionDeltaEvent 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 (*ToolExecutionDeltaEvent) GetArguments ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetArguments() string
GetArguments returns the Arguments field value
func (*ToolExecutionDeltaEvent) GetArgumentsOk ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetArgumentsOk() (*string, bool)
GetArgumentsOk returns a tuple with the Arguments field value and a boolean to check if the value has been set.
func (*ToolExecutionDeltaEvent) GetCreatedAt ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ToolExecutionDeltaEvent) GetCreatedAtOk ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionDeltaEvent) GetId ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetId() string
GetId returns the Id field value
func (*ToolExecutionDeltaEvent) GetIdOk ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ToolExecutionDeltaEvent) GetName ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetName() Name
GetName returns the Name field value
func (*ToolExecutionDeltaEvent) GetNameOk ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetNameOk() (*Name, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ToolExecutionDeltaEvent) GetOutputIndex ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetOutputIndex() int32
GetOutputIndex returns the OutputIndex field value if set, zero value otherwise.
func (*ToolExecutionDeltaEvent) GetOutputIndexOk ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetOutputIndexOk() (*int32, bool)
GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionDeltaEvent) GetType ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ToolExecutionDeltaEvent) GetTypeOk ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionDeltaEvent) HasCreatedAt ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ToolExecutionDeltaEvent) HasOutputIndex ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) HasOutputIndex() bool
HasOutputIndex returns a boolean if a field has been set.
func (*ToolExecutionDeltaEvent) HasType ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (ToolExecutionDeltaEvent) MarshalJSON ¶ added in v0.6.0
func (o ToolExecutionDeltaEvent) MarshalJSON() ([]byte, error)
func (*ToolExecutionDeltaEvent) SetArguments ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) SetArguments(v string)
SetArguments sets field value
func (*ToolExecutionDeltaEvent) SetCreatedAt ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ToolExecutionDeltaEvent) SetId ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) SetId(v string)
SetId sets field value
func (*ToolExecutionDeltaEvent) SetName ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) SetName(v Name)
SetName sets field value
func (*ToolExecutionDeltaEvent) SetOutputIndex ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) SetOutputIndex(v int32)
SetOutputIndex gets a reference to the given int32 and assigns it to the OutputIndex field.
func (*ToolExecutionDeltaEvent) SetType ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ToolExecutionDeltaEvent) ToMap ¶ added in v0.6.0
func (o ToolExecutionDeltaEvent) ToMap() (map[string]interface{}, error)
func (*ToolExecutionDeltaEvent) UnmarshalJSON ¶ added in v0.6.0
func (o *ToolExecutionDeltaEvent) UnmarshalJSON(data []byte) (err error)
type ToolExecutionDoneEvent ¶
type ToolExecutionDoneEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
OutputIndex *int32 `json:"output_index,omitempty"`
Id string `json:"id"`
Name Name `json:"name"`
Info map[string]interface{} `json:"info,omitempty"`
}
ToolExecutionDoneEvent struct for ToolExecutionDoneEvent
func NewToolExecutionDoneEvent ¶
func NewToolExecutionDoneEvent(id string, name Name) *ToolExecutionDoneEvent
NewToolExecutionDoneEvent instantiates a new ToolExecutionDoneEvent 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 NewToolExecutionDoneEventWithDefaults ¶
func NewToolExecutionDoneEventWithDefaults() *ToolExecutionDoneEvent
NewToolExecutionDoneEventWithDefaults instantiates a new ToolExecutionDoneEvent 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 (*ToolExecutionDoneEvent) GetCreatedAt ¶
func (o *ToolExecutionDoneEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ToolExecutionDoneEvent) GetCreatedAtOk ¶
func (o *ToolExecutionDoneEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionDoneEvent) GetId ¶
func (o *ToolExecutionDoneEvent) GetId() string
GetId returns the Id field value
func (*ToolExecutionDoneEvent) GetIdOk ¶
func (o *ToolExecutionDoneEvent) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ToolExecutionDoneEvent) GetInfo ¶
func (o *ToolExecutionDoneEvent) GetInfo() map[string]interface{}
GetInfo returns the Info field value if set, zero value otherwise.
func (*ToolExecutionDoneEvent) GetInfoOk ¶
func (o *ToolExecutionDoneEvent) GetInfoOk() (map[string]interface{}, bool)
GetInfoOk returns a tuple with the Info field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionDoneEvent) GetName ¶
func (o *ToolExecutionDoneEvent) GetName() Name
GetName returns the Name field value
func (*ToolExecutionDoneEvent) GetNameOk ¶
func (o *ToolExecutionDoneEvent) GetNameOk() (*Name, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ToolExecutionDoneEvent) GetOutputIndex ¶
func (o *ToolExecutionDoneEvent) GetOutputIndex() int32
GetOutputIndex returns the OutputIndex field value if set, zero value otherwise.
func (*ToolExecutionDoneEvent) GetOutputIndexOk ¶
func (o *ToolExecutionDoneEvent) GetOutputIndexOk() (*int32, bool)
GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionDoneEvent) GetType ¶
func (o *ToolExecutionDoneEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ToolExecutionDoneEvent) GetTypeOk ¶
func (o *ToolExecutionDoneEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionDoneEvent) HasCreatedAt ¶
func (o *ToolExecutionDoneEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ToolExecutionDoneEvent) HasInfo ¶
func (o *ToolExecutionDoneEvent) HasInfo() bool
HasInfo returns a boolean if a field has been set.
func (*ToolExecutionDoneEvent) HasOutputIndex ¶
func (o *ToolExecutionDoneEvent) HasOutputIndex() bool
HasOutputIndex returns a boolean if a field has been set.
func (*ToolExecutionDoneEvent) HasType ¶
func (o *ToolExecutionDoneEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (ToolExecutionDoneEvent) MarshalJSON ¶
func (o ToolExecutionDoneEvent) MarshalJSON() ([]byte, error)
func (*ToolExecutionDoneEvent) SetCreatedAt ¶
func (o *ToolExecutionDoneEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ToolExecutionDoneEvent) SetId ¶
func (o *ToolExecutionDoneEvent) SetId(v string)
SetId sets field value
func (*ToolExecutionDoneEvent) SetInfo ¶
func (o *ToolExecutionDoneEvent) SetInfo(v map[string]interface{})
SetInfo gets a reference to the given map[string]interface{} and assigns it to the Info field.
func (*ToolExecutionDoneEvent) SetName ¶
func (o *ToolExecutionDoneEvent) SetName(v Name)
SetName sets field value
func (*ToolExecutionDoneEvent) SetOutputIndex ¶
func (o *ToolExecutionDoneEvent) SetOutputIndex(v int32)
SetOutputIndex gets a reference to the given int32 and assigns it to the OutputIndex field.
func (*ToolExecutionDoneEvent) SetType ¶
func (o *ToolExecutionDoneEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ToolExecutionDoneEvent) ToMap ¶
func (o ToolExecutionDoneEvent) ToMap() (map[string]interface{}, error)
func (*ToolExecutionDoneEvent) UnmarshalJSON ¶
func (o *ToolExecutionDoneEvent) UnmarshalJSON(data []byte) (err error)
type ToolExecutionEntry ¶
type ToolExecutionEntry struct {
Object *string `json:"object,omitempty"`
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CompletedAt NullableTime `json:"completed_at,omitempty"`
Id *string `json:"id,omitempty"`
Name Name `json:"name"`
Arguments string `json:"arguments"`
Info map[string]interface{} `json:"info,omitempty"`
}
ToolExecutionEntry struct for ToolExecutionEntry
func NewToolExecutionEntry ¶
func NewToolExecutionEntry(name Name, arguments string) *ToolExecutionEntry
NewToolExecutionEntry instantiates a new ToolExecutionEntry 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 NewToolExecutionEntryWithDefaults ¶
func NewToolExecutionEntryWithDefaults() *ToolExecutionEntry
NewToolExecutionEntryWithDefaults instantiates a new ToolExecutionEntry 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 (*ToolExecutionEntry) GetArguments ¶ added in v0.6.0
func (o *ToolExecutionEntry) GetArguments() string
GetArguments returns the Arguments field value
func (*ToolExecutionEntry) GetArgumentsOk ¶ added in v0.6.0
func (o *ToolExecutionEntry) GetArgumentsOk() (*string, bool)
GetArgumentsOk returns a tuple with the Arguments field value and a boolean to check if the value has been set.
func (*ToolExecutionEntry) GetCompletedAt ¶
func (o *ToolExecutionEntry) GetCompletedAt() time.Time
GetCompletedAt returns the CompletedAt field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ToolExecutionEntry) GetCompletedAtOk ¶
func (o *ToolExecutionEntry) GetCompletedAtOk() (*time.Time, bool)
GetCompletedAtOk returns a tuple with the CompletedAt 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 (*ToolExecutionEntry) GetCreatedAt ¶
func (o *ToolExecutionEntry) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ToolExecutionEntry) GetCreatedAtOk ¶
func (o *ToolExecutionEntry) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionEntry) GetId ¶
func (o *ToolExecutionEntry) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*ToolExecutionEntry) GetIdOk ¶
func (o *ToolExecutionEntry) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionEntry) GetInfo ¶
func (o *ToolExecutionEntry) GetInfo() map[string]interface{}
GetInfo returns the Info field value if set, zero value otherwise.
func (*ToolExecutionEntry) GetInfoOk ¶
func (o *ToolExecutionEntry) GetInfoOk() (map[string]interface{}, bool)
GetInfoOk returns a tuple with the Info field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionEntry) GetName ¶
func (o *ToolExecutionEntry) GetName() Name
GetName returns the Name field value
func (*ToolExecutionEntry) GetNameOk ¶
func (o *ToolExecutionEntry) GetNameOk() (*Name, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ToolExecutionEntry) GetObject ¶
func (o *ToolExecutionEntry) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*ToolExecutionEntry) GetObjectOk ¶
func (o *ToolExecutionEntry) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionEntry) GetType ¶
func (o *ToolExecutionEntry) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ToolExecutionEntry) GetTypeOk ¶
func (o *ToolExecutionEntry) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionEntry) HasCompletedAt ¶
func (o *ToolExecutionEntry) HasCompletedAt() bool
HasCompletedAt returns a boolean if a field has been set.
func (*ToolExecutionEntry) HasCreatedAt ¶
func (o *ToolExecutionEntry) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ToolExecutionEntry) HasId ¶
func (o *ToolExecutionEntry) HasId() bool
HasId returns a boolean if a field has been set.
func (*ToolExecutionEntry) HasInfo ¶
func (o *ToolExecutionEntry) HasInfo() bool
HasInfo returns a boolean if a field has been set.
func (*ToolExecutionEntry) HasObject ¶
func (o *ToolExecutionEntry) HasObject() bool
HasObject returns a boolean if a field has been set.
func (*ToolExecutionEntry) HasType ¶
func (o *ToolExecutionEntry) HasType() bool
HasType returns a boolean if a field has been set.
func (ToolExecutionEntry) MarshalJSON ¶
func (o ToolExecutionEntry) MarshalJSON() ([]byte, error)
func (*ToolExecutionEntry) SetArguments ¶ added in v0.6.0
func (o *ToolExecutionEntry) SetArguments(v string)
SetArguments sets field value
func (*ToolExecutionEntry) SetCompletedAt ¶
func (o *ToolExecutionEntry) SetCompletedAt(v time.Time)
SetCompletedAt gets a reference to the given NullableTime and assigns it to the CompletedAt field.
func (*ToolExecutionEntry) SetCompletedAtNil ¶
func (o *ToolExecutionEntry) SetCompletedAtNil()
SetCompletedAtNil sets the value for CompletedAt to be an explicit nil
func (*ToolExecutionEntry) SetCreatedAt ¶
func (o *ToolExecutionEntry) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ToolExecutionEntry) SetId ¶
func (o *ToolExecutionEntry) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*ToolExecutionEntry) SetInfo ¶
func (o *ToolExecutionEntry) SetInfo(v map[string]interface{})
SetInfo gets a reference to the given map[string]interface{} and assigns it to the Info field.
func (*ToolExecutionEntry) SetName ¶
func (o *ToolExecutionEntry) SetName(v Name)
SetName sets field value
func (*ToolExecutionEntry) SetObject ¶
func (o *ToolExecutionEntry) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (*ToolExecutionEntry) SetType ¶
func (o *ToolExecutionEntry) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ToolExecutionEntry) ToMap ¶
func (o ToolExecutionEntry) ToMap() (map[string]interface{}, error)
func (*ToolExecutionEntry) UnmarshalJSON ¶
func (o *ToolExecutionEntry) UnmarshalJSON(data []byte) (err error)
func (*ToolExecutionEntry) UnsetCompletedAt ¶
func (o *ToolExecutionEntry) UnsetCompletedAt()
UnsetCompletedAt ensures that no value is present for CompletedAt, not even an explicit nil
type ToolExecutionStartedEvent ¶
type ToolExecutionStartedEvent struct {
Type *string `json:"type,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
OutputIndex *int32 `json:"output_index,omitempty"`
Id string `json:"id"`
Name Name `json:"name"`
Arguments string `json:"arguments"`
}
ToolExecutionStartedEvent struct for ToolExecutionStartedEvent
func NewToolExecutionStartedEvent ¶
func NewToolExecutionStartedEvent(id string, name Name, arguments string) *ToolExecutionStartedEvent
NewToolExecutionStartedEvent instantiates a new ToolExecutionStartedEvent 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 NewToolExecutionStartedEventWithDefaults ¶
func NewToolExecutionStartedEventWithDefaults() *ToolExecutionStartedEvent
NewToolExecutionStartedEventWithDefaults instantiates a new ToolExecutionStartedEvent 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 (*ToolExecutionStartedEvent) GetArguments ¶ added in v0.6.0
func (o *ToolExecutionStartedEvent) GetArguments() string
GetArguments returns the Arguments field value
func (*ToolExecutionStartedEvent) GetArgumentsOk ¶ added in v0.6.0
func (o *ToolExecutionStartedEvent) GetArgumentsOk() (*string, bool)
GetArgumentsOk returns a tuple with the Arguments field value and a boolean to check if the value has been set.
func (*ToolExecutionStartedEvent) GetCreatedAt ¶
func (o *ToolExecutionStartedEvent) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*ToolExecutionStartedEvent) GetCreatedAtOk ¶
func (o *ToolExecutionStartedEvent) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionStartedEvent) GetId ¶
func (o *ToolExecutionStartedEvent) GetId() string
GetId returns the Id field value
func (*ToolExecutionStartedEvent) GetIdOk ¶
func (o *ToolExecutionStartedEvent) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ToolExecutionStartedEvent) GetName ¶
func (o *ToolExecutionStartedEvent) GetName() Name
GetName returns the Name field value
func (*ToolExecutionStartedEvent) GetNameOk ¶
func (o *ToolExecutionStartedEvent) GetNameOk() (*Name, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ToolExecutionStartedEvent) GetOutputIndex ¶
func (o *ToolExecutionStartedEvent) GetOutputIndex() int32
GetOutputIndex returns the OutputIndex field value if set, zero value otherwise.
func (*ToolExecutionStartedEvent) GetOutputIndexOk ¶
func (o *ToolExecutionStartedEvent) GetOutputIndexOk() (*int32, bool)
GetOutputIndexOk returns a tuple with the OutputIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionStartedEvent) GetType ¶
func (o *ToolExecutionStartedEvent) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ToolExecutionStartedEvent) GetTypeOk ¶
func (o *ToolExecutionStartedEvent) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolExecutionStartedEvent) HasCreatedAt ¶
func (o *ToolExecutionStartedEvent) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*ToolExecutionStartedEvent) HasOutputIndex ¶
func (o *ToolExecutionStartedEvent) HasOutputIndex() bool
HasOutputIndex returns a boolean if a field has been set.
func (*ToolExecutionStartedEvent) HasType ¶
func (o *ToolExecutionStartedEvent) HasType() bool
HasType returns a boolean if a field has been set.
func (ToolExecutionStartedEvent) MarshalJSON ¶
func (o ToolExecutionStartedEvent) MarshalJSON() ([]byte, error)
func (*ToolExecutionStartedEvent) SetArguments ¶ added in v0.6.0
func (o *ToolExecutionStartedEvent) SetArguments(v string)
SetArguments sets field value
func (*ToolExecutionStartedEvent) SetCreatedAt ¶
func (o *ToolExecutionStartedEvent) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*ToolExecutionStartedEvent) SetId ¶
func (o *ToolExecutionStartedEvent) SetId(v string)
SetId sets field value
func (*ToolExecutionStartedEvent) SetName ¶
func (o *ToolExecutionStartedEvent) SetName(v Name)
SetName sets field value
func (*ToolExecutionStartedEvent) SetOutputIndex ¶
func (o *ToolExecutionStartedEvent) SetOutputIndex(v int32)
SetOutputIndex gets a reference to the given int32 and assigns it to the OutputIndex field.
func (*ToolExecutionStartedEvent) SetType ¶
func (o *ToolExecutionStartedEvent) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ToolExecutionStartedEvent) ToMap ¶
func (o ToolExecutionStartedEvent) ToMap() (map[string]interface{}, error)
func (*ToolExecutionStartedEvent) UnmarshalJSON ¶
func (o *ToolExecutionStartedEvent) UnmarshalJSON(data []byte) (err error)
type ToolFileChunk ¶
type ToolFileChunk struct {
Type *string `json:"type,omitempty"`
Tool Tool1 `json:"tool"`
FileId string `json:"file_id"`
FileName NullableString `json:"file_name,omitempty"`
FileType NullableString `json:"file_type,omitempty"`
}
ToolFileChunk struct for ToolFileChunk
func NewToolFileChunk ¶
func NewToolFileChunk(tool Tool1, fileId string) *ToolFileChunk
NewToolFileChunk instantiates a new ToolFileChunk 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 NewToolFileChunkWithDefaults ¶
func NewToolFileChunkWithDefaults() *ToolFileChunk
NewToolFileChunkWithDefaults instantiates a new ToolFileChunk 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 (*ToolFileChunk) GetFileId ¶
func (o *ToolFileChunk) GetFileId() string
GetFileId returns the FileId field value
func (*ToolFileChunk) GetFileIdOk ¶
func (o *ToolFileChunk) GetFileIdOk() (*string, bool)
GetFileIdOk returns a tuple with the FileId field value and a boolean to check if the value has been set.
func (*ToolFileChunk) GetFileName ¶
func (o *ToolFileChunk) GetFileName() string
GetFileName returns the FileName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ToolFileChunk) GetFileNameOk ¶
func (o *ToolFileChunk) GetFileNameOk() (*string, bool)
GetFileNameOk returns a tuple with the FileName 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 (*ToolFileChunk) GetFileType ¶
func (o *ToolFileChunk) GetFileType() string
GetFileType returns the FileType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ToolFileChunk) GetFileTypeOk ¶
func (o *ToolFileChunk) GetFileTypeOk() (*string, bool)
GetFileTypeOk returns a tuple with the FileType 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 (*ToolFileChunk) GetTool ¶
func (o *ToolFileChunk) GetTool() Tool1
GetTool returns the Tool field value
func (*ToolFileChunk) GetToolOk ¶
func (o *ToolFileChunk) GetToolOk() (*Tool1, bool)
GetToolOk returns a tuple with the Tool field value and a boolean to check if the value has been set.
func (*ToolFileChunk) GetType ¶
func (o *ToolFileChunk) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ToolFileChunk) GetTypeOk ¶
func (o *ToolFileChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolFileChunk) HasFileName ¶
func (o *ToolFileChunk) HasFileName() bool
HasFileName returns a boolean if a field has been set.
func (*ToolFileChunk) HasFileType ¶
func (o *ToolFileChunk) HasFileType() bool
HasFileType returns a boolean if a field has been set.
func (*ToolFileChunk) HasType ¶
func (o *ToolFileChunk) HasType() bool
HasType returns a boolean if a field has been set.
func (ToolFileChunk) MarshalJSON ¶
func (o ToolFileChunk) MarshalJSON() ([]byte, error)
func (*ToolFileChunk) SetFileId ¶
func (o *ToolFileChunk) SetFileId(v string)
SetFileId sets field value
func (*ToolFileChunk) SetFileName ¶
func (o *ToolFileChunk) SetFileName(v string)
SetFileName gets a reference to the given NullableString and assigns it to the FileName field.
func (*ToolFileChunk) SetFileNameNil ¶
func (o *ToolFileChunk) SetFileNameNil()
SetFileNameNil sets the value for FileName to be an explicit nil
func (*ToolFileChunk) SetFileType ¶
func (o *ToolFileChunk) SetFileType(v string)
SetFileType gets a reference to the given NullableString and assigns it to the FileType field.
func (*ToolFileChunk) SetFileTypeNil ¶
func (o *ToolFileChunk) SetFileTypeNil()
SetFileTypeNil sets the value for FileType to be an explicit nil
func (*ToolFileChunk) SetType ¶
func (o *ToolFileChunk) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ToolFileChunk) ToMap ¶
func (o ToolFileChunk) ToMap() (map[string]interface{}, error)
func (*ToolFileChunk) UnmarshalJSON ¶
func (o *ToolFileChunk) UnmarshalJSON(data []byte) (err error)
func (*ToolFileChunk) UnsetFileName ¶
func (o *ToolFileChunk) UnsetFileName()
UnsetFileName ensures that no value is present for FileName, not even an explicit nil
func (*ToolFileChunk) UnsetFileType ¶
func (o *ToolFileChunk) UnsetFileType()
UnsetFileType ensures that no value is present for FileType, not even an explicit nil
type ToolMessage ¶
type ToolMessage struct {
Content NullableContent3 `json:"content"`
ToolCallId NullableString `json:"tool_call_id,omitempty"`
Name NullableString `json:"name,omitempty"`
Role *string `json:"role,omitempty"`
}
ToolMessage struct for ToolMessage
func NewToolMessage ¶
func NewToolMessage(content NullableContent3) *ToolMessage
NewToolMessage instantiates a new ToolMessage 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 NewToolMessageWithDefaults ¶
func NewToolMessageWithDefaults() *ToolMessage
NewToolMessageWithDefaults instantiates a new ToolMessage 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 (*ToolMessage) GetContent ¶
func (o *ToolMessage) GetContent() Content3
GetContent returns the Content field value If the value is explicit nil, the zero value for Content3 will be returned
func (*ToolMessage) GetContentOk ¶
func (o *ToolMessage) GetContentOk() (*Content3, bool)
GetContentOk returns a tuple with the Content 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 (*ToolMessage) GetName ¶
func (o *ToolMessage) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ToolMessage) GetNameOk ¶
func (o *ToolMessage) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*ToolMessage) GetRole ¶
func (o *ToolMessage) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*ToolMessage) GetRoleOk ¶
func (o *ToolMessage) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolMessage) GetToolCallId ¶
func (o *ToolMessage) GetToolCallId() string
GetToolCallId returns the ToolCallId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ToolMessage) GetToolCallIdOk ¶
func (o *ToolMessage) GetToolCallIdOk() (*string, bool)
GetToolCallIdOk returns a tuple with the ToolCallId 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 (*ToolMessage) HasName ¶
func (o *ToolMessage) HasName() bool
HasName returns a boolean if a field has been set.
func (*ToolMessage) HasRole ¶
func (o *ToolMessage) HasRole() bool
HasRole returns a boolean if a field has been set.
func (*ToolMessage) HasToolCallId ¶
func (o *ToolMessage) HasToolCallId() bool
HasToolCallId returns a boolean if a field has been set.
func (ToolMessage) MarshalJSON ¶
func (o ToolMessage) MarshalJSON() ([]byte, error)
func (*ToolMessage) SetContent ¶
func (o *ToolMessage) SetContent(v Content3)
SetContent sets field value
func (*ToolMessage) SetName ¶
func (o *ToolMessage) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*ToolMessage) SetNameNil ¶
func (o *ToolMessage) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*ToolMessage) SetRole ¶
func (o *ToolMessage) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (*ToolMessage) SetToolCallId ¶
func (o *ToolMessage) SetToolCallId(v string)
SetToolCallId gets a reference to the given NullableString and assigns it to the ToolCallId field.
func (*ToolMessage) SetToolCallIdNil ¶
func (o *ToolMessage) SetToolCallIdNil()
SetToolCallIdNil sets the value for ToolCallId to be an explicit nil
func (ToolMessage) ToMap ¶
func (o ToolMessage) ToMap() (map[string]interface{}, error)
func (*ToolMessage) UnmarshalJSON ¶
func (o *ToolMessage) UnmarshalJSON(data []byte) (err error)
func (*ToolMessage) UnsetName ¶
func (o *ToolMessage) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*ToolMessage) UnsetToolCallId ¶
func (o *ToolMessage) UnsetToolCallId()
UnsetToolCallId ensures that no value is present for ToolCallId, not even an explicit nil
type ToolReferenceChunk ¶
type ToolReferenceChunk struct {
Type *string `json:"type,omitempty"`
Tool Tool1 `json:"tool"`
Title string `json:"title"`
Url NullableString `json:"url,omitempty"`
Favicon NullableString `json:"favicon,omitempty"`
Description NullableString `json:"description,omitempty"`
}
ToolReferenceChunk struct for ToolReferenceChunk
func NewToolReferenceChunk ¶
func NewToolReferenceChunk(tool Tool1, title string) *ToolReferenceChunk
NewToolReferenceChunk instantiates a new ToolReferenceChunk 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 NewToolReferenceChunkWithDefaults ¶
func NewToolReferenceChunkWithDefaults() *ToolReferenceChunk
NewToolReferenceChunkWithDefaults instantiates a new ToolReferenceChunk 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 (*ToolReferenceChunk) GetDescription ¶ added in v0.6.0
func (o *ToolReferenceChunk) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ToolReferenceChunk) GetDescriptionOk ¶ added in v0.6.0
func (o *ToolReferenceChunk) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*ToolReferenceChunk) GetFavicon ¶ added in v0.6.0
func (o *ToolReferenceChunk) GetFavicon() string
GetFavicon returns the Favicon field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ToolReferenceChunk) GetFaviconOk ¶ added in v0.6.0
func (o *ToolReferenceChunk) GetFaviconOk() (*string, bool)
GetFaviconOk returns a tuple with the Favicon 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 (*ToolReferenceChunk) GetTitle ¶
func (o *ToolReferenceChunk) GetTitle() string
GetTitle returns the Title field value
func (*ToolReferenceChunk) GetTitleOk ¶
func (o *ToolReferenceChunk) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.
func (*ToolReferenceChunk) GetTool ¶
func (o *ToolReferenceChunk) GetTool() Tool1
GetTool returns the Tool field value
func (*ToolReferenceChunk) GetToolOk ¶
func (o *ToolReferenceChunk) GetToolOk() (*Tool1, bool)
GetToolOk returns a tuple with the Tool field value and a boolean to check if the value has been set.
func (*ToolReferenceChunk) GetType ¶
func (o *ToolReferenceChunk) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ToolReferenceChunk) GetTypeOk ¶
func (o *ToolReferenceChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ToolReferenceChunk) GetUrl ¶
func (o *ToolReferenceChunk) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ToolReferenceChunk) GetUrlOk ¶
func (o *ToolReferenceChunk) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url 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 (*ToolReferenceChunk) HasDescription ¶ added in v0.6.0
func (o *ToolReferenceChunk) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*ToolReferenceChunk) HasFavicon ¶ added in v0.6.0
func (o *ToolReferenceChunk) HasFavicon() bool
HasFavicon returns a boolean if a field has been set.
func (*ToolReferenceChunk) HasType ¶
func (o *ToolReferenceChunk) HasType() bool
HasType returns a boolean if a field has been set.
func (*ToolReferenceChunk) HasUrl ¶
func (o *ToolReferenceChunk) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (ToolReferenceChunk) MarshalJSON ¶
func (o ToolReferenceChunk) MarshalJSON() ([]byte, error)
func (*ToolReferenceChunk) SetDescription ¶ added in v0.6.0
func (o *ToolReferenceChunk) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*ToolReferenceChunk) SetDescriptionNil ¶ added in v0.6.0
func (o *ToolReferenceChunk) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*ToolReferenceChunk) SetFavicon ¶ added in v0.6.0
func (o *ToolReferenceChunk) SetFavicon(v string)
SetFavicon gets a reference to the given NullableString and assigns it to the Favicon field.
func (*ToolReferenceChunk) SetFaviconNil ¶ added in v0.6.0
func (o *ToolReferenceChunk) SetFaviconNil()
SetFaviconNil sets the value for Favicon to be an explicit nil
func (*ToolReferenceChunk) SetTitle ¶
func (o *ToolReferenceChunk) SetTitle(v string)
SetTitle sets field value
func (*ToolReferenceChunk) SetTool ¶
func (o *ToolReferenceChunk) SetTool(v Tool1)
SetTool sets field value
func (*ToolReferenceChunk) SetType ¶
func (o *ToolReferenceChunk) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*ToolReferenceChunk) SetUrl ¶
func (o *ToolReferenceChunk) SetUrl(v string)
SetUrl gets a reference to the given NullableString and assigns it to the Url field.
func (*ToolReferenceChunk) SetUrlNil ¶
func (o *ToolReferenceChunk) SetUrlNil()
SetUrlNil sets the value for Url to be an explicit nil
func (ToolReferenceChunk) ToMap ¶
func (o ToolReferenceChunk) ToMap() (map[string]interface{}, error)
func (*ToolReferenceChunk) UnmarshalJSON ¶
func (o *ToolReferenceChunk) UnmarshalJSON(data []byte) (err error)
func (*ToolReferenceChunk) UnsetDescription ¶ added in v0.6.0
func (o *ToolReferenceChunk) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*ToolReferenceChunk) UnsetFavicon ¶ added in v0.6.0
func (o *ToolReferenceChunk) UnsetFavicon()
UnsetFavicon ensures that no value is present for Favicon, not even an explicit nil
func (*ToolReferenceChunk) UnsetUrl ¶
func (o *ToolReferenceChunk) UnsetUrl()
UnsetUrl ensures that no value is present for Url, not even an explicit nil
type ToolTypes ¶
type ToolTypes string
ToolTypes the model 'ToolTypes'
const (
TOOLTYPES_FUNCTION ToolTypes = "function"
)
List of ToolTypes
func NewToolTypesFromValue ¶
NewToolTypesFromValue returns a pointer to a valid ToolTypes for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*ToolTypes) UnmarshalJSON ¶
type ToolsInner ¶ added in v0.15.0
type ToolsInner struct {
CodeInterpreterTool *CodeInterpreterTool
DocumentLibraryTool *DocumentLibraryTool
FunctionTool *FunctionTool
ImageGenerationTool *ImageGenerationTool
WebSearchPremiumTool *WebSearchPremiumTool
WebSearchTool *WebSearchTool
}
ToolsInner - struct for ToolsInner
func CodeInterpreterToolAsToolsInner ¶ added in v0.15.0
func CodeInterpreterToolAsToolsInner(v *CodeInterpreterTool) ToolsInner
CodeInterpreterToolAsToolsInner is a convenience function that returns CodeInterpreterTool wrapped in ToolsInner
func DocumentLibraryToolAsToolsInner ¶ added in v0.15.0
func DocumentLibraryToolAsToolsInner(v *DocumentLibraryTool) ToolsInner
DocumentLibraryToolAsToolsInner is a convenience function that returns DocumentLibraryTool wrapped in ToolsInner
func FunctionToolAsToolsInner ¶ added in v0.15.0
func FunctionToolAsToolsInner(v *FunctionTool) ToolsInner
FunctionToolAsToolsInner is a convenience function that returns FunctionTool wrapped in ToolsInner
func ImageGenerationToolAsToolsInner ¶ added in v0.15.0
func ImageGenerationToolAsToolsInner(v *ImageGenerationTool) ToolsInner
ImageGenerationToolAsToolsInner is a convenience function that returns ImageGenerationTool wrapped in ToolsInner
func WebSearchPremiumToolAsToolsInner ¶ added in v0.15.0
func WebSearchPremiumToolAsToolsInner(v *WebSearchPremiumTool) ToolsInner
WebSearchPremiumToolAsToolsInner is a convenience function that returns WebSearchPremiumTool wrapped in ToolsInner
func WebSearchToolAsToolsInner ¶ added in v0.15.0
func WebSearchToolAsToolsInner(v *WebSearchTool) ToolsInner
WebSearchToolAsToolsInner is a convenience function that returns WebSearchTool wrapped in ToolsInner
func (*ToolsInner) GetActualInstance ¶ added in v0.15.0
func (obj *ToolsInner) GetActualInstance() interface{}
Get the actual instance
func (ToolsInner) GetActualInstanceValue ¶ added in v0.15.0
func (obj ToolsInner) GetActualInstanceValue() interface{}
Get the actual instance value
func (ToolsInner) MarshalJSON ¶ added in v0.15.0
func (src ToolsInner) MarshalJSON() ([]byte, error)
Marshal data from the first non-nil pointers in the struct to JSON
func (*ToolsInner) UnmarshalJSON ¶ added in v0.15.0
func (dst *ToolsInner) UnmarshalJSON(data []byte) error
Unmarshal JSON data into one of the pointers in the struct
type TrainingFile ¶
type TrainingFile struct {
FileId string `json:"file_id"`
Weight *float32 `json:"weight,omitempty"`
AdditionalProperties map[string]interface{}
}
TrainingFile struct for TrainingFile
func NewTrainingFile ¶
func NewTrainingFile(fileId string) *TrainingFile
NewTrainingFile instantiates a new TrainingFile 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 NewTrainingFileWithDefaults ¶
func NewTrainingFileWithDefaults() *TrainingFile
NewTrainingFileWithDefaults instantiates a new TrainingFile 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 (*TrainingFile) GetFileId ¶
func (o *TrainingFile) GetFileId() string
GetFileId returns the FileId field value
func (*TrainingFile) GetFileIdOk ¶
func (o *TrainingFile) GetFileIdOk() (*string, bool)
GetFileIdOk returns a tuple with the FileId field value and a boolean to check if the value has been set.
func (*TrainingFile) GetWeight ¶
func (o *TrainingFile) GetWeight() float32
GetWeight returns the Weight field value if set, zero value otherwise.
func (*TrainingFile) GetWeightOk ¶
func (o *TrainingFile) GetWeightOk() (*float32, bool)
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TrainingFile) HasWeight ¶
func (o *TrainingFile) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (TrainingFile) MarshalJSON ¶
func (o TrainingFile) MarshalJSON() ([]byte, error)
func (*TrainingFile) SetFileId ¶
func (o *TrainingFile) SetFileId(v string)
SetFileId sets field value
func (*TrainingFile) SetWeight ¶
func (o *TrainingFile) SetWeight(v float32)
SetWeight gets a reference to the given float32 and assigns it to the Weight field.
func (TrainingFile) ToMap ¶
func (o TrainingFile) ToMap() (map[string]interface{}, error)
func (*TrainingFile) UnmarshalJSON ¶
func (o *TrainingFile) UnmarshalJSON(data []byte) (err error)
type TranscriptionResponse ¶ added in v0.15.0
type TranscriptionResponse struct {
Model string `json:"model"`
Text string `json:"text"`
Language NullableString `json:"language" validate:"regexp=^\\\\w{2}$"`
Segments []TranscriptionSegmentChunk `json:"segments,omitempty"`
Usage UsageInfo `json:"usage"`
}
TranscriptionResponse struct for TranscriptionResponse
func NewTranscriptionResponse ¶ added in v0.15.0
func NewTranscriptionResponse(model string, text string, language NullableString, usage UsageInfo) *TranscriptionResponse
NewTranscriptionResponse instantiates a new TranscriptionResponse 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 NewTranscriptionResponseWithDefaults ¶ added in v0.15.0
func NewTranscriptionResponseWithDefaults() *TranscriptionResponse
NewTranscriptionResponseWithDefaults instantiates a new TranscriptionResponse 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 (*TranscriptionResponse) GetLanguage ¶ added in v0.15.0
func (o *TranscriptionResponse) GetLanguage() string
GetLanguage returns the Language field value If the value is explicit nil, the zero value for string will be returned
func (*TranscriptionResponse) GetLanguageOk ¶ added in v0.15.0
func (o *TranscriptionResponse) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language 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 (*TranscriptionResponse) GetModel ¶ added in v0.15.0
func (o *TranscriptionResponse) GetModel() string
GetModel returns the Model field value
func (*TranscriptionResponse) GetModelOk ¶ added in v0.15.0
func (o *TranscriptionResponse) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*TranscriptionResponse) GetSegments ¶ added in v0.15.0
func (o *TranscriptionResponse) GetSegments() []TranscriptionSegmentChunk
GetSegments returns the Segments field value if set, zero value otherwise.
func (*TranscriptionResponse) GetSegmentsOk ¶ added in v0.15.0
func (o *TranscriptionResponse) GetSegmentsOk() ([]TranscriptionSegmentChunk, bool)
GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranscriptionResponse) GetText ¶ added in v0.15.0
func (o *TranscriptionResponse) GetText() string
GetText returns the Text field value
func (*TranscriptionResponse) GetTextOk ¶ added in v0.15.0
func (o *TranscriptionResponse) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*TranscriptionResponse) GetUsage ¶ added in v0.15.0
func (o *TranscriptionResponse) GetUsage() UsageInfo
GetUsage returns the Usage field value
func (*TranscriptionResponse) GetUsageOk ¶ added in v0.15.0
func (o *TranscriptionResponse) GetUsageOk() (*UsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value and a boolean to check if the value has been set.
func (*TranscriptionResponse) HasSegments ¶ added in v0.15.0
func (o *TranscriptionResponse) HasSegments() bool
HasSegments returns a boolean if a field has been set.
func (TranscriptionResponse) MarshalJSON ¶ added in v0.15.0
func (o TranscriptionResponse) MarshalJSON() ([]byte, error)
func (*TranscriptionResponse) SetLanguage ¶ added in v0.15.0
func (o *TranscriptionResponse) SetLanguage(v string)
SetLanguage sets field value
func (*TranscriptionResponse) SetModel ¶ added in v0.15.0
func (o *TranscriptionResponse) SetModel(v string)
SetModel sets field value
func (*TranscriptionResponse) SetSegments ¶ added in v0.15.0
func (o *TranscriptionResponse) SetSegments(v []TranscriptionSegmentChunk)
SetSegments gets a reference to the given []TranscriptionSegmentChunk and assigns it to the Segments field.
func (*TranscriptionResponse) SetText ¶ added in v0.15.0
func (o *TranscriptionResponse) SetText(v string)
SetText sets field value
func (*TranscriptionResponse) SetUsage ¶ added in v0.15.0
func (o *TranscriptionResponse) SetUsage(v UsageInfo)
SetUsage sets field value
func (TranscriptionResponse) ToMap ¶ added in v0.15.0
func (o TranscriptionResponse) ToMap() (map[string]interface{}, error)
func (*TranscriptionResponse) UnmarshalJSON ¶ added in v0.15.0
func (o *TranscriptionResponse) UnmarshalJSON(data []byte) (err error)
type TranscriptionSegmentChunk ¶ added in v0.15.0
type TranscriptionSegmentChunk struct {
Text string `json:"text"`
Start float32 `json:"start"`
End float32 `json:"end"`
Score NullableFloat32 `json:"score,omitempty"`
SpeakerId NullableString `json:"speaker_id,omitempty"`
Type *string `json:"type,omitempty"`
}
TranscriptionSegmentChunk struct for TranscriptionSegmentChunk
func NewTranscriptionSegmentChunk ¶ added in v0.15.0
func NewTranscriptionSegmentChunk(text string, start float32, end float32) *TranscriptionSegmentChunk
NewTranscriptionSegmentChunk instantiates a new TranscriptionSegmentChunk 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 NewTranscriptionSegmentChunkWithDefaults ¶ added in v0.15.0
func NewTranscriptionSegmentChunkWithDefaults() *TranscriptionSegmentChunk
NewTranscriptionSegmentChunkWithDefaults instantiates a new TranscriptionSegmentChunk 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 (*TranscriptionSegmentChunk) GetEnd ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetEnd() float32
GetEnd returns the End field value
func (*TranscriptionSegmentChunk) GetEndOk ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetEndOk() (*float32, bool)
GetEndOk returns a tuple with the End field value and a boolean to check if the value has been set.
func (*TranscriptionSegmentChunk) GetScore ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetScore() float32
GetScore returns the Score field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TranscriptionSegmentChunk) GetScoreOk ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetScoreOk() (*float32, bool)
GetScoreOk returns a tuple with the Score 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 (*TranscriptionSegmentChunk) GetSpeakerId ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetSpeakerId() string
GetSpeakerId returns the SpeakerId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TranscriptionSegmentChunk) GetSpeakerIdOk ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetSpeakerIdOk() (*string, bool)
GetSpeakerIdOk returns a tuple with the SpeakerId 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 (*TranscriptionSegmentChunk) GetStart ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetStart() float32
GetStart returns the Start field value
func (*TranscriptionSegmentChunk) GetStartOk ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetStartOk() (*float32, bool)
GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.
func (*TranscriptionSegmentChunk) GetText ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetText() string
GetText returns the Text field value
func (*TranscriptionSegmentChunk) GetTextOk ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*TranscriptionSegmentChunk) GetType ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TranscriptionSegmentChunk) GetTypeOk ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranscriptionSegmentChunk) HasScore ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) HasScore() bool
HasScore returns a boolean if a field has been set.
func (*TranscriptionSegmentChunk) HasSpeakerId ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) HasSpeakerId() bool
HasSpeakerId returns a boolean if a field has been set.
func (*TranscriptionSegmentChunk) HasType ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) HasType() bool
HasType returns a boolean if a field has been set.
func (TranscriptionSegmentChunk) MarshalJSON ¶ added in v0.15.0
func (o TranscriptionSegmentChunk) MarshalJSON() ([]byte, error)
func (*TranscriptionSegmentChunk) SetEnd ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) SetEnd(v float32)
SetEnd sets field value
func (*TranscriptionSegmentChunk) SetScore ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) SetScore(v float32)
SetScore gets a reference to the given NullableFloat32 and assigns it to the Score field.
func (*TranscriptionSegmentChunk) SetScoreNil ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) SetScoreNil()
SetScoreNil sets the value for Score to be an explicit nil
func (*TranscriptionSegmentChunk) SetSpeakerId ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) SetSpeakerId(v string)
SetSpeakerId gets a reference to the given NullableString and assigns it to the SpeakerId field.
func (*TranscriptionSegmentChunk) SetSpeakerIdNil ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) SetSpeakerIdNil()
SetSpeakerIdNil sets the value for SpeakerId to be an explicit nil
func (*TranscriptionSegmentChunk) SetStart ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) SetStart(v float32)
SetStart sets field value
func (*TranscriptionSegmentChunk) SetText ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) SetText(v string)
SetText sets field value
func (*TranscriptionSegmentChunk) SetType ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TranscriptionSegmentChunk) ToMap ¶ added in v0.15.0
func (o TranscriptionSegmentChunk) ToMap() (map[string]interface{}, error)
func (*TranscriptionSegmentChunk) UnmarshalJSON ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) UnmarshalJSON(data []byte) (err error)
func (*TranscriptionSegmentChunk) UnsetScore ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) UnsetScore()
UnsetScore ensures that no value is present for Score, not even an explicit nil
func (*TranscriptionSegmentChunk) UnsetSpeakerId ¶ added in v0.15.0
func (o *TranscriptionSegmentChunk) UnsetSpeakerId()
UnsetSpeakerId ensures that no value is present for SpeakerId, not even an explicit nil
type TranscriptionStreamDone ¶ added in v0.15.0
type TranscriptionStreamDone struct {
Model string `json:"model"`
Text string `json:"text"`
Language NullableString `json:"language" validate:"regexp=^\\\\w{2}$"`
Segments []TranscriptionSegmentChunk `json:"segments,omitempty"`
Usage UsageInfo `json:"usage"`
Type *string `json:"type,omitempty"`
}
TranscriptionStreamDone struct for TranscriptionStreamDone
func NewTranscriptionStreamDone ¶ added in v0.15.0
func NewTranscriptionStreamDone(model string, text string, language NullableString, usage UsageInfo) *TranscriptionStreamDone
NewTranscriptionStreamDone instantiates a new TranscriptionStreamDone 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 NewTranscriptionStreamDoneWithDefaults ¶ added in v0.15.0
func NewTranscriptionStreamDoneWithDefaults() *TranscriptionStreamDone
NewTranscriptionStreamDoneWithDefaults instantiates a new TranscriptionStreamDone 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 (*TranscriptionStreamDone) GetLanguage ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetLanguage() string
GetLanguage returns the Language field value If the value is explicit nil, the zero value for string will be returned
func (*TranscriptionStreamDone) GetLanguageOk ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language 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 (*TranscriptionStreamDone) GetModel ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetModel() string
GetModel returns the Model field value
func (*TranscriptionStreamDone) GetModelOk ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field value and a boolean to check if the value has been set.
func (*TranscriptionStreamDone) GetSegments ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetSegments() []TranscriptionSegmentChunk
GetSegments returns the Segments field value if set, zero value otherwise.
func (*TranscriptionStreamDone) GetSegmentsOk ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetSegmentsOk() ([]TranscriptionSegmentChunk, bool)
GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranscriptionStreamDone) GetText ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetText() string
GetText returns the Text field value
func (*TranscriptionStreamDone) GetTextOk ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*TranscriptionStreamDone) GetType ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TranscriptionStreamDone) GetTypeOk ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranscriptionStreamDone) GetUsage ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetUsage() UsageInfo
GetUsage returns the Usage field value
func (*TranscriptionStreamDone) GetUsageOk ¶ added in v0.15.0
func (o *TranscriptionStreamDone) GetUsageOk() (*UsageInfo, bool)
GetUsageOk returns a tuple with the Usage field value and a boolean to check if the value has been set.
func (*TranscriptionStreamDone) HasSegments ¶ added in v0.15.0
func (o *TranscriptionStreamDone) HasSegments() bool
HasSegments returns a boolean if a field has been set.
func (*TranscriptionStreamDone) HasType ¶ added in v0.15.0
func (o *TranscriptionStreamDone) HasType() bool
HasType returns a boolean if a field has been set.
func (TranscriptionStreamDone) MarshalJSON ¶ added in v0.15.0
func (o TranscriptionStreamDone) MarshalJSON() ([]byte, error)
func (*TranscriptionStreamDone) SetLanguage ¶ added in v0.15.0
func (o *TranscriptionStreamDone) SetLanguage(v string)
SetLanguage sets field value
func (*TranscriptionStreamDone) SetModel ¶ added in v0.15.0
func (o *TranscriptionStreamDone) SetModel(v string)
SetModel sets field value
func (*TranscriptionStreamDone) SetSegments ¶ added in v0.15.0
func (o *TranscriptionStreamDone) SetSegments(v []TranscriptionSegmentChunk)
SetSegments gets a reference to the given []TranscriptionSegmentChunk and assigns it to the Segments field.
func (*TranscriptionStreamDone) SetText ¶ added in v0.15.0
func (o *TranscriptionStreamDone) SetText(v string)
SetText sets field value
func (*TranscriptionStreamDone) SetType ¶ added in v0.15.0
func (o *TranscriptionStreamDone) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*TranscriptionStreamDone) SetUsage ¶ added in v0.15.0
func (o *TranscriptionStreamDone) SetUsage(v UsageInfo)
SetUsage sets field value
func (TranscriptionStreamDone) ToMap ¶ added in v0.15.0
func (o TranscriptionStreamDone) ToMap() (map[string]interface{}, error)
func (*TranscriptionStreamDone) UnmarshalJSON ¶ added in v0.15.0
func (o *TranscriptionStreamDone) UnmarshalJSON(data []byte) (err error)
type TranscriptionStreamEventTypes ¶ added in v0.15.0
type TranscriptionStreamEventTypes string
TranscriptionStreamEventTypes the model 'TranscriptionStreamEventTypes'
const ( TRANSCRIPTIONSTREAMEVENTTYPES_TRANSCRIPTION_LANGUAGE TranscriptionStreamEventTypes = "transcription.language" TRANSCRIPTIONSTREAMEVENTTYPES_TRANSCRIPTION_SEGMENT TranscriptionStreamEventTypes = "transcription.segment" TRANSCRIPTIONSTREAMEVENTTYPES_TRANSCRIPTION_TEXT_DELTA TranscriptionStreamEventTypes = "transcription.text.delta" TRANSCRIPTIONSTREAMEVENTTYPES_TRANSCRIPTION_DONE TranscriptionStreamEventTypes = "transcription.done" )
List of TranscriptionStreamEventTypes
func NewTranscriptionStreamEventTypesFromValue ¶ added in v0.15.0
func NewTranscriptionStreamEventTypesFromValue(v string) (*TranscriptionStreamEventTypes, error)
NewTranscriptionStreamEventTypesFromValue returns a pointer to a valid TranscriptionStreamEventTypes for the value passed as argument, or an error if the value passed is not allowed by the enum
func (TranscriptionStreamEventTypes) IsValid ¶ added in v0.15.0
func (v TranscriptionStreamEventTypes) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (TranscriptionStreamEventTypes) Ptr ¶ added in v0.15.0
func (v TranscriptionStreamEventTypes) Ptr() *TranscriptionStreamEventTypes
Ptr returns reference to TranscriptionStreamEventTypes value
func (*TranscriptionStreamEventTypes) UnmarshalJSON ¶ added in v0.15.0
func (v *TranscriptionStreamEventTypes) UnmarshalJSON(src []byte) error
type TranscriptionStreamEvents ¶ added in v0.15.0
type TranscriptionStreamEvents struct {
Event TranscriptionStreamEventTypes `json:"event"`
Data Data1 `json:"data"`
}
TranscriptionStreamEvents struct for TranscriptionStreamEvents
func NewTranscriptionStreamEvents ¶ added in v0.15.0
func NewTranscriptionStreamEvents(event TranscriptionStreamEventTypes, data Data1) *TranscriptionStreamEvents
NewTranscriptionStreamEvents instantiates a new TranscriptionStreamEvents 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 NewTranscriptionStreamEventsWithDefaults ¶ added in v0.15.0
func NewTranscriptionStreamEventsWithDefaults() *TranscriptionStreamEvents
NewTranscriptionStreamEventsWithDefaults instantiates a new TranscriptionStreamEvents 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 (*TranscriptionStreamEvents) GetData ¶ added in v0.15.0
func (o *TranscriptionStreamEvents) GetData() Data1
GetData returns the Data field value
func (*TranscriptionStreamEvents) GetDataOk ¶ added in v0.15.0
func (o *TranscriptionStreamEvents) GetDataOk() (*Data1, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (*TranscriptionStreamEvents) GetEvent ¶ added in v0.15.0
func (o *TranscriptionStreamEvents) GetEvent() TranscriptionStreamEventTypes
GetEvent returns the Event field value
func (*TranscriptionStreamEvents) GetEventOk ¶ added in v0.15.0
func (o *TranscriptionStreamEvents) GetEventOk() (*TranscriptionStreamEventTypes, bool)
GetEventOk returns a tuple with the Event field value and a boolean to check if the value has been set.
func (TranscriptionStreamEvents) MarshalJSON ¶ added in v0.15.0
func (o TranscriptionStreamEvents) MarshalJSON() ([]byte, error)
func (*TranscriptionStreamEvents) SetData ¶ added in v0.15.0
func (o *TranscriptionStreamEvents) SetData(v Data1)
SetData sets field value
func (*TranscriptionStreamEvents) SetEvent ¶ added in v0.15.0
func (o *TranscriptionStreamEvents) SetEvent(v TranscriptionStreamEventTypes)
SetEvent sets field value
func (TranscriptionStreamEvents) ToMap ¶ added in v0.15.0
func (o TranscriptionStreamEvents) ToMap() (map[string]interface{}, error)
func (*TranscriptionStreamEvents) UnmarshalJSON ¶ added in v0.15.0
func (o *TranscriptionStreamEvents) UnmarshalJSON(data []byte) (err error)
type TranscriptionStreamLanguage ¶ added in v0.15.0
type TranscriptionStreamLanguage struct {
AudioLanguage string `json:"audio_language" validate:"regexp=^\\\\w{2}$"`
Type *string `json:"type,omitempty"`
}
TranscriptionStreamLanguage struct for TranscriptionStreamLanguage
func NewTranscriptionStreamLanguage ¶ added in v0.15.0
func NewTranscriptionStreamLanguage(audioLanguage string) *TranscriptionStreamLanguage
NewTranscriptionStreamLanguage instantiates a new TranscriptionStreamLanguage 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 NewTranscriptionStreamLanguageWithDefaults ¶ added in v0.15.0
func NewTranscriptionStreamLanguageWithDefaults() *TranscriptionStreamLanguage
NewTranscriptionStreamLanguageWithDefaults instantiates a new TranscriptionStreamLanguage 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 (*TranscriptionStreamLanguage) GetAudioLanguage ¶ added in v0.15.0
func (o *TranscriptionStreamLanguage) GetAudioLanguage() string
GetAudioLanguage returns the AudioLanguage field value
func (*TranscriptionStreamLanguage) GetAudioLanguageOk ¶ added in v0.15.0
func (o *TranscriptionStreamLanguage) GetAudioLanguageOk() (*string, bool)
GetAudioLanguageOk returns a tuple with the AudioLanguage field value and a boolean to check if the value has been set.
func (*TranscriptionStreamLanguage) GetType ¶ added in v0.15.0
func (o *TranscriptionStreamLanguage) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TranscriptionStreamLanguage) GetTypeOk ¶ added in v0.15.0
func (o *TranscriptionStreamLanguage) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranscriptionStreamLanguage) HasType ¶ added in v0.15.0
func (o *TranscriptionStreamLanguage) HasType() bool
HasType returns a boolean if a field has been set.
func (TranscriptionStreamLanguage) MarshalJSON ¶ added in v0.15.0
func (o TranscriptionStreamLanguage) MarshalJSON() ([]byte, error)
func (*TranscriptionStreamLanguage) SetAudioLanguage ¶ added in v0.15.0
func (o *TranscriptionStreamLanguage) SetAudioLanguage(v string)
SetAudioLanguage sets field value
func (*TranscriptionStreamLanguage) SetType ¶ added in v0.15.0
func (o *TranscriptionStreamLanguage) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TranscriptionStreamLanguage) ToMap ¶ added in v0.15.0
func (o TranscriptionStreamLanguage) ToMap() (map[string]interface{}, error)
func (*TranscriptionStreamLanguage) UnmarshalJSON ¶ added in v0.15.0
func (o *TranscriptionStreamLanguage) UnmarshalJSON(data []byte) (err error)
type TranscriptionStreamSegmentDelta ¶ added in v0.15.0
type TranscriptionStreamSegmentDelta struct {
Text string `json:"text"`
Start float32 `json:"start"`
End float32 `json:"end"`
SpeakerId NullableString `json:"speaker_id,omitempty"`
Type *string `json:"type,omitempty"`
}
TranscriptionStreamSegmentDelta struct for TranscriptionStreamSegmentDelta
func NewTranscriptionStreamSegmentDelta ¶ added in v0.15.0
func NewTranscriptionStreamSegmentDelta(text string, start float32, end float32) *TranscriptionStreamSegmentDelta
NewTranscriptionStreamSegmentDelta instantiates a new TranscriptionStreamSegmentDelta 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 NewTranscriptionStreamSegmentDeltaWithDefaults ¶ added in v0.15.0
func NewTranscriptionStreamSegmentDeltaWithDefaults() *TranscriptionStreamSegmentDelta
NewTranscriptionStreamSegmentDeltaWithDefaults instantiates a new TranscriptionStreamSegmentDelta 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 (*TranscriptionStreamSegmentDelta) GetEnd ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetEnd() float32
GetEnd returns the End field value
func (*TranscriptionStreamSegmentDelta) GetEndOk ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetEndOk() (*float32, bool)
GetEndOk returns a tuple with the End field value and a boolean to check if the value has been set.
func (*TranscriptionStreamSegmentDelta) GetSpeakerId ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetSpeakerId() string
GetSpeakerId returns the SpeakerId field value if set, zero value otherwise (both if not set or set to explicit null).
func (*TranscriptionStreamSegmentDelta) GetSpeakerIdOk ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetSpeakerIdOk() (*string, bool)
GetSpeakerIdOk returns a tuple with the SpeakerId 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 (*TranscriptionStreamSegmentDelta) GetStart ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetStart() float32
GetStart returns the Start field value
func (*TranscriptionStreamSegmentDelta) GetStartOk ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetStartOk() (*float32, bool)
GetStartOk returns a tuple with the Start field value and a boolean to check if the value has been set.
func (*TranscriptionStreamSegmentDelta) GetText ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetText() string
GetText returns the Text field value
func (*TranscriptionStreamSegmentDelta) GetTextOk ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*TranscriptionStreamSegmentDelta) GetType ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TranscriptionStreamSegmentDelta) GetTypeOk ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranscriptionStreamSegmentDelta) HasSpeakerId ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) HasSpeakerId() bool
HasSpeakerId returns a boolean if a field has been set.
func (*TranscriptionStreamSegmentDelta) HasType ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) HasType() bool
HasType returns a boolean if a field has been set.
func (TranscriptionStreamSegmentDelta) MarshalJSON ¶ added in v0.15.0
func (o TranscriptionStreamSegmentDelta) MarshalJSON() ([]byte, error)
func (*TranscriptionStreamSegmentDelta) SetEnd ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) SetEnd(v float32)
SetEnd sets field value
func (*TranscriptionStreamSegmentDelta) SetSpeakerId ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) SetSpeakerId(v string)
SetSpeakerId gets a reference to the given NullableString and assigns it to the SpeakerId field.
func (*TranscriptionStreamSegmentDelta) SetSpeakerIdNil ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) SetSpeakerIdNil()
SetSpeakerIdNil sets the value for SpeakerId to be an explicit nil
func (*TranscriptionStreamSegmentDelta) SetStart ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) SetStart(v float32)
SetStart sets field value
func (*TranscriptionStreamSegmentDelta) SetText ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) SetText(v string)
SetText sets field value
func (*TranscriptionStreamSegmentDelta) SetType ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TranscriptionStreamSegmentDelta) ToMap ¶ added in v0.15.0
func (o TranscriptionStreamSegmentDelta) ToMap() (map[string]interface{}, error)
func (*TranscriptionStreamSegmentDelta) UnmarshalJSON ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) UnmarshalJSON(data []byte) (err error)
func (*TranscriptionStreamSegmentDelta) UnsetSpeakerId ¶ added in v0.15.0
func (o *TranscriptionStreamSegmentDelta) UnsetSpeakerId()
UnsetSpeakerId ensures that no value is present for SpeakerId, not even an explicit nil
type TranscriptionStreamTextDelta ¶ added in v0.15.0
type TranscriptionStreamTextDelta struct {
Text string `json:"text"`
Type *string `json:"type,omitempty"`
}
TranscriptionStreamTextDelta struct for TranscriptionStreamTextDelta
func NewTranscriptionStreamTextDelta ¶ added in v0.15.0
func NewTranscriptionStreamTextDelta(text string) *TranscriptionStreamTextDelta
NewTranscriptionStreamTextDelta instantiates a new TranscriptionStreamTextDelta 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 NewTranscriptionStreamTextDeltaWithDefaults ¶ added in v0.15.0
func NewTranscriptionStreamTextDeltaWithDefaults() *TranscriptionStreamTextDelta
NewTranscriptionStreamTextDeltaWithDefaults instantiates a new TranscriptionStreamTextDelta 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 (*TranscriptionStreamTextDelta) GetText ¶ added in v0.15.0
func (o *TranscriptionStreamTextDelta) GetText() string
GetText returns the Text field value
func (*TranscriptionStreamTextDelta) GetTextOk ¶ added in v0.15.0
func (o *TranscriptionStreamTextDelta) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field value and a boolean to check if the value has been set.
func (*TranscriptionStreamTextDelta) GetType ¶ added in v0.15.0
func (o *TranscriptionStreamTextDelta) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*TranscriptionStreamTextDelta) GetTypeOk ¶ added in v0.15.0
func (o *TranscriptionStreamTextDelta) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TranscriptionStreamTextDelta) HasType ¶ added in v0.15.0
func (o *TranscriptionStreamTextDelta) HasType() bool
HasType returns a boolean if a field has been set.
func (TranscriptionStreamTextDelta) MarshalJSON ¶ added in v0.15.0
func (o TranscriptionStreamTextDelta) MarshalJSON() ([]byte, error)
func (*TranscriptionStreamTextDelta) SetText ¶ added in v0.15.0
func (o *TranscriptionStreamTextDelta) SetText(v string)
SetText sets field value
func (*TranscriptionStreamTextDelta) SetType ¶ added in v0.15.0
func (o *TranscriptionStreamTextDelta) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (TranscriptionStreamTextDelta) ToMap ¶ added in v0.15.0
func (o TranscriptionStreamTextDelta) ToMap() (map[string]interface{}, error)
func (*TranscriptionStreamTextDelta) UnmarshalJSON ¶ added in v0.15.0
func (o *TranscriptionStreamTextDelta) UnmarshalJSON(data []byte) (err error)
type UnarchiveFTModelOut ¶
type UnarchiveFTModelOut struct {
Id string `json:"id"`
Object *string `json:"object,omitempty"`
Archived *bool `json:"archived,omitempty"`
AdditionalProperties map[string]interface{}
}
UnarchiveFTModelOut struct for UnarchiveFTModelOut
func NewUnarchiveFTModelOut ¶
func NewUnarchiveFTModelOut(id string) *UnarchiveFTModelOut
NewUnarchiveFTModelOut instantiates a new UnarchiveFTModelOut 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 NewUnarchiveFTModelOutWithDefaults ¶
func NewUnarchiveFTModelOutWithDefaults() *UnarchiveFTModelOut
NewUnarchiveFTModelOutWithDefaults instantiates a new UnarchiveFTModelOut 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 (*UnarchiveFTModelOut) GetArchived ¶
func (o *UnarchiveFTModelOut) GetArchived() bool
GetArchived returns the Archived field value if set, zero value otherwise.
func (*UnarchiveFTModelOut) GetArchivedOk ¶
func (o *UnarchiveFTModelOut) GetArchivedOk() (*bool, bool)
GetArchivedOk returns a tuple with the Archived field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnarchiveFTModelOut) GetId ¶
func (o *UnarchiveFTModelOut) GetId() string
GetId returns the Id field value
func (*UnarchiveFTModelOut) GetIdOk ¶
func (o *UnarchiveFTModelOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UnarchiveFTModelOut) GetObject ¶
func (o *UnarchiveFTModelOut) GetObject() string
GetObject returns the Object field value if set, zero value otherwise.
func (*UnarchiveFTModelOut) GetObjectOk ¶
func (o *UnarchiveFTModelOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UnarchiveFTModelOut) HasArchived ¶
func (o *UnarchiveFTModelOut) HasArchived() bool
HasArchived returns a boolean if a field has been set.
func (*UnarchiveFTModelOut) HasObject ¶
func (o *UnarchiveFTModelOut) HasObject() bool
HasObject returns a boolean if a field has been set.
func (UnarchiveFTModelOut) MarshalJSON ¶
func (o UnarchiveFTModelOut) MarshalJSON() ([]byte, error)
func (*UnarchiveFTModelOut) SetArchived ¶
func (o *UnarchiveFTModelOut) SetArchived(v bool)
SetArchived gets a reference to the given bool and assigns it to the Archived field.
func (*UnarchiveFTModelOut) SetId ¶
func (o *UnarchiveFTModelOut) SetId(v string)
SetId sets field value
func (*UnarchiveFTModelOut) SetObject ¶
func (o *UnarchiveFTModelOut) SetObject(v string)
SetObject gets a reference to the given string and assigns it to the Object field.
func (UnarchiveFTModelOut) ToMap ¶
func (o UnarchiveFTModelOut) ToMap() (map[string]interface{}, error)
func (*UnarchiveFTModelOut) UnmarshalJSON ¶
func (o *UnarchiveFTModelOut) UnmarshalJSON(data []byte) (err error)
type UpdateFTModelIn ¶
type UpdateFTModelIn struct {
Name NullableString `json:"name,omitempty"`
Description NullableString `json:"description,omitempty"`
AdditionalProperties map[string]interface{}
}
UpdateFTModelIn struct for UpdateFTModelIn
func NewUpdateFTModelIn ¶
func NewUpdateFTModelIn() *UpdateFTModelIn
NewUpdateFTModelIn instantiates a new UpdateFTModelIn 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 NewUpdateFTModelInWithDefaults ¶
func NewUpdateFTModelInWithDefaults() *UpdateFTModelIn
NewUpdateFTModelInWithDefaults instantiates a new UpdateFTModelIn 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 (*UpdateFTModelIn) GetDescription ¶
func (o *UpdateFTModelIn) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateFTModelIn) GetDescriptionOk ¶
func (o *UpdateFTModelIn) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description 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 (*UpdateFTModelIn) GetName ¶
func (o *UpdateFTModelIn) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateFTModelIn) GetNameOk ¶
func (o *UpdateFTModelIn) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*UpdateFTModelIn) HasDescription ¶
func (o *UpdateFTModelIn) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateFTModelIn) HasName ¶
func (o *UpdateFTModelIn) HasName() bool
HasName returns a boolean if a field has been set.
func (UpdateFTModelIn) MarshalJSON ¶
func (o UpdateFTModelIn) MarshalJSON() ([]byte, error)
func (*UpdateFTModelIn) SetDescription ¶
func (o *UpdateFTModelIn) SetDescription(v string)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (*UpdateFTModelIn) SetDescriptionNil ¶
func (o *UpdateFTModelIn) SetDescriptionNil()
SetDescriptionNil sets the value for Description to be an explicit nil
func (*UpdateFTModelIn) SetName ¶
func (o *UpdateFTModelIn) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*UpdateFTModelIn) SetNameNil ¶
func (o *UpdateFTModelIn) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (UpdateFTModelIn) ToMap ¶
func (o UpdateFTModelIn) ToMap() (map[string]interface{}, error)
func (*UpdateFTModelIn) UnmarshalJSON ¶
func (o *UpdateFTModelIn) UnmarshalJSON(data []byte) (err error)
func (*UpdateFTModelIn) UnsetDescription ¶
func (o *UpdateFTModelIn) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (*UpdateFTModelIn) UnsetName ¶
func (o *UpdateFTModelIn) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
type UploadFileOut ¶
type UploadFileOut struct {
// The unique identifier of the file.
Id string `json:"id"`
// The object type, which is always \"file\".
Object string `json:"object"`
// The size of the file, in bytes.
Bytes int32 `json:"bytes"`
// The UNIX timestamp (in seconds) of the event.
CreatedAt int32 `json:"created_at"`
// The name of the uploaded file.
Filename string `json:"filename"`
// The intended purpose of the uploaded file, currently supports fine-tuning (`fine-tune`), OCR (`ocr`), Audio/Transcription (`audio`) and batch inference (`batch`).
Purpose FilePurpose `json:"purpose"`
SampleType SampleType `json:"sample_type"`
NumLines NullableInt32 `json:"num_lines,omitempty"`
Mimetype NullableString `json:"mimetype,omitempty"`
Source Source `json:"source"`
Signature NullableString `json:"signature,omitempty"`
AdditionalProperties map[string]interface{}
}
UploadFileOut struct for UploadFileOut
func NewUploadFileOut ¶
func NewUploadFileOut(id string, object string, bytes int32, createdAt int32, filename string, purpose FilePurpose, sampleType SampleType, source Source) *UploadFileOut
NewUploadFileOut instantiates a new UploadFileOut 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 NewUploadFileOutWithDefaults ¶
func NewUploadFileOutWithDefaults() *UploadFileOut
NewUploadFileOutWithDefaults instantiates a new UploadFileOut 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 (*UploadFileOut) GetBytes ¶
func (o *UploadFileOut) GetBytes() int32
GetBytes returns the Bytes field value
func (*UploadFileOut) GetBytesOk ¶
func (o *UploadFileOut) GetBytesOk() (*int32, bool)
GetBytesOk returns a tuple with the Bytes field value and a boolean to check if the value has been set.
func (*UploadFileOut) GetCreatedAt ¶
func (o *UploadFileOut) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field value
func (*UploadFileOut) GetCreatedAtOk ¶
func (o *UploadFileOut) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value and a boolean to check if the value has been set.
func (*UploadFileOut) GetFilename ¶
func (o *UploadFileOut) GetFilename() string
GetFilename returns the Filename field value
func (*UploadFileOut) GetFilenameOk ¶
func (o *UploadFileOut) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field value and a boolean to check if the value has been set.
func (*UploadFileOut) GetId ¶
func (o *UploadFileOut) GetId() string
GetId returns the Id field value
func (*UploadFileOut) GetIdOk ¶
func (o *UploadFileOut) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*UploadFileOut) GetMimetype ¶ added in v0.15.0
func (o *UploadFileOut) GetMimetype() string
GetMimetype returns the Mimetype field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UploadFileOut) GetMimetypeOk ¶ added in v0.15.0
func (o *UploadFileOut) GetMimetypeOk() (*string, bool)
GetMimetypeOk returns a tuple with the Mimetype 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 (*UploadFileOut) GetNumLines ¶
func (o *UploadFileOut) GetNumLines() int32
GetNumLines returns the NumLines field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UploadFileOut) GetNumLinesOk ¶
func (o *UploadFileOut) GetNumLinesOk() (*int32, bool)
GetNumLinesOk returns a tuple with the NumLines 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 (*UploadFileOut) GetObject ¶
func (o *UploadFileOut) GetObject() string
GetObject returns the Object field value
func (*UploadFileOut) GetObjectOk ¶
func (o *UploadFileOut) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*UploadFileOut) GetPurpose ¶
func (o *UploadFileOut) GetPurpose() FilePurpose
GetPurpose returns the Purpose field value
func (*UploadFileOut) GetPurposeOk ¶
func (o *UploadFileOut) GetPurposeOk() (*FilePurpose, bool)
GetPurposeOk returns a tuple with the Purpose field value and a boolean to check if the value has been set.
func (*UploadFileOut) GetSampleType ¶
func (o *UploadFileOut) GetSampleType() SampleType
GetSampleType returns the SampleType field value
func (*UploadFileOut) GetSampleTypeOk ¶
func (o *UploadFileOut) GetSampleTypeOk() (*SampleType, bool)
GetSampleTypeOk returns a tuple with the SampleType field value and a boolean to check if the value has been set.
func (*UploadFileOut) GetSignature ¶ added in v0.15.0
func (o *UploadFileOut) GetSignature() string
GetSignature returns the Signature field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UploadFileOut) GetSignatureOk ¶ added in v0.15.0
func (o *UploadFileOut) GetSignatureOk() (*string, bool)
GetSignatureOk returns a tuple with the Signature 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 (*UploadFileOut) GetSource ¶
func (o *UploadFileOut) GetSource() Source
GetSource returns the Source field value
func (*UploadFileOut) GetSourceOk ¶
func (o *UploadFileOut) GetSourceOk() (*Source, bool)
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (*UploadFileOut) HasMimetype ¶ added in v0.15.0
func (o *UploadFileOut) HasMimetype() bool
HasMimetype returns a boolean if a field has been set.
func (*UploadFileOut) HasNumLines ¶
func (o *UploadFileOut) HasNumLines() bool
HasNumLines returns a boolean if a field has been set.
func (*UploadFileOut) HasSignature ¶ added in v0.15.0
func (o *UploadFileOut) HasSignature() bool
HasSignature returns a boolean if a field has been set.
func (UploadFileOut) MarshalJSON ¶
func (o UploadFileOut) MarshalJSON() ([]byte, error)
func (*UploadFileOut) SetBytes ¶
func (o *UploadFileOut) SetBytes(v int32)
SetBytes sets field value
func (*UploadFileOut) SetCreatedAt ¶
func (o *UploadFileOut) SetCreatedAt(v int32)
SetCreatedAt sets field value
func (*UploadFileOut) SetFilename ¶
func (o *UploadFileOut) SetFilename(v string)
SetFilename sets field value
func (*UploadFileOut) SetMimetype ¶ added in v0.15.0
func (o *UploadFileOut) SetMimetype(v string)
SetMimetype gets a reference to the given NullableString and assigns it to the Mimetype field.
func (*UploadFileOut) SetMimetypeNil ¶ added in v0.15.0
func (o *UploadFileOut) SetMimetypeNil()
SetMimetypeNil sets the value for Mimetype to be an explicit nil
func (*UploadFileOut) SetNumLines ¶
func (o *UploadFileOut) SetNumLines(v int32)
SetNumLines gets a reference to the given NullableInt32 and assigns it to the NumLines field.
func (*UploadFileOut) SetNumLinesNil ¶
func (o *UploadFileOut) SetNumLinesNil()
SetNumLinesNil sets the value for NumLines to be an explicit nil
func (*UploadFileOut) SetObject ¶
func (o *UploadFileOut) SetObject(v string)
SetObject sets field value
func (*UploadFileOut) SetPurpose ¶
func (o *UploadFileOut) SetPurpose(v FilePurpose)
SetPurpose sets field value
func (*UploadFileOut) SetSampleType ¶
func (o *UploadFileOut) SetSampleType(v SampleType)
SetSampleType sets field value
func (*UploadFileOut) SetSignature ¶ added in v0.15.0
func (o *UploadFileOut) SetSignature(v string)
SetSignature gets a reference to the given NullableString and assigns it to the Signature field.
func (*UploadFileOut) SetSignatureNil ¶ added in v0.15.0
func (o *UploadFileOut) SetSignatureNil()
SetSignatureNil sets the value for Signature to be an explicit nil
func (*UploadFileOut) SetSource ¶
func (o *UploadFileOut) SetSource(v Source)
SetSource sets field value
func (UploadFileOut) ToMap ¶
func (o UploadFileOut) ToMap() (map[string]interface{}, error)
func (*UploadFileOut) UnmarshalJSON ¶
func (o *UploadFileOut) UnmarshalJSON(data []byte) (err error)
func (*UploadFileOut) UnsetMimetype ¶ added in v0.15.0
func (o *UploadFileOut) UnsetMimetype()
UnsetMimetype ensures that no value is present for Mimetype, not even an explicit nil
func (*UploadFileOut) UnsetNumLines ¶
func (o *UploadFileOut) UnsetNumLines()
UnsetNumLines ensures that no value is present for NumLines, not even an explicit nil
func (*UploadFileOut) UnsetSignature ¶ added in v0.15.0
func (o *UploadFileOut) UnsetSignature()
UnsetSignature ensures that no value is present for Signature, not even an explicit nil
type UsageInfo ¶
type UsageInfo struct {
PromptTokens int32 `json:"prompt_tokens"`
CompletionTokens int32 `json:"completion_tokens"`
TotalTokens int32 `json:"total_tokens"`
PromptAudioSeconds NullableInt32 `json:"prompt_audio_seconds,omitempty"`
}
UsageInfo struct for UsageInfo
func NewUsageInfo ¶
NewUsageInfo instantiates a new UsageInfo 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 NewUsageInfoWithDefaults ¶
func NewUsageInfoWithDefaults() *UsageInfo
NewUsageInfoWithDefaults instantiates a new UsageInfo 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 (*UsageInfo) GetCompletionTokens ¶
GetCompletionTokens returns the CompletionTokens field value
func (*UsageInfo) GetCompletionTokensOk ¶
GetCompletionTokensOk returns a tuple with the CompletionTokens field value and a boolean to check if the value has been set.
func (*UsageInfo) GetPromptAudioSeconds ¶ added in v0.15.0
GetPromptAudioSeconds returns the PromptAudioSeconds field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UsageInfo) GetPromptAudioSecondsOk ¶ added in v0.15.0
GetPromptAudioSecondsOk returns a tuple with the PromptAudioSeconds 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 (*UsageInfo) GetPromptTokens ¶
GetPromptTokens returns the PromptTokens field value
func (*UsageInfo) GetPromptTokensOk ¶
GetPromptTokensOk returns a tuple with the PromptTokens field value and a boolean to check if the value has been set.
func (*UsageInfo) GetTotalTokens ¶
GetTotalTokens returns the TotalTokens field value
func (*UsageInfo) GetTotalTokensOk ¶
GetTotalTokensOk returns a tuple with the TotalTokens field value and a boolean to check if the value has been set.
func (*UsageInfo) HasPromptAudioSeconds ¶ added in v0.15.0
HasPromptAudioSeconds returns a boolean if a field has been set.
func (UsageInfo) MarshalJSON ¶
func (*UsageInfo) SetCompletionTokens ¶
SetCompletionTokens sets field value
func (*UsageInfo) SetPromptAudioSeconds ¶ added in v0.15.0
SetPromptAudioSeconds gets a reference to the given NullableInt32 and assigns it to the PromptAudioSeconds field.
func (*UsageInfo) SetPromptAudioSecondsNil ¶ added in v0.15.0
func (o *UsageInfo) SetPromptAudioSecondsNil()
SetPromptAudioSecondsNil sets the value for PromptAudioSeconds to be an explicit nil
func (*UsageInfo) SetPromptTokens ¶
SetPromptTokens sets field value
func (*UsageInfo) SetTotalTokens ¶
SetTotalTokens sets field value
func (*UsageInfo) UnmarshalJSON ¶
func (*UsageInfo) UnsetPromptAudioSeconds ¶ added in v0.15.0
func (o *UsageInfo) UnsetPromptAudioSeconds()
UnsetPromptAudioSeconds ensures that no value is present for PromptAudioSeconds, not even an explicit nil
type UserMessage ¶
type UserMessage struct {
Content NullableContent3 `json:"content"`
Role *string `json:"role,omitempty"`
}
UserMessage struct for UserMessage
func NewUserMessage ¶
func NewUserMessage(content NullableContent3) *UserMessage
NewUserMessage instantiates a new UserMessage 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 NewUserMessageWithDefaults ¶
func NewUserMessageWithDefaults() *UserMessage
NewUserMessageWithDefaults instantiates a new UserMessage 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 (*UserMessage) GetContent ¶
func (o *UserMessage) GetContent() Content3
GetContent returns the Content field value If the value is explicit nil, the zero value for Content3 will be returned
func (*UserMessage) GetContentOk ¶
func (o *UserMessage) GetContentOk() (*Content3, bool)
GetContentOk returns a tuple with the Content 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 (*UserMessage) GetRole ¶
func (o *UserMessage) GetRole() string
GetRole returns the Role field value if set, zero value otherwise.
func (*UserMessage) GetRoleOk ¶
func (o *UserMessage) GetRoleOk() (*string, bool)
GetRoleOk returns a tuple with the Role field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserMessage) HasRole ¶
func (o *UserMessage) HasRole() bool
HasRole returns a boolean if a field has been set.
func (UserMessage) MarshalJSON ¶
func (o UserMessage) MarshalJSON() ([]byte, error)
func (*UserMessage) SetContent ¶
func (o *UserMessage) SetContent(v Content3)
SetContent sets field value
func (*UserMessage) SetRole ¶
func (o *UserMessage) SetRole(v string)
SetRole gets a reference to the given string and assigns it to the Role field.
func (UserMessage) ToMap ¶
func (o UserMessage) ToMap() (map[string]interface{}, error)
func (*UserMessage) UnmarshalJSON ¶
func (o *UserMessage) UnmarshalJSON(data []byte) (err error)
type ValidationError ¶
type ValidationError struct {
Loc []LocationInner `json:"loc"`
Msg string `json:"msg"`
Type string `json:"type"`
AdditionalProperties map[string]interface{}
}
ValidationError struct for ValidationError
func NewValidationError ¶
func NewValidationError(loc []LocationInner, 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() []LocationInner
GetLoc returns the Loc field value
func (*ValidationError) GetLocOk ¶
func (o *ValidationError) GetLocOk() ([]LocationInner, 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 []LocationInner)
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 WandbIntegration ¶
type WandbIntegration struct {
Type *string `json:"type,omitempty"`
// The name of the project that the new run will be created under.
Project string `json:"project"`
Name NullableString `json:"name,omitempty"`
// The WandB API key to use for authentication.
ApiKey string `json:"api_key"`
RunName NullableString `json:"run_name,omitempty"`
AdditionalProperties map[string]interface{}
}
WandbIntegration struct for WandbIntegration
func NewWandbIntegration ¶
func NewWandbIntegration(project string, apiKey string) *WandbIntegration
NewWandbIntegration instantiates a new WandbIntegration 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 NewWandbIntegrationWithDefaults ¶
func NewWandbIntegrationWithDefaults() *WandbIntegration
NewWandbIntegrationWithDefaults instantiates a new WandbIntegration 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 (*WandbIntegration) GetApiKey ¶
func (o *WandbIntegration) GetApiKey() string
GetApiKey returns the ApiKey field value
func (*WandbIntegration) GetApiKeyOk ¶
func (o *WandbIntegration) GetApiKeyOk() (*string, bool)
GetApiKeyOk returns a tuple with the ApiKey field value and a boolean to check if the value has been set.
func (*WandbIntegration) GetName ¶
func (o *WandbIntegration) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WandbIntegration) GetNameOk ¶
func (o *WandbIntegration) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*WandbIntegration) GetProject ¶
func (o *WandbIntegration) GetProject() string
GetProject returns the Project field value
func (*WandbIntegration) GetProjectOk ¶
func (o *WandbIntegration) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.
func (*WandbIntegration) GetRunName ¶
func (o *WandbIntegration) GetRunName() string
GetRunName returns the RunName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WandbIntegration) GetRunNameOk ¶
func (o *WandbIntegration) GetRunNameOk() (*string, bool)
GetRunNameOk returns a tuple with the RunName 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 (*WandbIntegration) GetType ¶
func (o *WandbIntegration) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*WandbIntegration) GetTypeOk ¶
func (o *WandbIntegration) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WandbIntegration) HasName ¶
func (o *WandbIntegration) HasName() bool
HasName returns a boolean if a field has been set.
func (*WandbIntegration) HasRunName ¶
func (o *WandbIntegration) HasRunName() bool
HasRunName returns a boolean if a field has been set.
func (*WandbIntegration) HasType ¶
func (o *WandbIntegration) HasType() bool
HasType returns a boolean if a field has been set.
func (WandbIntegration) MarshalJSON ¶
func (o WandbIntegration) MarshalJSON() ([]byte, error)
func (*WandbIntegration) SetApiKey ¶
func (o *WandbIntegration) SetApiKey(v string)
SetApiKey sets field value
func (*WandbIntegration) SetName ¶
func (o *WandbIntegration) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*WandbIntegration) SetNameNil ¶
func (o *WandbIntegration) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*WandbIntegration) SetProject ¶
func (o *WandbIntegration) SetProject(v string)
SetProject sets field value
func (*WandbIntegration) SetRunName ¶
func (o *WandbIntegration) SetRunName(v string)
SetRunName gets a reference to the given NullableString and assigns it to the RunName field.
func (*WandbIntegration) SetRunNameNil ¶
func (o *WandbIntegration) SetRunNameNil()
SetRunNameNil sets the value for RunName to be an explicit nil
func (*WandbIntegration) SetType ¶
func (o *WandbIntegration) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (WandbIntegration) ToMap ¶
func (o WandbIntegration) ToMap() (map[string]interface{}, error)
func (*WandbIntegration) UnmarshalJSON ¶
func (o *WandbIntegration) UnmarshalJSON(data []byte) (err error)
func (*WandbIntegration) UnsetName ¶
func (o *WandbIntegration) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*WandbIntegration) UnsetRunName ¶
func (o *WandbIntegration) UnsetRunName()
UnsetRunName ensures that no value is present for RunName, not even an explicit nil
type WandbIntegrationOut ¶
type WandbIntegrationOut struct {
Type *string `json:"type,omitempty"`
// The name of the project that the new run will be created under.
Project string `json:"project"`
Name NullableString `json:"name,omitempty"`
RunName NullableString `json:"run_name,omitempty"`
Url NullableString `json:"url,omitempty"`
AdditionalProperties map[string]interface{}
}
WandbIntegrationOut struct for WandbIntegrationOut
func NewWandbIntegrationOut ¶
func NewWandbIntegrationOut(project string) *WandbIntegrationOut
NewWandbIntegrationOut instantiates a new WandbIntegrationOut 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 NewWandbIntegrationOutWithDefaults ¶
func NewWandbIntegrationOutWithDefaults() *WandbIntegrationOut
NewWandbIntegrationOutWithDefaults instantiates a new WandbIntegrationOut 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 (*WandbIntegrationOut) GetName ¶
func (o *WandbIntegrationOut) GetName() string
GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WandbIntegrationOut) GetNameOk ¶
func (o *WandbIntegrationOut) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name 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 (*WandbIntegrationOut) GetProject ¶
func (o *WandbIntegrationOut) GetProject() string
GetProject returns the Project field value
func (*WandbIntegrationOut) GetProjectOk ¶
func (o *WandbIntegrationOut) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field value and a boolean to check if the value has been set.
func (*WandbIntegrationOut) GetRunName ¶
func (o *WandbIntegrationOut) GetRunName() string
GetRunName returns the RunName field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WandbIntegrationOut) GetRunNameOk ¶
func (o *WandbIntegrationOut) GetRunNameOk() (*string, bool)
GetRunNameOk returns a tuple with the RunName 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 (*WandbIntegrationOut) GetType ¶
func (o *WandbIntegrationOut) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*WandbIntegrationOut) GetTypeOk ¶
func (o *WandbIntegrationOut) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WandbIntegrationOut) GetUrl ¶
func (o *WandbIntegrationOut) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise (both if not set or set to explicit null).
func (*WandbIntegrationOut) GetUrlOk ¶
func (o *WandbIntegrationOut) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url 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 (*WandbIntegrationOut) HasName ¶
func (o *WandbIntegrationOut) HasName() bool
HasName returns a boolean if a field has been set.
func (*WandbIntegrationOut) HasRunName ¶
func (o *WandbIntegrationOut) HasRunName() bool
HasRunName returns a boolean if a field has been set.
func (*WandbIntegrationOut) HasType ¶
func (o *WandbIntegrationOut) HasType() bool
HasType returns a boolean if a field has been set.
func (*WandbIntegrationOut) HasUrl ¶
func (o *WandbIntegrationOut) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (WandbIntegrationOut) MarshalJSON ¶
func (o WandbIntegrationOut) MarshalJSON() ([]byte, error)
func (*WandbIntegrationOut) SetName ¶
func (o *WandbIntegrationOut) SetName(v string)
SetName gets a reference to the given NullableString and assigns it to the Name field.
func (*WandbIntegrationOut) SetNameNil ¶
func (o *WandbIntegrationOut) SetNameNil()
SetNameNil sets the value for Name to be an explicit nil
func (*WandbIntegrationOut) SetProject ¶
func (o *WandbIntegrationOut) SetProject(v string)
SetProject sets field value
func (*WandbIntegrationOut) SetRunName ¶
func (o *WandbIntegrationOut) SetRunName(v string)
SetRunName gets a reference to the given NullableString and assigns it to the RunName field.
func (*WandbIntegrationOut) SetRunNameNil ¶
func (o *WandbIntegrationOut) SetRunNameNil()
SetRunNameNil sets the value for RunName to be an explicit nil
func (*WandbIntegrationOut) SetType ¶
func (o *WandbIntegrationOut) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*WandbIntegrationOut) SetUrl ¶
func (o *WandbIntegrationOut) SetUrl(v string)
SetUrl gets a reference to the given NullableString and assigns it to the Url field.
func (*WandbIntegrationOut) SetUrlNil ¶
func (o *WandbIntegrationOut) SetUrlNil()
SetUrlNil sets the value for Url to be an explicit nil
func (WandbIntegrationOut) ToMap ¶
func (o WandbIntegrationOut) ToMap() (map[string]interface{}, error)
func (*WandbIntegrationOut) UnmarshalJSON ¶
func (o *WandbIntegrationOut) UnmarshalJSON(data []byte) (err error)
func (*WandbIntegrationOut) UnsetName ¶
func (o *WandbIntegrationOut) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (*WandbIntegrationOut) UnsetRunName ¶
func (o *WandbIntegrationOut) UnsetRunName()
UnsetRunName ensures that no value is present for RunName, not even an explicit nil
func (*WandbIntegrationOut) UnsetUrl ¶
func (o *WandbIntegrationOut) UnsetUrl()
UnsetUrl ensures that no value is present for Url, not even an explicit nil
type WebSearchPremiumTool ¶
type WebSearchPremiumTool struct {
Type *string `json:"type,omitempty"`
}
WebSearchPremiumTool struct for WebSearchPremiumTool
func NewWebSearchPremiumTool ¶
func NewWebSearchPremiumTool() *WebSearchPremiumTool
NewWebSearchPremiumTool instantiates a new WebSearchPremiumTool 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 NewWebSearchPremiumToolWithDefaults ¶
func NewWebSearchPremiumToolWithDefaults() *WebSearchPremiumTool
NewWebSearchPremiumToolWithDefaults instantiates a new WebSearchPremiumTool 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 (*WebSearchPremiumTool) GetType ¶
func (o *WebSearchPremiumTool) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*WebSearchPremiumTool) GetTypeOk ¶
func (o *WebSearchPremiumTool) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebSearchPremiumTool) HasType ¶
func (o *WebSearchPremiumTool) HasType() bool
HasType returns a boolean if a field has been set.
func (WebSearchPremiumTool) MarshalJSON ¶
func (o WebSearchPremiumTool) MarshalJSON() ([]byte, error)
func (*WebSearchPremiumTool) SetType ¶
func (o *WebSearchPremiumTool) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (WebSearchPremiumTool) ToMap ¶
func (o WebSearchPremiumTool) ToMap() (map[string]interface{}, error)
type WebSearchTool ¶
type WebSearchTool struct {
Type *string `json:"type,omitempty"`
}
WebSearchTool struct for WebSearchTool
func NewWebSearchTool ¶
func NewWebSearchTool() *WebSearchTool
NewWebSearchTool instantiates a new WebSearchTool 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 NewWebSearchToolWithDefaults ¶
func NewWebSearchToolWithDefaults() *WebSearchTool
NewWebSearchToolWithDefaults instantiates a new WebSearchTool 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 (*WebSearchTool) GetType ¶
func (o *WebSearchTool) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*WebSearchTool) GetTypeOk ¶
func (o *WebSearchTool) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*WebSearchTool) HasType ¶
func (o *WebSearchTool) HasType() bool
HasType returns a boolean if a field has been set.
func (WebSearchTool) MarshalJSON ¶
func (o WebSearchTool) MarshalJSON() ([]byte, error)
func (*WebSearchTool) SetType ¶
func (o *WebSearchTool) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (WebSearchTool) ToMap ¶
func (o WebSearchTool) ToMap() (map[string]interface{}, error)
Source Files
¶
- api_agents.go
- api_audio_transcriptions.go
- api_batch.go
- api_beta_agents.go
- api_beta_conversations.go
- api_beta_libraries.go
- api_beta_libraries_accesses.go
- api_beta_libraries_documents.go
- api_chat.go
- api_classifiers.go
- api_embeddings.go
- api_files.go
- api_fim.go
- api_fine_tuning.go
- api_models.go
- api_ocr.go
- client.go
- configuration.go
- model_agent.go
- model_agent_alias_response.go
- model_agent_conversation.go
- model_agent_creation_request.go
- model_agent_handoff_done_event.go
- model_agent_handoff_entry.go
- model_agent_handoff_started_event.go
- model_agent_update_request.go
- model_agent_version.go
- model_agent_version_1.go
- model_agent_version_2.go
- model_agents_completion_request.go
- model_any_of_map_null.go
- model_api_endpoint.go
- model_archive_ft_model_out.go
- model_arguments.go
- model_assistant_message.go
- model_audio_chunk.go
- model_audio_encoding.go
- model_audio_format.go
- model_base_model_card.go
- model_batch_error.go
- model_batch_job_in.go
- model_batch_job_out.go
- model_batch_job_status.go
- model_batch_jobs_out.go
- model_batch_request.go
- model_built_in_connectors.go
- model_chat_classification_request.go
- model_chat_classification_request_inputs.go
- model_chat_completion_choice.go
- model_chat_completion_request.go
- model_chat_completion_response.go
- model_chat_completion_response_base.go
- model_chat_moderation_request.go
- model_checkpoint_out.go
- model_classification_request.go
- model_classification_response.go
- model_classification_target_result.go
- model_classifier_detailed_job_out.go
- model_classifier_ft_model_out.go
- model_classifier_job_out.go
- model_classifier_target_in.go
- model_classifier_target_out.go
- model_classifier_training_parameters.go
- model_classifier_training_parameters_in.go
- model_code_interpreter_tool.go
- model_completion_args.go
- model_completion_args_stop.go
- model_completion_chunk.go
- model_completion_detailed_job_out.go
- model_completion_event.go
- model_completion_ft_model_out.go
- model_completion_job_out.go
- model_completion_response_stream_choice.go
- model_completion_training_parameters.go
- model_completion_training_parameters_in.go
- model_content.go
- model_content_1.go
- model_content_2.go
- model_content_3.go
- model_content_4.go
- model_content_chunk.go
- model_conversation_append_request.go
- model_conversation_append_request_base.go
- model_conversation_append_stream_request.go
- model_conversation_events.go
- model_conversation_history.go
- model_conversation_inputs.go
- model_conversation_messages.go
- model_conversation_request.go
- model_conversation_request_base.go
- model_conversation_response.go
- model_conversation_restart_request.go
- model_conversation_restart_request_base.go
- model_conversation_restart_stream_request.go
- model_conversation_stream_request.go
- model_conversation_usage_info.go
- model_data.go
- model_data_1.go
- model_data_inner.go
- model_delete_file_out.go
- model_delete_model_out.go
- model_delta_message.go
- model_delta_message_content.go
- model_document.go
- model_document_library_tool.go
- model_document_out.go
- model_document_text_content.go
- model_document_update_in.go
- model_document_update_in_attributes_value.go
- model_document_url_chunk.go
- model_embedding_dtype.go
- model_embedding_request.go
- model_embedding_response.go
- model_embedding_response_data.go
- model_encoding_format.go
- model_entity_type.go
- model_entries_inner.go
- model_event_out.go
- model_file_chunk.go
- model_file_purpose.go
- model_file_schema.go
- model_file_signed_url.go
- model_fim_completion_request.go
- model_fim_completion_response.go
- model_fine_tuneable_model.go
- model_fine_tuneable_model_type.go
- model_ft_classifier_loss_function.go
- model_ft_model_capabilities_out.go
- model_ft_model_card.go
- model_function.go
- model_function_call.go
- model_function_call_entry.go
- model_function_call_entry_arguments.go
- model_function_call_event.go
- model_function_name.go
- model_function_result_entry.go
- model_function_tool.go
- model_github_repository_in.go
- model_github_repository_out.go
- model_http_validation_error.go
- model_hyperparameters.go
- model_image_generation_tool.go
- model_image_url.go
- model_image_url_chunk.go
- model_image_url_struct.go
- model_input.go
- model_input_1.go
- model_input_2.go
- model_input_audio.go
- model_instruct_request.go
- model_job_in.go
- model_job_metadata_out.go
- model_jobs_out.go
- model_json_schema.go
- model_legacy_job_metadata_out.go
- model_library_in.go
- model_library_in_update.go
- model_library_out.go
- model_list_document_out.go
- model_list_files_out.go
- model_list_library_out.go
- model_list_sharing_out.go
- model_location_inner.go
- model_message_entries_inner.go
- model_message_input_content_chunks_inner.go
- model_message_input_entry.go
- model_message_output_content_chunks_inner.go
- model_message_output_entry.go
- model_message_output_event.go
- model_messages_inner.go
- model_metric_out.go
- model_mistral_prompt_mode.go
- model_model_capabilities.go
- model_model_conversation.go
- model_model_list.go
- model_moderation_object.go
- model_moderation_response.go
- model_name.go
- model_ocr_image_object.go
- model_ocr_page_dimensions.go
- model_ocr_page_object.go
- model_ocr_request.go
- model_ocr_response.go
- model_ocr_table_object.go
- model_ocr_usage_info.go
- model_output_content_chunks.go
- model_outputs_inner.go
- model_pagination_info.go
- model_prediction.go
- model_processing_status_out.go
- model_reference_chunk.go
- model_request_source.go
- model_response.go
- model_response_1.go
- model_response_2.go
- model_response_any_of.go
- model_response_base.go
- model_response_done_event.go
- model_response_error_event.go
- model_response_format.go
- model_response_formats.go
- model_response_retrieve_model_v1_models__model_id__get.go
- model_response_started_event.go
- model_response_v1_conversations_get.go
- model_response_v1_conversations_list_inner.go
- model_retrieve_file_out.go
- model_sample_type.go
- model_share_enum.go
- model_sharing_delete.go
- model_sharing_in.go
- model_sharing_out.go
- model_source.go
- model_sse_types.go
- model_stop.go
- model_system_message.go
- model_system_message_content_chunks.go
- model_text_chunk.go
- model_think_chunk.go
- model_thinking_inner.go
- model_timestamp_granularity.go
- model_tool.go
- model_tool_1.go
- model_tool_call.go
- model_tool_choice.go
- model_tool_choice_1.go
- model_tool_choice_enum.go
- model_tool_execution_delta_event.go
- model_tool_execution_done_event.go
- model_tool_execution_entry.go
- model_tool_execution_started_event.go
- model_tool_file_chunk.go
- model_tool_message.go
- model_tool_reference_chunk.go
- model_tool_types.go
- model_tools_inner.go
- model_training_file.go
- model_transcription_response.go
- model_transcription_segment_chunk.go
- model_transcription_stream_done.go
- model_transcription_stream_event_types.go
- model_transcription_stream_events.go
- model_transcription_stream_language.go
- model_transcription_stream_segment_delta.go
- model_transcription_stream_text_delta.go
- model_unarchive_ft_model_out.go
- model_update_ft_model_in.go
- model_upload_file_out.go
- model_usage_info.go
- model_user_message.go
- model_validation_error.go
- model_wandb_integration.go
- model_wandb_integration_out.go
- model_web_search_premium_tool.go
- model_web_search_tool.go
- response.go
- utils.go