spring-projects / spring-projects/spring-ai
Support for AWS Bedrock BidirectionalStream
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
Expected Behavior
The Amazon Nova Sonic model uses the InvokeModelWithBidirectionalStream API, which enables real-time bidirectional streaming conversations. This differs from traditional request-response patterns by maintaining an open channel for continuous audio streaming in both directions.
Current Behavior
This interface is not available today, we can use Converse and ConverseStream but not the bidirectional API.
Context
This is required for using new models available for speech to speech interaction patterns.
https://docs.aws.amazon.com/nova/latest/userguide/speech.html
https://docs.aws.amazon.com/nova/latest/userguide/speech-bidirection.html
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Amazon Nova speech and bidirectional-stream documentation, then inspect the existing Converse and ConverseStream support in the repository. Done means Spring AI exposes the InvokeModelWithBidirectionalStream API for Nova Sonic's real-time bidirectional audio conversations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- ai, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100