adk-python icon indicating copy to clipboard operation
adk-python copied to clipboard

No examples documented that show integration of audio/image modality: with the Streaming, building custom UI

Open Mohammedumer7 opened this issue 1 year ago • 15 comments

For building a custom streaming app, there is no examples shown for section 5

https://google.github.io/adk-docs/get-started/quickstart-streaming/#next-steps

Mohammedumer7 avatar Apr 14 '25 11:04 Mohammedumer7

@polong-lin to help.

hangfei avatar Apr 15 '25 19:04 hangfei

to be more concise, the examples show real time chat, but there is documentation for audio and video streaming integration

Mohammedumer7 avatar Apr 15 '25 19:04 Mohammedumer7

@polong-lin is there any documentation related to this?

Mohammedumer7 avatar Apr 17 '25 06:04 Mohammedumer7

@hangfei Can you assign this to me?

@Mohammedumer7 I was planning to publish more docs for this. It will be similar to the Gemini Live API sample, but will use ADK Streaming APIs. FYI, this is the demo I've built with ADK Streaming.

kazunori279 avatar Apr 18 '25 05:04 kazunori279

@hangfei any update on this?, thank you

Mohammedumer7 avatar Apr 21 '25 07:04 Mohammedumer7

@hangfei Can you assign this to me?

@Mohammedumer7 I was planning to publish more docs for this. It will be similar to the Gemini Live API sample, but will use ADK Streaming APIs. FYI, this is the demo I've built with ADK Streaming.

Thanks! Assigned to you.

hangfei avatar Apr 21 '25 15:04 hangfei

@kazunori279 any updates to this?, thanks

Mohammedumer7 avatar Apr 23 '25 07:04 Mohammedumer7

@Mohammedumer7 sorry I've been swamped this week. Hope to publish something next week! Any preference or requests? I'm planning to have a minimum hello-world sample code with voice streaming, extending the current FastAPI text streaming app.

kazunori279 avatar Apr 24 '25 07:04 kazunori279

@kazunori279 thank you, i just wanted to request if you can also add a live video sample also, would be awesome, my main point here is to see how streaming integrates with adk itslef, i mean tool calling while streaming and things like that, thanks

mohdumer7 avatar Apr 25 '25 07:04 mohdumer7

@kazunori279 for this demo can you share the code?

mrsahabu avatar Apr 28 '25 13:04 mrsahabu

@mrsahabu I'm planning to clean up the code and publish a series of sample codes to build this demo. Stay tuned!

kazunori279 avatar Apr 29 '25 05:04 kazunori279

I will share a sample on top of Python.

Are you looking for demos with javascript/html + fast api + adk-python?

hangfei avatar May 31 '25 17:05 hangfei

@hangfei would be very helpful if you share the demos with javascript/html + fast api + adk-python

akshatshaw avatar Jun 04 '25 09:06 akshatshaw

@akshatshaw Does this sample help? https://google.github.io/adk-docs/streaming/custom-streaming/

kazunori279 avatar Jun 05 '25 06:06 kazunori279

We have published the two custom audio streaming samples. Closing this issue for now, but please let me know if you have any more requests!

SSE: https://google.github.io/adk-docs/streaming/custom-streaming/ WebSockets: https://google.github.io/adk-docs/streaming/custom-streaming-ws/

kazunori279 avatar Jun 05 '25 06:06 kazunori279