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

Could we have a react JS example? #10

Closed
john012343210 opened this issue Oct 2, 2024 · 8 comments
Closed

Could we have a react JS example? #10

john012343210 opened this issue Oct 2, 2024 · 8 comments
Assignees

Comments

@john012343210
Copy link

Could we have a react JS example?

@rdvo
Copy link

rdvo commented Oct 3, 2024

or can someone modify the openai react example to work with azure deployments? Please

@glecaros
Copy link
Collaborator

glecaros commented Oct 3, 2024

we are working on more samples, I'll try to prioritize one using react

@glecaros glecaros self-assigned this Oct 3, 2024
@BryanChunkc
Copy link

Looking forward!

@fajri-droid
Copy link

🔥🔥🔥

@Azure-Samples Azure-Samples deleted a comment from fajri-droid Oct 7, 2024
@john012343210
Copy link
Author

push

@Ben-Pattinson
Copy link

Could we have the React front end with a .net API backend? I am finding it impossible to get the audio to play correctly. I get audio back, and it's super-slow and has interference., It's the right words just SSSSSSSLLLLLLLLLLLLLLOOOOOOOOWWWWWWWWWW and loads of interference. I presume there's some magic sauce I am missing in the processing or request, and consequently the returned audio does not match the playback expectations. However it's non-trivial to figure this out! I believe I am getting binary data back from the API, which is different to the JavaScipt version which seems to get Base64 encoded data back.

I expect many people will be running a C# API with a javascript/React front end.

@glecaros
Copy link
Collaborator

Hey, #64 added a react sample. I'll close this issue for now, if anything comes up please open a new one :)

@glecaros
Copy link
Collaborator

@Ben-Pattinson I'm planning on having something like that (for all three languages as the library is meant for backend consumption), can you please open a new issue to track that?

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

No branches or pull requests

6 participants