Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/automataIA/graphrag-rs
/ functions
Functions
4,223 in github.com/automataIA/graphrag-rs
⨍
Functions
4,223
◇
Types & classes
1,087
↓ 3 callers
Function
executeQuery
()
examples/wasm-multi-doc-demo/app.js:326
↓ 3 callers
Method
extract_concepts
Extract concepts from text
graphrag-core/src/lightrag/concept_graph.rs:162
↓ 3 callers
Method
extract_document_entities_internal
Internal entity extraction implementation
graphrag-core/src/corpus/collection_processor.rs:256
↓ 3 callers
Method
extract_structure_references
Extract chapter/section references from query
graphrag-core/src/retrieval/enriched.rs:341
↓ 3 callers
Method
find_canonical_entity
Find candidate entity for linking a new mention
graphrag-core/src/entity/string_similarity_linker.rs:408
↓ 3 callers
Method
find_optimal_split
Find optimal split points in text to maximize chunk coherence Uses a greedy algorithm: 1. Start with no splits 2. Try all candidate split points 3. P
graphrag-core/src/text/semantic_coherence.rs:214
↓ 3 callers
Method
from
(value: JsValue)
graphrag-wasm/src/webllm.rs:97
↓ 3 callers
Method
fuzzy_match_linking
Fuzzy string matching with edit distance
graphrag-core/src/corpus/entity_linker.rs:213
↓ 3 callers
Method
generate
Generate embeddings for a batch of texts
graphrag-server/src/embeddings.rs:154
↓ 3 callers
Method
generate_extractive_answer
Generate extractive answer from context with improved relevance scoring
graphrag-core/src/generation/mod.rs:72
↓ 3 callers
Method
generate_semantic_answer_from_results
( &self, query: &str, search_results: &[retrieval::SearchResult], )
graphrag-core/src/graphrag/ask.rs:307
↓ 3 callers
Method
generate_summary
(&self, content: &str, max_length: usize)
graphrag-core/src/generation/mod.rs:357
↓ 3 callers
Method
generate_summary_async
Generate summary asynchronously
graphrag-core/src/generation/async_mock_llm.rs:328
↓ 3 callers
Method
generate_warming_queries
Generate warming queries based on the configured strategy
graphrag-core/src/caching/warming.rs:281
↓ 3 callers
Method
get_chunks_for_entity
Get all chunks that contain a specific entity Returns an empty vector if the entity is not found
graphrag-core/src/entity/bidirectional_index.rs:210
↓ 3 callers
Method
get_document
Get a document by ID
graphrag-core/src/core/mod.rs:425
↓ 3 callers
Method
get_entity_by_id
Get entity by ID (string version for compatibility)
graphrag-core/src/core/mod.rs:780
↓ 3 callers
Method
get_function_definitions
Get all available function definitions
graphrag-core/src/function_calling/mod.rs:106
↓ 3 callers
Method
get_ids
Get all vector IDs
graphrag-core/src/vector/mod.rs:241
↓ 3 callers
Method
get_predefined_queries
Get predefined common queries for warming
graphrag-core/src/caching/warming.rs:292
↓ 3 callers
Method
get_propagation_stats
Get statistics about lazy propagation
graphrag-core/src/incremental/mod.rs:666
↓ 3 callers
Method
get_sources
Get source attribution information
graphrag-core/src/generation/mod.rs:557
↓ 3 callers
Method
get_stats
Get knowledge graph statistics
graphrag-cli/src/handlers/graphrag.rs:385
↓ 3 callers
Method
get_table
(&self)
graphrag-core/src/vector/lancedb.rs:30
↓ 3 callers
Method
get_timestamp
Get the midpoint timestamp of this step (for ordering)
graphrag-core/src/retrieval/causal_analysis.rs:90
↓ 3 callers
Method
handle_execute_reason_query
Handle executing a query in Reason mode (query decomposition)
graphrag-cli/src/app.rs:618
↓ 3 callers
Function
hash_embedding
Generate hash-based TF embedding
graphrag-server/src/handlers.rs:465
↓ 3 callers
Function
hash_embedding
(text: &str, dimension: usize)
examples/graphrag_multi_doc_server.rs:461
↓ 3 callers
Function
hash_embedding
Hash-based TF embedding implementation (Exact same algorithm as graphrag-wasm/src/embedder.rs:270-327)
examples/symposium_real_search.rs:185
↓ 3 callers
Method
hash_key
(&self, key: &str)
graphrag-core/src/caching/persistent.rs:229
↓ 3 callers
Method
increment_fallback
(&mut self)
graphrag-core/src/rograg/processor.rs:145
↓ 3 callers
Method
index_documents
Index multiple documents
graphrag-core/src/retrieval/bm25.rs:107
↓ 3 callers
Function
init
()
examples/wasm-multi-doc-demo/app.js:31
↓ 3 callers
Method
initialize_patterns
Initialize intent patterns
graphrag-core/src/rograg/intent_classifier.rs:312
↓ 3 callers
Method
is_expired
(&self, entry: &EntryMetadata)
graphrag-core/src/caching/persistent.rs:235
↓ 3 callers
Function
is_onnx_available
Check if ONNX Runtime Web is available
graphrag-wasm/src/onnx_embedder.rs:48
↓ 3 callers
Method
is_ready
(&self)
graphrag-core/src/core/test_utils.rs:82
↓ 3 callers
Method
len
(&self)
graphrag-core/src/core/test_utils.rs:296
↓ 3 callers
Method
list_workspaces
List all workspaces
graphrag-core/src/persistence/workspace.rs:156
↓ 3 callers
Method
load_document_with_options
Load a document into the knowledge graph # Arguments `path` - Path to the document to load `rebuild` - If true, clears existing graph AND documents b
graphrag-cli/src/handlers/graphrag.rs:191
↓ 3 callers
Function
make_test_document_and_chunks
Build a small Document with N chunks for testing. Content is the Plato Symposium excerpt (first ~500 words) repeated across chunks.
graphrag-core/tests/contextual_enricher_e2e.rs:66
↓ 3 callers
Method
normalize
(&self)
graphrag-wasm/src/components/force_layout.rs:30
↓ 3 callers
Function
ollama_tests_enabled
Return true only if the user explicitly opted into Ollama tests. We use an env var instead of relying solely on `#[ignore]` so CI can never accidenta
graphrag-core/tests/contextual_enricher_e2e.rs:40
↓ 3 callers
Function
open_store
Open the IndexedDB database. Returns `None` if the browser does not support it.
graphrag-wasm/src/persist.rs:15
↓ 3 callers
Method
parse
(&self, content: &str)
graphrag-core/src/text/parsers/plaintext.rs:82
↓ 3 callers
Method
parse_extraction_response
(&self, response: &str)
graphrag-core/src/entity/llm_extractor.rs:275
↓ 3 callers
Function
parse_json5_str
(contents: &str)
graphrag-core/src/config/json5_loader.rs:59
↓ 3 callers
Method
parse_llm_evaluation
Parse LLM evaluation response
graphrag-core/src/optimization/graph_weight_optimizer.rs:526
↓ 3 callers
Method
prefixed_key
Generate a prefixed key for Redis storage
graphrag-core/src/caching/distributed.rs:170
↓ 3 callers
Method
print
Print comprehensive cache information to the log
graphrag-core/src/caching/client.rs:306
↓ 3 callers
Method
print
(&self)
graphrag-core/src/graph/mod.rs:373
↓ 3 callers
Method
process_query
Process a query using the complete ROGRAG pipeline
graphrag-core/src/rograg/processor.rs:323
↓ 3 callers
Method
query_internal_with_results
( &mut self, query: &str, )
graphrag-core/src/graphrag/ask.rs:280
↓ 3 callers
Method
query_with_raw
Execute a query and return both LLM answer and raw search results Returns a tuple of (llm_answer, raw_results)
graphrag-cli/src/handlers/graphrag.rs:291
↓ 3 callers
Method
rank_concepts
Rank all concepts in the graph Returns concepts sorted by score in descending order. # Arguments `graph` - The concept graph to rank `total_documen
graphrag-core/src/lightrag/concept_selection.rs:134
↓ 3 callers
Method
record_change
Record a graph change for incremental updates
graphrag-core/src/graph/incremental/manager.rs:656
↓ 3 callers
Method
record_miss
Record a cache miss
graphrag-core/src/caching/stats.rs:61
↓ 3 callers
Method
record_query
Record a query and its results
graphrag-core/src/rograg/quality_metrics.rs:931
↓ 3 callers
Method
record_success
Record a successful request
graphrag-core/src/ollama/mod.rs:119
↓ 3 callers
Method
refine_query
Refine a query using the concept graph and bidirectional index This performs iterative deepening to expand the query with related concepts and identi
graphrag-core/src/lightrag/query_refinement.rs:104
↓ 3 callers
Method
relationships
Get reference to relationships (for internal use)
graphrag-wasm/src/lib.rs:756
↓ 3 callers
Method
remove_node
Remove node and its edges
graphrag-core/src/incremental/mod.rs:618
↓ 3 callers
Method
retrieve_entity
(&self, id: &str)
graphrag-core/src/core/traits.rs:1280
↓ 3 callers
Method
save_metadata
(&self)
graphrag-core/src/caching/persistent.rs:341
↓ 3 callers
Method
score_pair
(&self, query: &str, document: &str)
graphrag-core/src/reranking/cross_encoder.rs:198
↓ 3 callers
Method
scores_to_entity_map
(&self, scores: &[f64])
graphrag-core/src/graph/pagerank.rs:485
↓ 3 callers
Method
search
Perform hybrid search combining semantic and keyword retrieval
graphrag-core/src/retrieval/hybrid.rs:168
↓ 3 callers
Method
search_parsed
(&self, query: JsValue, k: usize)
graphrag-wasm/src/voy_bindings.rs:217
↓ 3 callers
Method
serialize_params
Serialize generation parameters for inclusion in cache key
graphrag-core/src/caching/cache_key.rs:284
↓ 3 callers
Method
shortest_path
Find shortest path between two nodes (Dijkstra's algorithm) # Arguments `start` - Starting node ID `end` - Ending node ID # Returns Shortest path if
graphrag-core/src/graph/analytics.rs:281
↓ 3 callers
Function
showLoading
(message)
examples/wasm-multi-doc-demo/app.js:446
↓ 3 callers
Method
snapshot
Export statistics as a snapshot
graphrag-core/src/caching/stats.rs:178
↓ 3 callers
Method
snapshot_at
Get snapshot at specific timestamp
graphrag-core/src/graph/temporal.rs:254
↓ 3 callers
Method
split_sentences
Split text into sentences using multiple heuristics
graphrag-core/src/text/extractive_summarizer.rs:71
↓ 3 callers
Method
store_entity
(&mut self, entity: Self::Entity)
graphrag-core/src/core/traits.rs:1275
↓ 3 callers
Method
strategy
Set the warming strategy to use
graphrag-core/src/caching/warming.rs:104
↓ 3 callers
Method
submit_operation
Submit a single update operation (non-blocking)
graphrag-core/src/incremental/async_batch.rs:268
↓ 3 callers
Method
synthesize
Synthesize multiple subquery results using the specified strategy Combines information from multiple subquery results into a single coherent response
graphrag-core/src/rograg/streaming.rs:811
↓ 3 callers
Method
synthesize_sequential
Sequential synthesis strategy Concatenates results in order with equal weighting, computing average confidence.
graphrag-core/src/rograg/streaming.rs:832
↓ 3 callers
Method
tokenize
Tokenize text into terms
graphrag-core/src/retrieval/bm25.rs:202
↓ 3 callers
Method
tokenize
Tokenize text into words
graphrag-core/src/text/keyword_extraction.rs:68
↓ 3 callers
Method
ttl_seconds
Set the time-to-live in seconds
graphrag-core/src/caching/cache_config.rs:246
↓ 3 callers
Method
validate
Validate the configuration
graphrag-core/src/caching/warming.rs:73
↓ 3 callers
Method
validate_query
Validate a query before processing
graphrag-core/src/rograg/validator.rs:298
↓ 3 callers
Method
validate_relationship
Validate relationship
graphrag-core/src/pipeline/data_import.rs:878
↓ 3 callers
Method
vector_similarity_search
( &self, query: &str, graph: &KnowledgeGraph, )
graphrag-core/src/retrieval/pagerank_retrieval.rs:232
↓ 3 callers
Method
with_max_tokens
Set maximum tokens for LLM generation (default: 1500)
graphrag-core/src/entity/llm_extractor.rs:54
↓ 3 callers
Method
with_min_cluster_size
Set minimum cluster size
graphrag-core/src/graph/hierarchical_relationships.rs:240
↓ 3 callers
Method
with_position
Create metadata with position in document
graphrag-core/src/core/metadata.rs:118
↓ 3 callers
Method
with_resolutions
Set resolution parameters for clustering
graphrag-core/src/graph/hierarchical_relationships.rs:234
↓ 3 callers
Method
with_storage
Register a storage implementation
graphrag-core/src/core/registry.rs:116
↓ 3 callers
Method
workspace_exists
Check if workspace exists
graphrag-core/src/persistence/workspace.rs:110
↓ 2 callers
Method
access
Records an access to this cache entry. Increments the access counter and updates the last_accessed timestamp.
graphrag-core/src/caching/mod.rs:138
↓ 2 callers
Method
adaptive_retrieve_detailed
Retrieve with detailed query analysis Returns both the retrieval results and the query analysis that determined the level. # Arguments `query` - Use
graphrag-core/src/graph/leiden.rs:410
↓ 2 callers
Method
add_chunks
(&mut self, chunks: Vec<Chunk>)
examples/multi_document_pipeline.rs:401
↓ 2 callers
Method
add_custom
Add a custom metadata field
graphrag-core/src/core/metadata.rs:130
↓ 2 callers
Method
add_dependency
Register a dependency relationship
graphrag-core/src/incremental/lazy_propagation.rs:516
↓ 2 callers
Method
add_document
Add a document to the system
graphrag-core/src/graphrag/documents.rs:43
↓ 2 callers
Method
add_document
Add a document chunk with metadata # Arguments `id` - Unique document ID `embedding` - Embedding vector `metadata` - Document metadata including enti
graphrag-server/src/qdrant_store.rs:153
↓ 2 callers
Method
add_embedding
Add a single embedding to the index # Arguments `embedding` - Vector embedding as Float32Array `id` - Document ID `title` - Document title `url` - Do
graphrag-wasm/src/voy_bindings.rs:170
← previous
next →
401–500 of 4,223, ranked by callers