MCPcopy Create free account

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

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

↓ 4 callersMethodget_combined_content
Combine all content into a single text block
graphrag-core/src/generation/mod.rs:526
↓ 4 callersMethodget_compression
(&self)
graphrag-core/src/persistence/parquet.rs:1174
↓ 4 callersMethodget_entities_metadata
Get entity metadata for entities in a community # Arguments `entity_names` - List of entity names # Returns Vec of EntityMetadata for the entities
graphrag-core/src/graph/leiden.rs:92
↓ 4 callersFunctionhash_embedding
Hash-based TF embedding implementation (Same as CandleEmbedder::embed() in graphrag-wasm/src/embedder.rs)
examples/test_real_embeddings.rs:125
↓ 4 callersFunctionhash_embedding
Generate hash-based TF embedding (same as graphrag-wasm)
examples/multi_document_pipeline.rs:442
↓ 4 callersMethodheuristic_merge_decision
(&self, entity_group: &[Entity])
graphrag-core/src/entity/semantic_merging.rs:133
↓ 4 callersFunctionhideLoading
()
examples/wasm-multi-doc-demo/app.js:451
↓ 4 callersMethodindex_graph
Index a knowledge graph for retrieval
graphrag-core/src/retrieval/mod.rs:129
↓ 4 callersFunctioninit
()
graphrag-wasm/src/lib.rs:73
↓ 4 callersMethodis_available
(&self)
graphrag-core/src/core/traits.rs:1342
↓ 4 callersMethodjaccard_similarity
Compute token-based Jaccard similarity
graphrag-core/src/entity/string_similarity_linker.rs:325
↓ 4 callersMethodload_graph
Load knowledge graph from Parquet files
graphrag-core/src/persistence/parquet.rs:166
↓ 4 callersMethodmagnitude
(&self)
graphrag-wasm/src/components/force_layout.rs:26
↓ 4 callersMethodmatch_query_to_concepts
Match a query to ranked concepts Returns concepts sorted by relevance to the query, combining: - Original ranking score - Query-concept match score
graphrag-core/src/lightrag/query_concepts.rs:135
↓ 4 callersMethodmax_capacity
Set the maximum capacity (number of entries)
graphrag-core/src/caching/cache_config.rs:240
↓ 4 callersMethodnode_count
Get the number of nodes in the graph
graphrag-core/src/graph/pagerank.rs:504
↓ 4 callersMethodnode_degree
Get node degree in snapshot
graphrag-core/src/graph/temporal.rs:184
↓ 4 callersMethodnormalize_string
Normalize string for comparison
graphrag-core/src/entity/string_similarity_linker.rs:168
↓ 4 callersMethodrecord_hit
Record a cache hit with time saved
graphrag-core/src/caching/stats.rs:53
↓ 4 callersMethodrecord_query
Record query metric # Arguments `query_type` - Type of query (e.g., "semantic", "keyword", "hybrid") `latency_ms` - Query latency in milliseconds
graphrag-server/src/observability.rs:159
↓ 4 callersMethodremove
Remove a value from the cache
graphrag-core/src/caching/persistent.rs:200
↓ 4 callersMethodretrieve_at_level
Retrieve relevant communities at a specific hierarchical level # Arguments `query` - User query string `graph` - The original graph `level` - Hierarc
graphrag-core/src/graph/leiden.rs:359
↓ 4 callersMethodsave_graph
Save knowledge graph to Parquet files
graphrag-core/src/persistence/parquet.rs:143
↓ 4 callersMethodsearch
Perform iterative deepening search Returns search results with relevant chunks and search statistics
graphrag-core/src/lightrag/iterative_deepening.rs:112
↓ 4 callersMethodsearch
Search for documents matching the query
graphrag-core/src/retrieval/bm25.rs:115
↓ 4 callersMethodserialize
Serialize the index for storage (returns JSON)
graphrag-wasm/src/voy_bindings.rs:281
↓ 4 callersMethodset_from_json
Set configuration from JSON
graphrag-server/src/config_handler.rs:32
↓ 4 callersMethodsize
Get the number of indexed embeddings (if available)
graphrag-wasm/src/voy_bindings.rs:293
↓ 4 callersMethodstats
Get collection statistics
graphrag-server/src/qdrant_store.rs:326
↓ 4 callersMethodsub
(&self, other: &Vec2)
graphrag-wasm/src/components/force_layout.rs:49
↓ 4 callersMethodsuggest_level
Suggest hierarchical level for query
graphrag-core/src/query/adaptive_routing.rs:216
↓ 4 callersMethodsummarize
Generate a summary of the given text # Arguments `text` - The input text to summarize `max_length` - Maximum character length of the summary # Retur
graphrag-core/src/text/extractive_summarizer.rs:30
↓ 4 callersMethodto_embedding_config
Convert TOML config to EmbeddingConfig
graphrag-core/src/embeddings/config.rs:86
↓ 4 callersMethodto_graphrag_config
Convert to the existing Config format for compatibility
graphrag-core/src/config/setconfig.rs:1819
↓ 4 callersMethodvalidate_entity
Validate imported data
graphrag-core/src/pipeline/data_import.rs:861
↓ 4 callersMethodweight_results
Apply strategy weight to results
graphrag-core/src/retrieval/adaptive.rs:216
↓ 4 callersMethodwith_embedding
Set embedding vector for this relationship (Phase 2.2)
graphrag-core/src/core/mod.rs:338
↓ 4 callersMethodwith_metadata
Add metadata to the cache key
graphrag-core/src/caching/cache_key.rs:39
↓ 4 callersMethodwith_ollama
Configure for Ollama LLM (enables semantic extraction) This transitions the builder to the `HasLlm` state. Sets up Ollama with default localhost:1143
graphrag-core/src/builder/mod.rs:127
↓ 4 callersMethodwith_ollama
Enable Ollama with sensible defaults (localhost:11434, llama3.2:3b).
graphrag-core/src/config/mod.rs:1562
↓ 4 callersMethodwith_parallel_processing
( chunk_size: usize, chunk_overlap: usize, parallel_processor: ParallelProcessor,
graphrag-core/src/text/mod.rs:92
↓ 4 callersMethodwith_top_k
Set the top-k results for retrieval (optional)
graphrag-core/src/builder/mod.rs:201
↓ 4 callersMethodworkspace_dir
Get workspace directory
graphrag-cli/src/workspace.rs:60
↓ 3 callersMethodacquire_llm_permit
Acquires a permit for making an LLM API call Blocks until both concurrency and rate limits allow the call to proceed. The permit must be held for the
graphrag-core/src/async_processing/rate_limiting.rs:173
↓ 3 callersMethodadd_cluster
Add a cluster to this level
graphrag-core/src/graph/hierarchical_relationships.rs:102
↓ 3 callersMethodadd_example
Add example entity
graphrag-core/src/nlp/custom_ner.rs:49
↓ 3 callersMethodadd_query
(&mut self, query: String, duration_ms: u128, results_count: usize)
graphrag-cli/src/ui/components/info_panel.rs:82
↓ 3 callersMethodbuild
Build the warming configuration without validation
graphrag-core/src/caching/warming.rs:152
↓ 3 callersMethodbuild
Build the evaluable query result
graphrag-core/src/evaluation/mod.rs:407
↓ 3 callersMethodbuild
Build the processor
graphrag-core/src/rograg/processor.rs:260
↓ 3 callersMethodbuild_index
Build the index from all added vectors
graphrag-core/src/vector/mod.rs:114
↓ 3 callersMethodbuild_registry
Create a registry builder from this configuration This method creates service instances based on the configuration and available features. Services a
graphrag-core/src/core/registry.rs:361
↓ 3 callersMethodbuild_report
Build report from current graph state
graphrag-core/src/pipeline_executor.rs:123
↓ 3 callersMethodbuild_reset_vector
(&self, reset_probabilities: &HashMap<EntityId, f64>)
graphrag-core/src/graph/pagerank.rs:409
↓ 3 callersMethodcache_health
Get cache health status
graphrag-core/src/caching/client.rs:178
↓ 3 callersMethodcalculate_coherence
Calculate coherence from sentence embeddings Uses a combination of: 1. Adjacent sentence similarity (weighted higher) 2. All-pairs average similarity
graphrag-core/src/text/semantic_coherence.rs:160
↓ 3 callersMethodcalculate_cohesion
Calculate cohesion score for a cluster Uses internal edge density to measure how tightly connected relationships within the cluster are. Cohesion =
graphrag-core/src/graph/hierarchical_relationships.rs:586
↓ 3 callersMethodcalculate_difference
(&self, scores1: &[f64], scores2: &[f64])
graphrag-core/src/graph/pagerank.rs:477
↓ 3 callersMethodcalculate_idf
Calculate inverse document frequency (IDF) IDF = log(total_documents / documents_containing_term) If term is not in corpus, uses a default IDF (assu
graphrag-core/src/text/keyword_extraction.rs:112
↓ 3 callersMethodcalculate_relevance
Calculate relevance score for an anchor Combines entity count, PageRank scores, and semantic similarity
graphrag-core/src/retrieval/symbolic_anchoring.rs:337
↓ 3 callersMethodcan_decompose
(&self, query: &str)
graphrag-core/src/rograg/decomposer.rs:444
↓ 3 callersMethodchunk_count
Get the total number of unique chunks
graphrag-core/src/entity/bidirectional_index.rs:267
↓ 3 callersMethodclean_text
Clean and normalize text
graphrag-core/src/text/mod.rs:349
↓ 3 callersMethodclear
Clear all pending updates and reset state
graphrag-core/src/incremental/lazy_propagation.rs:531
↓ 3 callersMethodcombine_scores
Combine multiple scoring signals with configurable weights
graphrag-core/src/graph/pagerank.rs:563
↓ 3 callersMethodcomplete
Complete a prompt with caching support (synchronous version)
graphrag-core/src/caching/client.rs:325
↓ 3 callersMethodcomplete_operation
Marks an operation as complete with results
graphrag-core/src/graph/incremental/helpers.rs:424
↓ 3 callersMethodcompute_property_changes
( &self, before: &HashMap<String, String>, after: &HashMap<String, String>, )
graphrag-core/src/incremental/delta_computation.rs:575
↓ 3 callersMethodcompute_similarities_sequential
Sequential similarity computation (fallback)
graphrag-core/src/vector/mod.rs:463
↓ 3 callersMethodcontains
(&self, item: &str)
graphrag-core/src/incremental/delta_computation.rs:260
↓ 3 callersFunctionconvert_raw_config
Convert raw configuration to the main Config struct
graphrag-core/src/config/loader.rs:458
↓ 3 callersMethodconvert_to_entities
( &self, entity_data: &[EntityData], chunk_id: &ChunkId, chunk_text: &str,
graphrag-core/src/entity/llm_extractor.rs:379
↓ 3 callersFunctioncosine_similarity
Cosine similarity implementation (Exact same algorithm as graphrag-wasm/src/lib.rs:50-64)
examples/symposium_real_search.rs:239
↓ 3 callersMethodcount_keyword_matches
Count matching keywords between chunk and query
graphrag-core/src/retrieval/enriched.rs:320
↓ 3 callersMethodcreate_change_record
( &self, change_type: ChangeType, operation: Operation, change_data: ChangeDat
graphrag-core/src/graph/incremental/store.rs:154
↓ 3 callersMethodcreate_change_record
Create a new change record
graphrag-core/src/graph/incremental/manager.rs:143
↓ 3 callersFunctioncreate_embedder
Auto-detect and create the best available embedder Priority: 1. Burn WebGPU (if available and feature enabled) 2. Candle CPU (fallback) # Arguments
graphrag-wasm/src/embedder.rs:516
↓ 3 callersMethodcreate_leaf_nodes_sequential
Sequential leaf node creation (fallback)
graphrag-core/src/summarization/mod.rs:392
↓ 3 callersFunctioncreate_messy_text
(word_count: usize)
benches/text_processing.rs:232
↓ 3 callersFunctioncreate_multilingual_text
(word_count: usize)
benches/text_processing.rs:361
↓ 3 callersFunctioncreate_test_graph
()
graphrag-core/src/retrieval/symbolic_anchoring.rs:481
↓ 3 callersFunctioncreate_test_graph
()
graphrag-core/src/rograg/processor.rs:965
↓ 3 callersFunctioncreate_test_graph
()
graphrag-core/tests/dynamic_weighting_tests.rs:10
↓ 3 callersFunctioncreate_test_response
()
graphrag-core/src/rograg/quality_metrics.rs:1522
↓ 3 callersFunctioncreate_test_vectors
Helper function to create test vectors
benches/vector_search.rs:160
↓ 3 callersFunctiondefault_auto_save_interval
()
graphrag-core/src/config/mod.rs:1442
↓ 3 callersFunctiondefault_confidence_threshold
()
graphrag-core/src/config/setconfig.rs:1204
↓ 3 callersFunctiondefault_config
()
graphrag-cli/src/config.rs:79
↓ 3 callersFunctiondefault_max_versions
()
graphrag-core/src/config/mod.rs:1445
↓ 3 callersFunctiondefault_similarity_threshold
()
graphrag-core/src/config/mod.rs:1305
↓ 3 callersFunctiondefault_top_k
()
graphrag-core/src/config/mod.rs:1327
↓ 3 callersMethoddepth
Get the depth of the section number (number of components)
graphrag-core/src/text/document_structure.rs:325
↓ 3 callersMethoddetect_communities
Detect hierarchical communities in graph
graphrag-core/src/graph/leiden.rs:477
↓ 3 callersMethodego_network
Extract K-hop ego-network around an entity An ego-network is a subgraph containing all entities within K hops of the source entity. This is useful fo
graphrag-core/src/graph/traversal.rs:242
↓ 3 callersMethodembed_batch
(&self, texts: &[&str])
graphrag-core/src/core/test_utils.rs:70
↓ 3 callersMethodenrich_document_chunks
( &self, document: &Document, chunks: &[TextChunk], )
graphrag-core/src/text/contextual_enricher.rs:213
↓ 3 callersMethodentities
Get reference to entities (for internal use)
graphrag-wasm/src/lib.rs:751
↓ 3 callersMethodentity_count
Get the total number of unique entities
graphrag-core/src/entity/bidirectional_index.rs:262
↓ 3 callersMethodevaluate_with_heuristics
Evaluate query quality using heuristic metrics Provides fast, deterministic evaluation without requiring LLM calls.
graphrag-core/src/optimization/graph_weight_optimizer.rs:357
↓ 3 callersMethodeviction_policy
Set the eviction policy
graphrag-core/src/caching/cache_config.rs:258
← previousnext →301–400 of 4,223, ranked by callers