output

package
v0.1.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintForget

func PrintForget(w io.Writer, id int64)

func PrintMemory

func PrintMemory(w io.Writer, memory domain.Memory)

func PrintMemoryAdded

func PrintMemoryAdded(w io.Writer, memory domain.Memory)

func PrintMemoryJSON

func PrintMemoryJSON(w io.Writer, memory domain.Memory) error

func PrintMemoryList

func PrintMemoryList(w io.Writer, memories []domain.Memory)

func PrintMemoryListJSON

func PrintMemoryListJSON(w io.Writer, memories []domain.Memory) error

func PrintSearchResults

func PrintSearchResults(w io.Writer, memories []domain.Memory)

func PrintSearchResultsJSON

func PrintSearchResultsJSON(w io.Writer, memories []domain.Memory) error

func PrintSemanticResults

func PrintSemanticResults(w io.Writer, results []store.SemanticHit, withDistance bool)

func PrintSemanticResultsJSON

func PrintSemanticResultsJSON(w io.Writer, results []store.SemanticHit) error

func PrintStats

func PrintStats(w io.Writer, stats Stats)

func PrintStatsJSON

func PrintStatsJSON(w io.Writer, stats Stats) error

Types

type Stats

type Stats struct {
	DBPath              string `json:"db_path"`
	ModelCache          string `json:"model_cache"`
	Memories            int64  `json:"memories"`
	ModelID             string `json:"model_id"`
	ModelRevision       string `json:"model_revision"`
	ModelManifestSHA256 string `json:"model_manifest_sha256"`
	ModelVerified       bool   `json:"model_verified"`
	IndexedMemories     int64  `json:"indexed_memories"`
	StaleMemories       int64  `json:"stale_memories"`
	MissingEmbeddings   int64  `json:"missing_embeddings"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL