memory

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: Apache-2.0 Imports: 7 Imported by: 5 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	EdgeFollows     = model.EdgeFollows
	EdgeExplains    = model.EdgeExplains
	EdgeContradicts = model.EdgeContradicts
	EdgeDerivedFrom = model.EdgeDerivedFrom

	SpaceRoleReader = sessionpkg.SpaceRoleReader
	SpaceRoleWriter = sessionpkg.SpaceRoleWriter
	SpaceRoleAdmin  = sessionpkg.SpaceRoleAdmin
)

Variables

View Source
var (
	ErrNotSupported = embedpkg.ErrNotSupported

	NewEngine              = memengine.NewEngine
	DefaultOptions         = memengine.DefaultOptions
	NewMemoryBank          = sessionpkg.NewMemoryBank
	NewMemoryBankWithStore = sessionpkg.NewMemoryBankWithStore
	NewSessionMemory       = sessionpkg.NewSessionMemory
	NewSharedSession       = sessionpkg.NewSharedSession
	NewSpaceRegistry       = sessionpkg.NewSpaceRegistry

	AutoEmbedder        = embedpkg.AutoEmbedder
	DummyEmbedding      = embedpkg.DummyEmbedding
	NewOpenAIEmbedder   = embedpkg.NewOpenAIEmbedder
	NewVertexAIEmbedder = embedpkg.NewVertexAIEmbedder
	NewOllamaEmbedder   = embedpkg.NewOllamaEmbedder
	NewFastEmbeed       = embedpkg.NewFastEmbeed
	NewClaudeEmbedder   = embedpkg.NewClaudeEmbedder

	NewInMemoryStore = storepkg.NewInMemoryStore
	NewPostgresStore = storepkg.NewPostgresStore
	NewQdrantStore   = storepkg.NewQdrantStore
	NewNeo4jStore    = storepkg.NewNeo4jStore
	NewMongoStore    = storepkg.NewMongoStore
)
View Source
var NewMarkdownStore = markdownpkg.NewStore

Functions

func ChunkText added in v0.6.8

func ChunkText(text string, chunkSize int) []string

ChunkText splits long text into roughly `chunkSize` rune segments along line or paragraph boundaries for better embedding quality.

Types

type CreateCollectionRequest

type CreateCollectionRequest = storepkg.CreateCollectionRequest

Type aliases preserving the original public API.

type Distance

type Distance = storepkg.Distance

Type aliases preserving the original public API.

type DummyEmbedder

type DummyEmbedder = embedpkg.DummyEmbedder

Type aliases preserving the original public API.

type EdgeType

type EdgeType = model.EdgeType

Type aliases preserving the original public API.

type Embedder

type Embedder = embedpkg.Embedder

Type aliases preserving the original public API.

type Engine

type Engine = memengine.Engine

Type aliases preserving the original public API.

type GraphEdge

type GraphEdge = model.GraphEdge

Type aliases preserving the original public API.

type GraphStore

type GraphStore = storepkg.GraphStore

Type aliases preserving the original public API.

type HeuristicSummarizer

type HeuristicSummarizer = memengine.HeuristicSummarizer

Type aliases preserving the original public API.

type InMemoryStore

type InMemoryStore = storepkg.InMemoryStore

Type aliases preserving the original public API.

type MarkdownRecord added in v1.11.6

type MarkdownRecord = markdownpkg.Record

type MarkdownStore added in v1.11.6

type MarkdownStore = markdownpkg.Store

type MemoryBank

type MemoryBank = sessionpkg.MemoryBank

Type aliases preserving the original public API.

type MemoryRecord

type MemoryRecord = model.MemoryRecord

Type aliases preserving the original public API.

type Metrics

type Metrics = memengine.Metrics

Type aliases preserving the original public API.

type MetricsSnapshot

type MetricsSnapshot = memengine.MetricsSnapshot

Type aliases preserving the original public API.

type MongoStore added in v0.6.7

type MongoStore = storepkg.MongoStore

Type aliases preserving the original public API.

type Neo4jStore

type Neo4jStore = storepkg.Neo4jStore

Type aliases preserving the original public API.

type Options

type Options = memengine.Options

Type aliases preserving the original public API.

type PostgresStore

type PostgresStore = storepkg.PostgresStore

Type aliases preserving the original public API.

type QdrantStore

type QdrantStore = storepkg.QdrantStore

Type aliases preserving the original public API.

type SchemaInitializer

type SchemaInitializer = storepkg.SchemaInitializer

Type aliases preserving the original public API.

type ScoreWeights

type ScoreWeights = memengine.ScoreWeights

Type aliases preserving the original public API.

type SessionMemory

type SessionMemory = sessionpkg.SessionMemory

Type aliases preserving the original public API.

type SharedSession

type SharedSession = sessionpkg.SharedSession

Type aliases preserving the original public API.

type Space

type Space = sessionpkg.Space

Type aliases preserving the original public API.

type SpaceRegistry

type SpaceRegistry = sessionpkg.SpaceRegistry

Type aliases preserving the original public API.

type SpaceRole

type SpaceRole = sessionpkg.SpaceRole

Type aliases preserving the original public API.

type Summarizer

type Summarizer = memengine.Summarizer

Type aliases preserving the original public API.

type VectorStore

type VectorStore = storepkg.VectorStore

Type aliases preserving the original public API.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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