Enums§
- AddChunk
ToGroup ByTracking IdError - struct for typed errors of method
add_chunk_to_group_by_tracking_id
- AddChunk
ToGroup Error - struct for typed errors of method
add_chunk_to_group
- Create
Chunk Group Error - struct for typed errors of method
create_chunk_group
- Delete
Chunk Group Error - struct for typed errors of method
delete_chunk_group
- Delete
Group ByTracking IdError - struct for typed errors of method
delete_group_by_tracking_id
- GetChunk
Group Error - struct for typed errors of method
get_chunk_group
- GetChunks
InGroup ByTracking IdError - struct for typed errors of method
get_chunks_in_group_by_tracking_id
- GetChunks
InGroup Error - struct for typed errors of method
get_chunks_in_group
- GetGroup
ByTracking IdError - struct for typed errors of method
get_group_by_tracking_id
- GetGroups
ForChunks Error - struct for typed errors of method
get_groups_for_chunks
- GetGroups
ForDataset Error - struct for typed errors of method
get_groups_for_dataset
- GetRecommended
Groups Error - struct for typed errors of method
get_recommended_groups
- Remove
Chunk From Group Error - struct for typed errors of method
remove_chunk_from_group
- Search
Over Groups Error - struct for typed errors of method
search_over_groups
- Search
Within Group Error - struct for typed errors of method
search_within_group
- Update
Chunk Group Error - struct for typed errors of method
update_chunk_group
- Update
Group ByTracking IdError - struct for typed errors of method
update_group_by_tracking_id
Functions§
- add_
chunk_ to_ group - Route to add a chunk to a group. One of chunk_id or chunk_tracking_id must be provided. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
- add_
chunk_ to_ group_ by_ tracking_ id - Route to add a chunk to a group by tracking id. One of chunk_id or chunk_tracking_id must be provided. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
- create_
chunk_ group - Create new chunk_group(s). This is a way to group chunks together. If you try to create a chunk_group with the same tracking_id as an existing chunk_group, this operation will fail. Only 1000 chunk groups can be created at a time. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
- delete_
chunk_ group - This will delete a chunk_group. If you set delete_chunks to true, it will also delete the chunks within the group. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
- delete_
group_ by_ tracking_ id - Delete a chunk_group with the given tracking id. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
- get_
chunk_ group - Fetch the group with the given id. get_group
- get_
chunks_ in_ group - Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks. Page is 1-indexed.
- get_
chunks_ in_ group_ by_ tracking_ id - Route to get all chunks for a group. The response is paginated, with each page containing 10 chunks. Support for custom page size is coming soon. Page is 1-indexed.
- get_
group_ by_ tracking_ id - Fetch the group with the given tracking id. get_group_by_tracking_id
- get_
groups_ for_ chunks - Route to get the groups that a chunk is in.
- get_
groups_ for_ dataset - Fetch the groups which belong to a dataset specified by its id.
- get_
recommended_ groups - Route to get recommended groups. This route will return groups which are similar to the groups in the request body. You must provide at least one positive group id or group tracking id.
- remove_
chunk_ from_ group - Route to remove a chunk from a group. Auth’ed user or api key must be an admin or owner of the dataset’s organization to remove a chunk from a group.
- search_
over_ groups - This route allows you to get groups as results instead of chunks. Each group returned will have the matching chunks sorted by similarity within the group. This is useful for when you want to get groups of chunks which are similar to the search query. If choosing hybrid search, the results will be re-ranked using scores from a cross encoder model. Compatible with semantic, fulltext, or hybrid search modes.
- search_
within_ group - This route allows you to search only within a group. This is useful for when you only want search results to contain chunks which are members of a specific group. If choosing hybrid search, the results will be re-ranked using scores from a cross encoder model.
- update_
chunk_ group - Update a chunk_group. One of group_id or tracking_id must be provided. If you try to change the tracking_id to one that already exists, this operation will fail. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.
- update_
group_ by_ tracking_ id - Update a chunk_group with the given tracking id. Auth’ed user or api key must have an admin or owner role for the specified dataset’s organization.