@soat/sdk 0.48.0 → 0.49.1

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
@@ -354,9 +354,7 @@ async function setAuthParams(options) {
354
354
  case "cookie":
355
355
  options.headers.append("Cookie", `${name}=${token}`);
356
356
  break;
357
- default:
358
- options.headers.set(name, token);
359
- break;
357
+ default: options.headers.set(name, token);
360
358
  }
361
359
  }
362
360
  }
@@ -513,9 +511,7 @@ const createClient = (config = {}) => {
513
511
  case "stream":
514
512
  emptyData = response.body;
515
513
  break;
516
- default:
517
- emptyData = {};
518
- break;
514
+ default: emptyData = {};
519
515
  }
520
516
  return opts.responseStyle === "data" ? emptyData : {
521
517
  data: emptyData,
@@ -2631,7 +2627,7 @@ var Knowledge = class {
2631
2627
  /**
2632
2628
  * Search knowledge
2633
2629
  *
2634
- * Searches across documents and memory entries using semantic search, file paths, document IDs, memory IDs, or tags. At least one of `query`, `tags`, `document_paths`, `document_ids`, or `memory_ids` must be provided.
2630
+ * Searches across documents and memory entries using hybrid retrieval — a vector query and a full-text query per source, fused by reciprocal rank — or by file paths, document IDs, memory IDs, or tags. At least one of `query`, `tags`, `document_paths`, `document_ids`, or `memory_ids` must be provided.
2635
2631
  */
2636
2632
  static searchKnowledge(options) {
2637
2633
  return (options.client ?? client).post({