episodicqdrant

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements episodic vector operations against Qdrant.

func New

New creates a Qdrant-backed episodic vector client using the given TracerProvider. Pass nil to fall back to a noop provider. New creates a Qdrant-backed episodic vector client. Pass nil for tp to fall back to a noop provider. Pass nil for prop to fall back to a W3C TraceContext-only participating propagator.

func NewEpisodicQdrantClientForTest added in v0.2.2

func NewEpisodicQdrantClientForTest(conn *grpc.ClientConn, collectionName string) *Client

NewEpisodicQdrantClientForTest constructs a Client using an already-dialed *grpc.ClientConn. Only for use in tests.

func (*Client) Close

func (c *Client) Close() error

Close closes the underlying gRPC connection.

func (*Client) DeleteMemoryVectors

func (c *Client) DeleteMemoryVectors(ctx context.Context, memoryID uuid.UUID) error

DeleteMemoryVectors removes all vectors for the given memory ID.

func (*Client) SearchMemoryVectors

func (c *Client) SearchMemoryVectors(ctx context.Context, namespacePrefix string, embedding []float32, filter registryepisodic.AttributeFilter, memoryKind string, limit int, archived registryepisodic.ArchiveFilter) ([]registryepisodic.MemoryVectorSearch, error)

SearchMemoryVectors searches vectors using namespace_ancestors + attribute filter.

func (*Client) UpsertMemoryVectors

func (c *Client) UpsertMemoryVectors(ctx context.Context, items []registryepisodic.MemoryVectorUpsert) error

UpsertMemoryVectors writes memory vectors to Qdrant.

Jump to

Keyboard shortcuts

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