Skip to content

"31-openai-realtime-api-comparison" example - out of date Rime API values #57

New issue

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

By clicking “No 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? No Sign in to your account

Open
ClaytonFarr opened this issue Oct 23, 2024 · 0 comments

Comments

@ClaytonFarr
Copy link

It looks like the Rime api connections for the template for this example project are out of date.

When building the default project the OpenAI Realtime service works correctly but the 'custom' Rime service hits a 401.

It looks like the Rime URL and auth method for Streaming PCM are now different:

  • url = "https://model-7qkpx4ew.api.baseten.co/production/predict" should be url = "https://users.rime.ai/v1/rime-tts"
  • "Authorization": f"Api-Key {self._api_key}", should be Authorization: Bearer {self._api_key}
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant