Reranks the relevance of sources based on queries
Source:R/bedrockagentruntime_operations.R
bedrockagentruntime_rerank.RdReranks 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.
Arguments
- nextToken
If the total number of results was greater than could fit in a response, a token is returned in the
nextTokenfield. You can enter that token in this field to return the next batch of results.- 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.