Table of Contents

Namespace AiDotNet.RetrievalAugmentedGeneration.Graph

Classes

BTreeIndex

Simple file-based index for mapping string keys to file offsets.

FileGraphStore<T>

File-based implementation of IGraphStore<T> with persistent storage on disk.

GraphAnalytics

Provides graph analytics algorithms for analyzing knowledge graphs.

GraphEdge<T>

Represents a directed edge (relationship) between two nodes in a knowledge graph.

GraphNode<T>

Represents a node in a knowledge graph, typically an entity extracted from text.

GraphPath<T>

Represents a path in the graph: source node -> edge -> target node.

GraphQueryMatcher<T>

Simple pattern matching for graph queries (inspired by Cypher/SPARQL but simplified).

GraphTransaction<T>

Transaction coordinator for managing transactions on graph stores with best-effort rollback.

HybridGraphRetriever<T>

Hybrid retriever that combines vector similarity search with graph traversal for enhanced RAG.

KnowledgeGraph<T>

Knowledge graph for storing and querying entity relationships using a pluggable storage backend.

MemoryGraphStore<T>

In-memory implementation of IGraphStore<T> using dictionaries for fast lookups.

RetrievalResult<T>

Represents a retrieval result from the hybrid retriever.

WALEntry

Represents a single entry in the Write-Ahead Log.

WriteAheadLog

Write-Ahead Log (WAL) for ensuring ACID properties and crash recovery.

Enums

RetrievalSource

Indicates how a result was retrieved.

TransactionState

Represents the state of a transaction.

WALOperationType

Types of operations that can be logged in the WAL.