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
vendorstringASR provider. Set to ares to use Adaptive Recognition Engine for Speech.
languagestring- Possible values
ar-EGar-JOar-SAar-AEbn-INzh-CNzh-HKzh-TWnl-NLen-INen-USfil-PHfr-FRde-DEgu-INhe-ILhi-INid-IDit-ITja-JPkn-INko-KRms-MYfa-IRpt-PTru-RUes-ESta-INte-INth-THtr-TRvi-VN
The BCP-47 language tag identifying the primary language used for agent interaction.
