You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/search/@types/index.ts
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,7 @@
1
1
exporttypeMethodParamsOptions={
2
+
/**
3
+
* The context ID to be used for the request, you can get all context IDs by calling `hyper.contexts.list()` and then using the `id` field from the response.
Copy file name to clipboardExpand all lines: src/search/search.ts
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,18 @@ import type { MethodParamsOptions, SearchResultData } from './@types';
4
4
exportclassSearch{
5
5
constructor(privatereadonlyhyper: Hyper){}
6
6
7
+
/**
8
+
* Execute embeddings Search API to perform nuanced searches across integrated third-party data sources and internal documents. More information: https://docs.gethyper.ai/search#post-v1-search
9
+
* @param {string} query - The query to be processed
10
+
* @param {MethodParamsOptions} options - Optional parameters to be passed to the request, such as `contextId`
11
+
* @returns The result of embeddings Search API to perform nuanced searches across integrated third-party data sources and internal documents
0 commit comments