Complete GraphRAG processing pipeline
Public fields
config
GraphRAGConfig
graph
KnowledgeGraph
communities
Detected communities
Methods
Method new()
Create a new GraphRAGPipeline
Method process()
Process documents
Usage
GraphRAGPipeline$process(texts, document_ids = NULL)
Arguments
texts
Character vector of documents
document_ids
Document IDs
Search the graph
Usage
GraphRAGPipeline$search(query, search_type = NULL)
Arguments
query
Query string
search_type
"local", "global", or "hybrid"
Method stats()
Get statistics
Method clone()
The objects of this class are cloneable with this method.
Usage
GraphRAGPipeline$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.