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
quick_entity_search
Perform a quick entity lookup by name
graphrag-core/src/retrieval/pagerank_retrieval.rs:333
↓ 1 callers
Method
random_walk
Perform single biased random walk from starting node
graphrag-core/src/graph/embeddings.rs:175
↓ 1 callers
Method
rank_and_deduplicate
Rank and deduplicate search results (legacy)
graphrag-core/src/retrieval/mod.rs:1334
↓ 1 callers
Method
rank_passages
Extract passage scores and rank by PPR
graphrag-core/src/retrieval/hipporag_ppr.rs:259
↓ 1 callers
Method
rebuild_graph
Rebuild the knowledge graph from existing documents This clears the graph and re-extracts entities and relationships from all loaded documents. Usefu
graphrag-cli/src/handlers/graphrag.rs:256
↓ 1 callers
Method
reciprocal_rank_fusion
Reciprocal Rank Fusion (RRF)
graphrag-core/src/retrieval/hybrid.rs:230
↓ 1 callers
Method
record_batch_processing_duration
Records the processing duration of a batch Keeps only the most recent 100 measurements to prevent unbounded memory growth. # Parameters - `duration`
graphrag-core/src/async_processing/monitoring.rs:204
↓ 1 callers
Method
record_decomposition_time
(&mut self, duration: Duration)
graphrag-core/src/rograg/processor.rs:133
↓ 1 callers
Method
record_documents_processed
Record document processing # Arguments `count` - Number of documents processed
graphrag-server/src/observability.rs:198
↓ 1 callers
Method
record_embeddings_generated
Record embeddings generation # Arguments `count` - Number of embeddings generated
graphrag-server/src/observability.rs:208
↓ 1 callers
Method
record_error
Record an error
graphrag-core/src/caching/stats.rs:93
↓ 1 callers
Method
record_error
Record error # Arguments `error_type` - Type of error `message` - Error message
graphrag-server/src/observability.rs:184
↓ 1 callers
Method
record_eviction
Record a cache eviction
graphrag-core/src/caching/stats.rs:74
↓ 1 callers
Method
record_function_usage
Record function usage
graphrag-core/src/function_calling/enhanced_registry.rs:100
↓ 1 callers
Method
record_insertion
Record a cache insertion
graphrag-core/src/caching/stats.rs:67
↓ 1 callers
Method
record_query_duration
Records the execution duration of a query Keeps only the most recent 1000 measurements to prevent unbounded memory growth. # Parameters - `duration`
graphrag-core/src/async_processing/monitoring.rs:152
↓ 1 callers
Method
record_response_time
(&mut self, duration: Duration)
graphrag-core/src/rograg/processor.rs:141
↓ 1 callers
Method
record_retrieval_time
(&mut self, duration: Duration)
graphrag-core/src/rograg/processor.rs:137
↓ 1 callers
Method
record_update
(&mut self, record: UpdateRecord)
graphrag-core/src/incremental/mod.rs:938
↓ 1 callers
Method
refine
Refine an answer based on specific feedback
graphrag-core/src/critic/mod.rs:91
↓ 1 callers
Method
refine_partition
Refine partition to ensure well-connected communities KEY difference from Louvain - prevents poorly connected communities
graphrag-core/src/graph/leiden.rs:600
↓ 1 callers
Method
register
Register a model
graphrag-server/src/multi_model_embeddings.rs:352
↓ 1 callers
Method
register_cache_region
Registers a cache region for invalidation tracking
graphrag-core/src/graph/incremental/helpers.rs:51
↓ 1 callers
Method
register_entity_type
Register entity type
graphrag-core/src/nlp/custom_ner.rs:124
↓ 1 callers
Method
relation_count
Get total number of relations
graphrag-core/src/lightrag/concept_graph.rs:491
↓ 1 callers
Method
relationship_count
Count relationships in the graph
graphrag-core/src/core/mod.rs:895
↓ 1 callers
Method
relationship_count
Get the number of relationships in the knowledge graph
graphrag-wasm/src/lib.rs:426
↓ 1 callers
Method
relationship_similarity
Calculate similarity between two relationships
graphrag-core/src/graph/hierarchical_relationships.rs:371
↓ 1 callers
Method
remove_entity
Remove all mappings for an entity Returns the number of mappings removed
graphrag-core/src/entity/bidirectional_index.rs:160
↓ 1 callers
Method
remove_vector
Remove a vector by ID Note: This invalidates the index and requires rebuilding
graphrag-core/src/vector/voy_store.rs:246
↓ 1 callers
Method
remove_vector
(&mut self, id: &str)
graphrag-core/src/core/test_utils.rs:287
↓ 1 callers
Method
render_history
(&self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/info_panel.rs:350
↓ 1 callers
Method
render_sources
(&self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/info_panel.rs:265
↓ 1 callers
Method
render_stats
(&self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/info_panel.rs:210
↓ 1 callers
Method
render_tab_bar
(&self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/info_panel.rs:180
↓ 1 callers
Method
report
Generate a report string
graphrag-core/src/evaluation/mod.rs:293
↓ 1 callers
Method
reset
Reset statistics
graphrag-core/src/parallel/mod.rs:70
↓ 1 callers
Method
reset
Reset all metrics
graphrag-core/src/monitoring/metrics_collector.rs:114
↓ 1 callers
Method
resolve_conflict
Resolves a conflict using the configured strategy
graphrag-core/src/graph/incremental/helpers.rs:200
↓ 1 callers
Method
resolve_overlaps
Resolve overlapping entities (keep higher confidence)
graphrag-core/src/nlp/custom_ner.rs:356
↓ 1 callers
Method
retrieve
Retrieve information using logic form query processing. Parses the query into a logic form, executes it against the knowledge graph, and generates a
graphrag-core/src/rograg/logic_form/retriever.rs:86
↓ 1 callers
Method
rewrite_query
Rewrite query using algebraic rules
graphrag-core/src/query/optimizer.rs:160
↓ 1 callers
Function
run_ask
( query: &str, workspace: &std::path::Path, ollama: bool, format: &str, )
graphrag-cli/src/lib.rs:451
↓ 1 callers
Function
run_benchmark
( config_path: &Path, book_path: &Path, questions: Vec<String>, )
graphrag-cli/src/handlers/bench.rs:49
↓ 1 callers
Method
run_dataset
Run benchmark on a dataset
graphrag-core/src/monitoring/benchmark.rs:291
↓ 1 callers
Function
run_index
( path: &std::path::Path, workspace: &std::path::Path, ollama: bool, chunk_size: Option<usize>
graphrag-cli/src/lib.rs:407
↓ 1 callers
Method
run_ppr
Run Personalized PageRank with reset probabilities
graphrag-core/src/retrieval/hipporag_ppr.rs:243
↓ 1 callers
Function
run_setup_wizard
(template: Option<String>, output: PathBuf)
graphrag-cli/src/lib.rs:658
↓ 1 callers
Function
run_tui
(config_path: Option<PathBuf>, workspace: Option<String>)
graphrag-cli/src/lib.rs:577
↓ 1 callers
Function
run_validate
(config_file: &std::path::Path, format: &str)
graphrag-cli/src/lib.rs:486
↓ 1 callers
Method
sample_next
Sample next node with Node2Vec bias (p, q parameters)
graphrag-core/src/graph/embeddings.rs:206
↓ 1 callers
Method
save
(&self, path: &PathBuf)
graphrag-cli/src/query_history.rs:82
↓ 1 callers
Function
saveToIndexedDB
()
examples/wasm-multi-doc-demo/app.js:504
↓ 1 callers
Method
save_chunks
(&self, graph: &KnowledgeGraph)
graphrag-core/src/persistence/parquet.rs:617
↓ 1 callers
Function
save_document
Persist a single document (overwrites if the id already exists).
graphrag-wasm/src/persist.rs:28
↓ 1 callers
Method
save_documents
(&self, graph: &KnowledgeGraph)
graphrag-core/src/persistence/parquet.rs:960
↓ 1 callers
Method
save_graph
Save knowledge graph to workspace
graphrag-core/src/persistence/workspace.rs:198
↓ 1 callers
Function
save_json_config
(_config: &Config, path: &str)
graphrag-core/src/config/loader.rs:547
↓ 1 callers
Method
save_relationships
(&self, graph: &KnowledgeGraph)
graphrag-core/src/persistence/parquet.rs:415
↓ 1 callers
Function
save_settings_to_storage
Save settings to IndexedDB
graphrag-wasm/src/components/settings.rs:553
↓ 1 callers
Method
save_to_workspace
Save the current knowledge graph to the configured workspace on disk. No-op when `auto_save.enabled = false` or `base_dir` is not set.
graphrag-core/src/graphrag/lifecycle.rs:138
↓ 1 callers
Function
save_toml_config
(_config: &Config, path: &str)
graphrag-core/src/config/loader.rs:518
↓ 1 callers
Method
save_workspace
Save current knowledge graph to workspace
graphrag-cli/src/handlers/graphrag.rs:476
↓ 1 callers
Function
save_yaml_config
(_config: &Config, path: &str)
graphrag-core/src/config/loader.rs:578
↓ 1 callers
Method
score_concept
Score a concept based on its relevance to current concepts
graphrag-core/src/lightrag/iterative_deepening.rs:258
↓ 1 callers
Method
score_sentence
Score a sentence for extractive summarization
graphrag-core/src/summarization/mod.rs:868
↓ 1 callers
Method
scroll_down
Scroll down one line
graphrag-cli/src/ui/components/raw_results_viewer.rs:62
↓ 1 callers
Method
scroll_down
(&mut self)
graphrag-cli/src/ui/components/results_viewer.rs:86
↓ 1 callers
Method
scroll_down
(&mut self, max: usize)
graphrag-cli/src/ui/components/info_panel.rs:115
↓ 1 callers
Method
scroll_page_down
Scroll down one page
graphrag-cli/src/ui/components/raw_results_viewer.rs:76
↓ 1 callers
Method
scroll_page_down
(&mut self, page_size: usize)
graphrag-cli/src/ui/components/results_viewer.rs:98
↓ 1 callers
Method
scroll_page_up
Scroll up one page
graphrag-cli/src/ui/components/raw_results_viewer.rs:70
↓ 1 callers
Method
scroll_page_up
(&mut self, page_size: usize)
graphrag-cli/src/ui/components/results_viewer.rs:93
↓ 1 callers
Method
scroll_to_bottom
Scroll to bottom
graphrag-cli/src/ui/components/raw_results_viewer.rs:89
↓ 1 callers
Method
scroll_to_bottom
(&mut self)
graphrag-cli/src/ui/components/results_viewer.rs:109
↓ 1 callers
Method
scroll_to_top
Scroll to top
graphrag-cli/src/ui/components/raw_results_viewer.rs:83
↓ 1 callers
Method
scroll_to_top
(&mut self)
graphrag-cli/src/ui/components/results_viewer.rs:104
↓ 1 callers
Method
scroll_up
Scroll up one line
graphrag-cli/src/ui/components/raw_results_viewer.rs:56
↓ 1 callers
Method
scroll_up
(&mut self)
graphrag-cli/src/ui/components/results_viewer.rs:81
↓ 1 callers
Method
scroll_up
(&mut self)
graphrag-cli/src/ui/components/info_panel.rs:111
↓ 1 callers
Method
search
Search for similar vectors Returns the top-k most similar vectors ranked by cosine similarity. # Arguments `query_embedding` - The query vector (mu
graphrag-core/src/vector/voy_store.rs:167
↓ 1 callers
Method
search_at_depth
Search at a specific depth level
graphrag-core/src/lightrag/iterative_deepening.rs:189
↓ 1 callers
Method
search_batch
( &self, queries: Vec<Self::Query>, k: usize, )
graphrag-core/src/core/retrieval_adapters.rs:126
↓ 1 callers
Method
segment_sentences
Segment text into sentences
graphrag-core/src/nlp/syntax_analyzer.rs:511
↓ 1 callers
Method
select_canonical_name
Select canonical name from cluster entities
graphrag-core/src/corpus/entity_linker.rs:524
↓ 1 callers
Method
select_sentences
Select sentences to include in summary Greedy selection: iteratively add highest-scoring sentences until max_length reached
graphrag-core/src/text/extractive_summarizer.rs:240
↓ 1 callers
Method
select_strategy_weights
Select strategy weights based on query analysis
graphrag-core/src/retrieval/adaptive.rs:199
↓ 1 callers
Method
select_template
Select the best template for the given type and confidence level Finds a template matching the type with an appropriate confidence threshold. Falls b
graphrag-core/src/rograg/streaming.rs:436
↓ 1 callers
Method
semantic_expansion
Perform semantic expansion through graph relationships
graphrag-core/src/rograg/fuzzy_matcher.rs:476
↓ 1 callers
Method
semantic_search
Perform semantic search using vector similarity
graphrag-core/src/retrieval/hybrid.rs:189
↓ 1 callers
Method
semantic_similarity_linking
Semantic similarity using embeddings (placeholder implementation)
graphrag-core/src/corpus/entity_linker.rs:276
↓ 1 callers
Method
set_focused
Set focused state
graphrag-cli/src/ui/components/raw_results_viewer.rs:95
↓ 1 callers
Method
set_focused
Set focused state
graphrag-cli/src/ui/components/query_input.rs:87
↓ 1 callers
Method
set_focused
(&mut self, focused: bool)
graphrag-cli/src/ui/components/results_viewer.rs:121
↓ 1 callers
Method
set_l2
Set in L2 cache (Redis)
graphrag-server/src/distributed_cache.rs:423
↓ 1 callers
Method
set_language_model
Set the async language model
graphrag-core/src/async_graphrag.rs:101
↓ 1 callers
Method
set_lines
Set content from pre-built `Line` values (bypasses markdown parser)
graphrag-cli/src/ui/components/results_viewer.rs:58
↓ 1 callers
Method
set_model
(&mut self, model: String)
graphrag-wasm/src/webllm.rs:666
↓ 1 callers
Method
set_sources
Update sources from an explained query result and auto-switch to Sources tab
graphrag-cli/src/ui/components/info_panel.rs:98
↓ 1 callers
Method
set_stats
(&mut self, stats: GraphStats)
graphrag-cli/src/ui/components/info_panel.rs:73
← previous
next →
1,701–1,800 of 4,223, ranked by callers