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

German numbers #309

Open
jan-ai opened this issue Dec 13, 2024 · 1 comment
Open

German numbers #309

jan-ai opened this issue Dec 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@jan-ai
Copy link

jan-ai commented Dec 13, 2024

Service

Azure OpenAI

Describe the bug

First of all, let me know where to place this problem, if this is not the right place here.

The real-time interface has generated the following message correctly:

OpenAI.RealtimeConversation.ConversationResponseFinishedUpdate: {"response":{"object":"realtime.response","id":"resp_AdwK0Z1oPA2xh1BnE4W2T","status":"completed","status_details":null,"output":[{"content":[{"type":"audio","transcript":"Entschuldigung f\u00FCr etwaige Unklarheiten. ... Das macht insgesamt 47 Euro pro Monat","type":null}],"role":"assistant","status":"completed","type":"message","id":"item_AdwK0bKpamHSg3icFue04","object":"realtime.item"}],"usage":{"total_tokens":10421,"input_tokens":9621,"output_tokens":800,"input_token_details":{"cached_tokens":0,"text_tokens":7082,"audio_tokens":2539},"output_token_details":{"text_tokens":141,"audio_tokens":659}}},"type":"response.done","event_id":"event_AdwK8qDIJo82NByIYHIZS"}

But the generated audio/voice message says ".... 74 Euro ...". This is probably related to the German language, because in German 47 is spoken as "seven and forty" rather than "forty-seven" as it would be the case in English.

This is obviously a major issue, as the user only hears the information and can't read the message.

Steps to reproduce

The problem will happen in most cases if a number between 20 and 99 is present in any message to the user.

Code snippets

No response

OS

any

.NET version

7

Library version

2.1.0-beta 2

@jan-ai jan-ai added the bug Something isn't working label Dec 13, 2024
@AngelosP
Copy link
Contributor

AngelosP commented Dec 16, 2024

@jan-ai that you for submitting this issue, quite an interesting one. I'm thinking that our library doesn't really have much involvement here and this is most likely something to address at the OpenAI REST API level, @joseharriaga and @ShivangiReja what do you think?

If so, I believe the best place to ask for help is https://community.openai.com/c/api/7 which is the equivalent to this issue list but for the OpenAI REST API. There is also the help center, but I couldn't find anything related there when I looked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants