1/*
2 * Vapi API
3 *
4 * Voice AI for developers.
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
1011use crate::models;
12use serde::{Deserialize, Serialize};
1314#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ServerMessageResponseKnowledgeBaseRequest {
16/// This is the list of documents that will be sent to the model alongside the `messages` to generate a response.
17#[serde(rename = "documents", skip_serializing_if = "Option::is_none")]
18pub documents: Option<Vec<models::KnowledgeBaseResponseDocument>>,
19/// This can be used to skip the model output generation and speak a custom message.
20#[serde(rename = "message", skip_serializing_if = "Option::is_none")]
21pub message: Option<models::CustomMessage>,
22}
2324impl ServerMessageResponseKnowledgeBaseRequest {
25pub fn new() -> ServerMessageResponseKnowledgeBaseRequest {
26 ServerMessageResponseKnowledgeBaseRequest {
27 documents: None,
28 message: None,
29 }
30 }
31}