Documentation ¶
Overview ¶
Package vqueue manages the vector cache layer for reducing FFI overhead for fast Agent processing.
Package vqueue manages the vector cache layer for reducing FFI overhead for fast Agent processing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue interface { PushInsert(uuid string, vector []float32, date int64) error PushDelete(uuid string, date int64) error GetVector(uuid string) (vec []float32, timestamp int64, exists bool) Range(ctx context.Context, f func(uuid string, vector []float32, ts int64) bool) RangePopInsert(ctx context.Context, now int64, f func(uuid string, vector []float32, date int64) bool) RangePopDelete(ctx context.Context, now int64, f func(uuid string) bool) IVExists(uuid string) bool DVExists(uuid string) bool IVQLen() int DVQLen() int }
Queue represents vector queue cache interface
Click to show internal directories.
Click to hide internal directories.