graphrag_core/builder/
mod.rs1use crate::core::{GraphRAGError, Result};
6
7#[derive(Debug, Clone, Default)]
9pub struct GraphRAGBuilder {
10 }
12
13impl GraphRAGBuilder {
14 pub fn new() -> Self {
16 Self::default()
17 }
18
19 pub fn build(self) -> Result<GraphRAG> {
21 Err(GraphRAGError::Config {
22 message: "GraphRAG builder not yet implemented".to_string(),
23 })
24 }
25}
26
27#[derive(Debug)]
29pub struct GraphRAG {
30 }
32
33impl GraphRAG {
34 pub fn builder() -> GraphRAGBuilder {
36 GraphRAGBuilder::new()
37 }
38}