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§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more