pub struct Retrieval {
pub disable_attribution: Option<bool>,
pub external_api: Option<ExternalApi>,
pub vertex_ai_search: Option<VertexAiSearch>,
pub vertex_rag_store: Option<VertexRagStore>,
}Expand description
Retrieval 工具配置。
Fields§
§disable_attribution: Option<bool>§external_api: Option<ExternalApi>§vertex_ai_search: Option<VertexAiSearch>§vertex_rag_store: Option<VertexRagStore>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Retrieval
impl<'de> Deserialize<'de> for Retrieval
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 Retrieval
impl RefUnwindSafe for Retrieval
impl Send for Retrieval
impl Sync for Retrieval
impl Unpin for Retrieval
impl UnsafeUnpin for Retrieval
impl UnwindSafe for Retrieval
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