-
Notifications
You must be signed in to change notification settings - Fork 126
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
feat: bedrock converse #1061
feat: bedrock converse #1061
Conversation
…pipeline ?" This reverts commit ea0ff1e.
Following this, it looks great ! Thank you |
@silvanocerza It seems like the AWS region is not assigned in the CI. I had the same issues in my previous PR. |
@FloRul PR from forks can't have access to repository secrets. |
Why do we need a new converse generator? Isn't it akin to a chat generator that we already have? Shouldn't we update that? It seems like all the abstractions added are extremely similar to existing ones for chat generators. 🤔 |
That is a fair point, the thing with the current bedrock chat is that it relies on adpaters, would it be more logic to consider converse its own adapter ? Keeping in mind that aws seems to aim at converse being the main point of entry for bedrock inference api. |
I would consider converse its own adapter. If AWS goes all in with this kind of common API we can ditch completely the adapter concepts too. That's less code to maintain. :) Maybe the best approach would be to ditch the adapters for those models that support the new Converse API, that should work right? |
The idea behind adding a new generator was because of the standardization, which results in a richer output from the generator as well as facilitating the multimodal integration. |
We already have a standard and that is the This Component will be extremely hard to use in any existing That's why I'm advocating to use the existing interfaces and types. |
Ok @silvanocerza I'll look into that. |
Superseded by #1219 |
Related Issues
#977
Proposed Changes:
Added a new converse generator, some other utility classes have been added to facilitate its use such as ConverseMessage or ToolConfig
How did you test it?
unit test and manual testing mostly
Checklist
fix:
,feat:
,build:
,chore:
,ci:
,docs:
,style:
,refactor:
,perf:
,test:
.