Skip to content

Added custom endpoint for bedrock provider #441

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

billsanto
Copy link
Contributor

My university uses a proxy to access AWS with its own domain name. Using provider-azure as an example, I added an "endpoint" parameter to the chat function, which, if non-empty, replaces the standard amazonaws.com URL. Anything that precedes the /model/ segment of the URL would be used for endpoint parameter in chat_aws_bedrock(). We don't include region in the URL, but if others do, then they would want to embed the region into the endpoint argument.

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.

1 participant