MCPcopy Create free account

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

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

Methodprocess_query
Process a user query using function calling
graphrag-core/src/function_calling/agent.rs:80
Methodprocess_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
Methodprocess_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
Methodprocess_single_operation
(operation: &UpdateOperation)
graphrag-core/src/incremental/async_batch.rs:536
Methodproduction
Create a production-ready configuration
graphrag-core/src/caching/cache_config.rs:170
Methodprogress
Get style for progress indicators
graphrag-cli/src/theme.rs:116
FunctionprogressHandler
(progress)
graphrag-wasm/webllm.js:31
Methodprovider_name
(&self)
graphrag-core/src/embeddings/huggingface.rs:353
Methodprovider_name
(&self)
graphrag-core/src/embeddings/ollama.rs:94
Methodprovider_name
(&self)
graphrag-core/src/embeddings/api_providers.rs:516
Methodprovider_name
(&self)
graphrag-core/src/text/semantic_coherence.rs:492
Methodprovider_name
(&self)
graphrag-core/tests/bar_rag_integration.rs:78
Methodput_result
(&mut self, query: &str, result: &str)
graphrag-core/src/caching/persistent.rs:425
Functionquery
( State(state): State<ApiState>, Json(req): Json<QueryRequest>, )
graphrag-core/src/api/rest.rs:109
Functionquery
( state: Data<AppState>, body: Json<QueryRequest>, )
graphrag-server/src/main.rs:335
Functionquery
Query the knowledge graph
graphrag-server/src/main_backup.rs:222
Methodquery
Query the tree for relevant nodes at different levels
graphrag-core/src/summarization/mod.rs:919
Methodquery_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
Methodquery_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
Methodquery_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
Methodquery_corpus
Query the corpus-level knowledge graph
graphrag-core/src/corpus/mod.rs:101
Methodqueue_edge_update
Queue an edge update
graphrag-core/src/incremental/lazy_propagation.rs:323
Methodqueue_lazy_update
( &self, node_id: String, affected_relationships: Vec<String>, )
graphrag-core/src/incremental/mod.rs:674
Methodquick
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
Methodquick_start
(text: &str)
graphrag-core/src/graphrag/factory.rs:157
Methodquick_start_with_config
(text: &str, configure: F)
graphrag-core/src/graphrag/factory.rs:189
Methodrandom_vector
Generate a random vector (for testing)
graphrag-core/src/vector/mod.rs:788
Methodread_to_string
Read a file as string
graphrag-cli/src/handlers/file_ops.rs:42
Methodrecommended_models
Get recommended models for different use cases
graphrag-core/src/embeddings/huggingface.rs:153
Methodrecord_batch
Record multiple metrics in batch
graphrag-core/src/core/traits.rs:1039
Methodrecord_metric
Records a metric with tags
graphrag-core/src/graph/incremental/helpers.rs:476
Methodrecord_operation
Records the duration of a completed operation # Parameters - `duration`: Time taken for the operation
graphrag-core/src/async_processing/mod.rs:405
Methodrecord_update
Record a cache update
graphrag-core/src/caching/stats.rs:81
Methodrefresh_index
Refresh/rebuild the retrieval index
graphrag-core/src/core/traits.rs:492
Methodrefusal
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
Methodregister_default_functions
Register all default GraphRAG functions
graphrag-core/src/function_calling/tools.rs:15
Methodregister_default_functions
Register all default GraphRAG functions
graphrag-core/src/function_calling/enhanced_registry.rs:29
Methodrelationships
Add retrieved relationships
graphrag-core/src/evaluation/mod.rs:377
Methodremove_chunk
Remove all mappings for a chunk Returns the number of mappings removed
graphrag-core/src/entity/bidirectional_index.rs:185
Methodremove_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
Methodremove_thinking_tags
(text: &str)
graphrag-core/src/graphrag/ask.rs:454
Methodremove_vector
Remove a vector from the index
graphrag-core/src/vector/mod.rs:229
Methodremove_vectors_batch
Remove multiple vectors in batch
graphrag-core/src/core/traits.rs:294
Methodrender
(&mut self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/raw_results_viewer.rs:155
Methodrender
(&mut self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/query_input.rs:103
Methodrender
(&mut self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/results_viewer.rs:219
Methodrender
(&mut self, f: &mut Frame, _area: Rect)
graphrag-cli/src/ui/components/help_overlay.rs:61
Methodrender
(&mut self, f: &mut Frame, area: Rect)
graphrag-cli/src/ui/components/info_panel.rs:161
Functionrender_node
(n: &SubgraphNode)
graphrag-wasm/src/main.rs:1092
Functionrequire_role
( minimum_role: UserRole, )
graphrag-server/src/auth.rs:347
Methodrequired_variables
Get the set of required variables for this template
graphrag-core/src/generation/mod.rs:490
Methodrequires_api_key
(&self)
graphrag-wasm/src/components/settings.rs:138
Methodrerank
( &self, query: &str, candidates: Vec<SearchResult>, )
graphrag-core/src/reranking/cross_encoder.rs:168
Methodreset
Reset all statistics
graphrag-core/src/caching/stats.rs:165
Methodreset
(&mut self)
graphrag-cli/src/ui/spinner.rs:62
Methodreset_performance_stats
(&mut self)
graphrag-core/src/text/mod.rs:532
Methodreset_stats
Reset statistics
graphrag-core/src/corpus/collection_processor.rs:427
Methodresolve_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
Methodretrieve
Main dual-level retrieval function
graphrag-core/src/lightrag/dual_retrieval.rs:103
Methodretrieve
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
Methodretrieve
Perform adaptive retrieval based on query analysis
graphrag-core/src/retrieval/adaptive.rs:129
Methodretrieve_chunk
(&self, id: &str)
graphrag-core/src/core/traits.rs:1300
Methodretrieve_chunk
(&self, id: &str)
graphrag-core/src/storage/mod.rs:140
Methodretrieve_document
(&self, id: &str)
graphrag-core/src/core/traits.rs:1290
Methodretrieve_document
(&self, id: &str)
graphrag-core/src/storage/mod.rs:130
Methodretrieve_entity
(&self, id: &str)
graphrag-core/src/storage/mod.rs:120
Methodretrieve_high_level
Retrieve using high-level keywords (topics, themes, communities)
graphrag-core/src/lightrag/dual_retrieval.rs:145
Methodretrieve_low_level
Retrieve using low-level keywords (entities, specifics)
graphrag-core/src/lightrag/dual_retrieval.rs:167
Methodrevoke_api_key
(&self, key: &str)
graphrag-server/src/auth.rs:192
Methodring_color
(&self)
graphrag-wasm/src/components/chat_shell.rs:81
Methodrollback
Rollback to a specific version
graphrag-core/src/incremental/mod.rs:796
Methodrollback_delta
(&mut self, _delta_id: &UpdateId)
graphrag-core/src/graph/incremental/store.rs:456
Methodrollback_transaction
(&mut self, tx_id: TransactionId)
graphrag-core/src/graph/incremental/store.rs:533
Functionroot
(state: Data<AppState>)
graphrag-server/src/main.rs:247
Functionroot
Root endpoint - API information
graphrag-server/src/main_backup.rs:182
Methodrules
Get rules
graphrag-core/src/nlp/custom_ner.rs:392
Methodsafe_truncate
Safely truncate a string to a maximum byte length, respecting UTF-8 character boundaries
graphrag-core/src/retrieval/mod.rs:1448
Functionsave_config
Save configuration to file
graphrag-core/src/config/loader.rs:507
Functionsave_json5_config
(config: &T, path: P)
graphrag-core/src/config/json5_loader.rs:83
Methodsave_state_async
Save state asynchronously
graphrag-core/src/async_graphrag.rs:485
Methodsave_state_to_json
Save retrieval system state to JSON file
graphrag-core/src/retrieval/mod.rs:1463
Methodsave_to_file
Save configuration to TOML file with comments
graphrag-core/src/config/setconfig.rs:1800
Methodschedule_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
Methodscore_batch
(&self, pairs: Vec<(String, String)>)
graphrag-core/src/reranking/cross_encoder.rs:254
Methodsearch
(&self, query_embedding: &[f32], top_k: usize)
graphrag-core/src/vector/qdrant.rs:114
Methodsearch
(&self, query_embedding: &[f32], top_k: usize)
graphrag-core/src/vector/lancedb.rs:136
Methodsearch
(&self, query_embedding: &[f32], top_k: usize)
graphrag-core/src/vector/memory_store.rs:53
Methodsearch
(&self, _query: String, _k: usize)
graphrag-core/src/retrieval/pagerank_retrieval.rs:590
Methodsearch
Search for similar vectors
graphrag-server/src/lancedb_store.rs:174
Methodsearch_batch
Search multiple queries concurrently
graphrag-core/src/core/traits.rs:277
Methodsearch_batch
Perform multiple search queries concurrently
graphrag-core/src/core/traits.rs:467
Methodsearch_by_keywords
Search by keywords extracted from chunks
graphrag-core/src/retrieval/enriched.rs:265
Methodsearch_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
Methodsearch_similar
(&self, query: &[f32], k: usize)
graphrag-core/src/persistence/lance.rs:264
Methodsearch_with_context
( &self, query: Self::Query, _context: &str, k: usize, )
graphrag-core/src/core/retrieval_adapters.rs:115
Methodsearch_with_context
( &self, query: Self::Query, _context: &str, k: usize, )
graphrag-core/src/core/test_utils.rs:338
Methodsearch_with_context
( &self, query: String, context: &str, k: usize, )
graphrag-core/src/retrieval/pagerank_retrieval.rs:598
Methodsearch_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
Methodsearch_with_threshold
( &self, query_vector: &[f32], k: usize, threshold: f32, )
graphrag-core/src/core/test_utils.rs:274
Methodsection_count
Get the total number of sections
graphrag-core/src/text/document_structure.rs:217
← previousnext →3,101–3,200 of 4,223, ranked by callers