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
↓ 1 callers
Method
build_complete_response
Build a complete (non-streaming) response Generates a full response without streaming, using the same synthesis logic as streaming responses but deli
graphrag-core/src/rograg/streaming.rs:387
↓ 1 callers
Method
build_document_tree
Build hierarchical tree for a document asynchronously
graphrag-core/src/async_graphrag.rs:149
↓ 1 callers
Method
build_entity_mapping
(&self)
graphrag-core/src/core/mod.rs:1122
↓ 1 callers
Method
build_extraction_prompt
Build prompt for keyword extraction
graphrag-core/src/lightrag/keyword_extraction.rs:79
↓ 1 callers
Method
build_from_clusters
Build corpus knowledge graph from entity clusters
graphrag-core/src/corpus/knowledge_graph.rs:103
↓ 1 callers
Method
build_hierarchy
Build hierarchy from sections
graphrag-core/src/text/parsers/markdown.rs:35
↓ 1 callers
Method
build_hierarchy
Build hierarchy from sections
graphrag-core/src/text/parsers/html.rs:100
↓ 1 callers
Method
build_hierarchy
Build hierarchy from sections
graphrag-core/src/text/parsers/plaintext.rs:36
↓ 1 callers
Method
build_level
( &self, level_id: usize, resolution: f32, _existing_hierarchy: &RelationshipH
graphrag-core/src/graph/hierarchical_relationships.rs:272
↓ 1 callers
Method
build_merge_decision_prompt
(&self, entities: &[Entity])
graphrag-core/src/entity/semantic_merging.rs:274
↓ 1 callers
Function
build_ref_cards
( graphrag: &GraphRAG, top: &[(String, f64)], doc_lookup: &HashMap<String, String>, )
graphrag-wasm/src/components/chat_shell.rs:143
↓ 1 callers
Method
build_relationship_graph
Build a graph where relationships are nodes
graphrag-core/src/graph/hierarchical_relationships.rs:341
↓ 1 callers
Function
build_relationships
(entities: &[Entity], window_size: usize)
examples/zero_cost_approaches_demo.rs:513
↓ 1 callers
Method
build_sections
Build sections from headings
graphrag-core/src/text/parsers/markdown.rs:18
↓ 1 callers
Method
build_sections
Build sections from headings
graphrag-core/src/text/parsers/html.rs:83
↓ 1 callers
Method
build_sections
Build sections from headings
graphrag-core/src/text/parsers/plaintext.rs:19
↓ 1 callers
Method
build_semantic_connections
Build semantic similarity connections between entities
graphrag-core/src/graph/mod.rs:244
↓ 1 callers
Method
build_statistics
( &self, computation_time_ms: u64, before: &GraphSnapshot, after: &GraphSnapsh
graphrag-core/src/incremental/delta_computation.rs:621
↓ 1 callers
Function
build_subgraph
(graphrag: &GraphRAG, top_chunk_ids: &[String])
graphrag-wasm/src/components/chat_shell.rs:187
↓ 1 callers
Method
build_validated
Build and validate the warming configuration
graphrag-core/src/caching/warming.rs:157
↓ 1 callers
Method
cache_utilization
Get cache utilization (0.0 to 1.0)
graphrag-core/src/caching/client.rs:209
↓ 1 callers
Method
calculate_answer_confidence
Calculate confidence score for the generated answer
graphrag-core/src/generation/mod.rs:997
↓ 1 callers
Method
calculate_attraction
Calculate attractive forces along edges
graphrag-wasm/src/components/force_layout.rs:199
↓ 1 callers
Method
calculate_avg_degree
Calculate average node degree in snapshot
graphrag-core/src/graph/temporal.rs:385
↓ 1 callers
Method
calculate_bleu_score
Calculate BLEU score (BiLingual Evaluation Understudy) BLEU score measures n-gram overlap between generated and reference text, with a brevity penalt
graphrag-core/src/monitoring/benchmark.rs:481
↓ 1 callers
Method
calculate_bm25_term_score
Calculate BM25 term score
graphrag-core/src/retrieval/bm25.rs:186
↓ 1 callers
Method
calculate_centrality
Calculate centrality scores for all nodes # Returns Map of node ID to centrality scores
graphrag-core/src/graph/analytics.rs:182
↓ 1 callers
Method
calculate_coherence_score
Calculate coherence score
graphrag-core/src/rograg/quality_metrics.rs:1036
↓ 1 callers
Method
calculate_completeness_score
Calculate completeness score
graphrag-core/src/rograg/validator.rs:554
↓ 1 callers
Method
calculate_completeness_score
Calculate completeness score
graphrag-core/src/rograg/quality_metrics.rs:1022
↓ 1 callers
Method
calculate_concept_relevance
Calculate relevance score for a concept based on graph connectivity
graphrag-core/src/lightrag/query_refinement.rs:220
↓ 1 callers
Method
calculate_confidence
Calculate confidence score for a relationship
graphrag-core/src/lightrag/concept_graph.rs:430
↓ 1 callers
Method
calculate_confidence
Calculate confidence score
graphrag-core/src/query/intelligence.rs:273
↓ 1 callers
Method
calculate_content_hash
Calculate content hash for deduplication
graphrag-core/src/corpus/document_manager.rs:269
↓ 1 callers
Method
calculate_evidence_score
Calculate evidence score for a potential relationship Analyzes a text chunk to determine how strongly it suggests a relationship between two entities
graphrag-core/src/inference.rs:159
↓ 1 callers
Method
calculate_exact_match
Calculate exact match score Score = (matched_tokens / total_query_tokens)
graphrag-core/src/lightrag/query_concepts.rs:224
↓ 1 callers
Method
calculate_final_confidence
Calculate final confidence score Combines synthesis confidence with intent classification confidence using weighted averaging when confidence weighti
graphrag-core/src/rograg/streaming.rs:677
↓ 1 callers
Method
calculate_fuzzy_match
Calculate fuzzy match score using edit distance Uses Levenshtein distance for typo tolerance
graphrag-core/src/lightrag/query_concepts.rs:244
↓ 1 callers
Method
calculate_idf
Calculate IDF (Inverse Document Frequency) for a term Uses Lucene-style IDF to avoid negative values for common terms
graphrag-core/src/retrieval/bm25.rs:175
↓ 1 callers
Method
calculate_importance_scores
Calculate importance scores for entities
graphrag-core/src/corpus/knowledge_graph.rs:272
↓ 1 callers
Method
calculate_intent_score
Calculate score for a specific intent
graphrag-core/src/rograg/intent_classifier.rs:598
↓ 1 callers
Function
calculate_latency_change
Calculate latency change from enabled features
examples/benchmark_quality_improvements.rs:302
↓ 1 callers
Method
calculate_linking_accuracy
Calculate linking accuracy (placeholder implementation)
graphrag-core/src/corpus/entity_linker.rs:558
↓ 1 callers
Method
calculate_modularity
Calculate modularity for a set of nodes
graphrag-core/src/graph/analytics.rs:158
↓ 1 callers
Method
calculate_modularity_delta
Calculate modularity delta for moving node between communities
graphrag-core/src/graph/leiden.rs:711
↓ 1 callers
Method
calculate_name_similarity
Calculate name similarity
graphrag-core/src/rograg/logic_form/executor.rs:652
↓ 1 callers
Method
calculate_name_similarity_heuristic
(&self, entities: &[Entity])
graphrag-core/src/entity/semantic_merging.rs:186
↓ 1 callers
Method
calculate_ngram_precision
Calculate precision for n-grams with clipping
graphrag-core/src/monitoring/benchmark.rs:525
↓ 1 callers
Method
calculate_numeric_score
Calculate numeric content score
graphrag-core/src/text/extractive_summarizer.rs:221
↓ 1 callers
Method
calculate_overall_confidence
Calculate overall confidence from matches
graphrag-core/src/rograg/fuzzy_matcher.rs:642
↓ 1 callers
Method
calculate_overall_confidence
Calculate overall confidence from bindings
graphrag-core/src/rograg/logic_form/retriever.rs:184
↓ 1 callers
Method
calculate_pagerank
Calculate PageRank scores for concepts Uses the petgraph PageRank implementation with configurable damping.
graphrag-core/src/lightrag/concept_selection.rs:225
↓ 1 callers
Method
calculate_proper_noun_score
Calculate proper noun score
graphrag-core/src/text/extractive_summarizer.rs:200
↓ 1 callers
Method
calculate_proximity_score
Calculate proximity score between entities in text Determines how close two entities are mentioned in the text. Closer proximity suggests a stronger
graphrag-core/src/inference.rs:322
↓ 1 callers
Function
calculate_quality_boost
Calculate quality boost from enabled features
examples/benchmark_quality_improvements.rs:276
↓ 1 callers
Method
calculate_quality_metrics
Calculate quality metrics
graphrag-core/src/monitoring/benchmark.rs:412
↓ 1 callers
Method
calculate_readability_score
Calculate readability score
graphrag-core/src/rograg/validator.rs:576
↓ 1 callers
Method
calculate_relevance_score
Calculate relevance score
graphrag-core/src/rograg/quality_metrics.rs:1083
↓ 1 callers
Method
calculate_relevance_score
Calculate relevance score for a node given query keywords
graphrag-core/src/summarization/mod.rs:951
↓ 1 callers
Method
calculate_repulsion
Calculate repulsive forces between all nodes
graphrag-wasm/src/components/force_layout.rs:170
↓ 1 callers
Method
calculate_rouge_l
Calculate ROUGE-L score (Recall-Oriented Understudy for Gisting Evaluation - Longest Common Subsequence) ROUGE-L measures the similarity between cand
graphrag-core/src/monitoring/benchmark.rs:582
↓ 1 callers
Method
calculate_scores_dense
High-performance dense matrix computation for small graphs
graphrag-core/src/graph/pagerank.rs:225
↓ 1 callers
Method
calculate_scores_parallel
Parallel sparse computation for large graphs
graphrag-core/src/graph/pagerank.rs:255
↓ 1 callers
Method
calculate_semantic_similarity
Calculate semantic similarity using word overlap and semantic relatedness This is a lightweight proxy for true embedding-based semantic similarity. F
graphrag-core/src/lightrag/query_concepts.rs:331
↓ 1 callers
Method
calculate_semantic_similarity
( &self, entity1: &Entity, entity2: &Entity, )
graphrag-core/src/entity/semantic_merging.rs:308
↓ 1 callers
Method
calculate_similarity_differences
Calculate cosine similarity differences between consecutive sentences
graphrag-core/src/text/semantic_chunking.rs:179
↓ 1 callers
Method
calculate_source_credibility_score
Calculate source credibility score
graphrag-core/src/rograg/validator.rs:602
↓ 1 callers
Method
calculate_statistical_significance
Calculate statistical significance
graphrag-core/src/rograg/quality_metrics.rs:1417
↓ 1 callers
Method
calculate_stats
Calculate matching statistics
graphrag-core/src/lightrag/query_concepts.rs:435
↓ 1 callers
Method
calculate_stats
Calculate statistics for ranked concepts
graphrag-core/src/lightrag/concept_selection.rs:347
↓ 1 callers
Method
calculate_strategy_weights
Calculate strategy weights based on query analysis
graphrag-core/src/retrieval/mod.rs:807
↓ 1 callers
Method
calculate_structure_boost
Calculate structure boost for chunk
graphrag-core/src/retrieval/enriched.rs:373
↓ 1 callers
Method
calculate_throughput
Calculate current throughput
graphrag-core/src/rograg/quality_metrics.rs:1190
↓ 1 callers
Method
calculate_time_span
Calculate the time span of the chain
graphrag-core/src/retrieval/causal_analysis.rs:140
↓ 1 callers
Function
calculate_token_reduction
Calculate token reduction from enabled features
examples/benchmark_quality_improvements.rs:293
↓ 1 callers
Method
calculate_word_frequency_score
Calculate word frequency score
graphrag-core/src/text/extractive_summarizer.rs:154
↓ 1 callers
Method
call_functions
Execute multiple function calls in sequence
graphrag-core/src/function_calling/mod.rs:165
↓ 1 callers
Method
call_llm_completion_check
(&self, prompt: &str)
graphrag-core/src/entity/llm_extractor.rs:256
↓ 1 callers
Method
cancel
Cancel the background task
graphrag-cli/src/tui.rs:140
↓ 1 callers
Function
centered_rect
Helper to center a rect
graphrag-cli/src/ui/components/help_overlay.rs:180
↓ 1 callers
Function
checkIndexedDB
()
examples/wasm-multi-doc-demo/app.js:509
↓ 1 callers
Function
checkSystemInfo
()
examples/wasm-multi-doc-demo/app.js:56
↓ 1 callers
Method
check_completion
( &self, chunk: &TextChunk, entities: &[EntityData], relationships: &[Relation
graphrag-core/src/entity/llm_extractor.rs:175
↓ 1 callers
Method
check_ollama_models
Pre-flight check: verify required Ollama models are available. Queries Ollama's `/api/tags` (3-second timeout) and checks that every model the curren
graphrag-cli/src/handlers/graphrag.rs:90
↓ 1 callers
Method
check_quality_alerts
Check for quality alerts
graphrag-core/src/rograg/quality_metrics.rs:1223
↓ 1 callers
Method
check_temporal_consistency
Check temporal consistency of the chain Returns true if all steps are temporally ordered (t1 < t2 < t3...)
graphrag-core/src/retrieval/causal_analysis.rs:121
↓ 1 callers
Function
check_webllm
()
graphrag-wasm/examples/webllm-demo.rs:177
↓ 1 callers
Function
chunkText
(text, chunkSize, overlap)
examples/wasm-multi-doc-demo/app.js:390
↓ 1 callers
Method
chunk_async
(&self, text: &str)
graphrag-core/src/text/chunking_strategies.rs:324
↓ 1 callers
Method
chunk_by_sentences
Sentence-based chunking
graphrag-core/src/nlp/semantic_chunking.rs:140
↓ 1 callers
Method
chunk_by_similarity
Semantic similarity-based chunking Uses lexical cohesion (word overlap) to measure similarity between sentences. Creates chunk boundaries where simil
graphrag-core/src/nlp/semantic_chunking.rs:331
↓ 1 callers
Method
chunk_by_topic
Topic-based chunking (simplified TextTiling algorithm)
graphrag-core/src/nlp/semantic_chunking.rs:282
↓ 1 callers
Method
chunk_fixed_size
Fixed-size chunking (baseline)
graphrag-core/src/nlp/semantic_chunking.rs:114
↓ 1 callers
Method
chunk_hybrid
Hybrid chunking strategy
graphrag-core/src/nlp/semantic_chunking.rs:465
↓ 1 callers
Method
chunk_text_hierarchical
Split text into chunks with overlap using hierarchical boundary preservation
graphrag-core/src/text/mod.rs:106
↓ 1 callers
Method
chunk_text_hierarchical_with_enrichment
Chunk text hierarchically and enrich with semantic metadata
graphrag-core/src/text/mod.rs:204
↓ 1 callers
Method
chunk_with_strategy
Chunk text using any strategy that implements ChunkingStrategy trait This method provides a flexible way to use different chunking approaches while m
graphrag-core/src/text/mod.rs:257
↓ 1 callers
Method
chunks
Add context chunks
graphrag-core/src/evaluation/mod.rs:383
↓ 1 callers
Method
chunks_mut
Get all chunks (mutable)
graphrag-core/src/core/mod.rs:471
↓ 1 callers
Method
classify_clause_type
(&self, clause: &str)
graphrag-core/src/rograg/decomposer.rs:679
← previous
next →
901–1,000 of 4,223, ranked by callers