VectorMemoryStore

org.llm4s.agent.memory.VectorMemoryStore
See theVectorMemoryStore companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(dbPath: String, embeddingService: EmbeddingService, config: MemoryStoreConfig): Result[VectorMemoryStore]

Create a vector memory store with file-based SQLite storage.

Create a vector memory store with file-based SQLite storage.

Attributes

def fromEnv(client: EmbeddingClient, embeddingModel: EmbeddingModelConfig, dbPath: String, config: MemoryStoreConfig): Result[VectorMemoryStore]

Create a vector store from environment configuration. Uses the configured embedding provider.

Create a vector store from environment configuration. Uses the configured embedding provider.

Attributes

Create an in-memory vector store (for testing).

Create an in-memory vector store (for testing).

Attributes

Concrete fields

The most texts storeAll sends to the embedding service in one embedBatch call.

The most texts storeAll sends to the embedding service in one embedBatch call.

Attributes