#Is there a Node version of the Python Test Suite?

1 messages · Page 1 of 1 (latest)

nimble granite
#

I went over https://github.com/deepgram/streaming-test-suite/ sample. I was able to run it locally but I have issues running it on GCP Cloud run
Can someone please help me out with either of the following

  1. What changes are required in the server.py & any other config files needed to run on GCP cloud run?
    or
  2. Is there an above example with nodejs backend?
GitHub

Contribute to deepgram/streaming-test-suite development by creating an account on GitHub.

quasi ruinBOT
#

Thanks for asking your question. Please be sure to reply with as much detail as possible so we can assist you efficiently. Such as:

  • Provide the request_id if you've a question about a transcription response.
  • The options you used or the api.deepgram.com URL you sent your request to, including parameters.
  • Any code snippets you can include.
  • Any audio you can include, or if you can't share it here please email it to us at [email protected] and provide a link to this thread.
fluid oar
#

We don't have a Node JS test suite like this, but we do have a few streaming examples.

This uses the microphone and a micro backend to interact with Deepgram
https://github.com/deepgram-devs/node-live-example

This uses the microphone and goes directly from the browser to Deepgram
https://github.com/deepgram-devs/js-live-example

This uses an audio stream instead of the microphone, and works only on the server
https://github.com/deepgram/deepgram-js-sdk/blob/main/examples/node-live/index.js

Hope this helps 🙂

#

Is there a Node version of the Python Test Suite?

nimble granite
#

Thanks Luke for sharing those repos with me. I will try them out today.

nimble granite
#

I edited client server based upon node-live-example. The setup works when client & server are on same machine but moment I try to connect from remote client using following command node new_clietn.js I start seeing transport error. Can you please help ?

nimble granite
#

I event tried enabling CORS , { origins: ':'} on server side but I still get following error

#

engine.io-client:socket setting transport websocket +8ms
socket.io-client:manager connect attempt will timeout after 20000 +9ms
socket.io-client:manager readyState opening +2ms

engine.io-client:socket socket error {"description":{},"type":"TransportError"} +8s
socket.io-client:manager error +8s
socket.io-client:manager cleanup +0ms

nimble granite
#

Can someone please help me out here? Any suggestions or ideas are appreciated

fluid oar
#

I don't think it is related to CORS