GraphRAGPipeline: GraphRAG Pipeline

GraphRAGPipelineR Documentation

GraphRAG Pipeline

Description

Complete GraphRAG processing pipeline

Public fields

config

GraphRAGConfig

graph

KnowledgeGraph

communities

Detected communities

Methods

Public methods


Method new()

Create a new GraphRAGPipeline

Usage
GraphRAGPipeline$new(config = NULL)
Arguments
config

GraphRAGConfig


Method process()

Process documents

Usage
GraphRAGPipeline$process(texts, document_ids = NULL)
Arguments
texts

Character vector of documents

document_ids

Document IDs

Returns

Self


Method search()

Search the graph

Usage
GraphRAGPipeline$search(query, search_type = NULL)
Arguments
query

Query string

search_type

"local", "global", or "hybrid"

Returns

Search result


Method stats()

Get statistics

Usage
GraphRAGPipeline$stats()
Returns

Named list


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.


VectrixDB documentation built on Feb. 20, 2026, 5:09 p.m.