pub struct VertexAiSearchTool { /* private fields */ }Expand description
Tool that searches using Vertex AI Discovery Engine / Search.
This tool calls the Vertex AI Search API to perform enterprise search over configured data stores.
Implementations§
Trait Implementations§
Source§impl Clone for VertexAiSearchTool
impl Clone for VertexAiSearchTool
Source§fn clone(&self) -> VertexAiSearchTool
fn clone(&self) -> VertexAiSearchTool
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 VertexAiSearchTool
impl Debug for VertexAiSearchTool
Source§impl ToolFunction for VertexAiSearchTool
impl ToolFunction for VertexAiSearchTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
Human-readable description of what this tool does.
Source§fn parameters(&self) -> Option<Value>
fn parameters(&self) -> Option<Value>
JSON Schema for the tool’s input parameters, or
None if parameterless.Source§fn call<'life0, 'async_trait>(
&'life0 self,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn call<'life0, 'async_trait>(
&'life0 self,
args: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, ToolError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Execute the tool with the given arguments and return the result.
Source§fn requires_confirmation(&self) -> bool
fn requires_confirmation(&self) -> bool
Whether this tool must be confirmed before it runs. Defaults to
false. Read moreSource§fn confirmation_message(&self) -> Option<&str>
fn confirmation_message(&self) -> Option<&str>
Optional hint shown when confirmation is requested.
Auto Trait Implementations§
impl Freeze for VertexAiSearchTool
impl RefUnwindSafe for VertexAiSearchTool
impl Send for VertexAiSearchTool
impl Sync for VertexAiSearchTool
impl Unpin for VertexAiSearchTool
impl UnwindSafe for VertexAiSearchTool
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