Versions in this module Expand all Collapse all v0 v0.0.1 Sep 28, 2026 Changes in this version + const DefaultBaseURL + const DefaultConsoleHost + const DefaultMaxRetries + const DefaultRetryDelay + const DefaultTimeout + const Dislike + const DocumentArchive + const DocumentDisable + const DocumentEnable + const DocumentUnarchive + const EnvAPIBaseURL + const EnvAPIKey + const EnvConsoleCSRFToken + const EnvConsoleToken + const EnvDatasetAPIKey + const EnvHost + const Like + const MaxRateLimitWait + const MaxWalk + const NoRating + const SearchFullText + const SearchHybrid + const SearchKeyword + const SearchSemantic + const StageDrafted + const StageNotImported + const StagePublished + const StageRunnable + const StageUnknown + var ErrAuthentication = kernel.ErrAuthentication + var ErrCostUnknown = entity.ErrCostUnknown + var ErrFileUpload = kernel.ErrFileUpload + var ErrNetwork = kernel.ErrNetwork + var ErrNotFound = kernel.ErrNotFound + var ErrRateLimited = kernel.ErrRateLimited + var ErrTimeout = kernel.ErrTimeout + var ErrValidation = kernel.ErrValidation + func FormToken(run *WorkflowRun) (string, error) + func MaskSecret(value string) string + func OpenApp(ctx context.Context, opts ...Option) (*App, *AppInfo, error) + func RetrievalModel(p *RetrievalModelParams) (map[string]any, error) + func UserAgent() string + func Version() string + func WeightedScore(p WeightedScoreParams) (map[string]any, error) + type APIError = kernel.APIError + type APIKey = entity.APIKey + type AgentListParams = usecase.AgentListParams + type AgentSummary = entity.AgentSummary + type Agents = usecase.Agents + type Amount = entity.Amount + func ParseAmount(s string) (Amount, error) + type Annotation = entity.Annotation + type AnnotationListParams = usecase.AnnotationListParams + type AnnotationReplyJob = entity.AnnotationReplyJob + type Annotations = usecase.Annotations + type App = usecase.App + func NewApp(opts ...Option) (*App, error) + type AppInfo = entity.AppInfo + type AppKeys = usecase.AppKeys + type AppListParams = usecase.AppListParams + type AppParameters = entity.AppParameters + type AppSummary = entity.AppSummary + type Apps = usecase.Apps + type ArgumentError = kernel.ArgumentError + type Audio = usecase.Audio + type Chat = usecase.Chat + type ChildChunkListParams = usecase.ChildChunkListParams + type CompletionParams = usecase.CompletionParams + type Completions = usecase.Completions + type Conversation = entity.Conversation + type ConversationListParams = usecase.ConversationListParams + type Conversations = usecase.Conversations + type Dataset = entity.Dataset + type DatasetCreateParams = usecase.DatasetCreateParams + type DatasetKeys = usecase.DatasetKeys + type DatasetListParams = usecase.DatasetListParams + type DatasetUpdateParams = usecase.DatasetUpdateParams + type Datasets = usecase.Datasets + type DatasourcesParams = usecase.DatasourcesParams + type DeployParams = usecase.DeployParams + type Deployment = entity.Deployment + type Document = entity.Document + type DocumentCreateParams = usecase.DocumentCreateParams + type DocumentListParams = usecase.DocumentListParams + type DocumentStatus = usecase.DocumentStatus + type DocumentUpdateFileParams = usecase.DocumentUpdateFileParams + type DocumentUpdateTextParams = usecase.DocumentUpdateTextParams + type Documents = usecase.Documents + type DraftRunParams = usecase.DraftRunParams + type EventsParams = usecase.EventsParams + type FeedbackParams = usecase.FeedbackParams + type Files = usecase.Files + type Form = entity.Form + type Forms = usecase.Forms + type HistoryMessage = entity.HistoryMessage + type HistoryParams = usecase.HistoryParams + type ImportParams = usecase.ImportParams + type IndexingStatus = entity.IndexingStatus + type InputField = entity.InputField + type KeyFunc = infra.KeyFunc + type Knowledge = usecase.Knowledge + func NewKnowledge(opts ...Option) (*Knowledge, error) + type LogParams = usecase.LogParams + type ManagedApp = usecase.ManagedApp + type Management = usecase.Management + func LoginManagement(ctx context.Context, email, password string, opts ...Option) (*Management, error) + func NewManagement(opts ...Option) (*Management, error) + type Message = entity.Message + type MessageParams = usecase.MessageParams + type MessageStream = codec.MessageStream + type Messages = usecase.Messages + type MetadataField = entity.MetadataField + type Model = entity.Model + type ModelProvider = entity.ModelProvider + type NodeExecution = entity.NodeExecution + type Option = infra.Option + func WithAPIKey(key string) Option + func WithAPIKeyFunc(f KeyFunc) Option + func WithBaseURL(u string) Option + func WithCSRFToken(token string) Option + func WithConsoleToken(token string) Option + func WithHTTPClient(h *http.Client) Option + func WithHost(host string) Option + func WithLogger(l *slog.Logger) Option + func WithMaxRetries(n int) Option + func WithRetryDelay(d time.Duration) Option + func WithTimeout(d time.Duration) Option + func WithUser(user string) Option + type Page = codec.Page[T] + type PageLimitError = codec.PageLimitError + type PageParams = usecase.PageParams + type Pipeline = usecase.Pipeline + type PipelineDeployParams = usecase.PipelineDeployParams + type PipelineDeployment = entity.PipelineDeployment + type PipelineImportParams = usecase.PipelineImportParams + type PipelineIngestion = entity.PipelineIngestion + type PipelineRunInput = usecase.PipelineRunInput + type PipelineSummary = entity.PipelineSummary + type Pipelines = usecase.Pipelines + type Plugin = entity.Plugin + type Rating = usecase.Rating + type RenameParams = usecase.RenameParams + type ReplySettings = usecase.ReplySettings + type RetrievalHit = entity.RetrievalHit + type RetrievalModelParams = usecase.RetrievalModelParams + type RunDatasourceParams = usecase.RunDatasourceParams + type RunEvent = codec.RunEvent + type RunParams = usecase.RunParams + type SearchParams = usecase.SearchParams + type Segment = entity.Segment + type SegmentListParams = usecase.SegmentListParams + type Segments = usecase.Segments + type ServerInfo = entity.ServerInfo + func Probe(ctx context.Context, baseURL string) (*ServerInfo, error) + type SiteSettings = entity.SiteSettings + type SkillImportParams = usecase.SkillImportParams + type Skills = usecase.Skills + type SpeakParams = usecase.SpeakParams + type Stage = entity.Stage + type StageError = entity.StageError + type Tag = entity.Tag + type Tags = usecase.Tags + type Tool = entity.Tool + type ToolParameter = entity.ToolParameter + type ToolProvider = entity.ToolProvider + type Tools = usecase.Tools + type TransportError = kernel.TransportError + type Trigger = entity.Trigger + type Triggers = usecase.Triggers + type Upload = usecase.Upload + func FileFromPath(path string) Upload + func FileFromReader(name string, r io.Reader) Upload + type UploadedFile = entity.UploadedFile + type Usage = entity.Usage + type VariableParams = usecase.VariableParams + type WaitParams = usecase.WaitParams + type WebhookTrigger = entity.WebhookTrigger + type WeightedScoreParams = usecase.WeightedScoreParams + type WorkflowRun = entity.WorkflowRun + func CollectRun(r io.Reader) (*WorkflowRun, error) + type WorkflowRunStream = codec.WorkflowRunStream + type WorkflowRuns = usecase.WorkflowRuns + type Workflows = usecase.Workflows + type WorkspaceModels = usecase.WorkspaceModels + type WorkspaceSkill = entity.WorkspaceSkill