pub struct TranscriptPlan {
pub enabled: Option<bool>,
pub assistant_name: Option<String>,
pub user_name: Option<String>,
}Fields§
§enabled: Option<bool>This determines whether the transcript is stored in call.artifact.transcript. Defaults to true. @default true
assistant_name: Option<String>This is the name of the assistant in the transcript. Defaults to ‘AI’. Usage: - If you want to change the name of the assistant in the transcript, set this. Example, here is what the transcript would look like with assistantName set to ‘Buyer’: User: Hello, how are you? Buyer: I'm fine. User: Do you want to buy a car? Buyer: No. @default ‘AI’
user_name: Option<String>This is the name of the user in the transcript. Defaults to ‘User’. Usage: - If you want to change the name of the user in the transcript, set this. Example, here is what the transcript would look like with userName set to ‘Seller’: Seller: Hello, how are you? AI: I'm fine. Seller: Do you want to buy a car? AI: No. @default ‘User’
Implementations§
Source§impl TranscriptPlan
impl TranscriptPlan
pub fn new() -> TranscriptPlan
Trait Implementations§
Source§impl Clone for TranscriptPlan
impl Clone for TranscriptPlan
Source§fn clone(&self) -> TranscriptPlan
fn clone(&self) -> TranscriptPlan
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TranscriptPlan
impl Debug for TranscriptPlan
Source§impl Default for TranscriptPlan
impl Default for TranscriptPlan
Source§fn default() -> TranscriptPlan
fn default() -> TranscriptPlan
Source§impl<'de> Deserialize<'de> for TranscriptPlan
impl<'de> Deserialize<'de> for TranscriptPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl OpenApi for TranscriptPlan
impl OpenApi for TranscriptPlan
Source§fn openapi() -> OpenApi
fn openapi() -> OpenApi
openapi::OpenApi instance which can be parsed with serde or served via
OpenAPI visualization tool such as Swagger UI.