MCPcopy Create free account

hub / github.com/automataIA/graphrag-rs / functions

Functions4,223 in github.com/automataIA/graphrag-rs

↓ 1 callersFunctiondemo_extractive_vs_llm
Demonstrate the difference between extractive and LLM-based summarization
examples/llm_hierarchical_summarization_demo.rs:106
↓ 1 callersFunctiondemo_graph_traversal
()
graphrag-core/examples/advanced_nlp_demo.rs:65
↓ 1 callersFunctiondemo_html_document
()
graphrag-core/examples/document_enrichment_demo.rs:128
↓ 1 callersFunctiondemo_hybrid_strategies
Demonstrate hybrid strategies
examples/zero_cost_approaches_demo.rs:318
↓ 1 callersFunctiondemo_lazy_graphrag
Demonstrate LazyGraphRAG-style approach Cost: $0.10 indexing, $0.0014 per query
examples/zero_cost_approaches_demo.rs:69
↓ 1 callersFunctiondemo_level_specific_configuration
Demonstrate level-specific configuration
examples/llm_hierarchical_summarization_demo.rs:287
↓ 1 callersFunctiondemo_markdown_document
()
graphrag-core/examples/document_enrichment_demo.rs:40
↓ 1 callersFunctiondemo_pipeline_validation
Demonstrate pipeline phase validation
graphrag-core/examples/llm_evaluation_demo.rs:40
↓ 1 callersFunctiondemo_plaintext_document
()
graphrag-core/examples/document_enrichment_demo.rs:193
↓ 1 callersFunctiondemo_progressive_summarization
Demonstrate progressive summarization across levels
examples/llm_hierarchical_summarization_demo.rs:191
↓ 1 callersFunctiondemo_pure_algorithmic
Demonstrate Pure Algorithmic approach Cost: $0 indexing, $0 query
examples/zero_cost_approaches_demo.rs:226
↓ 1 callersFunctiondemo_query_evaluation
Demonstrate query result evaluation
graphrag-core/examples/llm_evaluation_demo.rs:243
↓ 1 callersFunctiondemo_query_optimization
()
graphrag-core/examples/advanced_nlp_demo.rs:155
↓ 1 callersFunctiondemo_syntax_analysis
()
graphrag-core/examples/advanced_nlp_demo.rs:28
↓ 1 callersFunctiondemonstrate_hierarchical_chunking
(document: &Document)
graphrag-core/examples/symposium_trait_based_chunking.rs:96
↓ 1 callersFunctiondemonstrate_tree_sitter_chunking
()
graphrag-core/examples/symposium_trait_based_chunking.rs:118
↓ 1 callersMethoddenormalize_entity_id
Denormalize EntityId back to concept
graphrag-core/src/lightrag/query_refinement.rs:313
↓ 1 callersMethoddensity
Get graph density
graphrag-core/src/graph/temporal.rs:192
↓ 1 callersMethoddensity
Get graph density # Returns Graph density (0.0 to 1.0)
graphrag-core/src/graph/analytics.rs:432
↓ 1 callersMethoddetect_and_adjust_stagnation
Detect stagnation in metrics and adjust objective weights
graphrag-core/src/optimization/graph_weight_optimizer.rs:568
↓ 1 callersMethoddetect_communities
Detect communities using Louvain algorithm This is a simplified implementation. Full Louvain requires iterative optimization. # Returns List of dete
graphrag-core/src/graph/analytics.rs:97
↓ 1 callersMethoddetect_conflict
(&self, change: &ChangeRecord)
graphrag-core/src/graph/incremental/store.rs:211
↓ 1 callersMethoddetect_hierarchical_communities
( &self, config: crate::graph::leiden::LeidenConfig, )
graphrag-core/src/core/mod.rs:1100
↓ 1 callersMethoddetect_language
Basic language detection (placeholder implementation)
graphrag-core/src/corpus/document_manager.rs:279
↓ 1 callersMethoddetect_query_type
Detect query type based on patterns
graphrag-core/src/query/intelligence.rs:170
↓ 1 callersMethoddetermine_breakpoints
Determine chunk breakpoints based on similarity differences
graphrag-core/src/text/semantic_chunking.rs:213
↓ 1 callersMethoddetermine_retrieval_strategy
Determine retrieval strategy used
graphrag-core/src/rograg/quality_metrics.rs:1124
↓ 1 callersMethoddetermine_strategy
Determine the primary strategy used
graphrag-core/src/rograg/fuzzy_matcher.rs:718
↓ 1 callersMethoddetermine_template_type
Determine the appropriate template type based on query intent Maps the classified query intent to the most suitable response template type, with fall
graphrag-core/src/rograg/streaming.rs:405
↓ 1 callersMethoddfs_paths
DFS helper for all_paths
graphrag-core/src/graph/analytics.rs:375
↓ 1 callersMethoddfs_recursive
( &self, graph: &KnowledgeGraph, current_id: &EntityId, depth: usize,
graphrag-core/src/graph/traversal.rs:177
↓ 1 callersMethoddimension
Get embedding dimension (assuming all embeddings have the same dimension)
graphrag-core/src/vector/mod.rs:224
↓ 1 callersMethoddisable_all
Disable all enhancements
graphrag-core/src/config/enhancements.rs:445
↓ 1 callersFunctiondiscover_relationships_algorithmic
(patterns: &[Pattern], keywords: &[String], window_size: usize)
examples/zero_cost_approaches_demo.rs:561
↓ 1 callersMethoddisplay
Get human-readable display format
graphrag-core/src/caching/cache_key.rs:50
↓ 1 callersFunctiondisplayResults
(results)
examples/wasm-multi-doc-demo/app.js:355
↓ 1 callersMethoddisplay_string
Get a display string for the heading
graphrag-core/src/text/document_structure.rs:57
↓ 1 callersMethoddisplay_with_suggestion
Get a formatted error message with suggestion Returns a user-friendly error message including the suggestion.
graphrag-core/src/core/error.rs:924
↓ 1 callersMethoddiversity_aware_selection
Apply diversity-aware selection to avoid redundant results
graphrag-core/src/retrieval/adaptive.rs:264
↓ 1 callersMethoddocument_count
Count documents in the graph
graphrag-core/src/core/mod.rs:900
↓ 1 callersMethoddownload_model
(&mut self)
graphrag-core/src/embeddings/huggingface.rs:94
↓ 1 callersMethoddownload_model
Download model files from HuggingFace
graphrag-wasm/src/embedder.rs:252
↓ 1 callersMethodefficiency_score
Get efficiency score (0.0 to 1.0)
graphrag-core/src/caching/stats.rs:279
↓ 1 callersMethodembed
(&self, text: &str)
graphrag-core/src/embeddings/huggingface.rs:262
↓ 1 callersMethodembed
(&self, text: &str)
graphrag-core/src/embeddings/ollama.rs:46
↓ 1 callersMethodembed
(&self, text: &str)
graphrag-core/src/embeddings/api_providers.rs:466
↓ 1 callersMethodembed
(&self, text: &str)
graphrag-core/src/text/semantic_coherence.rs:461
↓ 1 callersMethodembed
(&self, text: &str)
graphrag-core/tests/bar_rag_integration.rs:38
↓ 1 callersMethodembed
Generate embedding for text # Arguments `text` - Input text # Returns Embedding vector
graphrag-wasm/src/onnx_embedder.rs:252
↓ 1 callersMethodembed
Generate embedding for a single text Uses GPU acceleration for fast inference (2-5ms). # Arguments `text` - Input text to embed # Returns Vector of
graphrag-wasm/src/gpu_embedder.rs:235
↓ 1 callersMethodembed_batch
(&self, texts: &[&str])
graphrag-core/src/text/semantic_coherence.rs:476
↓ 1 callersMethodembed_sentences
Generate embeddings for all sentences
graphrag-core/src/text/semantic_chunking.rs:167
↓ 1 callersMethodenable_only
Enable only specific enhancements
graphrag-core/src/config/enhancements.rs:450
↓ 1 callersMethodenable_statistics
Enable or disable statistics collection
graphrag-core/src/caching/cache_config.rs:264
↓ 1 callersMethodenforce_size_constraints
(&self, mut chunks: Vec<TextChunk>)
graphrag-core/src/text/chunking_strategies.rs:441
↓ 1 callersMethodenrich_one
( &self, chunk: &TextChunk, document_text: &str, num_ctx: u32, )
graphrag-core/src/text/contextual_enricher.rs:182
↓ 1 callersMethodenrich_single_chunk
Enrich a single chunk with metadata
graphrag-core/src/text/chunk_enricher.rs:80
↓ 1 callersMethodensure_initialized
Ensure engine is initialized
graphrag-wasm/src/webllm.rs:684
↓ 1 callersMethodensure_model_loaded
Ensure the ONNX model is loaded, loading it if necessary.
graphrag-core/src/entity/gliner_extractor.rs:82
↓ 1 callersMethodentities_mut
Get all entities (mutable)
graphrag-core/src/core/mod.rs:451
↓ 1 callersMethodentity_centric_search
Entity-centric search focusing on specific entities
graphrag-core/src/retrieval/mod.rs:822
↓ 1 callersMethodentity_count
Get the number of entities in the knowledge graph
graphrag-wasm/src/lib.rs:421
↓ 1 callersMethodentries
(&self)
graphrag-cli/src/query_history.rs:58
↓ 1 callersFunctionescapeHtml
(text)
examples/wasm-multi-doc-demo/app.js:483
↓ 1 callersFunctionestimate_memory_mb
Estimate memory usage
graphrag-server/src/handlers.rs:637
↓ 1 callersFunctionestimate_memory_mb
(collection: &Collection)
examples/graphrag_multi_doc_server.rs:603
↓ 1 callersMethodestimate_tokens
(&self, prompt: &str)
graphrag-core/src/generation/async_mock_llm.rs:463
↓ 1 callersMethodevaluate
Evaluate the quality of a RAG answer against the query and context Returns an evaluation result with score, grounding information, and feedback
graphrag-core/src/critic/mod.rs:36
↓ 1 callersMethodevaluate_graph_quality
( &self, graph: &KnowledgeGraph, test_queries: &[TestQuery], )
graphrag-core/src/optimization/graph_weight_optimizer.rs:311
↓ 1 callersMethodevaluate_with_llm
( &self, graph: &KnowledgeGraph, test_query: &TestQuery, )
graphrag-core/src/optimization/graph_weight_optimizer.rs:444
↓ 1 callersMethodevict_entries
(&mut self, required_space: usize)
graphrag-core/src/caching/persistent.rs:258
↓ 1 callersMethodevict_l1
Evict from L1 cache using LRU
graphrag-server/src/distributed_cache.rs:401
↓ 1 callersMethodevolution_metrics
Calculate evolution metrics over time
graphrag-core/src/graph/temporal.rs:361
↓ 1 callersMethodexact_match_linking
Exact string matching for entity linking
graphrag-core/src/corpus/entity_linker.rs:171
↓ 1 callersMethodexecute_adaptive_retrieval
Execute adaptive retrieval based on query analysis
graphrag-core/src/retrieval/mod.rs:584
↓ 1 callersMethodexecute_caused_query
Execute causal queries (Why did X cause Y?)
graphrag-core/src/rograg/logic_form/executor.rs:436
↓ 1 callersMethodexecute_compare_query
Execute "compare" queries (Compare X and Y)
graphrag-core/src/rograg/logic_form/executor.rs:232
↓ 1 callersMethodexecute_dual_level_retrieval
Execute dual-level retrieval for all subqueries
graphrag-core/src/rograg/processor.rs:435
↓ 1 callersMethodexecute_happened_query
Execute temporal queries (When did X happen?)
graphrag-core/src/rograg/logic_form/executor.rs:263
↓ 1 callersMethodexecute_has_query
Execute "has" queries (What does X have?)
graphrag-core/src/rograg/logic_form/executor.rs:146
↓ 1 callersMethodexecute_is_query
Execute "is" queries (What is X?)
graphrag-core/src/rograg/logic_form/executor.rs:67
↓ 1 callersMethodexecute_related_query
Execute "related" queries (How are X and Y related?)
graphrag-core/src/rograg/logic_form/executor.rs:98
↓ 1 callersMethodexpand_concepts
Expand current concepts to related concepts
graphrag-core/src/lightrag/iterative_deepening.rs:224
↓ 1 callersMethodexpand_synonyms
Expand query with synonyms
graphrag-core/src/query/intelligence.rs:243
↓ 1 callersMethodexpand_through_relationships
Expand search through graph relationships
graphrag-core/src/retrieval/mod.rs:1284
↓ 1 callersMethodexplain
Generate an execution plan with cost annotations
graphrag-core/src/query/optimizer.rs:477
↓ 1 callersMethodexplain_recursive
Recursively build execution plan string
graphrag-core/src/query/optimizer.rs:494
↓ 1 callersMethodexport
Export knowledge graph to file
graphrag-core/src/corpus/knowledge_graph.rs:397
↓ 1 callersMethodexport
()
examples/wasm-multi-doc-demo/app.js:597
↓ 1 callersMethodexport_json_metrics
Export metrics in JSON format # Returns JSON-formatted metrics
graphrag-server/src/observability.rs:293
↓ 1 callersMethodexport_prometheus_metrics
Export metrics in Prometheus format # Returns Prometheus-formatted metrics string
graphrag-server/src/observability.rs:233
↓ 1 callersMethodexport_to_json
Export metrics to JSON
graphrag-core/src/rograg/quality_metrics.rs:1474
↓ 1 callersMethodextract
Extract dual-level keywords from query Returns (high_level_keywords, low_level_keywords)
graphrag-core/src/lightrag/keyword_extraction.rs:62
↓ 1 callersFunctionextract_adapter_info
Extract information from WebGPU adapter
graphrag-wasm/src/webgpu_check.rs:138
↓ 1 callersMethodextract_additional
( &self, chunk: &TextChunk, previous_entities: &[EntityData], previous_relatio
graphrag-core/src/entity/llm_extractor.rs:133
↓ 1 callersMethodextract_all_entities
Extract entities from all documents in the collection
graphrag-core/src/corpus/collection_processor.rs:188
↓ 1 callersMethodextract_all_sources
Extract all unique sources from subquery results Collects and deduplicates all source references from the subquery results.
graphrag-core/src/rograg/streaming.rs:693
↓ 1 callersMethodextract_atomic_facts
(&self, chunk: &TextChunk)
graphrag-core/src/entity/atomic_fact_extractor.rs:125
↓ 1 callersFunctionextract_auth_user
Extract authenticated user from request headers
graphrag-server/src/auth.rs:289
↓ 1 callersMethodextract_batch
(&self, texts: &[&str])
graphrag-core/src/core/entity_adapters.rs:88
← previousnext →1,201–1,300 of 4,223, ranked by callers