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

45 lines (44 loc) 1.83 kB
// This file was auto-generated by Fern from our API Definition. export var Conversation; (function (Conversation) { /** The origin of the conversation. */ Conversation.Origin = { Web: "web", WebPlayground: "web-playground", WebDemo: "web-demo", Direct: "direct", LivekitAgentsPy: "livekit-agents-py", LivekitAgentsJs: "livekit-agents-js", SdkPy: "sdk-py", SdkJs: "sdk-js", Inbound: "inbound", TelephonyInbound: "telephony-inbound", Outbound: "outbound", TelephonyOutbound: "telephony-outbound", Replay: "replay", }; /** The background noise type used in the conversation. */ Conversation.BackgroundNoise = { Office: "office", CallCenter: "call-center", CoffeeShop: "coffee-shop", }; /** Who or what ended the conversation. */ Conversation.EndedBy = { User: "user", UserCanceled: "user_canceled", UserValidationFailed: "user_validation_failed", Assistant: "assistant", AssistantSilenceLimitReached: "assistant_silence_limit_reached", ConfigurationEndpointTimedOut: "configuration_endpoint_timed_out", ConfigurationEndpointError: "configuration_endpoint_error", ConfigurationEndpointInvalidResponse: "configuration_endpoint_invalid_response", Error: "error", }; /** 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. */ Conversation.MultilingualMode = { Auto: "auto", Request: "request", Initial: "initial", }; })(Conversation || (Conversation = {}));