pub struct GoogleTools;Expand description
Provider-executed tool factories.
Implementations§
Source§impl GoogleTools
impl GoogleTools
Sourcepub fn google_search(&self, config: GoogleSearchArgs) -> Tool
pub fn google_search(&self, config: GoogleSearchArgs) -> Tool
google.google_search: Google Search grounding.
Sourcepub fn enterprise_web_search(&self) -> Tool
pub fn enterprise_web_search(&self) -> Tool
google.enterprise_web_search (Vertex AI).
Sourcepub fn url_context(&self) -> Tool
pub fn url_context(&self) -> Tool
google.url_context: fetch URLs mentioned in the prompt.
Sourcepub fn code_execution(&self) -> Tool
pub fn code_execution(&self) -> Tool
google.code_execution: server-side Python execution.
Sourcepub fn file_search(&self, config: FileSearchArgs) -> Tool
pub fn file_search(&self, config: FileSearchArgs) -> Tool
google.file_search: retrieval from file search stores.
Sourcepub fn vertex_rag_store(&self, config: VertexRagStoreArgs) -> Tool
pub fn vertex_rag_store(&self, config: VertexRagStoreArgs) -> Tool
google.vertex_rag_store (Vertex AI).
Sourcepub fn google_maps(&self) -> Tool
pub fn google_maps(&self) -> Tool
google.google_maps: Google Maps grounding.
Trait Implementations§
Source§impl Clone for GoogleTools
impl Clone for GoogleTools
Source§fn clone(&self) -> GoogleTools
fn clone(&self) -> GoogleTools
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 moreimpl Copy for GoogleTools
Source§impl Debug for GoogleTools
impl Debug for GoogleTools
Source§impl Default for GoogleTools
impl Default for GoogleTools
Source§fn default() -> GoogleTools
fn default() -> GoogleTools
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GoogleTools
impl RefUnwindSafe for GoogleTools
impl Send for GoogleTools
impl Sync for GoogleTools
impl Unpin for GoogleTools
impl UnsafeUnpin for GoogleTools
impl UnwindSafe for GoogleTools
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