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

Realtime API bugs tracking #18

Open
1 of 4 tasks
thekid opened this issue Nov 3, 2024 · 1 comment
Open
1 of 4 tasks

Realtime API bugs tracking #18

thekid opened this issue Nov 3, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@thekid
Copy link
Member

thekid commented Nov 3, 2024

  • (Azure AI only): No response for session.update request
  • First response contains JSON when using text-only - happens frequently
  • Assistant answers with random data, ignoring what the user says (also for 1st request in text-only mode)
  • Nonsensical image placeholders (<|is_landscape_image|><|clip|><|vq_clip_2420|>...) on rare occasions

I found that if you input only text, it is very unreliable, I also found bugs where it would return seemingly random image information or unrelated text.
Source

See also

@thekid
Copy link
Member Author

thekid commented Nov 3, 2024

First response contains JSON when using text-only - happens frequently

It seeming helps to set modalities to text only in the session instead of just supplying it along with the response.create message.

$api->transmit([
  'type' => 'session.update',
  'session' => [
    'instructions'   => 'You are LernGPT.',
    'turn_detection' => null,
    'modalities'     => ['text'],
  ],
]);

@thekid thekid added the documentation Improvements or additions to documentation label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant