Skip to content
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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

tkykenmt
Copy link
Contributor

Description

Add tutorials for Amazon Bedrock cross-encoder model (Amazon Rerank 1.0 and Cohere Rerank 3.5)

Related Issues

Resolves #3245

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

"content-type": "application/json"
},
"pre_process_function": """
def query_text = params.query_text;
Copy link
Collaborator

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.

Copy link
Contributor Author

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.

#3254

I'm not familiar with code development, but I'm happy to contribute in this area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Tutorial for cross-encoder models on Amazon Bedrock
2 participants