MCPcopy Create free account

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

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

↓ 5 callersMethodadd_entry
Add a query entry
graphrag-cli/src/query_history.rs:47
↓ 5 callersFunctionanswer
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 callersMethodbuild
Build the final registry
graphrag-core/src/core/registry.rs:206
↓ 5 callersMethodcalculate_confidence
Calculate confidence score for an entity
graphrag-core/src/entity/mod.rs:721
↓ 5 callersMethodclassify
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 callersMethodclear
(&mut self)
graphrag-cli/src/ui/components/status_bar.rs:47
↓ 5 callersMethodcompleteness_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 callersMethodcompute_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 callersMethodconfig
Access the underlying Ollama configuration
graphrag-core/src/ollama/mod.rs:266
↓ 5 callersFunctioncreate_test_graph
()
graphrag-core/src/graph/analytics.rs:488
↓ 5 callersFunctioncreate_test_graph
Create a test knowledge graph with varying sizes for benchmarking
benches/pagerank_retrieval.rs:9
↓ 5 callersFunctioncreate_test_stats
()
graphrag-core/src/query/optimizer.rs:560
↓ 5 callersFunctiondetect_browser
Detect browser and version
graphrag-wasm/src/webgpu_check.rs:188
↓ 5 callersMethodembed
(&self, text: &str)
graphrag-server/src/multi_model_embeddings.rs:151
↓ 5 callersMethodembed_batch
Embed multiple texts (batched)
graphrag-wasm/src/embedder.rs:131
↓ 5 callersFunctionenableControls
()
examples/wasm-multi-doc-demo/app.js:466
↓ 5 callersMethodenrich_chunks
Enrich multiple chunks with metadata
graphrag-core/src/text/chunk_enricher.rs:46
↓ 5 callersMethodextract
Extract entities from text
graphrag-core/src/nlp/custom_ner.rs:144
↓ 5 callersMethodextract_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 callersMethodforce_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 callersMethodgenerate_extractive_summary
Generate extractive summary using simple sentence ranking
graphrag-core/src/summarization/mod.rs:811
↓ 5 callersMethodgenerate_response
(&self, prompt: &str)
graphrag-core/src/generation/mod.rs:318
↓ 5 callersMethodget_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 callersMethodget_functions_by_category
Get functions by category
graphrag-core/src/function_calling/enhanced_registry.rs:87
↓ 5 callersMethodhash_node_content
Compute content hash for a node
graphrag-core/src/incremental/delta_computation.rs:684
↓ 5 callersMethodhistogram
(&self, name: &str, value: f64, tags: Option<&[(&str, &str)]>)
graphrag-core/src/monitoring/metrics_collector.rs:173
↓ 5 callersMethodinit
(&mut self)
graphrag-cli/src/ui/components/mod.rs:18
↓ 5 callersMethodis_likely_person_word
Enhanced check if a word could be part of a person's name
graphrag-core/src/entity/mod.rs:648
↓ 5 callersMethodjaro_winkler_similarity
Compute Jaro-Winkler similarity
graphrag-core/src/entity/string_similarity_linker.rs:248
↓ 5 callersMethodlexical_cohesion
Calculate lexical cohesion between two texts (word overlap)
graphrag-core/src/nlp/semantic_chunking.rs:531
↓ 5 callersFunctionload_config_from_file
(path: &std::path::Path)
graphrag-cli/src/lib.rs:387
↓ 5 callersFunctionload_fixture
Helper function to load fixture files
graphrag-core/tests/text_pipeline_fixtures.rs:15
↓ 5 callersFunctionmake_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 callersMethodmatch_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 callersMethodmerge
Merge another index into this one Useful for combining indices from multiple documents
graphrag-core/src/entity/bidirectional_index.rs:359
↓ 5 callersMethodmul
(&self, scalar: f64)
graphrag-wasm/src/components/force_layout.rs:56
↓ 5 callersFunctionparse_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 callersMethodpos_tag
Perform POS tagging on text
graphrag-core/src/nlp/syntax_analyzer.rs:225
↓ 5 callersMethodpropagate_pending_updates
Propagate all pending updates
graphrag-core/src/incremental/lazy_propagation.rs:382
↓ 5 callersMethodput
Put a value into the cache, evicting the oldest entry if at capacity
graphrag-core/src/caching/distributed.rs:102
↓ 5 callersMethodput
Put a value into the cache
graphrag-core/src/caching/persistent.rs:160
↓ 5 callersMethodqueue_node_update
Queue a node update for lazy propagation
graphrag-core/src/incremental/lazy_propagation.rs:285
↓ 5 callersMethodrecord_failure
Record a failed request
graphrag-core/src/ollama/mod.rs:126
↓ 5 callersMethodremove_entry
(&mut self, hash: &str)
graphrag-core/src/caching/persistent.rs:243
↓ 5 callersMethodrun
Run the application
graphrag-cli/src/app.rs:103
↓ 5 callersMethodsearch
Search for similar vectors
graphrag-core/src/vector/mod.rs:149
↓ 5 callersMethodsearch
Search for k nearest neighbors using cosine similarity
graphrag-wasm/src/vector_search.rs:61
↓ 5 callersMethodset_focused
(&mut self, focused: bool)
graphrag-cli/src/ui/components/info_panel.rs:64
↓ 5 callersMethodsnapshot_range
Get snapshot for time range
graphrag-core/src/graph/temporal.rs:266
↓ 5 callersMethodsplit_sentences
Split text into sentences (simple heuristic)
graphrag-core/src/nlp/semantic_chunking.rs:489
↓ 5 callersMethodsplit_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 callersMethodstart
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 callersMethodsuggestion
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 callersMethodtitle
Get style for title text
graphrag-cli/src/theme.rs:89
↓ 5 callersMethodtokenize
Tokenize text into normalized tokens
graphrag-core/src/lightrag/query_concepts.rs:211
↓ 5 callersFunctionupdateInfo
(id, value, success)
examples/wasm-multi-doc-demo/app.js:426
↓ 5 callersMethodupdate_stats
Update graph statistics in info panel
graphrag-cli/src/app.rs:1274
↓ 5 callersMethodwith_chunk_size
Set the chunk size for text processing (optional)
graphrag-core/src/builder/mod.rs:187
↓ 5 callersMethodwith_mentions
Add mentions to the entity
graphrag-core/src/core/mod.rs:1273
↓ 5 callersMethodwith_metadata
Add metadata to the document
graphrag-core/src/core/mod.rs:1203
↓ 5 callersMethodwith_num_levels
Set number of hierarchy levels
graphrag-core/src/graph/hierarchical_relationships.rs:228
↓ 4 callersMethodadd
(&self, other: &Vec2)
graphrag-wasm/src/components/force_layout.rs:42
↓ 4 callersMethodadd_error
(&mut self, error: String)
graphrag-core/src/rograg/processor.rs:149
↓ 4 callersMethodadd_template
Add a query template # Arguments `template` - Query template
graphrag-core/src/query/intelligence.rs:134
↓ 4 callersMethodanalyze
Analyze query and determine complexity
graphrag-core/src/query/adaptive_routing.rs:124
↓ 4 callersMethodapply_change_with_conflict_resolution
( &self, change: ChangeRecord, )
graphrag-core/src/graph/incremental/store.rs:174
↓ 4 callersMethodask
Ask a question and get an answer
graphrag-core/src/api/easy.rs:42
↓ 4 callersMethodbatch_generate
Generate embeddings for multiple texts in batch with parallel processing
graphrag-core/src/vector/mod.rs:661
↓ 4 callersMethodboost_objective
Increase weight for a specific objective
graphrag-core/src/optimization/graph_weight_optimizer.rs:98
↓ 4 callersMethodbuild_pagerank_calculator
( &self, )
graphrag-core/src/core/mod.rs:828
↓ 4 callersMethodbuild_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 callersMethodcalculate_adaptive_threshold
Calculate adaptive threshold based on content characteristics
graphrag-core/src/text/semantic_coherence.rs:418
↓ 4 callersMethodcalculate_f1_score
Calculate F1 score based on token overlap
graphrag-core/src/monitoring/benchmark.rs:439
↓ 4 callersMethodcalculate_slope
Calculate slope of a metric over recent window
graphrag-core/src/optimization/graph_weight_optimizer.rs:611
↓ 4 callersMethodcall
(&self, arguments: JsonValue, _context: &FunctionContext)
graphrag-core/src/function_calling/mod.rs:292
↓ 4 callersMethodcheck
(&self, response: &RogragResponse)
graphrag-core/src/rograg/validator.rs:661
↓ 4 callersMethodcheck_rate_limit
Check rate limit for a user
graphrag-server/src/auth.rs:199
↓ 4 callersMethodchunk_text_with_enrichment
Chunk text and enrich with semantic metadata
graphrag-core/src/text/mod.rs:189
↓ 4 callersMethodclone
(&self)
graphrag-wasm/src/onnx_embedder.rs:448
↓ 4 callersMethodcosine_similarity
Calculate cosine similarity between two vectors
graphrag-core/src/text/semantic_chunking.rs:196
↓ 4 callersMethodcreate_chunks
Create scored chunks from text and split positions
graphrag-core/src/text/semantic_coherence.rs:310
↓ 4 callersMethodcreate_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 callersMethodcreate_hybrid_results
Create hybrid results from combined scores
graphrag-core/src/retrieval/hybrid.rs:374
↓ 4 callersFunctioncreate_test_graph
()
graphrag-core/src/graph/embeddings.rs:606
↓ 4 callersFunctioncreate_test_graph
()
graphrag-core/src/rograg/fuzzy_matcher.rs:831
↓ 4 callersFunctioncreate_test_subquery_results
()
graphrag-core/src/rograg/streaming.rs:1034
↓ 4 callersMethodcreate_workspace
Create a new workspace
graphrag-core/src/persistence/workspace.rs:115
↓ 4 callersFunctiondefault_chunk_overlap
()
graphrag-core/src/config/mod.rs:1311
↓ 4 callersFunctiondefault_chunk_size
()
graphrag-core/src/config/mod.rs:1308
↓ 4 callersMethodend
End span and record duration
graphrag-server/src/observability.rs:100
↓ 4 callersFunctionestimate_storage
()
graphrag-wasm/src/storage.rs:565
↓ 4 callersMethodexecute_with_cache
Execute a query with caching
graphrag-core/src/caching/client.rs:86
↓ 4 callersFunctionextract_browser_version
Extract version number from user agent string
graphrag-wasm/src/webgpu_check.rs:217
↓ 4 callersMethodextract_from_text
Extract entities and relationships from text
graphrag-core/src/lightrag/graph_indexer.rs:68
↓ 4 callersMethodextract_relationships
Extract relationships between entities in the same chunk
graphrag-core/src/entity/mod.rs:812
↓ 4 callersMethodfill
Fill template with provided values
graphrag-core/src/generation/mod.rs:468
↓ 4 callersMethodfind_char_boundary
Find a safe character boundary at or before the given position
graphrag-core/src/text/mod.rs:267
↓ 4 callersMethodgauge
(&self, name: &str, value: f64, tags: Option<&[(&str, &str)]>)
graphrag-core/src/monitoring/metrics_collector.rs:159
↓ 4 callersMethodgenerate
Generate evaluation prompt for a query result
graphrag-core/src/evaluation/mod.rs:163
↓ 4 callersMethodgenerate_key_with_params
Generate a cache key with generation parameters
graphrag-core/src/caching/cache_key.rs:144
← previousnext →201–300 of 4,223, ranked by callers