Documentation
¶
Index ¶
- func PrintForget(w io.Writer, id int64)
- func PrintMemory(w io.Writer, memory domain.Memory)
- func PrintMemoryAdded(w io.Writer, memory domain.Memory)
- func PrintMemoryJSON(w io.Writer, memory domain.Memory) error
- func PrintMemoryList(w io.Writer, memories []domain.Memory)
- func PrintMemoryListJSON(w io.Writer, memories []domain.Memory) error
- func PrintSearchResults(w io.Writer, memories []domain.Memory)
- func PrintSearchResultsJSON(w io.Writer, memories []domain.Memory) error
- func PrintSemanticResults(w io.Writer, results []store.SemanticHit, withDistance bool)
- func PrintSemanticResultsJSON(w io.Writer, results []store.SemanticHit) error
- func PrintStats(w io.Writer, stats Stats)
- func PrintStatsJSON(w io.Writer, stats Stats) error
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintForget ¶
func PrintSearchResultsJSON ¶
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 ¶
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"`
}
Click to show internal directories.
Click to hide internal directories.