0.2.4 • Published 7 months ago

@audentic/react v0.2.4

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

@audentic/react

React components for integrating Audentic voice agents into your application.

Installation

npm install @audentic/react

Overview

@audentic/react provides React components and hooks for integrating voice agents into your React applications. It allows you to easily add interactive voice conversations to your web interface.

Getting Started

  1. Create your voice agent at audentic.io
  2. Copy your agent ID from the dashboard
  3. Install and integrate with the React component

Basic Usage

The SessionControl component provides a complete interface for voice interactions with your Audentic agent.

import { SessionControl } from "@audentic/react";

function App() {
  return <SessionControl agentId="your-agent-id" />;
}

Props

SessionControl

PropTypeDefaultDescription
agentIdstringRequiredYour Audentic agent ID
transcriptbooleanfalseShow conversation transcript
sessionControlHeightnumber-Custom height for the control panel (px)
sessionControlWidthnumber-Custom width for the control panel (px)

Features

  • Real-time voice communication
  • Optional conversation transcript
  • Customizable dimensions
  • Error handling with toast notifications
  • Connection status indicators
0.2.4

7 months ago

0.2.3

7 months ago

0.2.2

8 months ago

0.2.0

8 months ago

0.1.10

8 months ago

0.1.9

8 months ago

0.1.9-test2

8 months ago

0.1.8

8 months ago

0.1.7

8 months ago

0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago