-
Notifications
You must be signed in to change notification settings - Fork 165
anam plugin #692
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
anam plugin #692
Conversation
🦋 Changeset detectedLatest commit: 3bbac7c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Transcription is not working for the agent, other than that I can have a converation with the avatar. Not sure if it s avatar plugin related |
Ahh is this because you need timed string response support? |
Sorry @Shubhrakanti, can you expand on this a little bit? Is it related to something like elevenlab where they send words with timestamp for transcription sync on the agents side? So i need to swap to use a tts, sst rather than a real time model? |
I remember this is an existing issue on python side as well i have turn this syncTranscription off for now and we have the agent transcription now - this seems to suggest that we can not sync transciption with the audio
|
I'm super sorry this actually shouldn't affect the avatar side. What's the issue you're having with transcriptions? |
Oh I see from the look your not seeing the transcripts at all. @toubatbrian can you take a look? Might be an issue with |
I remember that Anam only send Audio and Video frame back into the room but no transcription that goes with the Audio frame https://github.com/livekit/agents/blob/main/examples/avatar_agents/audio_wave/avatar_runner.py#L77 - example implementation |
Interesting.... @toubatbrian can you take a look? |
Hey @i25959341 I'm trying to test your avatar plugin with my own API key but keep getting error
I tried creating multiple keys but getting the same result. Anything that I might be missing for my account? |
For your reference, here's the email I used to create anam account |
i think I have set export ANAM_AVATAR_ID= ANAM_API_KEY should be the one that you are copying from the site ANAM_AVATAR_ID, you can get one from here - https://docs.anam.ai/resources/avatar-gallery This is gabriel for example, 6cc28442-cccd-42a8-b6e4-24b7210a09c5 |
@toubatbrian it is okay? |
I have this exact setup:
but still producing above error, not sure why. I also tested the same env vars with python agent and getting the same error |
Yes, Here's a more complete error log:
|
let me get back to you in 30 minutes |
Thanks, @i25959341 ! I'm heading to sleep now as I'm in Asia timezone, and will be back in about 7 hours. I'll be focusing on a fix for it first thing tomorrow. |
Hi @i25959341, from my end I can see exact transcripts coming as agent and avatar are speaking: |
yes, it is working now as i have just made add the below option in the agent script
Sorry that I did not make this clear earlier @toubatbrian if you are happy with this PR, maybe we can proceed to fix the nits and merge this PR? |
@Shubhrakanti We might need to look into potential bugs related to syncTranscription and TranscriptionSynchronizer. However, since that's a separate issue, I think it's fine to go ahead and merge the avatar PR for now. I'll create a ticket to track the fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! For now, let's add a comment in anam_realtime_agent.ts
to remind users to set syncTranscription
to false. We'll work on a proper fix for it later.
@toubatbrian added the comment |
@toubatbrian can you link this PR in the ticket? |
done |
Description
Changes Made
Pre-Review Checklist
Testing
restaurant_agent.ts
andrealtime_agent.ts
work properly (for major changes) N/AAdditional Notes
Note to reviewers: Please ensure the pre-review checklist is completed before starting your review.