Repository navigation
feat: ✨ enable input transcription and send as user event - #495
BloodBoy21 wants to merge 17 commits into
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Hey @BloodBoy21 |
Sure, done! |
|
@BloodBoy21 thanks for the contribution. I made a few changes:
Could you help update the documentation in adk-docs or create an issue so others can contribute? |
Hello @hangfei sure, i will write another PR for the api version and then update the doc |
Copybara import of the project: -- d481e06 by Alan B <[email protected]>: feat: 🚧 catch user transcription -- bba436b by Alan B <[email protected]>: feat: ✨ send user transcription event as llm_response -- ad2abf5 by Alan B <[email protected]>: style: 💄 update lint problems -- 744703c by Hangfei Lin <[email protected]>: fix: set right order for input transcription -- 31a5d42 by Hangfei Lin <[email protected]>: remove print -- 59e5d9c by Hangfei Lin <[email protected]>: remove api version COPYBARA_INTEGRATE_REVIEW=#495 from BloodBoy21:main ea29015 PiperOrigin-RevId: 755401615
|
It's in : fcca0af |
Copybara import of the project: -- d481e06 by Alan B <[email protected]>: feat: 🚧 catch user transcription -- bba436b by Alan B <[email protected]>: feat: ✨ send user transcription event as llm_response -- ad2abf5 by Alan B <[email protected]>: style: 💄 update lint problems -- 744703c by Hangfei Lin <[email protected]>: fix: set right order for input transcription -- 31a5d42 by Hangfei Lin <[email protected]>: remove print -- 59e5d9c by Hangfei Lin <[email protected]>: remove api version COPYBARA_INTEGRATE_REVIEW=google#495 from BloodBoy21:main ea29015 PiperOrigin-RevId: 755401615
Copybara import of the project: -- d481e06 by Alan B <[email protected]>: feat: 🚧 catch user transcription -- bba436b by Alan B <[email protected]>: feat: ✨ send user transcription event as llm_response -- ad2abf5 by Alan B <[email protected]>: style: 💄 update lint problems -- 744703c by Hangfei Lin <[email protected]>: fix: set right order for input transcription -- 31a5d42 by Hangfei Lin <[email protected]>: remove print -- 59e5d9c by Hangfei Lin <[email protected]>: remove api version COPYBARA_INTEGRATE_REVIEW=google#495 from BloodBoy21:main ea29015 PiperOrigin-RevId: 755401615
This pull request introduces several updates related to transcription handling, dependency upgrades, and codebase improvements for consistency and maintainability. The most significant changes include adding support for input audio transcription, updating the
google-genaidependency, and refactoring string formatting for consistency across the codebase.New Features and Enhancements:
input_audio_transcriptiontoRunConfigand updated therun_asyncmethod to handle this configuration for live agents with audio input. (src/google/adk/agents/run_config.py,src/google/adk/flows/llm_flows/basic.py) [1] [2]Dependency Updates:
google-genaidependency from version1.11.0to1.12.1inpyproject.toml. (pyproject.toml)Codebase Consistency:
gemini_llm_connection.py,google_llm.py, and other files. [1] [2] [3]Model and Configuration Updates:
gemini-2.0-flash-live-preview-04-09and adjusted related configurations in thegoogle_llm.pyfile. (src/google/adk/models/google_llm.py)