We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The _call_model function in aws_models.py uses the Bedrock syntax of invoke_model() rather than invoke_endpoint() which is the syntax for Sagemaker.
aws_models.py
invoke_model()
invoke_endpoint()
Although the code in aws_providers.py is correct, it gets overwritten by aws_model.py when the call is made and raises:
aws_providers.py
aws_model.py
AttributeError: 'SageMakerRuntime' object has no attribute 'invoke_model'
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The _call_model function in
aws_models.py
uses the Bedrock syntax ofinvoke_model()
rather thaninvoke_endpoint()
which is the syntax for Sagemaker.Although the code in
aws_providers.py
is correct, it gets overwritten byaws_model.py
when the call is made and raises:AttributeError: 'SageMakerRuntime' object has no attribute 'invoke_model'
The text was updated successfully, but these errors were encountered: