pub struct CompletionBody {
pub thread_id: Option<String>,
pub prompt_id: Option<String>,
pub intent: Option<CompletionIntent>,
pub mode: Option<CompletionMode>,
pub provider: LanguageModelProvider,
pub model: String,
pub provider_request: Value,
}
Fields§
§thread_id: Option<String>
§prompt_id: Option<String>
§intent: Option<CompletionIntent>
§mode: Option<CompletionMode>
§provider: LanguageModelProvider
§model: String
§provider_request: Value
Trait Implementations§
Source§impl Debug for CompletionBody
impl Debug for CompletionBody
Source§impl<'de> Deserialize<'de> for CompletionBody
impl<'de> Deserialize<'de> for CompletionBody
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 CompletionBody
impl RefUnwindSafe for CompletionBody
impl Send for CompletionBody
impl Sync for CompletionBody
impl Unpin for CompletionBody
impl UnwindSafe for CompletionBody
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