pub struct AnalyzeRequest {
pub prompt: String,
pub data_json: String,
pub schema: Schema,
pub tools: Vec<ToolSpec>,
pub tool_history: Vec<ToolExchange>,
}Fields§
§prompt: StringThe user’s natural-language instruction.
data_json: StringThe input data serialized as JSON text.
schema: Schema§tools: Vec<ToolSpec>Tools the model may call before producing its final answer.
tool_history: Vec<ToolExchange>Results of tool calls already performed, appended to the conversation as the loop progresses.
Trait Implementations§
Source§impl Clone for AnalyzeRequest
impl Clone for AnalyzeRequest
Source§fn clone(&self) -> AnalyzeRequest
fn clone(&self) -> AnalyzeRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnalyzeRequest
impl RefUnwindSafe for AnalyzeRequest
impl Send for AnalyzeRequest
impl Sync for AnalyzeRequest
impl Unpin for AnalyzeRequest
impl UnsafeUnpin for AnalyzeRequest
impl UnwindSafe for AnalyzeRequest
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