@agentskit/memory
Advanced tools
+13
-17
@@ -192,2 +192,10 @@ import { ChatMemory, VectorMemory, VectorFilter, Message } from '@agentskit/core'; | ||
| collection: string; | ||
| /** Chroma tenant. Defaults to `default_tenant`. */ | ||
| tenant?: string; | ||
| /** Chroma database. Defaults to `default_database`. */ | ||
| database?: string; | ||
| /** Chroma token sent through the `x-chroma-token` header. */ | ||
| apiKey?: string; | ||
| /** Additional headers for hosted or proxied Chroma deployments. */ | ||
| headers?: Record<string, string>; | ||
| topK?: number; | ||
@@ -217,2 +225,4 @@ fetch?: typeof globalThis.fetch; | ||
| table?: string; | ||
| /** Purpose-specific similarity-search RPC. Default `match_agentskit_vectors`. */ | ||
| matchFunction?: string; | ||
| /** Default topK for search. Default 10. */ | ||
@@ -222,19 +232,5 @@ topK?: number; | ||
| /** | ||
| * Supabase-hosted pgvector. Wraps the existing `pgvector` adapter with a | ||
| * Supabase RPC runner so callers don't need to import a separate pg driver. | ||
| * | ||
| * Server-side setup (run once in Supabase SQL editor): | ||
| * create extension if not exists vector; | ||
| * create table agentskit_vectors ( | ||
| * id text primary key, content text, embedding vector(1536), | ||
| * metadata jsonb | ||
| * ); | ||
| * create or replace function agentskit_execute_sql(sql text, params jsonb) | ||
| * returns setof json language plpgsql security definer as $$ | ||
| * begin | ||
| * return query execute sql using params; | ||
| * end; | ||
| * $$; | ||
| * | ||
| * `@supabase/supabase-js` is an optional peer dependency loaded lazily. | ||
| * Supabase-hosted pgvector using direct PostgREST mutations and one | ||
| * purpose-specific similarity-search RPC. The service-role key stays | ||
| * server-side and `@supabase/supabase-js` is loaded lazily. | ||
| */ | ||
@@ -241,0 +237,0 @@ declare function supabaseVectorStore(config: SupabaseVectorStoreConfig): VectorMemory; |
+13
-17
@@ -192,2 +192,10 @@ import { ChatMemory, VectorMemory, VectorFilter, Message } from '@agentskit/core'; | ||
| collection: string; | ||
| /** Chroma tenant. Defaults to `default_tenant`. */ | ||
| tenant?: string; | ||
| /** Chroma database. Defaults to `default_database`. */ | ||
| database?: string; | ||
| /** Chroma token sent through the `x-chroma-token` header. */ | ||
| apiKey?: string; | ||
| /** Additional headers for hosted or proxied Chroma deployments. */ | ||
| headers?: Record<string, string>; | ||
| topK?: number; | ||
@@ -217,2 +225,4 @@ fetch?: typeof globalThis.fetch; | ||
| table?: string; | ||
| /** Purpose-specific similarity-search RPC. Default `match_agentskit_vectors`. */ | ||
| matchFunction?: string; | ||
| /** Default topK for search. Default 10. */ | ||
@@ -222,19 +232,5 @@ topK?: number; | ||
| /** | ||
| * Supabase-hosted pgvector. Wraps the existing `pgvector` adapter with a | ||
| * Supabase RPC runner so callers don't need to import a separate pg driver. | ||
| * | ||
| * Server-side setup (run once in Supabase SQL editor): | ||
| * create extension if not exists vector; | ||
| * create table agentskit_vectors ( | ||
| * id text primary key, content text, embedding vector(1536), | ||
| * metadata jsonb | ||
| * ); | ||
| * create or replace function agentskit_execute_sql(sql text, params jsonb) | ||
| * returns setof json language plpgsql security definer as $$ | ||
| * begin | ||
| * return query execute sql using params; | ||
| * end; | ||
| * $$; | ||
| * | ||
| * `@supabase/supabase-js` is an optional peer dependency loaded lazily. | ||
| * Supabase-hosted pgvector using direct PostgREST mutations and one | ||
| * purpose-specific similarity-search RPC. The service-role key stays | ||
| * server-side and `@supabase/supabase-js` is loaded lazily. | ||
| */ | ||
@@ -241,0 +237,0 @@ declare function supabaseVectorStore(config: SupabaseVectorStoreConfig): VectorMemory; |
+1
-1
| { | ||
| "name": "@agentskit/memory", | ||
| "version": "0.11.6", | ||
| "version": "0.11.7", | ||
| "description": "Persistent and vector memory backends for AgentsKit.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
+1
-1
@@ -112,3 +112,3 @@ # @agentskit/memory | ||
| - `qdrant` — self-hosted or cloud via HTTP. | ||
| - `chroma` — HTTP collection client. | ||
| - `chroma` — Chroma v2 HTTP client with tenant, database, and token support. | ||
| - `upstashVector` — serverless HTTP. | ||
@@ -115,0 +115,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
598780
2.31%4948
1.6%