Replies: 1 comment
-
All right. Look like using a reranking model decreases the score of the results by something near to 0. I could fix it by specifying a So now only my second question is still relevant: why does not allow passing a full vectorSearchConfiguration as other frameworks do? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I'm in the process of migrating few bedrock agents into strands agents.
I've been successfully using bedrock agents querying knowledge bases. At invocation time, I've been able to add a
rerankingConfiguration
into thevectorSearchConfiguration
of the retrieval configuration. That has been working well so far for those bedrock agents.Now that I try to migrate them to strands, I've seen that neither the
retrieve
tool nor thememory
tool allow injecting arerankingConfiguration
. Both tools just have a very limited default configuration in their implementation:I could modify it to specify a
filter
property in thatvectorSearchConfiguration
, and it's working as expected.However, at the time of adding a
rerankingConfiguration
the query to the knowledge base always returns no results. The same configuration when used while invoking a bedrock agent is working fine. Even using theAmazonKnowledgeBasesRetriever
connector in llamaIndex does its job.So my questions are:
rerankingConfiguration
?vectorSearchConfiguration
as other frameworks do?This is how I modified the code at the retrieve tool (indeed, I have access to the reranking model in Oregon)
Thanks. I'm very excited to finally see my agents running with strands!
Beta Was this translation helpful? Give feedback.
All reactions