Versions in this module Expand all Collapse all v1 v1.3.8 May 19, 2026 Changes in this version type ConvoMemResult + func RunConvoMemInterface(ctx context.Context, categories []string, limitPerCategory, topK int, ...) (ConvoMemResult, error) + type InterfaceCorpus struct + func (c *InterfaceCorpus) Close() error + func (c *InterfaceCorpus) Search(query string, limit int) ([]string, error) + type InterfaceCorpusBuilder struct + func NewInterfaceCorpusBuilder(provider vector.Provider) *InterfaceCorpusBuilder + func NewInterfaceCorpusBuilderWithOptions(provider vector.Provider, options InterfaceCorpusBuilderOptions) *InterfaceCorpusBuilder + func (b *InterfaceCorpusBuilder) CacheStats() InterfaceCorpusCacheStats + func (b *InterfaceCorpusBuilder) NewCorpus(documents []InterfaceDocument) (*InterfaceCorpus, error) + func (b *InterfaceCorpusBuilder) SearchWithDaemon(ctx context.Context, daemon InterfaceCorpusDaemon, ...) ([]string, error) + type InterfaceCorpusBuilderOptions struct + CorpusCacheRoot string + type InterfaceCorpusCacheStats struct + Hits int64 + Misses int64 + type InterfaceCorpusDaemon interface + CorpusCacheKey func() string + EnsureCorpus func(ctx context.Context, key string, documents []InterfaceDocument) error + SearchCorpus func(ctx context.Context, key, query string, limit int) ([]string, error) + type InterfaceDocument struct + Content string + CreatedAt *time.Time + Depth int + Extract string + ID string + Mode importer.Mode + UpdatedAt *time.Time type LoCoMoResult + func RunLoCoMoInterface(ctx context.Context, dataFile string, limit int, topK int, ...) (LoCoMoResult, error) + type LongMemEvalInterfaceOptions struct + CorpusCacheDir string type LongMemEvalResult + func RunLongMemEvalInterface(ctx context.Context, dataFile string, limit int, provider vector.Provider) (LongMemEvalResult, error) + func RunLongMemEvalInterfaceWithOptions(ctx context.Context, dataFile string, limit int, provider vector.Provider, ...) (LongMemEvalResult, error) type MemBenchResult + func RunMemBenchInterface(ctx context.Context, dataDir string, categories []string, topic string, ...) (MemBenchResult, error) v1.3.7 Apr 13, 2026 v1.3.5 Apr 13, 2026 v1.3.2 Apr 12, 2026 Changes in this version + var ConvoMemCategories = map[string]string + func FormatConvoMem(result ConvoMemResult) string + func FormatLoCoMo(result LoCoMoResult) string + func FormatLongMemEval(result LongMemEvalResult) string + func FormatMemBench(result MemBenchResult) string + func FormatPerf(result PerfResult) string + func WriteConvoMemResult(path string, result ConvoMemResult) error + func WriteLoCoMoResult(path string, result LoCoMoResult) error + func WriteLongMemEvalResult(path string, result LongMemEvalResult) error + func WriteMemBenchResult(path string, result MemBenchResult) error + func WritePerfResult(path string, result PerfResult) error + type ConvoMemConversation struct + Messages []ConvoMemMessage + type ConvoMemEvidenceFile struct + EvidenceItems []ConvoMemItem + type ConvoMemItem struct + Answer string + CategoryKey string + Conversations []ConvoMemConversation + MessageEvidences []ConvoMemMessageEvidence + Question string + type ConvoMemItemResult struct + Category string + EvidenceCount int + Found int + Question string + Recall float64 + RetrievedCount int + type ConvoMemMessage struct + Speaker string + Text string + type ConvoMemMessageEvidence struct + Text string + type ConvoMemResult struct + AverageRecall float64 + Distribution map[string]int + ElapsedSeconds float64 + Items int + PerCategory map[string]float64 + Results []ConvoMemItemResult + func RunConvoMem(ctx context.Context, categories []string, limitPerCategory, topK int, ...) (ConvoMemResult, error) + type LatencyStats struct + AvgMs float64 + Count int + MaxMs float64 + MinMs float64 + P50Ms float64 + P95Ms float64 + P99Ms float64 + type LoCoMoDialog struct + DiaID string + Speaker string + Text string + type LoCoMoItemResult struct + Category int + Evidence []string + Question string + Recall float64 + Retrieved []string + type LoCoMoQA struct + Category int + Evidence []string + Question string + type LoCoMoResult struct + AverageRecall float64 + Distribution map[string]int + ElapsedSeconds float64 + PerCategory map[int]float64 + Questions int + Results []LoCoMoItemResult + func RunLoCoMo(ctx context.Context, dataFile string, limit int, topK int, ...) (LoCoMoResult, error) + type LongMemEvalEntry struct + AnswerSessionIDs []string + HaystackDates []string + HaystackSessionIDs []string + HaystackSessions [][]Turn + Question string + QuestionDateRaw string + QuestionType string + func (e LongMemEvalEntry) QuestionDate() string + type LongMemEvalItemResult struct + CorrectSessionIDs []string + NDCGAt10 float64 + Question string + QuestionType string + RecallAt1 float64 + RecallAt10 float64 + RecallAt5 float64 + ReciprocalRank float64 + TopResults []string + type LongMemEvalResult struct + Distribution map[string]int + ElapsedSeconds float64 + Items []LongMemEvalItemResult + MRR float64 + NDCGAt10 float64 + PerQuestionType map[string]float64 + Questions int + RecallAt1 float64 + RecallAt10 float64 + RecallAt5 float64 + func RunLongMemEval(ctx context.Context, dataFile string, limit int, provider vector.Provider) (LongMemEvalResult, error) + type MemBenchItem struct + AnswerText string + Category string + GroundTruth string + Question string + TID int + TargetStepIDs [][]interface{} + Topic string + Turns interface{} + type MemBenchItemResult struct + Category string + GroundTruth string + HitAtK bool + Question string + RetrievedSteps []int + TargetSteps []int + Topic string + type MemBenchResult struct + ElapsedSeconds float64 + Items int + PerCategory map[string]float64 + RecallAtK float64 + Results []MemBenchItemResult + TopK int + func RunMemBench(ctx context.Context, dataDir string, categories []string, topic string, ...) (MemBenchResult, error) + type PerfResult struct + AddLatency LatencyStats + AddThroughputPerSec float64 + Entries int + IndexSizeBytes int64 + InitMs float64 + SearchLatency LatencyStats + SearchThroughputPerSec float64 + Searches int + StoreSizeBytes int64 + func RunPerf(root string, entries, searches int, provider vector.Provider) (PerfResult, error) + type Turn struct + Content string + Role string