pub struct ParametersResponse {
pub opening_statement: String,
pub suggested_questions: Vec<String>,
pub suggested_questions_after_answer: ParameterSuggestedQuestionsAfterAnswer,
pub speech_to_text: ParameterSpeechToText,
pub retriever_resource: ParameterRetrieverResource,
pub annotation_reply: ParameterAnnotationReply,
pub user_input_form: Vec<ParameterUserInputFormItem>,
pub file_upload: Vec<ParameterFileUploadItem>,
pub system_parameters: SystemParameters,
}
Expand description
获取应用配置信息的响应
Fields§
§opening_statement: String
开场白
suggested_questions: Vec<String>
开场推荐问题列表
suggested_questions_after_answer: ParameterSuggestedQuestionsAfterAnswer
启用回答后给出推荐问题。
speech_to_text: ParameterSpeechToText
语音转文本
retriever_resource: ParameterRetrieverResource
引用和归属
annotation_reply: ParameterAnnotationReply
标记回复
user_input_form: Vec<ParameterUserInputFormItem>
用户输入表单配置
file_upload: Vec<ParameterFileUploadItem>
文件上传配置
system_parameters: SystemParameters
Trait Implementations§
Source§impl Clone for ParametersResponse
impl Clone for ParametersResponse
Source§fn clone(&self) -> ParametersResponse
fn clone(&self) -> ParametersResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParametersResponse
impl Debug for ParametersResponse
Source§impl<'de> Deserialize<'de> for ParametersResponse
impl<'de> Deserialize<'de> for ParametersResponse
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ParametersResponse
impl RefUnwindSafe for ParametersResponse
impl Send for ParametersResponse
impl Sync for ParametersResponse
impl Unpin for ParametersResponse
impl UnwindSafe for ParametersResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more