MCPcopy Create free account

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

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

↓ 1 callersMethodwith_hash_embeddings
Configure for hash-based embeddings (no LLM required, offline) This transitions the builder to the `HasLlm` state. Uses deterministic hash embeddings
graphrag-core/src/builder/mod.rs:162
↓ 1 callersMethodwith_heading_path
Create metadata with heading path
graphrag-core/src/core/metadata.rs:124
↓ 1 callersMethodwith_local_defaults
Configure for local zero-config setup using Ollama Sets up: - Ollama enabled with localhost:11434 - Default models (nomic-embed-text for embeddings,
graphrag-core/src/builder/mod.rs:558
↓ 1 callersMethodwith_mention_times
Set mention timestamps for this entity
graphrag-core/src/core/mod.rs:1291
↓ 1 callersMethodwith_min_confidence
Set minimum confidence threshold
graphrag-core/src/retrieval/causal_analysis.rs:197
↓ 1 callersMethodwith_min_size
Set minimum chunk size
graphrag-core/src/text/chunking_strategies.rs:39
↓ 1 callersMethodwith_min_threshold
Set minimum score threshold for filtering results
graphrag-core/src/retrieval/pagerank_retrieval.rs:95
↓ 1 callersMethodwith_num_threads
Set the number of parallel threads # Example ```no_run # use graphrag_core::builder::GraphRAGBuilder; let builder = GraphRAGBuilder::new() .with_num_
graphrag-core/src/builder/mod.rs:513
↓ 1 callersMethodwith_ollama_client
Set Ollama client for summary generation
graphrag-core/src/graph/hierarchical_relationships.rs:222
↓ 1 callersMethodwith_ollama_custom
Configure for Ollama with custom settings
graphrag-core/src/builder/mod.rs:140
↓ 1 callersMethodwith_ollama_enabled
Enable Ollama integration # Example ```no_run # use graphrag_core::builder::GraphRAGBuilder; let builder = GraphRAGBuilder::new() .with_ollama_enable
graphrag-core/src/builder/mod.rs:420
↓ 1 callersMethodwith_ollama_host
Set the Ollama host # Example ```no_run # use graphrag_core::builder::GraphRAGBuilder; let builder = GraphRAGBuilder::new() .with_ollama_host("localh
graphrag-core/src/builder/mod.rs:394
↓ 1 callersMethodwith_ollama_port
Set the Ollama port # Example ```no_run # use graphrag_core::builder::GraphRAGBuilder; let builder = GraphRAGBuilder::new() .with_ollama_port(11434);
graphrag-core/src/builder/mod.rs:407
↓ 1 callersMethodwith_pagerank_scores
Set PageRank scores for importance-based boosting # Arguments `scores` - Map of entity IDs to their PageRank scores # Example ```ignore use std::c
graphrag-core/src/retrieval/symbolic_anchoring.rs:118
↓ 1 callersMethodwith_parallel
Enable/disable parallel processing (optional)
graphrag-core/src/builder/mod.rs:222
↓ 1 callersMethodwith_parallel_processing
Enable or disable parallel processing # Example ```no_run # use graphrag_core::builder::GraphRAGBuilder; let builder = GraphRAGBuilder::new() .with_p
graphrag-core/src/builder/mod.rs:500
↓ 1 callersMethodwith_response
Set a specific response for a prompt
graphrag-core/src/core/test_utils.rs:104
↓ 1 callersMethodwith_results
Pre-populate with results for testing
graphrag-core/src/core/test_utils.rs:315
↓ 1 callersMethodwith_score_weights
Configure scoring weights for combining signals
graphrag-core/src/retrieval/pagerank_retrieval.rs:89
↓ 1 callersMethodwith_section
Create metadata with section information
graphrag-core/src/core/metadata.rs:88
↓ 1 callersMethodwith_section_number
Create heading with section number
graphrag-core/src/text/document_structure.rs:51
↓ 1 callersMethodwith_similarity
Set similarity score
graphrag-core/src/retrieval/symbolic_anchoring.rs:58
↓ 1 callersMethodwith_summary
Create metadata with summary
graphrag-core/src/core/metadata.rs:106
↓ 1 callersMethodwith_weight
Create with custom weight
graphrag-core/src/optimization/graph_weight_optimizer.rs:133
↓ 1 callersMethodword_count
Count words in text
graphrag-core/src/text/mod.rs:388
FunctionAdaptiveQueryPanel
( /// Callback when query is submitted (adaptive routing) on_query: Callback<String, ()>, /// Opti
graphrag-wasm/src/components/hierarchy.rs:334
FunctionApp
()
graphrag-wasm/src/main.rs:76
FunctionChatWindow
( #[prop(optional, into)] model: Option<String>, #[prop(optional)] on_message: Option<Box<dyn Fn(Strin
graphrag-wasm/src/components/chat_component.rs:31
FunctionChatWindow
( /// Callback when user submits a query #[allow(dead_code)] on_query: Callback<String, ()>, /
graphrag-wasm/src/components/ui_components.rs:49
FunctionCommunityCard
( /// Community data community: ReadSignal<CommunityData>, /// Optional callback when expanded
graphrag-wasm/src/components/hierarchy.rs:117
FunctionComposer
( query_input: ReadSignal<String>, set_query_input: WriteSignal<String>, on_submit: FS, is_rea
graphrag-wasm/src/main.rs:909
FunctionDocumentManager
( /// Callback when files are uploaded #[allow(dead_code)] on_upload: Callback<Vec<String>, ()>,
graphrag-wasm/src/components/ui_components.rs:293
FunctionGraphPanel
(subgraph: ReadSignal<SubgraphData>)
graphrag-wasm/src/main.rs:1036
FunctionGraphStats
( /// Number of entities in the graph #[allow(dead_code)] entity_count: ReadSignal<usize>, ///
graphrag-wasm/src/components/ui_components.rs:232
FunctionGraphVisualization
( /// List of nodes to visualize #[allow(dead_code)] nodes: ReadSignal<Vec<GraphNode>>, /// Li
graphrag-wasm/src/components/ui_components.rs:449
FunctionHierarchyExplorer
( /// Maximum hierarchical level available max_level: ReadSignal<usize>, /// Communities at curren
graphrag-wasm/src/components/hierarchy.rs:211
FunctionLeftRail
( documents: ReadSignal<Vec<Document>>, build_status: ReadSignal<BuildStatus>, graph_stats: ReadSi
graphrag-wasm/src/main.rs:611
FunctionLevelSelector
( /// Maximum hierarchical level available max_level: ReadSignal<usize>, /// Currently selected le
graphrag-wasm/src/components/hierarchy.rs:54
FunctionPipelineList
(build_status: ReadSignal<BuildStatus>)
graphrag-wasm/src/main.rs:1132
FunctionQueryInterface
( /// Callback when query is submitted #[allow(dead_code)] on_submit: Callback<String, ()>, //
graphrag-wasm/src/components/ui_components.rs:154
FunctionRefList
( turns: ReadSignal<Vec<ChatTurn>>, active_ref: ReadSignal<Option<u32>>, set_active_ref: WriteSign
graphrag-wasm/src/main.rs:1225
FunctionRightRail
( subgraph: ReadSignal<SubgraphData>, build_status: ReadSignal<BuildStatus>, graph_stats: ReadSign
graphrag-wasm/src/main.rs:957
FunctionSettingsPanel
()
graphrag-wasm/src/components/settings.rs:194
FunctionStageHead
( documents: ReadSignal<Vec<Document>>, build_status: ReadSignal<BuildStatus>, )
graphrag-wasm/src/main.rs:801
FunctionTurnView
( turn: ChatTurn, turn_idx: usize, active_ref: ReadSignal<Option<u32>>, set_active_ref: WriteS
graphrag-wasm/src/main.rs:850
Function_phantom_rel
(_r: &Relationship)
graphrag-wasm/src/components/chat_shell.rs:334
Methodacquire_embedding_permit
Acquires a permit for making an embedding API call Blocks until both concurrency and rate limits allow the call to proceed. The permit must be held f
graphrag-core/src/async_processing/rate_limiting.rs:200
Methodadd_change
Adds a change to be processed in batches
graphrag-core/src/graph/incremental/manager.rs:721
Methodadd_chunk_mappings
Add multiple mappings for a chunk
graphrag-core/src/entity/bidirectional_index.rs:116
Functionadd_document
( State(state): State<AppState>, Json(req): Json<DocumentRequest>, )
graphrag-core/src/api/handlers.rs:111
Functionadd_document
( state: Data<AppState>, body: Json<AddDocumentRequest>, )
graphrag-server/src/main.rs:468
Functionadd_document
Add a document to the knowledge graph
graphrag-server/src/main_backup.rs:287
Methodadd_document
Add a single document to an existing corpus
graphrag-core/src/corpus/mod.rs:78
Methodadd_document
Add a document with embedding and metadata
graphrag-server/src/lancedb_store.rs:147
Methodadd_documents_batch
Batch process multiple documents concurrently
graphrag-core/src/async_graphrag.rs:416
Methodadd_documents_batch
( &self, documents: Vec<(String, Vec<f32>, DocumentMetadata)>, )
graphrag-server/src/qdrant_store.rs:186
Methodadd_edges_batch
Add multiple edges in batch
graphrag-core/src/core/traits.rs:738
Methodadd_entity_embeddings
Add embeddings to entities
graphrag-core/src/graph/mod.rs:309
Methodadd_entity_mappings
Add multiple mappings for an entity
graphrag-core/src/entity/bidirectional_index.rs:109
Methodadd_file
Add a file to analyze
graphrag-core/src/api/easy.rs:52
Methodadd_nodes_batch
Add multiple nodes in batch
graphrag-core/src/core/traits.rs:725
Methodadd_parser
Add a custom parser
graphrag-core/src/rograg/logic_form/retriever.rs:202
Methodadd_pattern
Add pattern (regex)
graphrag-core/src/nlp/custom_ner.rs:55
Methodadd_template
Add a custom prompt template
graphrag-core/src/generation/mod.rs:1026
Methodadd_vector
( &self, id: &str, embedding: Vec<f32>, metadata: HashMap<String, String>,
graphrag-core/src/vector/qdrant.rs:74
Methodadd_vector
( &self, id: &str, embedding: Vec<f32>, metadata: HashMap<String, String>,
graphrag-core/src/vector/lancedb.rs:63
Methodadd_vector
( &self, id: &str, embedding: Vec<f32>, metadata: HashMap<String, String>,
graphrag-core/src/vector/memory_store.rs:29
Methodadd_vectors_batch
( &self, vectors: Vec<(&str, Vec<f32>, HashMap<String, String>)>, )
graphrag-core/src/vector/memory_store.rs:42
Methodadd_vectors_batch_concurrent
Add vectors with concurrency control for large batches
graphrag-core/src/core/traits.rs:249
Methodage
Returns how long this entry has been in the cache. Calculates the duration between now and when the entry was created.
graphrag-core/src/caching/mod.rs:146
Methodall_chunks
Get all chunks
graphrag-core/src/storage/mod.rs:70
Methodall_documents
Get all documents
graphrag-core/src/storage/mod.rs:49
Methodall_entities
Get all entities
graphrag-core/src/storage/mod.rs:54
Methodall_paths
Find all paths between two nodes (limited depth) # Arguments `start` - Starting node `end` - Ending node `max_depth` - Maximum path length # Returns
graphrag-core/src/graph/analytics.rs:357
Methodanalyze_query
Analyze query type and suggest appropriate function calling strategy
graphrag-core/src/function_calling/tools.rs:241
Functionanswer_file
Answer a question about a file with one function call # Examples ```rust,no_run use graphrag_rs::simple::answer_file; let response = answer_file("d
graphrag-core/src/api/simple.rs:36
Methodanswer_questions_batch
Batch answer multiple questions concurrently
graphrag-core/src/async_graphrag.rs:433
Methodappend_content
(&mut self, lines: Vec<String>)
graphrag-cli/src/ui/components/results_viewer.rs:66
Methodapply_delta
(&mut self, delta: GraphDelta)
graphrag-core/src/graph/incremental/store.rs:445
Methodarchitecture
(&self)
graphrag-wasm/src/webgpu_check.rs:38
Methodask_with_pagerank
( &mut self, query: &str, )
graphrag-core/src/graphrag/ask.rs:477
Methodassistant
(content: impl Into<String>)
graphrag-wasm/src/webllm.rs:53
Functionauth_middleware
Authentication middleware for Axum Extracts and validates authentication from request headers. Supports both JWT tokens and API keys.
graphrag-server/src/auth.rs:329
Functionautosave_setconfig_default_matches_runtime
()
graphrag-core/src/config/setconfig.rs:1983
Methodavailable_models
Get available models for this provider
graphrag-wasm/src/components/settings.rs:96
Methodaverage_processing_time
(&self)
graphrag-core/src/text/mod.rs:525
Methodbackend_name
Get backend name
graphrag-server/src/embeddings.rs:264
Methodbackground_warming
Enable or disable background warming
graphrag-core/src/caching/warming.rs:122
Methodbasic_upsert_entity
Basic entity upsert (works without incremental feature)
graphrag-core/src/graph/incremental/manager.rs:169
Methodbatch_chunk_documents
Process multiple documents in parallel
graphrag-core/src/text/mod.rs:393
Methodbatch_clean_text
Parallel text cleaning for multiple texts
graphrag-core/src/text/mod.rs:457
Functionbatch_extract_entities
( llm: &WebLLM, texts: Vec<String>, )
graphrag-wasm/src/entity_extractor.rs:106
Methodbatch_extract_keywords
Parallel extraction of keywords from multiple texts
graphrag-core/src/text/mod.rs:413
Methodbatch_extract_sentences
Parallel sentence extraction from multiple texts
graphrag-core/src/text/mod.rs:435
Methodbatch_query
( &mut self, queries: &[&str], graph: &KnowledgeGraph, )
graphrag-core/src/retrieval/mod.rs:439
Functionbatch_upload
POST /api/collections/:name/documents/batch Upload multiple documents to a collection in batch. Uses Rayon for parallel embedding generation.
graphrag-server/src/handlers.rs:166
Functionbatch_upload
( State(state): State<AppState>, Path(collection_name): Path<String>, Json(req): Json<BatchUploadR
examples/graphrag_multi_doc_server.rs:247
Methodbatch_upsert_entities
( &mut self, entities: Vec<Entity>, _strategy: ConflictStrategy, )
graphrag-core/src/graph/incremental/store.rs:562
Methodbatch_upsert_relationships
( &mut self, relationships: Vec<Relationship>, _strategy: ConflictStrategy, )
graphrag-core/src/graph/incremental/store.rs:577
Functionbench_baseline_retrieval
Benchmark baseline retrieval (no advanced features)
graphrag-core/benches/advanced_features_benchmark.rs:94
← previousnext →1,901–2,000 of 4,223, ranked by callers