pub struct ChatbotConfiguration {Show 26 fields
pub id: Uuid,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub deleted_at: Option<DateTime<Utc>>,
pub course_id: Uuid,
pub enabled_to_students: bool,
pub chatbot_name: String,
pub model_id: Uuid,
pub thinking_model: bool,
pub prompt: String,
pub initial_message: String,
pub weekly_tokens_per_user: i32,
pub daily_tokens_per_user: i32,
pub response_max_tokens: i32,
pub temperature: f32,
pub top_p: f32,
pub frequency_penalty: f32,
pub presence_penalty: f32,
pub max_completion_tokens: i32,
pub verbosity: VerbosityLevel,
pub reasoning_effort: ReasoningEffortLevel,
pub use_azure_search: bool,
pub maintain_azure_search_index: bool,
pub hide_citations: bool,
pub use_semantic_reranking: bool,
pub default_chatbot: bool,
}Fields§
§id: Uuid§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§deleted_at: Option<DateTime<Utc>>§course_id: Uuid§enabled_to_students: bool§chatbot_name: String§model_id: Uuid§thinking_model: bool§prompt: String§initial_message: String§weekly_tokens_per_user: i32§daily_tokens_per_user: i32§response_max_tokens: i32§temperature: f32§top_p: f32§frequency_penalty: f32§presence_penalty: f32§max_completion_tokens: i32§verbosity: VerbosityLevel§reasoning_effort: ReasoningEffortLevel§use_azure_search: bool§maintain_azure_search_index: bool§hide_citations: bool§use_semantic_reranking: bool§default_chatbot: boolTrait Implementations§
Source§impl Clone for ChatbotConfiguration
impl Clone for ChatbotConfiguration
Source§fn clone(&self) -> ChatbotConfiguration
fn clone(&self) -> ChatbotConfiguration
Returns a copy 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 Default for ChatbotConfiguration
impl Default for ChatbotConfiguration
Source§impl<'de> Deserialize<'de> for ChatbotConfiguration
impl<'de> Deserialize<'de> for ChatbotConfiguration
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
Source§impl PartialEq for ChatbotConfiguration
impl PartialEq for ChatbotConfiguration
Source§impl Serialize for ChatbotConfiguration
impl Serialize for ChatbotConfiguration
impl StructuralPartialEq for ChatbotConfiguration
Auto Trait Implementations§
impl Freeze for ChatbotConfiguration
impl RefUnwindSafe for ChatbotConfiguration
impl Send for ChatbotConfiguration
impl Sync for ChatbotConfiguration
impl Unpin for ChatbotConfiguration
impl UnwindSafe for ChatbotConfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more