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
↓ 5 callers
Method
add_entry
Add a query entry
graphrag-cli/src/query_history.rs:47
↓ 5 callers
Function
answer
Answer a question about a document with one function call This is the simplest way to use GraphRAG. Just provide text content and a question, and get
graphrag-core/src/api/simple.rs:22
↓ 5 callers
Method
build
Build the final registry
graphrag-core/src/core/registry.rs:206
↓ 5 callers
Method
calculate_confidence
Calculate confidence score for an entity
graphrag-core/src/entity/mod.rs:721
↓ 5 callers
Method
classify
Classify the intent of a query. Analyzes the query to determine its primary intent, detect ambiguity, identify inappropriate content, and decide whet
graphrag-core/src/rograg/intent_classifier.rs:509
↓ 5 callers
Method
clear
(&mut self)
graphrag-cli/src/ui/components/status_bar.rs:47
↓ 5 callers
Method
completeness_score
Calculate completeness score (0.0 to 1.0) based on populated fields Higher scores indicate more complete metadata
graphrag-core/src/core/metadata.rs:166
↓ 5 callers
Method
compute_delta_since_last_snapshot
Compute delta between last snapshot and current state Returns the minimal set of changes since the last snapshot.
graphrag-core/src/incremental/mod.rs:749
↓ 5 callers
Method
config
Access the underlying Ollama configuration
graphrag-core/src/ollama/mod.rs:266
↓ 5 callers
Function
create_test_graph
()
graphrag-core/src/graph/analytics.rs:488
↓ 5 callers
Function
create_test_graph
Create a test knowledge graph with varying sizes for benchmarking
benches/pagerank_retrieval.rs:9
↓ 5 callers
Function
create_test_stats
()
graphrag-core/src/query/optimizer.rs:560
↓ 5 callers
Function
detect_browser
Detect browser and version
graphrag-wasm/src/webgpu_check.rs:188
↓ 5 callers
Method
embed
(&self, text: &str)
graphrag-server/src/multi_model_embeddings.rs:151
↓ 5 callers
Method
embed_batch
Embed multiple texts (batched)
graphrag-wasm/src/embedder.rs:131
↓ 5 callers
Function
enableControls
()
examples/wasm-multi-doc-demo/app.js:466
↓ 5 callers
Method
enrich_chunks
Enrich multiple chunks with metadata
graphrag-core/src/text/chunk_enricher.rs:46
↓ 5 callers
Method
extract
Extract entities from text
graphrag-core/src/nlp/custom_ner.rs:144
↓ 5 callers
Method
extract_timestamp
Extract approximate Unix timestamp from temporal marker if possible This is a best-effort extraction and may not work for all formats. Returns None i
graphrag-core/src/entity/atomic_fact_extractor.rs:52
↓ 5 callers
Method
force_propagate_updates
Force propagate all pending lazy updates Should be called before queries to ensure fresh results. Automatically called when `propagate_on_query` is e
graphrag-core/src/incremental/mod.rs:647
↓ 5 callers
Method
generate_extractive_summary
Generate extractive summary using simple sentence ranking
graphrag-core/src/summarization/mod.rs:811
↓ 5 callers
Method
generate_response
(&self, prompt: &str)
graphrag-core/src/generation/mod.rs:318
↓ 5 callers
Method
get_community_entities
Get all entities in a specific community at a given level # Arguments `level` - Hierarchical level (0 = finest) `community_id` - Community identifier
graphrag-core/src/graph/leiden.rs:67
↓ 5 callers
Method
get_functions_by_category
Get functions by category
graphrag-core/src/function_calling/enhanced_registry.rs:87
↓ 5 callers
Method
hash_node_content
Compute content hash for a node
graphrag-core/src/incremental/delta_computation.rs:684
↓ 5 callers
Method
histogram
(&self, name: &str, value: f64, tags: Option<&[(&str, &str)]>)
graphrag-core/src/monitoring/metrics_collector.rs:173
↓ 5 callers
Method
init
(&mut self)
graphrag-cli/src/ui/components/mod.rs:18
↓ 5 callers
Method
is_likely_person_word
Enhanced check if a word could be part of a person's name
graphrag-core/src/entity/mod.rs:648
↓ 5 callers
Method
jaro_winkler_similarity
Compute Jaro-Winkler similarity
graphrag-core/src/entity/string_similarity_linker.rs:248
↓ 5 callers
Method
lexical_cohesion
Calculate lexical cohesion between two texts (word overlap)
graphrag-core/src/nlp/semantic_chunking.rs:531
↓ 5 callers
Function
load_config_from_file
(path: &std::path::Path)
graphrag-cli/src/lib.rs:387
↓ 5 callers
Function
load_fixture
Helper function to load fixture files
graphrag-core/tests/text_pipeline_fixtures.rs:15
↓ 5 callers
Function
make_ollama_config
Build an OllamaConfig pointing at localhost with KV-cache settings. `OLLAMA_MODEL` env var overrides the default model — useful when you want to test
graphrag-core/tests/contextual_enricher_e2e.rs:48
↓ 5 callers
Method
match_query
Match a query against the knowledge graph using fuzzy semantic similarity. Executes a multi-stage matching process: 1. Direct entity name matching (e
graphrag-core/src/rograg/fuzzy_matcher.rs:308
↓ 5 callers
Method
merge
Merge another index into this one Useful for combining indices from multiple documents
graphrag-core/src/entity/bidirectional_index.rs:359
↓ 5 callers
Method
mul
(&self, scalar: f64)
graphrag-wasm/src/components/force_layout.rs:56
↓ 5 callers
Function
parse_inline
Parse inline markdown markers (**bold**, *italic*, `code`) from a string. Returns `Span<'static>` values using owned strings.
graphrag-cli/src/ui/markdown.rs:129
↓ 5 callers
Method
pos_tag
Perform POS tagging on text
graphrag-core/src/nlp/syntax_analyzer.rs:225
↓ 5 callers
Method
propagate_pending_updates
Propagate all pending updates
graphrag-core/src/incremental/lazy_propagation.rs:382
↓ 5 callers
Method
put
Put a value into the cache, evicting the oldest entry if at capacity
graphrag-core/src/caching/distributed.rs:102
↓ 5 callers
Method
put
Put a value into the cache
graphrag-core/src/caching/persistent.rs:160
↓ 5 callers
Method
queue_node_update
Queue a node update for lazy propagation
graphrag-core/src/incremental/lazy_propagation.rs:285
↓ 5 callers
Method
record_failure
Record a failed request
graphrag-core/src/ollama/mod.rs:126
↓ 5 callers
Method
remove_entry
(&mut self, hash: &str)
graphrag-core/src/caching/persistent.rs:243
↓ 5 callers
Method
run
Run the application
graphrag-cli/src/app.rs:103
↓ 5 callers
Method
search
Search for similar vectors
graphrag-core/src/vector/mod.rs:149
↓ 5 callers
Method
search
Search for k nearest neighbors using cosine similarity
graphrag-wasm/src/vector_search.rs:61
↓ 5 callers
Method
set_focused
(&mut self, focused: bool)
graphrag-cli/src/ui/components/info_panel.rs:64
↓ 5 callers
Method
snapshot_range
Get snapshot for time range
graphrag-core/src/graph/temporal.rs:266
↓ 5 callers
Method
split_sentences
Split text into sentences (simple heuristic)
graphrag-core/src/nlp/semantic_chunking.rs:489
↓ 5 callers
Method
split_sentences
Split text into sentences (simple implementation) This is a basic sentence splitter. For production, consider using a dedicated NLP library or more s
graphrag-core/src/text/semantic_coherence.rs:378
↓ 5 callers
Method
start
Start the batch processor This spawns worker tasks that continuously process incoming operations. Call this once during initialization.
graphrag-core/src/incremental/async_batch.rs:294
↓ 5 callers
Method
suggestion
Get structured suggestions for recovering from this error Returns actionable suggestions with optional code examples. # Example ```rust use graphrag
graphrag-core/src/core/error.rs:717
↓ 5 callers
Method
title
Get style for title text
graphrag-cli/src/theme.rs:89
↓ 5 callers
Method
tokenize
Tokenize text into normalized tokens
graphrag-core/src/lightrag/query_concepts.rs:211
↓ 5 callers
Function
updateInfo
(id, value, success)
examples/wasm-multi-doc-demo/app.js:426
↓ 5 callers
Method
update_stats
Update graph statistics in info panel
graphrag-cli/src/app.rs:1274
↓ 5 callers
Method
with_chunk_size
Set the chunk size for text processing (optional)
graphrag-core/src/builder/mod.rs:187
↓ 5 callers
Method
with_mentions
Add mentions to the entity
graphrag-core/src/core/mod.rs:1273
↓ 5 callers
Method
with_metadata
Add metadata to the document
graphrag-core/src/core/mod.rs:1203
↓ 5 callers
Method
with_num_levels
Set number of hierarchy levels
graphrag-core/src/graph/hierarchical_relationships.rs:228
↓ 4 callers
Method
add
(&self, other: &Vec2)
graphrag-wasm/src/components/force_layout.rs:42
↓ 4 callers
Method
add_error
(&mut self, error: String)
graphrag-core/src/rograg/processor.rs:149
↓ 4 callers
Method
add_template
Add a query template # Arguments `template` - Query template
graphrag-core/src/query/intelligence.rs:134
↓ 4 callers
Method
analyze
Analyze query and determine complexity
graphrag-core/src/query/adaptive_routing.rs:124
↓ 4 callers
Method
apply_change_with_conflict_resolution
( &self, change: ChangeRecord, )
graphrag-core/src/graph/incremental/store.rs:174
↓ 4 callers
Method
ask
Ask a question and get an answer
graphrag-core/src/api/easy.rs:42
↓ 4 callers
Method
batch_generate
Generate embeddings for multiple texts in batch with parallel processing
graphrag-core/src/vector/mod.rs:661
↓ 4 callers
Method
boost_objective
Increase weight for a specific objective
graphrag-core/src/optimization/graph_weight_optimizer.rs:98
↓ 4 callers
Method
build_pagerank_calculator
( &self, )
graphrag-core/src/core/mod.rs:828
↓ 4 callers
Method
build_streaming_response
Build a streaming response from subquery results Synthesizes multiple subquery results into a coherent response using the configured synthesis strate
graphrag-core/src/rograg/streaming.rs:312
↓ 4 callers
Method
calculate_adaptive_threshold
Calculate adaptive threshold based on content characteristics
graphrag-core/src/text/semantic_coherence.rs:418
↓ 4 callers
Method
calculate_f1_score
Calculate F1 score based on token overlap
graphrag-core/src/monitoring/benchmark.rs:439
↓ 4 callers
Method
calculate_slope
Calculate slope of a metric over recent window
graphrag-core/src/optimization/graph_weight_optimizer.rs:611
↓ 4 callers
Method
call
(&self, arguments: JsonValue, _context: &FunctionContext)
graphrag-core/src/function_calling/mod.rs:292
↓ 4 callers
Method
check
(&self, response: &RogragResponse)
graphrag-core/src/rograg/validator.rs:661
↓ 4 callers
Method
check_rate_limit
Check rate limit for a user
graphrag-server/src/auth.rs:199
↓ 4 callers
Method
chunk_text_with_enrichment
Chunk text and enrich with semantic metadata
graphrag-core/src/text/mod.rs:189
↓ 4 callers
Method
clone
(&self)
graphrag-wasm/src/onnx_embedder.rs:448
↓ 4 callers
Method
cosine_similarity
Calculate cosine similarity between two vectors
graphrag-core/src/text/semantic_chunking.rs:196
↓ 4 callers
Method
create_chunks
Create scored chunks from text and split positions
graphrag-core/src/text/semantic_coherence.rs:310
↓ 4 callers
Method
create_collection
Create a collection with the specified dimension # Arguments `dimension` - Embedding dimension (e.g., 384 for MiniLM, 768 for BERT)
graphrag-server/src/qdrant_store.rs:116
↓ 4 callers
Method
create_hybrid_results
Create hybrid results from combined scores
graphrag-core/src/retrieval/hybrid.rs:374
↓ 4 callers
Function
create_test_graph
()
graphrag-core/src/graph/embeddings.rs:606
↓ 4 callers
Function
create_test_graph
()
graphrag-core/src/rograg/fuzzy_matcher.rs:831
↓ 4 callers
Function
create_test_subquery_results
()
graphrag-core/src/rograg/streaming.rs:1034
↓ 4 callers
Method
create_workspace
Create a new workspace
graphrag-core/src/persistence/workspace.rs:115
↓ 4 callers
Function
default_chunk_overlap
()
graphrag-core/src/config/mod.rs:1311
↓ 4 callers
Function
default_chunk_size
()
graphrag-core/src/config/mod.rs:1308
↓ 4 callers
Method
end
End span and record duration
graphrag-server/src/observability.rs:100
↓ 4 callers
Function
estimate_storage
()
graphrag-wasm/src/storage.rs:565
↓ 4 callers
Method
execute_with_cache
Execute a query with caching
graphrag-core/src/caching/client.rs:86
↓ 4 callers
Function
extract_browser_version
Extract version number from user agent string
graphrag-wasm/src/webgpu_check.rs:217
↓ 4 callers
Method
extract_from_text
Extract entities and relationships from text
graphrag-core/src/lightrag/graph_indexer.rs:68
↓ 4 callers
Method
extract_relationships
Extract relationships between entities in the same chunk
graphrag-core/src/entity/mod.rs:812
↓ 4 callers
Method
fill
Fill template with provided values
graphrag-core/src/generation/mod.rs:468
↓ 4 callers
Method
find_char_boundary
Find a safe character boundary at or before the given position
graphrag-core/src/text/mod.rs:267
↓ 4 callers
Method
gauge
(&self, name: &str, value: f64, tags: Option<&[(&str, &str)]>)
graphrag-core/src/monitoring/metrics_collector.rs:159
↓ 4 callers
Method
generate
Generate evaluation prompt for a query result
graphrag-core/src/evaluation/mod.rs:163
↓ 4 callers
Method
generate_key_with_params
Generate a cache key with generation parameters
graphrag-core/src/caching/cache_key.rs:144
← previous
next →
201–300 of 4,223, ranked by callers