Versions in this module Expand all Collapse all v0 v0.0.1 Jul 11, 2026 Changes in this version + type APIError struct + Code int + Detail json.RawMessage + ErrorCode string + Message string + StatusCode int + func (e *APIError) Error() string + type AddInput struct + CommitID string + DeviceNo string + GroupID string + GroupName string + SessionID string + Turns []Turn + type Config struct + APIKey string + DeviceNo string + Endpoint string + HTTPClient *http.Client + type EvidenceDetail struct + AtomicFacts []string + EventID string + GroupID *string + Role *string + SenderName *string + Source string + Text string + Timestamp *string + type JobAck struct + JobID string + SessionID string + Status string + StatusURL string + type JobOperations struct + func (jobs *JobOperations) Get(ctx context.Context, jobID string) (JobStatus, error) + func (jobs *JobOperations) Wait(ctx context.Context, jobID string, options ...WaitOption) (JobStatus, error) + type JobStatus struct + JobID string + SessionID string + Status string + type Memory struct + func NewMemory(config Config) (*Memory, error) + func (m *Memory) Add(ctx context.Context, input AddInput) (JobAck, error) + func (m *Memory) Jobs() *JobOperations + func (m *Memory) Search(ctx context.Context, input SearchInput) (SearchResult, error) + func (m *Memory) SearchHybrid(ctx context.Context, input SearchInput) (SearchResult, error) + type Role string + const RoleAssistant + const RoleSystem + const RoleUser + type SearchInput struct + DeviceNo string + GroupID string + Limit int + Query string + type SearchResult struct + Evidence []string + EvidenceDetails []EvidenceDetail + Query string + RequestedGroupID *string + Strategy string + type TimeoutError struct + JobID string + LastJob *JobStatus + func (e *TimeoutError) Error() string + func (e *TimeoutError) Unwrap() error + type Turn struct + Content string + ReferList []string + Role Role + SenderName string + Timestamp string + TurnID string + type ValidationError struct + Field string + Message string + func (e *ValidationError) Error() string + type WaitOption interface + func WithPollInterval(interval time.Duration) WaitOption + func WithWaitTimeout(timeout time.Duration) WaitOption