Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Jeopardy Live demo to Showcase #1192

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

richard-to
Copy link
Collaborator

Here's a demo of using the multimodal live API. Basically an updated version of the Jeopardy game but now with audio input and output.

The system instructions still need more work. The tool usage doesn't work that well sometimes. It mostly consistently uses the right tool, but for some reason it doesn't seem to understand how to handle the tool responses correctly like 50% of the time. Like sometimes it will straight up just read the JSON response lol. So I feel like I'm doing something wrong or something.

Also another drawback is that currently the API can only return one modality at a time. So can't have it return both text and audio yet. So custom tool usage is pretty important in order to get the UI updates.

@richard-to richard-to changed the title Add Jeopardy Live demo Add Jeopardy Live demo to Showcase Feb 3, 2025
Copy link
Collaborator

@wwwillchen wwwillchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat - interesting example, I wonder if you're running into issues because it's an experimental model

@richard-to
Copy link
Collaborator Author

neat - interesting example, I wonder if you're running into issues because it's an experimental model

Yeah, definitely could be because it's experimental. API itself is also alpha and I remember reading somewhere that the tool usage needed improvement, but can't seem to find the link.

I think 2.0 Flash is now the default, so maybe I can try changing the model name. Though seems doubtful.

@richard-to richard-to merged commit 07c3190 into google:main Feb 4, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants