pub struct ChatWithDocsRequest {
pub message: String,
pub document_content: Option<String>,
pub document_path: Option<String>,
pub context: Option<HashMap<String, Value>>,
}Expand description
Request to chat with documents
Fields§
§message: StringThe message to send
document_content: Option<String>Document content or file reference
document_path: Option<String>Document file path or URL
context: Option<HashMap<String, Value>>Additional context
Trait Implementations§
Source§impl Clone for ChatWithDocsRequest
impl Clone for ChatWithDocsRequest
Source§fn clone(&self) -> ChatWithDocsRequest
fn clone(&self) -> ChatWithDocsRequest
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 ChatWithDocsRequest
impl Debug for ChatWithDocsRequest
Auto Trait Implementations§
impl Freeze for ChatWithDocsRequest
impl RefUnwindSafe for ChatWithDocsRequest
impl Send for ChatWithDocsRequest
impl Sync for ChatWithDocsRequest
impl Unpin for ChatWithDocsRequest
impl UnwindSafe for ChatWithDocsRequest
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