spring-projects / spring-projects/spring-ai

Support for AWS Bedrock BidirectionalStream

Open
#4,455 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: waiting-for-triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.