-
Notifications
You must be signed in to change notification settings - Fork 13
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
Update Readme #3
Open
neerajchaudhary2
wants to merge
1
commit into
symblai:master
Choose a base branch
from
neerajchaudhary2:patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,8 @@ | ||
# This is a Demo app showcasing Symbl.AI capabilities | ||
# Nextjs-symblai-demo | ||
|
||
## Introduction | ||
Symbl is a comprehensive suite of APIs for analyzing natural human conversations - both for your team’s internal conversations and of course the conversations you are having with your customers. Built on our Contextual Conversation Intelligence (C2I) technology, the APIs enable you to rapidly incorporate human-level understanding that goes beyond simple natural language processing of voice and text conversations. | ||
|
||
# Getting started | ||
|
||
To get started, you’ll need your account credentials and Node.js installed (> v8.x) on your machine. | ||
|
||
Your credentials include your appId and appSecret. You can find them on the home page of the platform. | ||
|
||
![App ID](https://docs.symbl.ai/images/credentials-faf6f434.png) | ||
|
||
After you retrieve them, you need to set them up under `.env` file in this repo | ||
|
||
``` | ||
APP_ID= | ||
APP_SECRET= | ||
``` | ||
|
||
## About this app. | ||
|
||
This app is using [ReactJS](https://reactjs.org/), [Typescript](https://www.typescriptlang.org/) and [NextJS](https://nextjs.org/). Let's take a look at folder structure | ||
|
||
- `pages` In Next.js, a page is a React Component exported from a `.js`, `.jsx`, `.ts`, or `.tsx` file in the pages directory. Each page is associated with a route based on its file name. You can read more about how NextJS works with pages [here](https://nextjs.org/docs/basic-features/pages) | ||
|
@@ -35,9 +19,25 @@ On the first page of the app we showcase how you can call to your phone number ( | |
|
||
Symbl has REST API to do majority of things like getting insights, processing audio, video and text, get conversation data and much more. Rest of the pages of the app are focused on this API and showcase different use cases of Symbl from getting tasks and questions from existing conversation to uploading and processing video and audio files. You can even get transcriptions from the video and by clicking on these transcriptions, navigate to specific parts of the video. You can see this behavior on `/video` page. | ||
|
||
# Running app locally | ||
|
||
add credentials to `next-config.js` file filling in `APP_ID` and `APP_SECRET` variables. | ||
## Pre-requisites | ||
To get started, you’ll need your account credentials and Node.js installed (> v8.x) on your machine.Your credentials include your appId and appSecret. You can find them on the home page of the Symbl.ai platform. | ||
|
||
![App ID](https://docs.symbl.ai/images/credentials-faf6f434.png) | ||
|
||
|
||
### Environment variables | ||
After you sign up on the Symbl.ai platform you copy your APP_ID and APP_SECRET, you need to set them up under `.env` file in this repo | ||
|
||
``` | ||
APP_ID= | ||
APP_SECRET= | ||
``` | ||
|
||
|
||
## Deploying | ||
|
||
To run app locally , add credentials to `next-config.js` file filling in `APP_ID` and `APP_SECRET` variables. | ||
|
||
```javascript | ||
module.exports = { | ||
|
@@ -50,22 +50,42 @@ module.exports = { | |
|
||
run `yarn` or `npm install`. To run the app, use `yarn dev` | ||
|
||
Relevant docs section: | ||
App will start running at http://localhost:3000 | ||
|
||
- [Getting started with Symbl](https://docs.symbl.ai/#getting-started) | ||
- [API overview using Postman](https://docs.symbl.ai/#postman) | ||
- [Authentication](https://docs.symbl.ai/#authentication) | ||
![](https://symbltestdata.s3.us-east-2.amazonaws.com/NeerajTest/Nextjs-Symbl-demo+Images/Nextjsphonecall.png) | ||
|
||
How Tos are available [here](https://docs.symbl.ai/#how-tos) | ||
|
||
In this app represented are the following | ||
## Conclusion | ||
|
||
In this app we have represented the following capabilities of Symbl.ai | ||
|
||
- Symbl Node SDK (Check out `api/call` file) | ||
- REST Telephony API (`/phone` page) | ||
- Conversational API (`/conversations` page) | ||
- Async Audio API (`/audio` page) | ||
- Async Video API (`/video` page) | ||
- Async Text API (`/text` page) - Comming soon | ||
- Async Text API (`/text` page) - Coming soon | ||
- Symbl react elements package available [here](https://www.npmjs.com/package/@symblai/react-elements) | ||
|
||
## Enjoy hacking with Symbl and if you have new ideas in mind, feel free to clone the repo and contribute or submit an issue. | ||
Relevant docs section: | ||
|
||
- [Getting started with Symbl](https://docs.symbl.ai/#getting-started) | ||
- [API overview using Postman](https://docs.symbl.ai/#postman) | ||
- [Authentication](https://docs.symbl.ai/#authentication) | ||
|
||
How Tos are available [here](https://docs.symbl.ai/#how-tos) | ||
|
||
|
||
### Community | ||
|
||
If you liked our integration guide, please star our repo! | ||
|
||
If you have any questions, feel free to reach out to us at [email protected] or through our Community Slack at [https://developer.symbl.ai/community/slack](https://developer.symbl.ai/community/slack) | ||
|
||
This library is released under the [MIT License][license] | ||
|
||
[Signup for free](https://platform.symbl.ai) | ||
|
||
|
||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@neerajchaudharySymbl May you put the README template's language in here?