aws-amplify / aws-amplify/docs

Lambda Streaming Example for Gen AI usecases

Open
#7,531 1 comment 0 reactions 0 assignees View on GitHub
amplify/gen2
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
I have a use case of streaming audio form a TTS/STT provider and have no clue how to set that up with a lambda, or even how to call a non resolved lambda from the frontend.

**Describe the solution you'd like**
I would like to see a documented example usee case of using lambda for text or audio streaming for a gen AI use case. Ideally an example that not only supports Bedrock, but can easily be adapted to 3p services.

Both a back and frontend implementation would be nice. Seems all lambda examples provided are backend triggers based so seeing an example of how this lambda is accessed in the frontend (outside of resolvers) would be a great example.

**Describe alternatives you've considered**
Only CDK, but i'm not sure how to access Amplify gql api from CDK.

**Additional context**
None

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.