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: clients/ts-sdk/src/functions/groups/index.ts
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
7
7
import{
8
8
AddChunkToGroupReqPayload,
9
+
AutocompleteSearchOverGroupsReqPayload,
9
10
CreateChunkGroupReqPayloadEnum,
10
11
DeleteChunkGroupData,
11
12
DeleteGroupByTrackingIdData,
@@ -540,3 +541,35 @@ export async function getGroupsForDataset(
540
541
signal,
541
542
);
542
543
}
544
+
545
+
/**
546
+
* Provides autocomplete suggestions for group-oriented searches. This function returns suggested completions based on partial queries that can be used to search over groups. Useful for implementing search-as-you-type functionality for group searches.
547
+
*
548
+
* Example:
549
+
* ```js
550
+
* const data = await trieve.groupOrientedAutcomplete({
0 commit comments