1.0.3 • Published 9 months ago

use-voice v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

use-voice

use-voice is a developer-oriented open-source platform for building voice AI chatbots. It abstracts away the complexities of creating speech-to-speech pipelines, allowing you to focus on building the best voice AI applications.

With the use-voice react npm package, you can add a voice chatbot to your website in < 10 lines of code.

Getting started

First, create a chatbot. You will need an account to do this. Sign up here.

In the chatbot dashboard, complete all the required config fields. This is where you define your chatbot's pipeline and behavior. Then, generate a public access token in the deploy tab.

Next, add the use-voice npm package to your project.

pnpm add use-voice

Finally, import use-voice and call start. Done!

import { useVoice } from "use-voice";

export default function Example() {
  const { start } = useVoice({
    accessToken: "INSERT CHATBOT PUBLIC ACCESS TOKEN HERE",
  });

  return <button onClick={start}>start</button>;
}

Supported Providers

use-voice currently supports 10 providers:

TypeCompanyModel
STTDeepgramNova-2
LLMOpenAIGPT-4o
LLMOpenAIGPT-4o mini
LLMAnthropicClaude 3.5 Sonnet
LLMAnthropicClaude 3 Haiku
TTSElevenLabsTurbo v2.5
TTSElevenLabsMultilingual v2
TTSOpenAItts-1
TTSOpenAItts-1-hd
TTSCartesiaSonic English
1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago