ARES

Updated

Integrate ARES ASR into Conversational AI Engine.

Adaptive Recognition Engine for Speech (ARES) provides built-in real-time speech-to-text, offering seamless integration with low latency and reliable performance for conversational AI applications.

Info

Using Ares ASR incurs charges under the "ARES ASR Task" pricing category. See the pricing page for details.

Sample configuration

The following example shows how to configure ARES ASR when starting a conversational AI agent.

from agora_agent import Agent, AresSTT

# client is your configured Agora client
agent = (
    Agent(client)
    .with_stt(AresSTT(
        language='en-US',
    ))
    .with_llm(...)  # configure your LLM vendor
    .with_tts(...)  # configure your TTS vendor
)
import { Agent, AresSTT } from 'agora-agents';

// client is your configured Agora client
const agent = new Agent({ client })
  .withStt(new AresSTT({
    language: 'en-US',
  }))
  .withLlm(/* configure your LLM vendor */)
  .withTts(/* configure your TTS vendor */);
import "github.com/AgoraIO/agora-agents-go/v2/agentkit/vendors"

// client is your configured Agora client
agent := agentkit.NewAgent(client).WithStt(
    vendors.NewAresSTT(vendors.AresSTTOptions{
        Language: "en-US",
    }),
).WithLlm(/* configure your LLM vendor */).
  WithTts(/* configure your TTS vendor */)

Use the following asr configuration in your request:

"asr": {
  "vendor": "ares",
  "language": "en-US"
}

Key parameters

asrrequired
vendorstring
required

ASR provider. Set to ares to use Adaptive Recognition Engine for Speech.

languagestring
required
Possible values
  • ar-EG
  • ar-JO
  • ar-SA
  • ar-AE
  • bn-IN
  • zh-CN
  • zh-HK
  • zh-TW
  • nl-NL
  • en-IN
  • en-US
  • fil-PH
  • fr-FR
  • de-DE
  • gu-IN
  • he-IL
  • hi-IN
  • id-ID
  • it-IT
  • ja-JP
  • kn-IN
  • ko-KR
  • ms-MY
  • fa-IR
  • pt-PT
  • ru-RU
  • es-ES
  • ta-IN
  • te-IN
  • th-TH
  • tr-TR
  • vi-VN

The BCP-47 language tag identifying the primary language used for agent interaction.