Documentation ¶
Index ¶
- Constants
- func DeleteCredential(req api.Context) error
- func GetVersion(req api.Context) error
- func ListCredentials(req api.Context) error
- func MetadataFrom(obj kclient.Object, linkKV ...string) types.Metadata
- type AgentHandler
- func (a *AgentHandler) ApproveKnowledgeFile(req api.Context) error
- func (a *AgentHandler) ByID(req api.Context) error
- func (a *AgentHandler) Create(req api.Context) error
- func (a *AgentHandler) CreateKnowledgeSource(req api.Context) error
- func (a *AgentHandler) Delete(req api.Context) error
- func (a *AgentHandler) DeleteFile(req api.Context) error
- func (a *AgentHandler) DeleteKnowledgeFile(req api.Context) error
- func (a *AgentHandler) DeleteKnowledgeSource(req api.Context) error
- func (a *AgentHandler) EnsureCredentialForKnowledgeSource(req api.Context) error
- func (a *AgentHandler) List(req api.Context) error
- func (a *AgentHandler) ListFiles(req api.Context) error
- func (a *AgentHandler) ListKnowledgeFiles(req api.Context) error
- func (a *AgentHandler) ListKnowledgeSources(req api.Context) error
- func (a *AgentHandler) ReIngestKnowledgeFile(req api.Context) error
- func (a *AgentHandler) ReSyncKnowledgeSource(req api.Context) error
- func (a *AgentHandler) Script(req api.Context) error
- func (a *AgentHandler) Update(req api.Context) error
- func (a *AgentHandler) UpdateKnowledgeSource(req api.Context) error
- func (a *AgentHandler) UploadFile(req api.Context) error
- func (a *AgentHandler) UploadKnowledgeFile(req api.Context) error
- type AssistantHandler
- func (a *AssistantHandler) AddTool(req api.Context) error
- func (a *AssistantHandler) DeleteFile(req api.Context) error
- func (a *AssistantHandler) DeleteKnowledge(req api.Context) error
- func (a *AssistantHandler) Events(req api.Context) error
- func (a *AssistantHandler) Files(req api.Context) error
- func (a *AssistantHandler) GetFile(req api.Context) error
- func (a *AssistantHandler) Invoke(req api.Context) error
- func (a *AssistantHandler) Knowledge(req api.Context) error
- func (a *AssistantHandler) List(req api.Context) error
- func (a *AssistantHandler) RemoveTool(req api.Context) error
- func (a *AssistantHandler) Tools(req api.Context) error
- func (a *AssistantHandler) UploadFile(req api.Context) error
- func (a *AssistantHandler) UploadKnowledge(req api.Context) error
- type CronJobHandler
- func (a *CronJobHandler) ByID(req api.Context) error
- func (a *CronJobHandler) Create(req api.Context) error
- func (a *CronJobHandler) Delete(req api.Context) error
- func (a *CronJobHandler) Execute(req api.Context) error
- func (a *CronJobHandler) List(req api.Context) error
- func (a *CronJobHandler) Update(req api.Context) error
- type InvokeHandler
- type ModelHandler
- type RunHandler
- type ThreadHandler
- func (a *ThreadHandler) ByID(req api.Context) error
- func (a *ThreadHandler) Delete(req api.Context) error
- func (a *ThreadHandler) DeleteFile(req api.Context) error
- func (a *ThreadHandler) DeleteKnowledge(req api.Context) error
- func (a *ThreadHandler) Events(req api.Context) error
- func (a *ThreadHandler) Files(req api.Context) error
- func (a *ThreadHandler) GetFile(req api.Context) error
- func (a *ThreadHandler) Knowledge(req api.Context) error
- func (a *ThreadHandler) List(req api.Context) error
- func (a *ThreadHandler) Update(req api.Context) error
- func (a *ThreadHandler) UploadFile(req api.Context) error
- func (a *ThreadHandler) UploadKnowledge(req api.Context) error
- type ToolReferenceHandler
- func (a *ToolReferenceHandler) ByID(req api.Context) error
- func (a *ToolReferenceHandler) Create(req api.Context) (err error)
- func (a *ToolReferenceHandler) Delete(req api.Context) error
- func (a *ToolReferenceHandler) List(req api.Context) error
- func (a *ToolReferenceHandler) Update(req api.Context) error
- type WebhookHandler
- func (a *WebhookHandler) ByID(req api.Context) error
- func (a *WebhookHandler) Create(req api.Context) error
- func (a *WebhookHandler) Delete(req api.Context) error
- func (a *WebhookHandler) Execute(req api.Context) error
- func (a *WebhookHandler) List(req api.Context) error
- func (a *WebhookHandler) Update(req api.Context) error
- type WorkflowHandler
- func (a *WorkflowHandler) ByID(req api.Context) error
- func (a *WorkflowHandler) Create(req api.Context) error
- func (a *WorkflowHandler) Delete(req api.Context) error
- func (a *WorkflowHandler) DeleteFile(req api.Context) error
- func (a *WorkflowHandler) Files(req api.Context) error
- func (a *WorkflowHandler) List(req api.Context) error
- func (a *WorkflowHandler) Script(req api.Context) error
- func (a *WorkflowHandler) Update(req api.Context) error
- func (a *WorkflowHandler) UploadFile(req api.Context) error
Constants ¶
View Source
const ( PasswordHTTPHeader = "X-Otto8-Webhook-Password" PasswordQueryParam = "webhookPassword" )
View Source
const DefaultMaxUserThreadTools = 5
Variables ¶
This section is empty.
Functions ¶
func DeleteCredential ¶
func GetVersion ¶
func ListCredentials ¶
Types ¶
type AgentHandler ¶
type AgentHandler struct {
// contains filtered or unexported fields
}
func NewAgentHandler ¶
func NewAgentHandler(gClient *gptscript.GPTScript, serverURL string) *AgentHandler
func (*AgentHandler) ApproveKnowledgeFile ¶
func (a *AgentHandler) ApproveKnowledgeFile(req api.Context) error
func (*AgentHandler) CreateKnowledgeSource ¶
func (a *AgentHandler) CreateKnowledgeSource(req api.Context) error
func (*AgentHandler) DeleteFile ¶
func (a *AgentHandler) DeleteFile(req api.Context) error
func (*AgentHandler) DeleteKnowledgeFile ¶
func (a *AgentHandler) DeleteKnowledgeFile(req api.Context) error
func (*AgentHandler) DeleteKnowledgeSource ¶
func (a *AgentHandler) DeleteKnowledgeSource(req api.Context) error
func (*AgentHandler) EnsureCredentialForKnowledgeSource ¶
func (a *AgentHandler) EnsureCredentialForKnowledgeSource(req api.Context) error
func (*AgentHandler) ListKnowledgeFiles ¶
func (a *AgentHandler) ListKnowledgeFiles(req api.Context) error
func (*AgentHandler) ListKnowledgeSources ¶
func (a *AgentHandler) ListKnowledgeSources(req api.Context) error
func (*AgentHandler) ReIngestKnowledgeFile ¶
func (a *AgentHandler) ReIngestKnowledgeFile(req api.Context) error
func (*AgentHandler) ReSyncKnowledgeSource ¶
func (a *AgentHandler) ReSyncKnowledgeSource(req api.Context) error
func (*AgentHandler) UpdateKnowledgeSource ¶
func (a *AgentHandler) UpdateKnowledgeSource(req api.Context) error
func (*AgentHandler) UploadFile ¶
func (a *AgentHandler) UploadFile(req api.Context) error
func (*AgentHandler) UploadKnowledgeFile ¶
func (a *AgentHandler) UploadKnowledgeFile(req api.Context) error
type AssistantHandler ¶
type AssistantHandler struct {
// contains filtered or unexported fields
}
func NewAssistantHandler ¶
func NewAssistantHandler(invoker *invoke.Invoker, events *events.Emitter, gptScript *gptscript.GPTScript) *AssistantHandler
func (*AssistantHandler) DeleteFile ¶
func (a *AssistantHandler) DeleteFile(req api.Context) error
func (*AssistantHandler) DeleteKnowledge ¶
func (a *AssistantHandler) DeleteKnowledge(req api.Context) error
func (*AssistantHandler) RemoveTool ¶
func (a *AssistantHandler) RemoveTool(req api.Context) error
func (*AssistantHandler) UploadFile ¶
func (a *AssistantHandler) UploadFile(req api.Context) error
func (*AssistantHandler) UploadKnowledge ¶
func (a *AssistantHandler) UploadKnowledge(req api.Context) error
type CronJobHandler ¶
type CronJobHandler struct{}
func NewCronJobHandler ¶
func NewCronJobHandler() *CronJobHandler
type InvokeHandler ¶
type InvokeHandler struct {
// contains filtered or unexported fields
}
func NewInvokeHandler ¶
func NewInvokeHandler(invoker *invoke.Invoker) *InvokeHandler
type ModelHandler ¶
type ModelHandler struct{}
func NewModelHandler ¶
func NewModelHandler() *ModelHandler
type RunHandler ¶
type RunHandler struct {
// contains filtered or unexported fields
}
func NewRunHandler ¶
func NewRunHandler(events *events.Emitter) *RunHandler
type ThreadHandler ¶
type ThreadHandler struct {
// contains filtered or unexported fields
}
func NewThreadHandler ¶
func NewThreadHandler(gClient *gptscript.GPTScript, events *events.Emitter) *ThreadHandler
func (*ThreadHandler) DeleteFile ¶
func (a *ThreadHandler) DeleteFile(req api.Context) error
func (*ThreadHandler) DeleteKnowledge ¶
func (a *ThreadHandler) DeleteKnowledge(req api.Context) error
func (*ThreadHandler) UploadFile ¶
func (a *ThreadHandler) UploadFile(req api.Context) error
func (*ThreadHandler) UploadKnowledge ¶
func (a *ThreadHandler) UploadKnowledge(req api.Context) error
type ToolReferenceHandler ¶
type ToolReferenceHandler struct{}
func NewToolReferenceHandler ¶
func NewToolReferenceHandler() *ToolReferenceHandler
type WebhookHandler ¶
type WebhookHandler struct{}
func NewWebhookHandler ¶
func NewWebhookHandler() *WebhookHandler
type WorkflowHandler ¶
type WorkflowHandler struct {
// contains filtered or unexported fields
}
func NewWorkflowHandler ¶
func NewWorkflowHandler(gClient *gptscript.GPTScript, serverURL string) *WorkflowHandler
func (*WorkflowHandler) DeleteFile ¶
func (a *WorkflowHandler) DeleteFile(req api.Context) error
func (*WorkflowHandler) UploadFile ¶
func (a *WorkflowHandler) UploadFile(req api.Context) error
Click to show internal directories.
Click to hide internal directories.