pub struct AgentChatRequest {
pub message: String,
pub conversation_id: Option<String>,
pub session_id: Option<String>,
pub stream: Option<bool>,
pub parameters: Option<AgentChatParameters>,
}Expand description
Request to chat with an agent
Fields§
§message: StringUser message
conversation_id: Option<String>Conversation ID for multi-turn conversations (optional)
session_id: Option<String>Session ID for tracking (optional)
stream: Option<bool>Stream response (optional)
parameters: Option<AgentChatParameters>Additional parameters (optional)
Trait Implementations§
Source§impl Clone for AgentChatRequest
impl Clone for AgentChatRequest
Source§fn clone(&self) -> AgentChatRequest
fn clone(&self) -> AgentChatRequest
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 AgentChatRequest
impl Debug for AgentChatRequest
Source§impl<'de> Deserialize<'de> for AgentChatRequest
impl<'de> Deserialize<'de> for AgentChatRequest
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 Serialize for AgentChatRequest
impl Serialize for AgentChatRequest
Source§impl Validate for AgentChatRequest
impl Validate for AgentChatRequest
Source§impl<'v_a> ValidateArgs<'v_a> for AgentChatRequest
impl<'v_a> ValidateArgs<'v_a> for AgentChatRequest
Auto Trait Implementations§
impl Freeze for AgentChatRequest
impl RefUnwindSafe for AgentChatRequest
impl Send for AgentChatRequest
impl Sync for AgentChatRequest
impl Unpin for AgentChatRequest
impl UnsafeUnpin for AgentChatRequest
impl UnwindSafe for AgentChatRequest
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