pub struct GraphRagSchemaContext {
pub protocol: &'static str,
pub computed_at_commit_epoch: u64,
pub fingerprint: u64,
pub labels: Vec<GraphRagLabelSummary>,
pub relationship_types: Vec<GraphRagRelationshipTypeSummary>,
pub properties: Vec<GraphRagPropertySummary>,
pub routes: Vec<GraphRagRouteSummary>,
pub common_paths: Vec<GraphRagCommonPathSummary>,
pub truncation: GraphRagSchemaContextTruncation,
}Fields§
§protocol: &'static str§computed_at_commit_epoch: u64§fingerprint: u64§labels: Vec<GraphRagLabelSummary>§relationship_types: Vec<GraphRagRelationshipTypeSummary>§properties: Vec<GraphRagPropertySummary>§routes: Vec<GraphRagRouteSummary>§common_paths: Vec<GraphRagCommonPathSummary>§truncation: GraphRagSchemaContextTruncationImplementations§
Source§impl GraphRagSchemaContext
impl GraphRagSchemaContext
pub fn generate_query( &self, draft: &GraphRagQueryDraft, ) -> Result<GraphRagGeneratedQuery, GraphRagQueryGenerationError>
pub fn render_compact_cypher_guidance(&self) -> String
Trait Implementations§
Source§impl Clone for GraphRagSchemaContext
impl Clone for GraphRagSchemaContext
Source§impl Debug for GraphRagSchemaContext
impl Debug for GraphRagSchemaContext
impl Eq for GraphRagSchemaContext
Source§impl PartialEq for GraphRagSchemaContext
impl PartialEq for GraphRagSchemaContext
impl StructuralPartialEq for GraphRagSchemaContext
Auto Trait Implementations§
impl Freeze for GraphRagSchemaContext
impl RefUnwindSafe for GraphRagSchemaContext
impl Send for GraphRagSchemaContext
impl Sync for GraphRagSchemaContext
impl Unpin for GraphRagSchemaContext
impl UnsafeUnpin for GraphRagSchemaContext
impl UnwindSafe for GraphRagSchemaContext
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