UNPKG

phonic

Version:

[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2FPhonic-Co%2Fphonic-node) [![npm shield](htt

30 lines (29 loc) 1.29 kB
// This file was auto-generated by Fern from our API Definition. export var Agent; (function (Agent) { /** The audio format of the agent. If the agent has a phone number, the audio format will be `mulaw_8000`. */ Agent.AudioFormat = { Pcm44100: "pcm_44100", Pcm24000: "pcm_24000", Pcm16000: "pcm_16000", Pcm8000: "pcm_8000", Mulaw8000: "mulaw_8000", }; /** The background noise type. Can be "office", "call-center", "coffee-shop", or null. */ Agent.BackgroundNoise = { Office: "office", CallCenter: "call-center", CoffeeShop: "coffee-shop", }; /** If `"auto"`, each user audio is automatically identified for the language to respond in. If `"request"`, user must request to change language (recommended). If `"initial"` the first turn user audio determines the language for the rest of the conversation. */ Agent.MultilingualMode = { Auto: "auto", Request: "request", Initial: "initial", }; /** The intelligence level of the agent. `high` uses a more capable model for more complex reasoning, while `standard` is optimized for lower latency. */ Agent.IntelligenceLevel = { Standard: "standard", High: "high", }; })(Agent || (Agent = {}));