pub struct RealtimeClientEventSessionChatCompletionOptionsUpdate {
pub event_id: Option<String>,
pub chat_completion_options: Map<String, Value>,
}Expand description
Replace the chat completion request fields applied to every response in the session.
OpenAI Realtime sessions have no sampling or chat template fields, so this
Dynamo extension carries fields such as temperature, top_p, seed, and
chat_template_kwargs to text workers that render chat completions. Workers
validate the fields they support.
Fields§
§event_id: Option<String>§chat_completion_options: Map<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeClientEventSessionChatCompletionOptionsUpdate
impl<'de> Deserialize<'de> for RealtimeClientEventSessionChatCompletionOptionsUpdate
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 Forget for RealtimeClientEventSessionChatCompletionOptionsUpdate
impl Freeze for RealtimeClientEventSessionChatCompletionOptionsUpdate
impl Move for RealtimeClientEventSessionChatCompletionOptionsUpdate
impl RefUnwindSafe for RealtimeClientEventSessionChatCompletionOptionsUpdate
impl Send for RealtimeClientEventSessionChatCompletionOptionsUpdate
impl Sync for RealtimeClientEventSessionChatCompletionOptionsUpdate
impl Unpin for RealtimeClientEventSessionChatCompletionOptionsUpdate
impl UnsafeUnpin for RealtimeClientEventSessionChatCompletionOptionsUpdate
impl UnwindSafe for RealtimeClientEventSessionChatCompletionOptionsUpdate
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