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

[docs sprint] Updates docs for react quickstart #10

Merged
merged 2 commits into from
Jun 12, 2024

Conversation

ajar98
Copy link
Owner

@ajar98 ajar98 commented Jun 6, 2024

No description provided.

@ajar98 ajar98 requested a review from adnaans June 6, 2024 20:35
Copy link
Collaborator

@adnaans adnaans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few questions

```
<>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add js formatting here?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or html? however we can format react nicely

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for future readers, mintlify uses prism for syntax highlighting: https://prismjs.com/#supported-languages

so I added jsx highlighting here

```
$ npm start
<button
disabled={["connecting"].includes(status)}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is "connecting" here?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's an interim status exposed by the react-sdk: https://github.com/vocodedev/vocode-react-sdk/blob/main/src/types/conversation.ts#L6

i'm going to add something here that shows how to install the react-sdk

@ajar98 ajar98 requested a review from adnaans June 10, 2024 19:08
@ajar98 ajar98 merged commit 67eaf1f into main Jun 12, 2024
2 checks passed
ajar98 added a commit that referenced this pull request Jun 14, 2024
* Update Readme with Preview Info (#1)

* Update Readme with Preview Info

* We're not quite that far along

* Update Structure to be more Pleasing to the Eyes

* Add changelog to readme

---------

Co-authored-by: srhinos <6531393+srhinos@users.noreply.github.com>
Co-authored-by: Adnaan Sachidanandan <adnaan@vocode.dev>

* The Big Diff (#2)

* The Big Diff

* remove tests on 3.8 and 3.9

* Update README.md

* Update README.md

* fix turn based quickstart (#3)

* [hotfix] remove unused import (#4)

* Update README.md

* Update README.md

* Remove create_speech() from rime synthesizer (#6)

* Fix default factory for elevenlabs WS (#12)

* dispatch into elvenlabsws if experimental_websocket is on

* fix mypy

* Merge In Recent Fixes (#14)

* [docs sprint] Updates docs for using transcribers (#9)

* [docs sprint] phrase trigger documentation (#16)

* [docs sprint] update open source quickstarts (#15)

* [docs sprint] Add Documentation on Using Vocode's Loguru Implementation (#19)

* [docs sprint] Add Documentation on Using Vocode's Loguru Implementation

* Remove Tracing

---------

Co-authored-by: srhinos <6531393+srhinos@users.noreply.github.com>

* [docs sprint] Updates docs for using synthesizers (#8)

* [docs sprint] using synthesizers docs update

* update docs for elevenlabs ws

* Apply suggestions from code review

Co-authored-by: Adnaan Sachidanandan <adnaan@vocode.dev>

---------

Co-authored-by: Adnaan Sachidanandan <adnaan@vocode.dev>

* [docs sprint] Updates docs for react quickstart (#10)

* [docs sprint] Updates docs for react quickstart

* PR feedback

* changes azure to override create_speech_uncached (#21)

* [docs sprint] Adds docs for conversation mechanics and moves endpointing docs from transcribers (#11)

* [docs sprint] Updates docs for using transcribers

* Adds docs for conversation mechanics and moves endpointing docs from transcribers

* Update docs/open-source/conversation-mechanics.md

Co-authored-by: Adnaan Sachidanandan <adnaan@vocode.dev>

* use mdx

* PR feedback

---------

Co-authored-by: Adnaan Sachidanandan <adnaan@vocode.dev>

* updates docs for events manager (#7)

* add cartesia synthesizer (#17)

* add cartesia synthesizer

* make Cartesia dependency optional, add it to the synthesizers extra group

* lazy import cartesia

* improved lazy loading, and added api_key as a config parameter

* improvements to cartesia synth
* use create_speech_uncached
* use existing abstractions default encoding and sample rates

* Remove redundant api_key assignment

Co-authored-by: Ajay Raj <ajay.n.raj@gmail.com>

* Remove default setting of sampling rate

Co-authored-by: Ajay Raj <ajay.n.raj@gmail.com>

* Remove default setting of audio_encoding

Co-authored-by: Ajay Raj <ajay.n.raj@gmail.com>

* remove default setting of sampling rate

Co-authored-by: Ajay Raj <ajay.n.raj@gmail.com>

* Remove redundant setting of audio enconding

the output device handles this

Co-authored-by: Ajay Raj <ajay.n.raj@gmail.com>

* build failed with poetry.lock file. re-updating it

---------

Co-authored-by: Ajay Raj <ajay.n.raj@gmail.com>

* Unset docs / README changes

* Unset docs changes (cont.)

* unset poetry version change

* update poetry.lock

---------

Co-authored-by: Mac Wilkinson <mac@vocode.dev>
Co-authored-by: srhinos <6531393+srhinos@users.noreply.github.com>
Co-authored-by: Adnaan Sachidanandan <adnaan@vocode.dev>
Co-authored-by: rjheeta <rjheeta@gmail.com>
ajar98 added a commit that referenced this pull request Jun 14, 2024
* [docs sprint] Updates docs for react quickstart

* PR feedback
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

Successfully merging this pull request may close these issues.

2 participants