pub struct DeepSeekChatOptions {
pub response_format: Option<DeepSeekResponseFormat>,
pub prefix: Option<String>,
pub stop: Option<Vec<String>>,
}Expand description
Extra DeepSeek chat-completions options that are not part of the generic
ModelProvider trait.
Fields§
§response_format: Option<DeepSeekResponseFormat>§prefix: Option<String>Assistant prefix used by DeepSeek beta prefix completion.
stop: Option<Vec<String>>Optional stop sequences forwarded to chat completions.
Trait Implementations§
Source§impl Clone for DeepSeekChatOptions
impl Clone for DeepSeekChatOptions
Source§fn clone(&self) -> DeepSeekChatOptions
fn clone(&self) -> DeepSeekChatOptions
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 DeepSeekChatOptions
impl Debug for DeepSeekChatOptions
Source§impl Default for DeepSeekChatOptions
impl Default for DeepSeekChatOptions
Source§fn default() -> DeepSeekChatOptions
fn default() -> DeepSeekChatOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeepSeekChatOptions
impl PartialEq for DeepSeekChatOptions
impl Eq for DeepSeekChatOptions
impl StructuralPartialEq for DeepSeekChatOptions
Auto Trait Implementations§
impl Freeze for DeepSeekChatOptions
impl RefUnwindSafe for DeepSeekChatOptions
impl Send for DeepSeekChatOptions
impl Sync for DeepSeekChatOptions
impl Unpin for DeepSeekChatOptions
impl UnsafeUnpin for DeepSeekChatOptions
impl UnwindSafe for DeepSeekChatOptions
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.