Documentation ¶
Index ¶
- func IsNotFound(err error) bool
- type Agent
- type AgentIcons
- type AgentList
- type AgentManifest
- type Assistant
- type AssistantList
- type AssistantTool
- type AssistantToolList
- type Credential
- type CredentialList
- type CronJob
- type CronJobList
- type CronJobManifest
- type DefaultModelAlias
- type DefaultModelAliasList
- type DefaultModelAliasManifest
- type DefaultModelAliasType
- type EmailReceiver
- type EmailReceiverList
- type EmailReceiverManifest
- type EnvVar
- type ErrHTTP
- type File
- type FileList
- type FolderSet
- type If
- type InvokeResponse
- type Item
- type KnowledgeFile
- type KnowledgeFileList
- type KnowledgeFileState
- type KnowledgeSource
- type KnowledgeSourceInput
- type KnowledgeSourceList
- type KnowledgeSourceManifest
- type KnowledgeSourceState
- type KnowledgeSourceType
- type List
- type Metadata
- type Model
- type ModelList
- type ModelManifest
- type ModelProvider
- type ModelProviderList
- type ModelProviderManifest
- type ModelProviderStatus
- type ModelStatus
- type ModelUsage
- type NotionConfig
- type OAuthApp
- type OAuthAppList
- type OAuthAppLoginAuthStatus
- type OAuthAppManifest
- type OAuthAppType
- type OneDriveConfig
- type Progress
- type Prompt
- type PromptResponse
- type Role
- type Run
- type RunDebug
- type RunList
- type Schedule
- type Step
- type StepTemplateInvoke
- type SubFlow
- type Table
- type TableList
- type TableRow
- type TableRowList
- type Task
- type TaskEmail
- type TaskIf
- type TaskList
- type TaskManifest
- type TaskOnDemand
- type TaskRun
- type TaskRunList
- type TaskStep
- type TaskWebhook
- type Template
- type Thread
- type ThreadList
- type ThreadManifest
- type Time
- func (in *Time) DeepCopy() *Time
- func (t *Time) DeepCopyInto(out *Time)
- func (t *Time) GetTime() time.Time
- func (t Time) MarshalJSON() ([]byte, error)
- func (_ Time) OpenAPISchemaFormat() string
- func (_ Time) OpenAPISchemaType() []string
- func (t Time) ToUnstructured() interface{}
- func (t *Time) UnmarshalJSON(data []byte) error
- type ToolCall
- type ToolInput
- type ToolReference
- type ToolReferenceList
- type ToolReferenceManifest
- type ToolReferenceType
- type User
- type UserList
- type Webhook
- type WebhookList
- type WebhookManifest
- type WebsiteCrawlingConfig
- type While
- type Workflow
- type WorkflowCall
- type WorkflowExecution
- type WorkflowExecutionList
- type WorkflowList
- type WorkflowManifest
- type WorkflowState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
Types ¶
type Agent ¶
type Agent struct { Metadata AgentManifest AliasAssigned *bool `json:"aliasAssigned,omitempty"` AuthStatus map[string]OAuthAppLoginAuthStatus `json:"authStatus,omitempty"` TextEmbeddingModel string `json:"textEmbeddingModel,omitempty"` }
func (*Agent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Agent.
func (*Agent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentIcons ¶
type AgentIcons struct { Icon string `json:"icon"` IconDark string `json:"iconDark"` Collapsed string `json:"collapsed"` CollapsedDark string `json:"collapsedDark"` }
func (*AgentIcons) DeepCopy ¶
func (in *AgentIcons) DeepCopy() *AgentIcons
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentIcons.
func (*AgentIcons) DeepCopyInto ¶
func (in *AgentIcons) DeepCopyInto(out *AgentIcons)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentList ¶
func (*AgentList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentList.
func (*AgentList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AgentManifest ¶
type AgentManifest struct { Name string `json:"name"` Icons *AgentIcons `json:"icons"` Description string `json:"description"` Default bool `json:"default"` Temperature *float32 `json:"temperature"` Cache *bool `json:"cache"` Alias string `json:"alias"` Prompt string `json:"prompt"` KnowledgeDescription string `json:"knowledgeDescription"` Agents []string `json:"agents"` Workflows []string `json:"workflows"` Tools []string `json:"tools"` AvailableThreadTools []string `json:"availableThreadTools"` DefaultThreadTools []string `json:"defaultThreadTools"` OAuthApps []string `json:"oauthApps"` MaxThreadTools int `json:"maxThreadTools"` Params map[string]string `json:"params"` Model string `json:"model"` Env []EnvVar `json:"env"` }
func (*AgentManifest) DeepCopy ¶
func (in *AgentManifest) DeepCopy() *AgentManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentManifest.
func (*AgentManifest) DeepCopyInto ¶
func (in *AgentManifest) DeepCopyInto(out *AgentManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (AgentManifest) GetParams ¶
func (m AgentManifest) GetParams() *openapi3.Schema
type Assistant ¶
type Assistant struct { Metadata Name string `json:"name"` Default bool `json:"default"` Description string `json:"description"` Icons AgentIcons `json:"icons"` EntityID string `json:"entityID"` }
func (*Assistant) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Assistant.
func (*Assistant) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssistantList ¶
func (*AssistantList) DeepCopy ¶
func (in *AssistantList) DeepCopy() *AssistantList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssistantList.
func (*AssistantList) DeepCopyInto ¶
func (in *AssistantList) DeepCopyInto(out *AssistantList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssistantTool ¶
type AssistantTool struct { ID string `json:"id,omitempty"` Name string `json:"name"` Description string `json:"description"` Icon string `json:"icon,omitempty"` Enabled bool `json:"enabled,omitempty"` Builtin bool `json:"builtin,omitempty"` }
func (*AssistantTool) DeepCopy ¶
func (in *AssistantTool) DeepCopy() *AssistantTool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssistantTool.
func (*AssistantTool) DeepCopyInto ¶
func (in *AssistantTool) DeepCopyInto(out *AssistantTool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AssistantToolList ¶
type AssistantToolList struct { ReadOnly bool `json:"readOnly,omitempty"` Items []AssistantTool `json:"items"` }
func (*AssistantToolList) DeepCopy ¶
func (in *AssistantToolList) DeepCopy() *AssistantToolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AssistantToolList.
func (*AssistantToolList) DeepCopyInto ¶
func (in *AssistantToolList) DeepCopyInto(out *AssistantToolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Credential ¶
type Credential struct { ContextID string `json:"contextID,omitempty"` Name string `json:"name,omitempty"` EnvVars []string `json:"envVars,omitempty"` ExpiresAt *Time `json:"expiresAt,omitempty"` }
func (*Credential) DeepCopy ¶
func (in *Credential) DeepCopy() *Credential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Credential.
func (*Credential) DeepCopyInto ¶
func (in *Credential) DeepCopyInto(out *Credential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialList ¶
type CredentialList List[Credential]
func (*CredentialList) DeepCopy ¶
func (in *CredentialList) DeepCopy() *CredentialList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialList.
func (*CredentialList) DeepCopyInto ¶
func (in *CredentialList) DeepCopyInto(out *CredentialList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CronJob ¶
type CronJob struct { Metadata CronJobManifest LastRunStartedAt *Time `json:"lastRunStartedAt,omitempty"` LastSuccessfulRunCompleted *Time `json:"lastSuccessfulRunCompleted,omitempty"` NextRunAt *Time `json:"nextRunAt,omitempty"` }
func (*CronJob) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJob.
func (*CronJob) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CronJobList ¶
func (*CronJobList) DeepCopy ¶
func (in *CronJobList) DeepCopy() *CronJobList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobList.
func (*CronJobList) DeepCopyInto ¶
func (in *CronJobList) DeepCopyInto(out *CronJobList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CronJobManifest ¶
type CronJobManifest struct { Description string `json:"description,omitempty"` Schedule string `json:"schedule,omitempty"` Workflow string `json:"workflow,omitempty"` Input string `json:"input,omitempty"` TaskSchedule *Schedule `json:"taskSchedule,omitempty"` }
func (*CronJobManifest) DeepCopy ¶
func (in *CronJobManifest) DeepCopy() *CronJobManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CronJobManifest.
func (*CronJobManifest) DeepCopyInto ¶
func (in *CronJobManifest) DeepCopyInto(out *CronJobManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultModelAlias ¶
type DefaultModelAlias struct {
DefaultModelAliasManifest
}
func (*DefaultModelAlias) DeepCopy ¶
func (in *DefaultModelAlias) DeepCopy() *DefaultModelAlias
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultModelAlias.
func (*DefaultModelAlias) DeepCopyInto ¶
func (in *DefaultModelAlias) DeepCopyInto(out *DefaultModelAlias)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultModelAliasList ¶
type DefaultModelAliasList List[DefaultModelAlias]
func (*DefaultModelAliasList) DeepCopy ¶
func (in *DefaultModelAliasList) DeepCopy() *DefaultModelAliasList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultModelAliasList.
func (*DefaultModelAliasList) DeepCopyInto ¶
func (in *DefaultModelAliasList) DeepCopyInto(out *DefaultModelAliasList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultModelAliasManifest ¶
func (*DefaultModelAliasManifest) DeepCopy ¶
func (in *DefaultModelAliasManifest) DeepCopy() *DefaultModelAliasManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DefaultModelAliasManifest.
func (*DefaultModelAliasManifest) DeepCopyInto ¶
func (in *DefaultModelAliasManifest) DeepCopyInto(out *DefaultModelAliasManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DefaultModelAliasType ¶
type DefaultModelAliasType string
const ( DefaultModelAliasTypeTextEmbedding DefaultModelAliasType = "text-embedding" DefaultModelAliasTypeLLM DefaultModelAliasType = "llm" DefaultModelAliasTypeLLMMini DefaultModelAliasType = "llm-mini" DefaultModelAliasTypeImageGeneration DefaultModelAliasType = "image-generation" DefaultModelAliasTypeVision DefaultModelAliasType = "vision" )
type EmailReceiver ¶
type EmailReceiver struct { Metadata EmailReceiverManifest AddressAssigned *bool `json:"aliasAssigned,omitempty"` EmailAddress string `json:"emailAddress,omitempty"` }
func (*EmailReceiver) DeepCopy ¶
func (in *EmailReceiver) DeepCopy() *EmailReceiver
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailReceiver.
func (*EmailReceiver) DeepCopyInto ¶
func (in *EmailReceiver) DeepCopyInto(out *EmailReceiver)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmailReceiverList ¶
type EmailReceiverList List[EmailReceiver]
func (*EmailReceiverList) DeepCopy ¶
func (in *EmailReceiverList) DeepCopy() *EmailReceiverList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailReceiverList.
func (*EmailReceiverList) DeepCopyInto ¶
func (in *EmailReceiverList) DeepCopyInto(out *EmailReceiverList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EmailReceiverManifest ¶
type EmailReceiverManifest struct { Name string `json:"name"` Description string `json:"description"` User string `json:"user,omitempty"` Workflow string `json:"workflow"` AllowedSenders []string `json:"allowedSenders,omitempty"` }
func (*EmailReceiverManifest) DeepCopy ¶
func (in *EmailReceiverManifest) DeepCopy() *EmailReceiverManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EmailReceiverManifest.
func (*EmailReceiverManifest) DeepCopyInto ¶
func (in *EmailReceiverManifest) DeepCopyInto(out *EmailReceiverManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVar ¶
type EnvVar struct { Name string `json:"name"` Value string `json:"value"` Description string `json:"description"` }
func (*EnvVar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
func (*EnvVar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ErrHTTP ¶
func NewErrBadRequest ¶
func NewErrHttp ¶
func NewErrNotFound ¶
func (*ErrHTTP) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrHTTP.
func (*ErrHTTP) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type File ¶
type File struct {
Name string `json:"name,omitempty"`
}
func (*File) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileList ¶
func (*FileList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileList.
func (*FileList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FolderSet ¶
func (FolderSet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FolderSet.
func (FolderSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type If ¶
type If struct { Condition string `json:"condition,omitempty"` Steps []Step `json:"steps,omitempty"` Else []Step `json:"else,omitempty"` }
func (*If) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new If.
func (*If) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InvokeResponse ¶
+k8s:openapi-gen=false
type Item ¶
type Item struct{}
func (*Item) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Item.
func (*Item) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KnowledgeFile ¶
type KnowledgeFile struct { Metadata FileName string `json:"fileName"` State KnowledgeFileState `json:"state"` Error string `json:"error,omitempty"` AgentID string `json:"agentID,omitempty"` ThreadID string `json:"threadID,omitempty"` KnowledgeSetID string `json:"knowledgeSetID,omitempty"` KnowledgeSourceID string `json:"knowledgeSourceID,omitempty"` Approved *bool `json:"approved,omitempty"` URL string `json:"url,omitempty"` UpdatedAt string `json:"updatedAt,omitempty"` Checksum string `json:"checksum,omitempty"` LastIngestionStartTime *Time `json:"lastIngestionStartTime,omitempty"` LastIngestionEndTime *Time `json:"lastIngestionEndTime,omitempty"` LastRunIDs []string `json:"lastRunIDs,omitempty"` SizeInBytes int64 `json:"sizeInBytes,omitempty"` }
func (*KnowledgeFile) DeepCopy ¶
func (in *KnowledgeFile) DeepCopy() *KnowledgeFile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeFile.
func (*KnowledgeFile) DeepCopyInto ¶
func (in *KnowledgeFile) DeepCopyInto(out *KnowledgeFile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KnowledgeFileList ¶
type KnowledgeFileList List[KnowledgeFile]
func (*KnowledgeFileList) DeepCopy ¶
func (in *KnowledgeFileList) DeepCopy() *KnowledgeFileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeFileList.
func (*KnowledgeFileList) DeepCopyInto ¶
func (in *KnowledgeFileList) DeepCopyInto(out *KnowledgeFileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KnowledgeFileState ¶
type KnowledgeFileState string
const ( KnowledgeFileStatePending KnowledgeFileState = "pending" KnowledgeFileStateIngesting KnowledgeFileState = "ingesting" KnowledgeFileStateIngested KnowledgeFileState = "ingested" KnowledgeFileStateError KnowledgeFileState = "error" KnowledgeFileStateUnsupported KnowledgeFileState = "unsupported" // KnowledgeFileStateUnapproved This is only a public API state, not a real orchestration state KnowledgeFileStateUnapproved KnowledgeFileState = "unapproved" // KnowledgeFileStatePendingApproval This is only a public API state, not a real orchestration state KnowledgeFileStatePendingApproval KnowledgeFileState = "pending-approval" )
func (KnowledgeFileState) IsTerminal ¶
func (k KnowledgeFileState) IsTerminal() bool
type KnowledgeSource ¶
type KnowledgeSource struct { Metadata KnowledgeSourceManifest `json:",inline"` AgentID string `json:"agentID,omitempty"` State KnowledgeSourceState `json:"state,omitempty"` SyncDetails json.RawMessage `json:"syncDetails,omitempty"` Status string `json:"status,omitempty"` Error string `json:"error,omitempty"` LastSyncStartTime *Time `json:"lastSyncStartTime,omitempty"` LastSyncEndTime *Time `json:"lastSyncEndTime,omitempty"` LastRunID string `json:"lastRunID,omitempty"` }
func (*KnowledgeSource) DeepCopy ¶
func (in *KnowledgeSource) DeepCopy() *KnowledgeSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeSource.
func (*KnowledgeSource) DeepCopyInto ¶
func (in *KnowledgeSource) DeepCopyInto(out *KnowledgeSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KnowledgeSourceInput ¶
type KnowledgeSourceInput struct { OneDriveConfig *OneDriveConfig `json:"onedriveConfig,omitempty"` NotionConfig *NotionConfig `json:"notionConfig,omitempty"` WebsiteCrawlingConfig *WebsiteCrawlingConfig `json:"websiteCrawlingConfig,omitempty"` }
func (*KnowledgeSourceInput) DeepCopy ¶
func (in *KnowledgeSourceInput) DeepCopy() *KnowledgeSourceInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeSourceInput.
func (*KnowledgeSourceInput) DeepCopyInto ¶
func (in *KnowledgeSourceInput) DeepCopyInto(out *KnowledgeSourceInput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KnowledgeSourceInput) GetCredential ¶
func (k *KnowledgeSourceInput) GetCredential() string
func (*KnowledgeSourceInput) GetType ¶
func (k *KnowledgeSourceInput) GetType() KnowledgeSourceType
func (*KnowledgeSourceInput) Validate ¶
func (k *KnowledgeSourceInput) Validate() error
type KnowledgeSourceList ¶
type KnowledgeSourceList List[KnowledgeSource]
func (*KnowledgeSourceList) DeepCopy ¶
func (in *KnowledgeSourceList) DeepCopy() *KnowledgeSourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeSourceList.
func (*KnowledgeSourceList) DeepCopyInto ¶
func (in *KnowledgeSourceList) DeepCopyInto(out *KnowledgeSourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KnowledgeSourceManifest ¶
type KnowledgeSourceManifest struct { SyncSchedule string `json:"syncSchedule,omitempty"` AutoApprove *bool `json:"autoApprove,omitempty"` FilePathPrefixInclude []string `json:"filePathPrefixInclude,omitempty"` FilePathPrefixExclude []string `json:"filePathPrefixExclude,omitempty"` KnowledgeSourceInput `json:",inline"` }
func (*KnowledgeSourceManifest) DeepCopy ¶
func (in *KnowledgeSourceManifest) DeepCopy() *KnowledgeSourceManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KnowledgeSourceManifest.
func (*KnowledgeSourceManifest) DeepCopyInto ¶
func (in *KnowledgeSourceManifest) DeepCopyInto(out *KnowledgeSourceManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KnowledgeSourceState ¶
type KnowledgeSourceState string
const ( KnowledgeSourceStatePending KnowledgeSourceState = "pending" KnowledgeSourceStateSyncing KnowledgeSourceState = "syncing" KnowledgeSourceStateSynced KnowledgeSourceState = "synced" KnowledgeSourceStateError KnowledgeSourceState = "error" )
func (KnowledgeSourceState) IsTerminal ¶
func (k KnowledgeSourceState) IsTerminal() bool
type KnowledgeSourceType ¶
type KnowledgeSourceType string
var ( KnowledgeSourceTypeOneDrive KnowledgeSourceType = "onedrive" KnowledgeSourceTypeNotion KnowledgeSourceType = "notion" KnowledgeSourceTypeWebsite KnowledgeSourceType = "website" )
type Metadata ¶
type Metadata struct { ID string `json:"id,omitempty"` Created Time `json:"created,omitempty"` Deleted *Time `json:"deleted,omitempty"` Revision string `json:"revision,omitempty"` Links map[string]string `json:"links,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` Type string `json:"type,omitempty"` }
func (*Metadata) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Model ¶
type Model struct { Metadata ModelManifest ModelStatus }
func (*Model) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model.
func (*Model) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelList ¶
func (*ModelList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelList.
func (*ModelList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelManifest ¶
type ModelManifest struct { Name string `json:"name,omitempty"` TargetModel string `json:"targetModel,omitempty"` ModelProvider string `json:"modelProvider,omitempty"` Alias string `json:"alias,omitempty"` Active bool `json:"active"` Usage ModelUsage `json:"usage"` }
func (*ModelManifest) DeepCopy ¶
func (in *ModelManifest) DeepCopy() *ModelManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelManifest.
func (*ModelManifest) DeepCopyInto ¶
func (in *ModelManifest) DeepCopyInto(out *ModelManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelProvider ¶
type ModelProvider struct { Metadata ModelProviderManifest ModelProviderStatus }
func (*ModelProvider) DeepCopy ¶
func (in *ModelProvider) DeepCopy() *ModelProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelProvider.
func (*ModelProvider) DeepCopyInto ¶
func (in *ModelProvider) DeepCopyInto(out *ModelProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelProviderList ¶
type ModelProviderList List[ModelProvider]
func (*ModelProviderList) DeepCopy ¶
func (in *ModelProviderList) DeepCopy() *ModelProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelProviderList.
func (*ModelProviderList) DeepCopyInto ¶
func (in *ModelProviderList) DeepCopyInto(out *ModelProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelProviderManifest ¶
type ModelProviderManifest struct { Name string `json:"name"` ToolReference string `json:"toolReference"` }
func (*ModelProviderManifest) DeepCopy ¶
func (in *ModelProviderManifest) DeepCopy() *ModelProviderManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelProviderManifest.
func (*ModelProviderManifest) DeepCopyInto ¶
func (in *ModelProviderManifest) DeepCopyInto(out *ModelProviderManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelProviderStatus ¶
type ModelProviderStatus struct { Icon string `json:"icon,omitempty"` Configured bool `json:"configured"` ModelsBackPopulated *bool `json:"modelsBackPopulated,omitempty"` RequiredConfigurationParameters []string `json:"requiredConfigurationParameters,omitempty"` MissingConfigurationParameters []string `json:"missingConfigurationParameters,omitempty"` OptionalConfigurationParameters []string `json:"optionalConfigurationParameters,omitempty"` }
func (*ModelProviderStatus) DeepCopy ¶
func (in *ModelProviderStatus) DeepCopy() *ModelProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelProviderStatus.
func (*ModelProviderStatus) DeepCopyInto ¶
func (in *ModelProviderStatus) DeepCopyInto(out *ModelProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelStatus ¶
type ModelStatus struct {
AliasAssigned *bool `json:"aliasAssigned,omitempty"`
}
func (*ModelStatus) DeepCopy ¶
func (in *ModelStatus) DeepCopy() *ModelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelStatus.
func (*ModelStatus) DeepCopyInto ¶
func (in *ModelStatus) DeepCopyInto(out *ModelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelUsage ¶
type ModelUsage string
const ( ModelUsageLLM ModelUsage = "llm" ModelUsageEmbedding ModelUsage = "text-embedding" ModelUsageImage ModelUsage = "image-generation" ModelUsageVision ModelUsage = "vision" ModelUsageOther ModelUsage = "other" ModelUsageUnknown ModelUsage = "" )
type NotionConfig ¶
type NotionConfig struct{}
func (*NotionConfig) DeepCopy ¶
func (in *NotionConfig) DeepCopy() *NotionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NotionConfig.
func (*NotionConfig) DeepCopyInto ¶
func (in *NotionConfig) DeepCopyInto(out *NotionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuthApp ¶
type OAuthApp struct {
OAuthAppManifest
}
func (*OAuthApp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthApp.
func (*OAuthApp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuthAppList ¶
func (*OAuthAppList) DeepCopy ¶
func (in *OAuthAppList) DeepCopy() *OAuthAppList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAppList.
func (*OAuthAppList) DeepCopyInto ¶
func (in *OAuthAppList) DeepCopyInto(out *OAuthAppList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuthAppLoginAuthStatus ¶
type OAuthAppLoginAuthStatus struct { URL string `json:"url,omitempty"` Authenticated bool `json:"authenticated,omitempty"` Required *bool `json:"required,omitempty"` Error string `json:"error,omitempty"` }
func (*OAuthAppLoginAuthStatus) DeepCopy ¶
func (in *OAuthAppLoginAuthStatus) DeepCopy() *OAuthAppLoginAuthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAppLoginAuthStatus.
func (*OAuthAppLoginAuthStatus) DeepCopyInto ¶
func (in *OAuthAppLoginAuthStatus) DeepCopyInto(out *OAuthAppLoginAuthStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuthAppManifest ¶
type OAuthAppManifest struct { Metadata Type OAuthAppType `json:"type"` Name string `json:"name,omitempty"` ClientID string `json:"clientID"` ClientSecret string `json:"clientSecret,omitempty"` // These fields are only needed for custom OAuth apps. AuthURL string `json:"authURL,omitempty"` TokenURL string `json:"tokenURL,omitempty"` // This field is only needed for Microsoft 365 OAuth apps. TenantID string `json:"tenantID,omitempty"` // This field is only needed for HubSpot OAuth apps. AppID string `json:"appID,omitempty"` // This field is optional for HubSpot OAuth apps. OptionalScope string `json:"optionalScope,omitempty"` // This field is required, it correlates to the integration name in the gptscript oauth cred tool Integration string `json:"integration,omitempty"` // Global indicates if the OAuth app is globally applied to all agents. Global *bool `json:"global,omitempty"` // This field is only used by Salesforce InstanceURL string `json:"instanceURL,omitempty"` }
func (*OAuthAppManifest) DeepCopy ¶
func (in *OAuthAppManifest) DeepCopy() *OAuthAppManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthAppManifest.
func (*OAuthAppManifest) DeepCopyInto ¶
func (in *OAuthAppManifest) DeepCopyInto(out *OAuthAppManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuthAppType ¶
type OAuthAppType string
const ( OAuthAppTypeAtlassian OAuthAppType = "atlassian" OAuthAppTypeMicrosoft365 OAuthAppType = "microsoft365" OAuthAppTypeSlack OAuthAppType = "slack" OAuthAppTypeNotion OAuthAppType = "notion" OAuthAppTypeHubSpot OAuthAppType = "hubspot" OAuthAppTypeGitHub OAuthAppType = "github" OAuthAppTypeGoogle OAuthAppType = "google" OAuthAppTypeSalesforce OAuthAppType = "salesforce" OAuthAppTypeCustom OAuthAppType = "custom" )
type OneDriveConfig ¶
type OneDriveConfig struct {
}func (*OneDriveConfig) DeepCopy ¶
func (in *OneDriveConfig) DeepCopy() *OneDriveConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OneDriveConfig.
func (*OneDriveConfig) DeepCopyInto ¶
func (in *OneDriveConfig) DeepCopyInto(out *OneDriveConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Progress ¶
type Progress struct { // RunID should be populated for all progress events to associate this event with a run // If RunID is not populated, the event will not specify tied to any particular run RunID string `json:"runID,omitempty"` // ParentRunID is the parent run of the run that is specified in the RunID field ParentRunID string `json:"parentRunID,omitempty"` // Time is the time the event was generated Time *Time `json:"time,omitempty"` // Content is the output data. The content for all events should be concatenated to form the entire output // If you wish to print event and are not concerned with tracking the internal progress when one can just // only the content field in a very simple loop Content string `json:"content"` // ContentID is a unique identifier for the content. This is used to track the content across multiple events. // This field applies to Content and ToolInput.Content fields. ContentID string `json:"contentID,omitempty"` // Some input that was provided to the run Input string `json:"input,omitempty"` // InputIsStepTemplateInput indicates that the input will be passed to a step template. Later an event will be // sent with the step template invoke information in the StepTemplateInvoke field InputIsStepTemplateInput bool `json:"inputIsStepTemplateInput,omitempty"` // StepTemplateInvoke indicates that a step template is being invoked StepTemplateInvoke *StepTemplateInvoke `json:"stepTemplateInvoke,omitempty"` // If prompt is set, content will also be set, but you can ignore the content field and instead handle the explicit // information in the prompt field which will provider more information for things such as OAuth Prompt *Prompt `json:"prompt,omitempty"` // The step that is currently being executed. When this is set the following events are assumed to be part of // this step until the next step is set. This field is not always set, only set when the set changes Step *Step `json:"step,omitempty"` // ToolInput indicates the LLM is currently generating tool arguments which can sometime take a while ToolInput *ToolInput `json:"toolInput,omitempty"` // ToolCall indicates the LLM is currently calling a tool. ToolCall *ToolCall `json:"toolCall,omitempty"` // ToolCall indicates the LLM is currently calling a tool. WorkflowCall *WorkflowCall `json:"workflowCall,omitempty"` // WaitingOnModel indicates we are waiting for the model to start responding with content WaitingOnModel bool `json:"waitingOnModel,omitempty"` // Error indicates that an error occurred Error string `json:"error,omitempty"` // The run is done, either success or failure RunComplete bool `json:"runComplete,omitempty"` // ReplayComplete indicates that all existing events have been sent and future events will be new events ReplayComplete bool `json:"replayComplete,omitempty"` }
func (*Progress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Progress.
func (*Progress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Prompt ¶
type Prompt struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Time *Time `json:"time,omitempty"` Message string `json:"message,omitempty"` Fields []string `json:"fields,omitempty"` Sensitive bool `json:"sensitive,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` }
func (*Prompt) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Prompt.
func (*Prompt) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PromptResponse ¶
type PromptResponse struct { ID string `json:"id,omitempty"` Responses map[string]string `json:"response,omitempty"` }
func (*PromptResponse) DeepCopy ¶
func (in *PromptResponse) DeepCopy() *PromptResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PromptResponse.
func (*PromptResponse) DeepCopyInto ¶
func (in *PromptResponse) DeepCopyInto(out *PromptResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Run ¶
type Run struct { ID string `json:"id,omitempty"` Created Time `json:"created,omitempty"` ThreadID string `json:"threadID,omitempty"` AgentID string `json:"agentID,omitempty"` WorkflowID string `json:"workflowID,omitempty"` WorkflowStepID string `json:"workflowStepID,omitempty"` SubCallWorkflowID string `json:"subCallWorkflowID,omitempty"` SubCallInput string `json:"subCallInput,omitempty"` PreviousRunID string `json:"previousRunID,omitempty"` Input string `json:"input"` State string `json:"state,omitempty"` Output string `json:"output,omitempty"` Error string `json:"error,omitempty"` }
func (*Run) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Run.
func (*Run) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunDebug ¶
type RunDebug struct { // Spec is opaque, for human eyes only Spec any `json:"spec"` // Status is opaque, for human eyes only Status any `json:"status"` Frames map[string]gptscript.CallFrame `json:"frames"` }
+k8s:openapi-gen=false
type RunList ¶
func (*RunList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunList.
func (*RunList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Schedule ¶
type Schedule struct { // Valid values are: "hourly", "daily", "weekly", "monthly" Interval string `json:"interval"` Hour int `json:"hour"` Minute int `json:"minute"` Day int `json:"day"` Weekday int `json:"weekday"` }
func (*Schedule) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Schedule.
func (*Schedule) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Step ¶
type Step struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` If *If `json:"if,omitempty"` While *While `json:"while,omitempty"` Template *Template `json:"template,omitempty"` Tools []string `json:"tools,omitempty"` Agents []string `json:"agents,omitempty"` Workflows []string `json:"workflows,omitempty"` Step string `json:"step,omitempty"` Cache *bool `json:"cache,omitempty"` Temperature *float32 `json:"temperature,omitempty"` }
func (*Step) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step.
func (*Step) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Step) SetCondition ¶
type StepTemplateInvoke ¶
type StepTemplateInvoke struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Args map[string]string `json:"args,omitempty"` Result string `json:"result,omitempty"` }
func (*StepTemplateInvoke) DeepCopy ¶
func (in *StepTemplateInvoke) DeepCopy() *StepTemplateInvoke
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepTemplateInvoke.
func (*StepTemplateInvoke) DeepCopyInto ¶
func (in *StepTemplateInvoke) DeepCopyInto(out *StepTemplateInvoke)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubFlow ¶
type SubFlow struct { Input string `json:"input,omitempty"` Workflow string `json:"workflow,omitempty"` }
func (*SubFlow) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubFlow.
func (*SubFlow) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Table ¶
type Table struct {
Name string `json:"name"`
}
func (*Table) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Table.
func (*Table) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableList ¶
func (*TableList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableList.
func (*TableList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableRow ¶
type TableRow struct { Columns []string `json:"columns,omitempty"` Values map[string]any `json:"values"` }
+k8s:openapi-gen=false
type Task ¶
type Task struct { Metadata TaskManifest Alias string `json:"alias,omitempty"` }
func (*Task) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Task.
func (*Task) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskEmail ¶
type TaskEmail struct { }
func (*TaskEmail) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskEmail.
func (*TaskEmail) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskIf ¶
type TaskIf struct { Condition string `json:"condition,omitempty"` Steps []TaskStep `json:"steps,omitempty"` Else []TaskStep `json:"else,omitempty"` }
func (*TaskIf) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskIf.
func (*TaskIf) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskList ¶
func (*TaskList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskList.
func (*TaskList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskManifest ¶
type TaskManifest struct { Name string `json:"name"` Description string `json:"description"` Steps []TaskStep `json:"steps"` Schedule *Schedule `json:"schedule"` Webhook *TaskWebhook `json:"webhook"` Email *TaskEmail `json:"email"` OnDemand *TaskOnDemand `json:"onDemand"` }
func (*TaskManifest) DeepCopy ¶
func (in *TaskManifest) DeepCopy() *TaskManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskManifest.
func (*TaskManifest) DeepCopyInto ¶
func (in *TaskManifest) DeepCopyInto(out *TaskManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskOnDemand ¶
func (*TaskOnDemand) DeepCopy ¶
func (in *TaskOnDemand) DeepCopy() *TaskOnDemand
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskOnDemand.
func (*TaskOnDemand) DeepCopyInto ¶
func (in *TaskOnDemand) DeepCopyInto(out *TaskOnDemand)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskRun ¶
type TaskRun struct { Metadata TaskID string `json:"taskID,omitempty"` Input string `json:"input,omitempty"` Task TaskManifest `json:"task,omitempty"` StartTime *Time `json:"startTime,omitempty"` EndTime *Time `json:"endTime,omitempty"` Error string `json:"error,omitempty"` }
func (*TaskRun) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRun.
func (*TaskRun) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskRunList ¶
func (*TaskRunList) DeepCopy ¶
func (in *TaskRunList) DeepCopy() *TaskRunList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRunList.
func (*TaskRunList) DeepCopyInto ¶
func (in *TaskRunList) DeepCopyInto(out *TaskRunList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskStep ¶
type TaskStep struct { ID string `json:"id,omitempty"` If *TaskIf `json:"if,omitempty"` Step string `json:"step,omitempty"` }
func (*TaskStep) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskStep.
func (*TaskStep) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskWebhook ¶
type TaskWebhook struct { }
func (*TaskWebhook) DeepCopy ¶
func (in *TaskWebhook) DeepCopy() *TaskWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskWebhook.
func (*TaskWebhook) DeepCopyInto ¶
func (in *TaskWebhook) DeepCopyInto(out *TaskWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Template ¶
type Template struct { Name string `json:"name,omitempty"` Args map[string]string `json:"args,omitempty"` }
func (*Template) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Thread ¶
type Thread struct { Metadata ThreadManifest AgentID string `json:"agentID,omitempty"` WorkflowID string `json:"workflowID,omitempty"` WebhookID string `json:"webhookID,omitempty"` EmailReceiverID string `json:"emailReceiverID,omitempty"` State string `json:"state,omitempty"` LastRunID string `json:"lastRunID,omitempty"` CurrentRunID string `json:"currentRunID,omitempty"` ParentThreadID string `json:"parentThreadID,omitempty"` UserID string `json:"userID,omitempty"` AgentAlias string `json:"agentAlias,omitempty"` Abort bool `json:"abort,omitempty"` Env []string `json:"env,omitempty"` }
func (*Thread) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Thread.
func (*Thread) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThreadList ¶
func (*ThreadList) DeepCopy ¶
func (in *ThreadList) DeepCopy() *ThreadList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreadList.
func (*ThreadList) DeepCopyInto ¶
func (in *ThreadList) DeepCopyInto(out *ThreadList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThreadManifest ¶
type ThreadManifest struct { Tools []string `json:"tools,omitempty"` Description string `json:"description,omitempty"` }
func (*ThreadManifest) DeepCopy ¶
func (in *ThreadManifest) DeepCopy() *ThreadManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThreadManifest.
func (*ThreadManifest) DeepCopyInto ¶
func (in *ThreadManifest) DeepCopyInto(out *ThreadManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Time ¶
func NewTimeFromPointer ¶
NewTimeFromPointer creates a new Time object from a pointer to a time.Time object. If the pointer is nil, the function returns nil.
func (*Time) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Time.
func (*Time) DeepCopyInto ¶
DeepCopyInto creates a deep-copy of the Time value. You can do a straight copy of the object because the underlying time.Time type is effectively immutable in the time API.
func (Time) MarshalJSON ¶
func (Time) OpenAPISchemaFormat ¶
func (Time) OpenAPISchemaType ¶
func (Time) ToUnstructured ¶
func (t Time) ToUnstructured() interface{}
ToUnstructured implement value.UnstructuredConverter to make k8s happy? Dunno if I really need this.
func (*Time) UnmarshalJSON ¶
type ToolCall ¶
type ToolCall struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Input string `json:"input,omitempty"` Output string `json:"output,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` }
func (*ToolCall) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolCall.
func (*ToolCall) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ToolInput ¶
type ToolInput struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Input string `json:"input,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` }
func (*ToolInput) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolInput.
func (*ToolInput) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ToolReference ¶
type ToolReference struct { Metadata ToolReferenceManifest Resolved bool `json:"resolved,omitempty"` Error string `json:"error,omitempty"` Builtin bool `json:"builtin,omitempty"` Description string `json:"description,omitempty"` Credential string `json:"credential,omitempty"` Params map[string]string `json:"params,omitempty"` }
func (*ToolReference) DeepCopy ¶
func (in *ToolReference) DeepCopy() *ToolReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolReference.
func (*ToolReference) DeepCopyInto ¶
func (in *ToolReference) DeepCopyInto(out *ToolReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ToolReferenceList ¶
type ToolReferenceList List[ToolReference]
func (*ToolReferenceList) DeepCopy ¶
func (in *ToolReferenceList) DeepCopy() *ToolReferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolReferenceList.
func (*ToolReferenceList) DeepCopyInto ¶
func (in *ToolReferenceList) DeepCopyInto(out *ToolReferenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ToolReferenceManifest ¶
type ToolReferenceManifest struct { Name string `json:"name"` ToolType ToolReferenceType `json:"toolType"` Reference string `json:"reference,omitempty"` Active bool `json:"active,omitempty"` }
func (*ToolReferenceManifest) DeepCopy ¶
func (in *ToolReferenceManifest) DeepCopy() *ToolReferenceManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ToolReferenceManifest.
func (*ToolReferenceManifest) DeepCopyInto ¶
func (in *ToolReferenceManifest) DeepCopyInto(out *ToolReferenceManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ToolReferenceType ¶
type ToolReferenceType string
const ( ToolReferenceTypeTool ToolReferenceType = "tool" ToolReferenceTypeStepTemplate ToolReferenceType = "stepTemplate" ToolReferenceTypeKnowledgeDataSource ToolReferenceType = "knowledgeDataSource" ToolReferenceTypeKnowledgeDocumentLoader ToolReferenceType = "knowledgeDocumentLoader" ToolReferenceTypeSystem ToolReferenceType = "system" ToolReferenceTypeModelProvider ToolReferenceType = "modelProvider" )
type User ¶
type User struct { Metadata Username string `json:"username,omitempty"` Role Role `json:"role,omitempty"` Email string `json:"email,omitempty"` IconURL string `json:"iconURL,omitempty"` }
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserList ¶
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Webhook ¶
type Webhook struct { Metadata WebhookManifest AliasAssigned *bool `json:"aliasAssigned,omitempty"` LastSuccessfulRunCompleted *Time `json:"lastSuccessfulRunCompleted,omitempty"` HasToken bool `json:"hasToken,omitempty"` }
func (*Webhook) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
func (*Webhook) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookList ¶
func (*WebhookList) DeepCopy ¶
func (in *WebhookList) DeepCopy() *WebhookList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookList.
func (*WebhookList) DeepCopyInto ¶
func (in *WebhookList) DeepCopyInto(out *WebhookList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookManifest ¶
type WebhookManifest struct { Name string `json:"name"` Description string `json:"description"` Alias string `json:"alias"` Workflow string `json:"workflow"` Headers []string `json:"headers"` Secret string `json:"secret"` ValidationHeader string `json:"validationHeader"` }
func (*WebhookManifest) DeepCopy ¶
func (in *WebhookManifest) DeepCopy() *WebhookManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookManifest.
func (*WebhookManifest) DeepCopyInto ¶
func (in *WebhookManifest) DeepCopyInto(out *WebhookManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebsiteCrawlingConfig ¶
type WebsiteCrawlingConfig struct {
URLs []string `json:"urls,omitempty"`
}
func (*WebsiteCrawlingConfig) DeepCopy ¶
func (in *WebsiteCrawlingConfig) DeepCopy() *WebsiteCrawlingConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebsiteCrawlingConfig.
func (*WebsiteCrawlingConfig) DeepCopyInto ¶
func (in *WebsiteCrawlingConfig) DeepCopyInto(out *WebsiteCrawlingConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type While ¶
type While struct { Condition string `json:"condition,omitempty"` MaxLoops int `json:"maxLoops,omitempty"` Steps []Step `json:"steps,omitempty"` }
func (*While) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new While.
func (*While) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Workflow ¶
type Workflow struct { Metadata WorkflowManifest AliasAssigned *bool `json:"aliasAssigned,omitempty"` AuthStatus map[string]OAuthAppLoginAuthStatus `json:"authStatus,omitempty"` TextEmbeddingModel string `json:"textEmbeddingModel,omitempty"` }
func (*Workflow) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Workflow.
func (*Workflow) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowCall ¶
type WorkflowCall struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` ThreadID string `json:"threadID,omitempty"` WorkflowID string `json:"workflowID,omitempty"` Input string `json:"input,omitempty"` }
func (*WorkflowCall) DeepCopy ¶
func (in *WorkflowCall) DeepCopy() *WorkflowCall
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowCall.
func (*WorkflowCall) DeepCopyInto ¶
func (in *WorkflowCall) DeepCopyInto(out *WorkflowCall)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowExecution ¶
type WorkflowExecution struct { Metadata Workflow WorkflowManifest `json:"workflow,omitempty"` StartTime Time `json:"startTime"` EndTime *Time `json:"endTime"` Input string `json:"input"` Error string `json:"error,omitempty"` }
func (*WorkflowExecution) DeepCopy ¶
func (in *WorkflowExecution) DeepCopy() *WorkflowExecution
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowExecution.
func (*WorkflowExecution) DeepCopyInto ¶
func (in *WorkflowExecution) DeepCopyInto(out *WorkflowExecution)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowExecutionList ¶
type WorkflowExecutionList List[WorkflowExecution]
func (*WorkflowExecutionList) DeepCopy ¶
func (in *WorkflowExecutionList) DeepCopy() *WorkflowExecutionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowExecutionList.
func (*WorkflowExecutionList) DeepCopyInto ¶
func (in *WorkflowExecutionList) DeepCopyInto(out *WorkflowExecutionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowList ¶
func (*WorkflowList) DeepCopy ¶
func (in *WorkflowList) DeepCopy() *WorkflowList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowList.
func (*WorkflowList) DeepCopyInto ¶
func (in *WorkflowList) DeepCopyInto(out *WorkflowList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowManifest ¶
type WorkflowManifest struct { AgentManifest `json:",inline"` Steps []Step `json:"steps"` Output string `json:"output"` }
func (*WorkflowManifest) DeepCopy ¶
func (in *WorkflowManifest) DeepCopy() *WorkflowManifest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkflowManifest.
func (*WorkflowManifest) DeepCopyInto ¶
func (in *WorkflowManifest) DeepCopyInto(out *WorkflowManifest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkflowState ¶
type WorkflowState string
const ( WorkflowStatePending WorkflowState = "Pending" WorkflowStateRunning WorkflowState = "Running" WorkflowStateError WorkflowState = "Error" WorkflowStateComplete WorkflowState = "Complete" WorkflowStateSubCall WorkflowState = "SubCall" WorkflowStateBlocked WorkflowState = "Blocked" )
func (WorkflowState) IsBlocked ¶
func (in WorkflowState) IsBlocked() bool
func (WorkflowState) IsTerminal ¶
func (in WorkflowState) IsTerminal() bool
Source Files ¶
- agent.go
- assitant.go
- credential.go
- cronjob.go
- defaultmodelalias.go
- doc.go
- emailreceiver.go
- errors.go
- file.go
- invoke.go
- knowledge.go
- knowledgesource.go
- model.go
- modelprovider.go
- oauthapp.go
- run.go
- tables.go
- tasks.go
- thread.go
- time.go
- toolreference.go
- types.go
- user.go
- webhook.go
- workflow.go
- workflowexecution.go
- zz_generated.deepcopy.go