MCPcopy Create free account

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

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

Methodnew
(dimension: usize)
graphrag-core/tests/bar_rag_integration.rs:27
Methodnew
Create a new application
graphrag-cli/src/app.rs:65
Methodnew
Create a new query history
graphrag-cli/src/query_history.rs:39
Methodnew
Create a new TUI instance
graphrag-cli/src/tui.rs:56
Methodnew
Create a new workspace
graphrag-cli/src/workspace.rs:25
Methodnew
Create a new GraphRAG handler
graphrag-cli/src/handlers/graphrag.rs:53
Methodnew
Create a new spinner with default animation
graphrag-cli/src/ui/spinner.rs:19
Methodnew
()
graphrag-cli/src/ui/components/raw_results_viewer.rs:25
Methodnew
()
graphrag-cli/src/ui/components/status_bar.rs:29
Methodnew
()
graphrag-cli/src/ui/components/query_input.rs:26
Methodnew
()
graphrag-cli/src/ui/components/results_viewer.rs:26
Methodnew
()
graphrag-cli/src/ui/components/help_overlay.rs:20
Methodnew
()
graphrag-cli/src/ui/components/info_panel.rs:49
Methodnew
()
graphrag-wasm/src/ollama_http.rs:138
Methodnew
Initialize WebLLM with a model # Arguments `model_id` - Model identifier (e.g., "Phi-3-mini-4k-instruct-q4f16_1-MLC") # Available Models - "Llama-3.
graphrag-wasm/src/webllm.rs:132
Methodnew
(dimension: usize, tokenizer_json: &str)
graphrag-wasm/src/onnx_embedder.rs:468
Methodnew
(dimension: usize)
graphrag-wasm/src/lib.rs:143
Methodnew
Create a new Candle embedder # Arguments `model_name` - Model name (e.g., "sentence-transformers/all-MiniLM-L6-v2") `dimension` - Embedding dimension
graphrag-wasm/src/embedder.rs:175
Methodnew
Create a new empty vector index
graphrag-wasm/src/vector_search.rs:30
Methodnew
()
graphrag-wasm/src/llm_provider.rs:103
Methodnew
(dimension: usize)
graphrag-wasm/src/voy_bindings.rs:56
Methodnew
Create a new GPU embedder Checks WebGPU availability and initializes GPU device. # Arguments `dimension` - Embedding dimension (384 for MiniLM, 768
graphrag-wasm/src/gpu_embedder.rs:118
Methodnew
Create or open an IndexedDB database # Arguments `name` - Database name `version` - Schema version (increment to trigger upgrade) # Returns Result w
graphrag-wasm/src/storage.rs:125
Methodnew
(x: f64, y: f64)
graphrag-wasm/src/components/force_layout.rs:22
Methodnew
Create a new Qdrant store # Arguments `url` - Qdrant server URL (e.g., "http://localhost:6334") `collection_name` - Collection name for this graph
graphrag-server/src/qdrant_store.rs:101
Methodnew
()
graphrag-server/src/main.rs:105
Methodnew
Create a new LanceDB store # Arguments `db_path` - Path to LanceDB database directory `table_name` - Name of the table to use
graphrag-server/src/lancedb_store.rs:110
Methodnew
Create a new configuration manager
graphrag-server/src/config_handler.rs:24
Methodnew
()
graphrag-server/src/handlers.rs:110
Methodnew
Create a new distributed cache # Arguments `config` - Cache configuration # Returns Result with DistributedCache or error
graphrag-server/src/distributed_cache.rs:160
Methodnew
()
graphrag-server/src/main_backup.rs:73
Methodnew
Create a new embedding service
graphrag-server/src/embeddings.rs:93
Methodnew
Create a new authentication state # Arguments `jwt_secret` - Secret key for JWT signing (should be 32+ characters)
graphrag-server/src/auth.rs:109
Methodnew
Create a new span
graphrag-server/src/observability.rs:86
Methodnew
Create new OpenAI provider
graphrag-server/src/multi_model_embeddings.rs:139
Methodnew
()
examples/multi_document_pipeline.rs:387
Methodnew_default
Create with default stopwords and empty IDF data (for single-document use)
graphrag-core/src/text/keyword_extraction.rs:30
Methodnew_default
Create with default components
graphrag-core/src/text/chunk_enricher.rs:37
Methodnew_with_progress
Initialize with progress callback # Arguments `model_id` - Model identifier `on_progress` - Callback for progress updates (progress: f64, text: Strin
graphrag-wasm/src/webllm.rs:184
Methodnode_count
Get node count
graphrag-core/src/graph/embeddings.rs:111
Methodnode_count
Get node count
graphrag-core/src/graph/temporal.rs:323
Methodnodes
Get all nodes
graphrag-core/src/graph/temporal.rs:313
Methodnormalize
Normalize a vector to unit length
graphrag-core/src/vector/mod.rs:778
Methodnormalize_entity_name
Normalize entity name for consistent ID generation
graphrag-core/src/entity/atomic_fact_extractor.rs:327
Methodnormalize_name
(&self, name: &str)
graphrag-core/src/entity/llm_extractor.rs:503
Methodnormalize_name
Normalize entity name for ID generation
graphrag-core/src/entity/mod.rs:779
Methodnormalize_name
(&self, name: &str)
graphrag-core/src/entity/gleaning_extractor.rs:471
Methodnum_levels
Get the total number of levels
graphrag-core/src/graph/hierarchical_relationships.rs:47
FunctiononnxEmbedding
* Generate embedding using ONNX model * This would replace hashEmbedding if using real ONNX inference
examples/wasm-multi-doc-demo/worker.js:166
Methodopenai
Create OpenAI embeddings provider # Example ```rust,ignore let provider = HttpEmbeddingProvider::openai( "sk-...".to_string(), "text-embedding-3-smal
graphrag-core/src/embeddings/api_providers.rs:34
Methodoptimal_hash_count
(m: usize, n: usize)
graphrag-core/src/incremental/delta_computation.rs:248
Methodoptimal_size
(n: usize, p: f64)
graphrag-core/src/incremental/delta_computation.rs:243
Methodoptimize
Optimize graph structure (rebuild indices, etc.)
graphrag-core/src/core/traits.rs:802
Methodoptimize_weights
( &mut self, graph: &mut KnowledgeGraph, test_queries: &[TestQuery], )
graphrag-core/src/optimization/graph_weight_optimizer.rs:228
Methodordered_subqueries
Get subqueries ordered by priority (highest first). # Returns Returns a vector of subquery references sorted in descending order by priority. Higher
graphrag-core/src/rograg/decomposer.rs:872
Methodoverlaps
Check if this range overlaps with another
graphrag-core/src/graph/temporal.rs:47
Methodpagerank_batch_query
( &self, queries: &[&str], graph: &KnowledgeGraph, max_results_per_query: Opti
graphrag-core/src/retrieval/mod.rs:241
Methodpagerank_query
( &self, query: &str, graph: &KnowledgeGraph, max_results: Option<usize>,
graphrag-core/src/retrieval/mod.rs:223
Methodparse_openai_function_call
Parse function call from LLM response (OpenAI format)
graphrag-core/src/function_calling/tools.rs:56
Methodparse_roman_numeral
Parse Roman numeral to decimal
graphrag-core/src/text/analysis.rs:187
Methodpasses_threshold
Check if the evaluation passes a minimum quality threshold
graphrag-core/src/evaluation/mod.rs:271
Methodpenn_tag
Get Penn Treebank tag string
graphrag-core/src/nlp/syntax_analyzer.rs:58
Methodperform_comparative_analysis
Perform comparative analysis against baseline
graphrag-core/src/rograg/quality_metrics.rs:1274
Methodperformance_improvement
Calculate performance improvement factor
graphrag-core/src/caching/stats.rs:270
Methodpersistence
Set the persistence configuration
graphrag-core/src/caching/cache_config.rs:306
Functionpipeline_progress
(status: &BuildStatus)
graphrag-wasm/src/main.rs:1173
Methodprepare_community_context
( &self, level: usize, community_id: usize, graph: &Graph<String, f32, Undirec
graphrag-core/src/graph/leiden.rs:260
Methodprimary_success_rate
Get primary success rate
graphrag-server/src/multi_model_embeddings.rs:324
Methodprint
Print statistics in a readable format
graphrag-core/src/function_calling/mod.rs:255
Methodprint
(&self)
graphrag-core/src/vector/voy_store.rs:335
Methodprint
Print statistics
graphrag-core/src/vector/mod.rs:556
Methodprint
Print statistics about the answer generator to stdout
graphrag-core/src/generation/mod.rs:1058
Methodprint
Print detailed analysis
graphrag-core/src/query/adaptive_routing.rs:291
Methodprint
(&self)
graphrag-core/src/corpus/entity_linker.rs:72
Methodprint
(&self)
graphrag-core/src/corpus/knowledge_graph.rs:76
Methodprint
(&self)
graphrag-core/src/corpus/collection_processor.rs:117
Methodprint
Print detailed statistics
graphrag-core/src/caching/stats.rs:199
Methodprint
Print cache key statistics to the log
graphrag-core/src/caching/cache_key.rs:398
Methodprint
Print warming results to the log
graphrag-core/src/caching/warming.rs:494
Methodprint
Prints statistics to stdout in a formatted way
graphrag-core/src/graph/incremental/manager.rs:285
Methodprint
Print statistics
graphrag-core/src/retrieval/hybrid.rs:491
Methodprint
(&self)
graphrag-core/src/retrieval/types.rs:179
Methodprint
Print search statistics to stdout
graphrag-core/src/retrieval/pagerank_retrieval.rs:654
Methodprint
Print statistics
graphrag-core/src/retrieval/bm25.rs:285
Methodprint
Print adaptive retriever statistics to stdout
graphrag-core/src/retrieval/adaptive.rs:328
Methodprint
Print statistics to the log using structured logging. Outputs intent count, pattern counts, and thresholds at INFO level.
graphrag-core/src/rograg/intent_classifier.rs:767
Methodprint
Print tree statistics
graphrag-core/src/summarization/mod.rs:1257
Methodprint
Print configuration summary
graphrag-core/src/config/enhancements.rs:688
Methodprint
(&self)
graphrag-core/src/entity/semantic_merging.rs:411
Methodprint
(&self)
graphrag-core/src/entity/gleaning_extractor.rs:500
Methodprint_health
Print cache health report
graphrag-core/src/caching/client.rs:269
Methodprint_statistics
Print cache statistics
graphrag-core/src/caching/client.rs:264
Methodprint_summary
Prints a formatted summary of all metrics to the log
graphrag-core/src/async_processing/monitoring.rs:369
Methodprint_summary
Print summary results
graphrag-core/src/monitoring/benchmark.rs:761
Methodprint_summary
(&self)
graphrag-core/src/text/chunk_enricher.rs:199
Methodprint_summary
Print a human-readable summary of the statistics
graphrag-core/src/text/document_structure.rs:280
Methodprocess_batch_operations
( config: &AsyncBatchConfig, batch: &UpdateBatch, )
graphrag-core/src/incremental/async_batch.rs:482
Functionprocess_batch_with_rate_limit
Batch processor for concurrent operations with rate limiting
graphrag-core/src/core/traits.rs:1397
Methodprocess_collection
Process a complete document collection
graphrag-core/src/corpus/mod.rs:41
Methodprocess_documents_async
Processes multiple documents concurrently with rate limiting Distributes documents across concurrent workers while respecting rate limits and collect
graphrag-core/src/async_processing/mod.rs:119
← previousnext →3,001–3,100 of 4,223, ranked by callers