View source: R/bedrockagentruntime_operations.R
bedrockagentruntime_rerank | R Documentation |
Reranks the relevance of sources based on queries. For more information, see Improve the relevance of query responses with a reranker model.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_rerank/ for full documentation.
bedrockagentruntime_rerank(
nextToken = NULL,
queries,
rerankingConfiguration,
sources
)
nextToken |
If the total number of results was greater than could fit in a response,
a token is returned in the |
queries |
[required] An array of objects, each of which contains information about a query to submit to the reranker model. |
rerankingConfiguration |
[required] Contains configurations for reranking. |
sources |
[required] An array of objects, each of which contains information about the sources to rerank. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.