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
Method
process_query
Process a user query using function calling
graphrag-core/src/function_calling/agent.rs:80
Method
process_single_document_async
Processes a single document asynchronously with rate limiting Applies entity extraction and updates the knowledge graph for one document. Automatical
graphrag-core/src/async_processing/mod.rs:163
Method
process_single_document_internal
Processes a single document internally with graph access This is the core document processing logic executed within concurrent tasks. Currently imple
graphrag-core/src/async_processing/concurrent_pipeline.rs:234
Method
process_single_operation
(operation: &UpdateOperation)
graphrag-core/src/incremental/async_batch.rs:536
Method
production
Create a production-ready configuration
graphrag-core/src/caching/cache_config.rs:170
Method
progress
Get style for progress indicators
graphrag-cli/src/theme.rs:116
Function
progressHandler
(progress)
graphrag-wasm/webllm.js:31
Method
provider_name
(&self)
graphrag-core/src/embeddings/huggingface.rs:353
Method
provider_name
(&self)
graphrag-core/src/embeddings/ollama.rs:94
Method
provider_name
(&self)
graphrag-core/src/embeddings/api_providers.rs:516
Method
provider_name
(&self)
graphrag-core/src/text/semantic_coherence.rs:492
Method
provider_name
(&self)
graphrag-core/tests/bar_rag_integration.rs:78
Method
put_result
(&mut self, query: &str, result: &str)
graphrag-core/src/caching/persistent.rs:425
Function
query
( State(state): State<ApiState>, Json(req): Json<QueryRequest>, )
graphrag-core/src/api/rest.rs:109
Function
query
( state: Data<AppState>, body: Json<QueryRequest>, )
graphrag-server/src/main.rs:335
Function
query
Query the knowledge graph
graphrag-server/src/main_backup.rs:222
Method
query
Query the tree for relevant nodes at different levels
graphrag-core/src/summarization/mod.rs:919
Method
query_adaptive
Query using adaptive routing (automatically selects best hierarchical level) # Arguments `query` - User query string `config_json` - Adaptive routing
graphrag-wasm/src/lib.rs:622
Method
query_async
Executes a query against the knowledge graph asynchronously Processes a user query by searching the knowledge graph and generating a response using r
graphrag-core/src/async_processing/mod.rs:209
Method
query_at_level
Query at a specific hierarchical level # Arguments `query` - User query string `level` - Hierarchical level to search (0 = finest granularity) # Ret
graphrag-wasm/src/lib.rs:694
Method
query_corpus
Query the corpus-level knowledge graph
graphrag-core/src/corpus/mod.rs:101
Method
queue_edge_update
Queue an edge update
graphrag-core/src/incremental/lazy_propagation.rs:323
Method
queue_lazy_update
( &self, node_id: String, affected_relationships: Vec<String>, )
graphrag-core/src/incremental/mod.rs:674
Method
quick
Turnkey config for a workspace directory. Persists graph + index to `workspace`. Uses hash-fallback embeddings and pattern-based entity extraction by
graphrag-core/src/config/mod.rs:1539
Method
quick_start
(text: &str)
graphrag-core/src/graphrag/factory.rs:157
Method
quick_start_with_config
(text: &str, configure: F)
graphrag-core/src/graphrag/factory.rs:189
Method
random_vector
Generate a random vector (for testing)
graphrag-core/src/vector/mod.rs:788
Method
read_to_string
Read a file as string
graphrag-cli/src/handlers/file_ops.rs:42
Method
recommended_models
Get recommended models for different use cases
graphrag-core/src/embeddings/huggingface.rs:153
Method
record_batch
Record multiple metrics in batch
graphrag-core/src/core/traits.rs:1039
Method
record_metric
Records a metric with tags
graphrag-core/src/graph/incremental/helpers.rs:476
Method
record_operation
Records the duration of a completed operation # Parameters - `duration`: Time taken for the operation
graphrag-core/src/async_processing/mod.rs:405
Method
record_update
Record a cache update
graphrag-core/src/caching/stats.rs:81
Method
refresh_index
Refresh/rebuild the retrieval index
graphrag-core/src/core/traits.rs:492
Method
refusal
Create a refusal response. Used when the system determines a query should not be answered. # Arguments `query` - The original query being refused `
graphrag-core/src/rograg/processor.rs:839
Method
register_default_functions
Register all default GraphRAG functions
graphrag-core/src/function_calling/tools.rs:15
Method
register_default_functions
Register all default GraphRAG functions
graphrag-core/src/function_calling/enhanced_registry.rs:29
Method
relationships
Add retrieved relationships
graphrag-core/src/evaluation/mod.rs:377
Method
remove_chunk
Remove all mappings for a chunk Returns the number of mappings removed
graphrag-core/src/entity/bidirectional_index.rs:185
Method
remove_mapping
Remove a specific mapping between an entity and a chunk Returns true if the mapping existed and was removed
graphrag-core/src/entity/bidirectional_index.rs:125
Method
remove_thinking_tags
(text: &str)
graphrag-core/src/graphrag/ask.rs:454
Method
remove_vector
Remove a vector from the index
graphrag-core/src/vector/mod.rs:229
Method
remove_vectors_batch
Remove multiple vectors in batch
graphrag-core/src/core/traits.rs:294
Method
render
(&mut self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/raw_results_viewer.rs:155
Method
render
(&mut self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/query_input.rs:103
Method
render
(&mut self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/results_viewer.rs:219
Method
render
(&mut self, f: &mut Frame, _area: Rect)
graphrag-cli/src/ui/components/help_overlay.rs:61
Method
render
(&mut self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/info_panel.rs:161
Function
render_node
(n: &SubgraphNode)
graphrag-wasm/src/main.rs:1092
Function
require_role
( minimum_role: UserRole, )
graphrag-server/src/auth.rs:347
Method
required_variables
Get the set of required variables for this template
graphrag-core/src/generation/mod.rs:490
Method
requires_api_key
(&self)
graphrag-wasm/src/components/settings.rs:138
Method
rerank
( &self, query: &str, candidates: Vec<SearchResult>, )
graphrag-core/src/reranking/cross_encoder.rs:168
Method
reset
Reset all statistics
graphrag-core/src/caching/stats.rs:165
Method
reset
(&mut self)
graphrag-cli/src/ui/spinner.rs:62
Method
reset_performance_stats
(&mut self)
graphrag-core/src/text/mod.rs:532
Method
reset_stats
Reset statistics
graphrag-core/src/corpus/collection_processor.rs:427
Method
resolve_tokenizer_path
Resolve the tokenizer path: use `config.tokenizer_path` if set, otherwise default to `tokenizer.json` in the same directory as the model.
graphrag-core/src/entity/gliner_extractor.rs:69
Method
retrieve
Main dual-level retrieval function
graphrag-core/src/lightrag/dual_retrieval.rs:103
Method
retrieve
Retrieve documents using HippoRAG PPR strategy # Arguments `query` - The search query `top_k_facts` - Top-k facts ranked by query-fact similarity `en
graphrag-core/src/retrieval/hipporag_ppr.rs:117
Method
retrieve
Perform adaptive retrieval based on query analysis
graphrag-core/src/retrieval/adaptive.rs:129
Method
retrieve_chunk
(&self, id: &str)
graphrag-core/src/core/traits.rs:1300
Method
retrieve_chunk
(&self, id: &str)
graphrag-core/src/storage/mod.rs:140
Method
retrieve_document
(&self, id: &str)
graphrag-core/src/core/traits.rs:1290
Method
retrieve_document
(&self, id: &str)
graphrag-core/src/storage/mod.rs:130
Method
retrieve_entity
(&self, id: &str)
graphrag-core/src/storage/mod.rs:120
Method
retrieve_high_level
Retrieve using high-level keywords (topics, themes, communities)
graphrag-core/src/lightrag/dual_retrieval.rs:145
Method
retrieve_low_level
Retrieve using low-level keywords (entities, specifics)
graphrag-core/src/lightrag/dual_retrieval.rs:167
Method
revoke_api_key
(&self, key: &str)
graphrag-server/src/auth.rs:192
Method
ring_color
(&self)
graphrag-wasm/src/components/chat_shell.rs:81
Method
rollback
Rollback to a specific version
graphrag-core/src/incremental/mod.rs:796
Method
rollback_delta
(&mut self, _delta_id: &UpdateId)
graphrag-core/src/graph/incremental/store.rs:456
Method
rollback_transaction
(&mut self, tx_id: TransactionId)
graphrag-core/src/graph/incremental/store.rs:533
Function
root
(state: Data<AppState>)
graphrag-server/src/main.rs:247
Function
root
Root endpoint - API information
graphrag-server/src/main_backup.rs:182
Method
rules
Get rules
graphrag-core/src/nlp/custom_ner.rs:392
Method
safe_truncate
Safely truncate a string to a maximum byte length, respecting UTF-8 character boundaries
graphrag-core/src/retrieval/mod.rs:1448
Function
save_config
Save configuration to file
graphrag-core/src/config/loader.rs:507
Function
save_json5_config
(config: &T, path: P)
graphrag-core/src/config/json5_loader.rs:83
Method
save_state_async
Save state asynchronously
graphrag-core/src/async_graphrag.rs:485
Method
save_state_to_json
Save retrieval system state to JSON file
graphrag-core/src/retrieval/mod.rs:1463
Method
save_to_file
Save configuration to TOML file with comments
graphrag-core/src/config/setconfig.rs:1800
Method
schedule_task
Schedules and executes an async task In production, this would implement proper task queuing and scheduling. Currently executes tasks immediately. #
graphrag-core/src/async_processing/mod.rs:372
Method
score_batch
(&self, pairs: Vec<(String, String)>)
graphrag-core/src/reranking/cross_encoder.rs:254
Method
search
(&self, query_embedding: &[f32], top_k: usize)
graphrag-core/src/vector/qdrant.rs:114
Method
search
(&self, query_embedding: &[f32], top_k: usize)
graphrag-core/src/vector/lancedb.rs:136
Method
search
(&self, query_embedding: &[f32], top_k: usize)
graphrag-core/src/vector/memory_store.rs:53
Method
search
(&self, _query: String, _k: usize)
graphrag-core/src/retrieval/pagerank_retrieval.rs:590
Method
search
Search for similar vectors
graphrag-server/src/lancedb_store.rs:174
Method
search_batch
Search multiple queries concurrently
graphrag-core/src/core/traits.rs:277
Method
search_batch
Perform multiple search queries concurrently
graphrag-core/src/core/traits.rs:467
Method
search_by_keywords
Search by keywords extracted from chunks
graphrag-core/src/retrieval/enriched.rs:265
Method
search_neighbors
Search for k nearest neighbors # Arguments `query` - Query embedding as Float32Array `k` - Number of nearest neighbors to return # Returns Array of
graphrag-wasm/src/voy_bindings.rs:203
Method
search_similar
(&self, query: &[f32], k: usize)
graphrag-core/src/persistence/lance.rs:264
Method
search_with_context
( &self, query: Self::Query, _context: &str, k: usize, )
graphrag-core/src/core/retrieval_adapters.rs:115
Method
search_with_context
( &self, query: Self::Query, _context: &str, k: usize, )
graphrag-core/src/core/test_utils.rs:338
Method
search_with_context
( &self, query: String, context: &str, k: usize, )
graphrag-core/src/retrieval/pagerank_retrieval.rs:598
Method
search_with_dynamic_weights
Execute search using dynamic edge weighting based on query context (Phase 2.2) This method applies dynamic weights to relationships based on: - Seman
graphrag-core/src/retrieval/pagerank_retrieval.rs:435
Method
search_with_threshold
( &self, query_vector: &[f32], k: usize, threshold: f32, )
graphrag-core/src/core/test_utils.rs:274
Method
section_count
Get the total number of sections
graphrag-core/src/text/document_structure.rs:217
← previous
next →
3,101–3,200 of 4,223, ranked by callers