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

Create BedrockRuntime client with InvokeModel operation #1849

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

victor-upmeet
Copy link

@victor-upmeet victor-upmeet commented Feb 28, 2025

This PR implements a Bedrock Runtime client with InvokeModel operation. Work is still in progress as tests are not implemented yet. This PR is just to check that I'm going in the right direction, and that the base codes for client, operation and other configurations are correct.

@victor-upmeet
Copy link
Author

I just finished writing tests and fixed what needed to be fixed, however I have a failing test on a generated code (src/Service/BedrockRuntime/src/Result/InvokeModelResponse.php), because the generated code assigns a null value on a property that should not be null. Because I am not allowed to modify generated code, I don't know what to do to fix this test. Any help would be appreciated. Thanks!

@victor-upmeet victor-upmeet changed the title [Draft PR] Create BedrockRuntime client with InvokeModel operation Create BedrockRuntime client with InvokeModel operation Feb 28, 2025
@victor-upmeet
Copy link
Author

@jderusse Do you need me to do anything else on the PR for it to be merged?

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.

2 participants