@memnexus-ai/typescript-sdk 1.55.0-next.0 → 1.55.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.cjs CHANGED
@@ -6650,8 +6650,8 @@ var healthCheck = import_zod.z.object({
6650
6650
  checks: import_zod.z.object({}).catchall(serviceCheck)
6651
6651
  });
6652
6652
  var searchRequest = import_zod.z.object({
6653
- /** Search query */
6654
- query: import_zod.z.string().min(1).max(2e3),
6653
+ /** Search query. On POST all methods accept up to 32768 chars; the GET endpoint caps all methods at 2000 (use POST for larger queries). For queries over 2000 chars the keyword-matching side (the keyword method, and hybrid's fulltext/entity sub-branches) searches on a representative SAMPLE of the query's most salient terms rather than the whole text; the semantic branch still embeds the full query. Queries at or under 2000 chars are searched verbatim. */
6654
+ query: import_zod.z.string().min(1).max(32768),
6655
6655
  /** Content filtering mode (defaults to unified) */
6656
6656
  mode: import_zod.z.enum(["unified", "content", "facts"]).optional(),
6657
6657
  /** Search algorithm: hybrid (combined, default), semantic (vector), or keyword (fulltext). */
@@ -6793,6 +6793,8 @@ var searchResult = import_zod.z.lazy(() => import_zod.z.object({
6793
6793
  matchedVia: import_zod.z.array(import_zod.z.string()).optional(),
6794
6794
  /** Per-branch RRF scores for this result */
6795
6795
  branchScores: import_zod.z.object({}).catchall(import_zod.z.number()).optional(),
6796
+ /** Raw cross-encoder rerank score; present only when the reranker reordered this request's top-K (null otherwise) */
6797
+ rerankScore: import_zod.z.number().nullable().optional(),
6796
6798
  /** Detailed explanation of the match (only when explain=true) */
6797
6799
  explanation: import_zod.z.object({
6798
6800
  /** Human-readable explanation of why this result matched */