Guide to surfacing relevant content from your organization’s own data
/recommendations/base
: Returns item and snippet metadata but keeps the snippet text itself hidden./recommendations/verbose
: Returns item and snippet data, including the full snippet text.Parameter | Description | Required |
---|---|---|
query | The prompt that the user enters into the application. | Yes |
collection | The collection to search in. | Yes |
tenant | The tenant to search. | Yes |
publishers | A list of Publisher Names. Only publishers belonging to your organization are allowed. | Yes |
max_snippet_count_overall | The maximum number of snippets to search through overall. | Yes |
certainty_threshold | The minimum certainty threshold for snippets. | No |
media_types | An array of media types to filter by (audio , video , book , article ). | No |
min_snippet_count_per_item | The minimum number of snippets an item must have to be returned. Must be at least 1. | No |
GlooProd
. You must specify this in the collection
field.POST /ai/v1/data/items/recommendations/base
/base
)/base
)uuids
array contains snippet metadata, but not the snippet text itself.
POST /ai/v1/data/items/recommendations/verbose
/verbose
)/verbose
)snippet
field in the uuids
array.
/recommendations/base
endpoint to recommend their own relevant books, articles, or videos. This enhances content discovery and keeps users engaged on the platform.
If the publisher wanted to provide a preview of the content, they could use the /recommendations/verbose
endpoint to display a relevant snippet or a sample of one, encouraging the user to explore the full item.