pub struct VertexRAGStore {
pub rag_corpora: Option<Vec<String>>,
pub rag_resources: Option<Vec<VertexRAGStoreRAGResource>>,
pub similarity_top_k: Option<i64>,
pub vector_distance_threshold: Option<f64>,
}Fields§
§rag_corpora: Option<Vec<String>>§rag_resources: Option<Vec<VertexRAGStoreRAGResource>>§similarity_top_k: Option<i64>§vector_distance_threshold: Option<f64>Implementations§
Source§impl VertexRAGStore
impl VertexRAGStore
Sourcepub fn rag_corpora(self, value: impl Into<Vec<String>>) -> Self
pub fn rag_corpora(self, value: impl Into<Vec<String>>) -> Self
Sets the rag_corpora field of this struct.
Sourcepub fn rag_resources(
self,
value: impl Into<Vec<VertexRAGStoreRAGResource>>,
) -> Self
pub fn rag_resources( self, value: impl Into<Vec<VertexRAGStoreRAGResource>>, ) -> Self
Sets the rag_resources field of this struct.
Sourcepub fn similarity_top_k(self, value: impl Into<i64>) -> Self
pub fn similarity_top_k(self, value: impl Into<i64>) -> Self
Sets the similarity_top_k field of this struct.
Sourcepub fn vector_distance_threshold(self, value: impl Into<f64>) -> Self
pub fn vector_distance_threshold(self, value: impl Into<f64>) -> Self
Sets the vector_distance_threshold field of this struct.
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 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