Versions in this module Expand all Collapse all v0 v0.2.0 Jul 6, 2026 v0.1.0 Jul 6, 2026 Changes in this version + const DefaultBaseURL + const Version + type Client struct + func NewClient(opts ...Option) (*Client, error) + func (c *Client) API() *api.Client + func (c *Client) APIKey() string + func (c *Client) BaseURL() string + func (c *Client) Conversations() *ConversationsService + func (c *Client) Deployments() *DeploymentsService + func (c *Client) Documents() *DocumentsService + func (c *Client) Faces() *FacesService + func (c *Client) Guardrails() *GuardrailsService + func (c *Client) Objectives() *ObjectivesService + func (c *Client) Pals() *PalsService + func (c *Client) Tools() *ToolsService + func (c *Client) Videos() *VideosService + func (c *Client) Voices() *VoicesService + type ConversationsService struct + func (s *ConversationsService) Create(ctx context.Context, req *api.CreateConversationRequest) (*api.CreateConversationResponse, error) + func (s *ConversationsService) Delete(ctx context.Context, conversationID string) error + func (s *ConversationsService) End(ctx context.Context, conversationID string) error + func (s *ConversationsService) Get(ctx context.Context, conversationID string) (*api.Conversation, error) + func (s *ConversationsService) List(ctx context.Context, params api.ListConversationsParams) (*api.ListConversationsResponse, error) + type DeploymentsService struct + func (s *DeploymentsService) Create(ctx context.Context, req *api.CreateDeploymentRequest) (*api.Deployment, error) + func (s *DeploymentsService) Delete(ctx context.Context, deploymentID string) error + func (s *DeploymentsService) Get(ctx context.Context, deploymentID string) (*api.Deployment, error) + func (s *DeploymentsService) List(ctx context.Context, params api.ListDeploymentsParams) (*api.ListDeploymentsResponse, error) + func (s *DeploymentsService) Update(ctx context.Context, deploymentID string, req *api.UpdateDeploymentRequest) (*api.Deployment, error) + type DocumentsService struct + func (s *DocumentsService) Create(ctx context.Context, req *api.CreateDocumentRequest) (*api.CreateDocumentResponse, error) + func (s *DocumentsService) Delete(ctx context.Context, documentID string) error + func (s *DocumentsService) Get(ctx context.Context, documentID string) (*api.Document, error) + func (s *DocumentsService) List(ctx context.Context, params api.ListDocumentsParams) (*api.ListDocumentsResponse, error) + func (s *DocumentsService) Update(ctx context.Context, documentID string, req *api.UpdateDocumentRequest) (*api.Document, error) + type FacesService struct + func (s *FacesService) Create(ctx context.Context, req *api.CreateFaceRequest) (*api.CreateFaceResponse, error) + func (s *FacesService) Delete(ctx context.Context, faceID string) error + func (s *FacesService) Get(ctx context.Context, faceID string) (*api.Face, error) + func (s *FacesService) List(ctx context.Context, params api.ListFacesParams) (*api.ListFacesResponse, error) + func (s *FacesService) Rename(ctx context.Context, faceID, name string) error + type GuardrailsService struct + func (s *GuardrailsService) Create(ctx context.Context, req *api.CreateGuardrailRequest) (*api.Guardrail, error) + func (s *GuardrailsService) Delete(ctx context.Context, guardrailID string) error + func (s *GuardrailsService) Get(ctx context.Context, guardrailID string) (*api.Guardrail, error) + func (s *GuardrailsService) List(ctx context.Context, params api.ListGuardrailsParams) (*api.ListGuardrailsResponse, error) + func (s *GuardrailsService) Update(ctx context.Context, guardrailID string, req *api.UpdateGuardrailRequest) (*api.Guardrail, error) + type ObjectivesService struct + func (s *ObjectivesService) Create(ctx context.Context, req *api.CreateObjectivesRequest) (*api.CreateObjectivesResponse, error) + func (s *ObjectivesService) Delete(ctx context.Context, objectivesID string) error + func (s *ObjectivesService) Get(ctx context.Context, objectivesID string) (*api.Objectives, error) + func (s *ObjectivesService) List(ctx context.Context, params api.ListObjectivesParams) (*api.ListObjectivesResponse, error) + func (s *ObjectivesService) Update(ctx context.Context, objectivesID string, req *api.UpdateObjectivesRequest) (*api.Objectives, error) + type Option func(*clientOptions) + func WithAPIKey(apiKey string) Option + func WithBaseURL(baseURL string) Option + func WithHTTPClient(client *http.Client) Option + func WithTimeout(timeout time.Duration) Option + type PalsService struct + func (s *PalsService) AttachTool(ctx context.Context, palID, toolID string) error + func (s *PalsService) Create(ctx context.Context, req *api.CreatePalRequest) (*api.CreatePalResponse, error) + func (s *PalsService) Delete(ctx context.Context, palID string) error + func (s *PalsService) Get(ctx context.Context, palID string) (*api.Pal, error) + func (s *PalsService) List(ctx context.Context, params api.ListPalsParams) (*api.ListPalsResponse, error) + func (s *PalsService) Update(ctx context.Context, palID string, req *api.UpdatePalRequest) (*api.Pal, error) + type ToolsService struct + func (s *ToolsService) Create(ctx context.Context, req *api.CreateToolRequest) (*api.Tool, error) + func (s *ToolsService) Delete(ctx context.Context, toolID string) error + func (s *ToolsService) Get(ctx context.Context, toolID string) (*api.Tool, error) + func (s *ToolsService) List(ctx context.Context, params api.ListToolsParams) (*api.ListToolsResponse, error) + func (s *ToolsService) Update(ctx context.Context, toolID string, req *api.UpdateToolRequest) (*api.Tool, error) + type VideosService struct + func (s *VideosService) Create(ctx context.Context, req *api.CreateVideoRequest) (*api.CreateVideoResponse, error) + func (s *VideosService) Delete(ctx context.Context, videoID string) error + func (s *VideosService) Get(ctx context.Context, videoID string) (*api.Video, error) + func (s *VideosService) List(ctx context.Context, params api.ListVideosParams) (*api.ListVideosResponse, error) + func (s *VideosService) Rename(ctx context.Context, videoID, name string) error + type VoicesService struct + func (s *VoicesService) List(ctx context.Context, params api.ListVoicesParams) (*api.ListVoicesResponse, error)