pub struct VertexRagStore {
pub rag_corpora: Option<Vec<String>>,
pub rag_resources: Option<Vec<VertexRagStoreRagResource>>,
pub rag_retrieval_config: Option<RagRetrievalConfig>,
pub similarity_top_k: Option<i32>,
pub store_context: Option<bool>,
pub vector_distance_threshold: Option<f64>,
}Expand description
Vertex RAG Store 配置。
Fields§
§rag_corpora: Option<Vec<String>>§rag_resources: Option<Vec<VertexRagStoreRagResource>>§rag_retrieval_config: Option<RagRetrievalConfig>§similarity_top_k: Option<i32>§store_context: Option<bool>§vector_distance_threshold: Option<f64>Trait Implementations§
Source§impl Clone for VertexRagStore
impl Clone for VertexRagStore
Source§fn clone(&self) -> VertexRagStore
fn clone(&self) -> VertexRagStore
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 VertexRagStore
impl Debug for VertexRagStore
Source§impl Default for VertexRagStore
impl Default for VertexRagStore
Source§fn default() -> VertexRagStore
fn default() -> VertexRagStore
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VertexRagStore
impl<'de> Deserialize<'de> for VertexRagStore
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 VertexRagStore
impl RefUnwindSafe for VertexRagStore
impl Send for VertexRagStore
impl Sync for VertexRagStore
impl Unpin for VertexRagStore
impl UnsafeUnpin for VertexRagStore
impl UnwindSafe for VertexRagStore
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