Giter Site home page Giter Site logo

moona3k / getting-started-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from symblai/getting-started-samples

0.0 1.0 0.0 98 KB

Code samples to Get started quickly with Symbl's Voice SDK and APIs.

Home Page: https://docs.symbl.ai

JavaScript 100.00%

getting-started-samples's Introduction

Getting Started - Samples

Few code samples to get you started quickly with Symbl APIs.

List of Sample Codes

Install

Clone this repo on your machine and perform npm install.

git clone https://github.com/symblai/getting-started-samples.git
cd getting-started-samples
npm install  # Alternatively, you can also use yarn

Code samples in this repo use dotenv for configurations. Make copy of .env.default file as .env.

cp .env.default .env

Update APP_ID and APP_SECRET with valid values. You can get them by logging into Symbl Platform. Update any additional configuration such as DEFAULT_PHONE_NUMBER may be required for a particular sample to work properly.

Run

Make sure any required configuration is done within the code and/or .env file.

Every sample code has more instructions wherever applicable.

Once you've configured the above, simply run any sample code you would like to try for example:

node ./tutorials/node/live-transcript-phone-call/index.js
node ./examples/voice-sdk/realtime-websocket-single-stream/index.js
node ./examples/voice-sdk/telephony-custom-audio-config/index.js
node ./examples/voice-sdk/telephony-custom-language-and-timezone/index.js
node ./examples/voice-sdk/telephony-real-time-insights-transcription/index.js
node ./examples/voice-sdk/telephony-realtime-intent-detection/index.js
node ./examples/voice-sdk/telephony-speaker-events/index.js

Testing for PSTN

If you're dialing to a regular phone number then you will receive a call. If you've dialed into a meeting platform, you'll see another participant join the meeting. Begin speaking after you see new participant, the call will end and you'll receive an email with the generated insights if you have passed valid email Id in the code.

References

Feel free to fork any of the projects here to use on your own and if you have any code improvements, make a pull request and the request will be reviewed by one of our admins.

For a sample reference implementation using Symbl, take a look at our Platform.

If you have questions, bugs to report or feature suggestions, join our Dev Community.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.