@memnexus-ai/typescript-sdk 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3172,7 +3172,7 @@ declare const searchRequest: z.ZodLazy<z.ZodObject<{
|
|
|
3172
3172
|
* @typedef {SearchRequest} searchRequest
|
|
3173
3173
|
* @property {string} - Search query
|
|
3174
3174
|
* @property {Mode} - Content filtering mode (defaults to unified)
|
|
3175
|
-
* @property {SearchMethod} - Search algorithm:
|
|
3175
|
+
* @property {SearchMethod} - Search algorithm: hybrid (combined, default), semantic (vector), or keyword (fulltext).
|
|
3176
3176
|
* @property {number} - Maximum number of results (defaults to 20)
|
|
3177
3177
|
* @property {number} - Offset for pagination (defaults to 0)
|
|
3178
3178
|
* @property {number} - Weight for vector (semantic) results in hybrid search (0-1, defaults to 0.7)
|
|
@@ -3593,9 +3593,9 @@ declare class MemoriesService extends BaseService {
|
|
|
3593
3593
|
*/
|
|
3594
3594
|
createMemory(body: CreateMemoryRequest, requestConfig?: RequestConfig): Promise<HttpResponse<CreateMemoryResponse>>;
|
|
3595
3595
|
/**
|
|
3596
|
-
* Search memories using different search methods:- **
|
|
3596
|
+
* Search memories using different search methods:- **hybrid** (default): Combines semantic and keyword search with Reciprocal Rank Fusion
|
|
3597
3597
|
- **semantic**: Vector-based semantic search using OpenAI embeddings
|
|
3598
|
-
- **
|
|
3598
|
+
- **keyword**: Traditional fulltext search using Lucene
|
|
3599
3599
|
|
|
3600
3600
|
The `mode` parameter controls content filtering (unified, content, facts).
|
|
3601
3601
|
The `searchMethod` parameter controls the search algorithm.
|
package/dist/index.js
CHANGED
|
@@ -4284,9 +4284,9 @@ var MemoriesService = class extends BaseService {
|
|
|
4284
4284
|
return this.client.call(request);
|
|
4285
4285
|
}
|
|
4286
4286
|
/**
|
|
4287
|
-
* Search memories using different search methods:- **
|
|
4287
|
+
* Search memories using different search methods:- **hybrid** (default): Combines semantic and keyword search with Reciprocal Rank Fusion
|
|
4288
4288
|
- **semantic**: Vector-based semantic search using OpenAI embeddings
|
|
4289
|
-
- **
|
|
4289
|
+
- **keyword**: Traditional fulltext search using Lucene
|
|
4290
4290
|
|
|
4291
4291
|
The `mode` parameter controls content filtering (unified, content, facts).
|
|
4292
4292
|
The `searchMethod` parameter controls the search algorithm.
|
package/dist/index.mjs
CHANGED
|
@@ -4223,9 +4223,9 @@ var MemoriesService = class extends BaseService {
|
|
|
4223
4223
|
return this.client.call(request);
|
|
4224
4224
|
}
|
|
4225
4225
|
/**
|
|
4226
|
-
* Search memories using different search methods:- **
|
|
4226
|
+
* Search memories using different search methods:- **hybrid** (default): Combines semantic and keyword search with Reciprocal Rank Fusion
|
|
4227
4227
|
- **semantic**: Vector-based semantic search using OpenAI embeddings
|
|
4228
|
-
- **
|
|
4228
|
+
- **keyword**: Traditional fulltext search using Lucene
|
|
4229
4229
|
|
|
4230
4230
|
The `mode` parameter controls content filtering (unified, content, facts).
|
|
4231
4231
|
The `searchMethod` parameter controls the search algorithm.
|
package/package.json
CHANGED