-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add tutorials for cross encoder models on Amazon Bedrock #3278
base: main
Are you sure you want to change the base?
add tutorials for cross encoder models on Amazon Bedrock #3278
Conversation
Signed-off-by: tkykenmt <[email protected]>
Signed-off-by: tkykenmt <[email protected]>
…n recieve empty result from a model. Signed-off-by: tkykenmt <[email protected]>
"content-type": "application/json" | ||
}, | ||
"pre_process_function": """ | ||
def query_text = params.query_text; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about raising a PR for pre & post processor functions for Bedrock rerank model like these.
In that way, customer can just mention the name of the pre/post process function rather than writing painless script in the connector payload.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think built-in pre & post processor is good solution to reduce overhead and ease implementation. I've submitted issues for the topic.
I'm not familiar with code development, but I'm happy to contribute in this area.
Description
Add tutorials for Amazon Bedrock cross-encoder model (Amazon Rerank 1.0 and Cohere Rerank 3.5)
Related Issues
Resolves #3245
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.