pub struct ParseFunctionCallRequest {
pub text: String,
pub tool_call_parser: String,
pub tools: Vec<Tool>,
}Expand description
Request to parse function calls from model output text
Fields§
§text: StringThe text to parse for function calls
tool_call_parser: StringThe parser type/name to use for parsing (e.g., “json”, “pythonic”)
tools: Vec<Tool>The list of available tools that the model can call
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ParseFunctionCallRequest
impl<'de> Deserialize<'de> for ParseFunctionCallRequest
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 Freeze for ParseFunctionCallRequest
impl RefUnwindSafe for ParseFunctionCallRequest
impl Send for ParseFunctionCallRequest
impl Sync for ParseFunctionCallRequest
impl Unpin for ParseFunctionCallRequest
impl UnwindSafe for ParseFunctionCallRequest
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