MCPcopy Create free account

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

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

↓ 1 callersMethodextract_character_names
Extract character names from text
graphrag-core/src/generation/mod.rs:238
↓ 1 callersMethodextract_character_names
Extract capitalized words that might be names from text
graphrag-core/src/generation/async_mock_llm.rs:258
↓ 1 callersMethodextract_chunks
Extract code chunks from AST nodes
graphrag-core/src/text/chunking_strategies.rs:204
↓ 1 callersMethodextract_clauses
(&self, query: &str)
graphrag-core/src/rograg/decomposer.rs:650
↓ 1 callersMethodextract_concepts
Extract concept entities (themes, ideas, theories)
graphrag-core/src/entity/mod.rs:918
↓ 1 callersMethodextract_contains
Contains substring extraction
graphrag-core/src/nlp/custom_ner.rs:267
↓ 1 callersMethodextract_contextual
Contextual extraction (requires specific surrounding words)
graphrag-core/src/nlp/custom_ner.rs:318
↓ 1 callersMethodextract_dictionary
Dictionary-based extraction
graphrag-core/src/nlp/custom_ner.rs:290
↓ 1 callersMethodextract_document_concepts
Extract concepts from a single document
graphrag-core/src/corpus/collection_processor.rs:334
↓ 1 callersMethodextract_document_entities
Extract entities from a single document
graphrag-core/src/corpus/collection_processor.rs:248
↓ 1 callersMethodextract_embedding
Extract embedding from ONNX output
graphrag-wasm/src/onnx_embedder.rs:373
↓ 1 callersMethodextract_entities_async
Simulate async entity extraction (would use actual AsyncEntityExtractor)
graphrag-core/src/async_graphrag.rs:222
↓ 1 callersFunctionextract_entities_simple
Simple rule-based entity extraction (fallback when WebLLM is unavailable) Extracts: - Capitalized words as potential entities (PERSON/ORGANIZATION) -
graphrag-wasm/src/entity_extractor.rs:148
↓ 1 callersMethodextract_events
Extract event entities
graphrag-core/src/entity/mod.rs:985
↓ 1 callersMethodextract_exact_match
Exact match extraction
graphrag-core/src/nlp/custom_ner.rs:171
↓ 1 callersMethodextract_from_content
(&self, _content: &DocumentContent)
graphrag-core/src/incremental/mod.rs:862
↓ 1 callersMethodextract_generic_entities
Generic entity extraction for any configured entity type
graphrag-core/src/entity/mod.rs:1060
↓ 1 callersMethodextract_json
Extract JSON from LLM response (handle various formats)
graphrag-core/src/lightrag/keyword_extraction.rs:132
↓ 1 callersMethodextract_key_events
Extract key events/actions from text
graphrag-core/src/generation/mod.rs:263
↓ 1 callersMethodextract_key_events
Extract key events/actions from text
graphrag-core/src/generation/async_mock_llm.rs:280
↓ 1 callersMethodextract_key_terms
Extract key terms (remove stop words)
graphrag-core/src/query/intelligence.rs:264
↓ 1 callersMethodextract_keywords
Extract keywords using simple term frequency
graphrag-core/src/lightrag/concept_graph.rs:224
↓ 1 callersFunctionextract_keywords_multiple
(text: &str)
examples/zero_cost_approaches_demo.rs:498
↓ 1 callersMethodextract_known_names
Extract well-known character names to prevent concatenation
graphrag-core/src/entity/mod.rs:350
↓ 1 callersMethodextract_largest_connected_component
Extract largest connected component from graph
graphrag-core/src/graph/leiden.rs:767
↓ 1 callersFunctionextract_lazy_concepts
Simulation functions
examples/zero_cost_approaches_demo.rs:450
↓ 1 callersMethodextract_locations
Extract locations from text
graphrag-core/src/generation/mod.rs:287
↓ 1 callersMethodextract_locations
Extract locations from text
graphrag-core/src/generation/async_mock_llm.rs:304
↓ 1 callersMethodextract_locations
Extract location entities
graphrag-core/src/entity/mod.rs:569
↓ 1 callersMethodextract_objects
Extract object entities (tools, artifacts, items)
graphrag-core/src/entity/mod.rs:1022
↓ 1 callersMethodextract_organizations
Extract organization entities
graphrag-core/src/entity/mod.rs:502
↓ 1 callersFunctionextract_pattern_entities
(text: &str)
examples/zero_cost_approaches_demo.rs:486
↓ 1 callersMethodextract_persons
Extract person entities using enhanced capitalization and context heuristics
graphrag-core/src/entity/mod.rs:176
↓ 1 callersMethodextract_prefix
Prefix match extraction
graphrag-core/src/nlp/custom_ner.rs:218
↓ 1 callersFunctionextract_query_concepts
Extract conceptual keywords from a query for dynamic weighting Simple heuristic that extracts meaningful words (>3 chars, not stopwords)
graphrag-core/src/retrieval/pagerank_retrieval.rs:565
↓ 1 callersMethodextract_regex
Regex extraction
graphrag-core/src/nlp/custom_ner.rs:196
↓ 1 callersFunctionextract_regex_patterns
(text: &str)
examples/zero_cost_approaches_demo.rs:536
↓ 1 callersMethodextract_relationship
Extract relationship information from subquery results Searches for and extracts relationship descriptions between entities from the subquery results
graphrag-core/src/rograg/streaming.rs:550
↓ 1 callersMethodextract_relationships
Extract relationships between entities using pattern matching
graphrag-core/src/lightrag/graph_indexer.rs:121
↓ 1 callersMethodextract_sources
Extract source IDs from matches
graphrag-core/src/rograg/fuzzy_matcher.rs:708
↓ 1 callersMethodextract_sources
Extract source IDs from bindings
graphrag-core/src/rograg/logic_form/retriever.rs:194
↓ 1 callersMethodextract_suffix
Suffix match extraction
graphrag-core/src/nlp/custom_ner.rs:244
↓ 1 callersMethodextract_title_based_names
Extract title-based names (Dr. Smith, Guardian Entity)
graphrag-core/src/entity/mod.rs:410
↓ 1 callersMethodextract_two_word_names
Extract two-word names (First Last pattern)
graphrag-core/src/entity/mod.rs:460
↓ 1 callersMethodextract_with_fallback
Extract keywords with fallback to query terms
graphrag-core/src/lightrag/keyword_extraction.rs:174
↓ 1 callersMethodextract_with_gleaning
( &self, chunk: &TextChunk, )
graphrag-core/src/entity/gleaning_extractor.rs:116
↓ 1 callersMethodfilter_by_structure
Filter chunks by chapter or section Example: "What does Socrates say in Chapter 1?" -> filter to Chapter 1 chunks
graphrag-core/src/retrieval/enriched.rs:148
↓ 1 callersMethodfind_all_paths
Find all paths between two entities Uses DFS to discover all possible paths from source to target within the maximum depth limit. # Arguments `graph
graphrag-core/src/graph/traversal.rs:382
↓ 1 callersMethodfind_all_paths
Find all paths between two entities using BFS
graphrag-core/src/retrieval/causal_analysis.rs:300
↓ 1 callersMethodfind_base_score
Find base score from existing results
graphrag-core/src/retrieval/enriched.rs:332
↓ 1 callersMethodfind_best_community
Find best community for a node using greedy modularity optimization
graphrag-core/src/graph/leiden.rs:559
↓ 1 callersMethodfind_char_boundary_in_slice
Find a safe character boundary within a slice at or before the given position
graphrag-core/src/text/chunking.rs:249
↓ 1 callersFunctionfind_co_occurrences
(text: &str, concepts: &[Concept], window_size: usize)
examples/zero_cost_approaches_demo.rs:463
↓ 1 callersMethodfind_connected_components
Find connected components within a set of nodes
graphrag-core/src/graph/leiden.rs:677
↓ 1 callersMethodfind_entities_by_name
Find entities by name (case-insensitive partial match)
graphrag-core/src/core/mod.rs:773
↓ 1 callersMethodfind_entity_paths
Find paths between entities in the graph
graphrag-core/src/retrieval/mod.rs:1067
↓ 1 callersMethodfind_largest_connected_component
Find largest connected component size (simplified implementation)
graphrag-core/src/corpus/knowledge_graph.rs:341
↓ 1 callersMethodfind_matched_tokens
Find which query tokens matched the concept
graphrag-core/src/lightrag/query_concepts.rs:363
↓ 1 callersMethodfind_optimal_boundary
Find optimal boundary using hierarchical separators
graphrag-core/src/text/chunking.rs:105
↓ 1 callersMethodfind_optimal_join_order
Find optimal join order using greedy algorithm
graphrag-core/src/query/optimizer.rs:310
↓ 1 callersMethodfind_paths
( &self, context: &FunctionContext, source: &str, target: &str, max_ho
graphrag-core/src/function_calling/functions.rs:477
↓ 1 callersMethodfind_paths_recursive
( &self, graph: &KnowledgeGraph, current: &EntityId, target: &EntityId,
graphrag-core/src/graph/traversal.rs:425
↓ 1 callersMethodfind_relationship
Find a relationship between two entities
graphrag-core/src/retrieval/causal_analysis.rs:347
↓ 1 callersMethodfind_relationship_path
Find relationship path between two entities (simplified BFS)
graphrag-core/src/core/mod.rs:800
↓ 1 callersMethodfind_relevant_entities
Find entities most relevant to the query
graphrag-core/src/retrieval/mod.rs:1261
↓ 1 callersMethodfind_section_containing_offset
Find the section index that contains the given offset
graphrag-core/src/text/document_structure.rs:178
↓ 1 callersMethodfind_sentence_boundary
Advanced sentence boundary detection
graphrag-core/src/text/chunking.rs:155
↓ 1 callersMethodfind_sentence_boundary
Find a good sentence boundary for chunking
graphrag-core/src/text/mod.rs:285
↓ 1 callersMethodfind_similar
Find vectors within a similarity threshold
graphrag-core/src/vector/mod.rs:485
↓ 1 callersMethodfind_similar_entity
(&self, entity: &ExtractedEntity)
graphrag-core/src/incremental/mod.rs:922
↓ 1 callersMethodfind_word_boundary
Find a word boundary for chunking
graphrag-core/src/text/mod.rs:330
↓ 1 callersFunctionfirst_sentence
(s: &str, max_chars: usize)
graphrag-wasm/src/components/chat_shell.rs:174
↓ 1 callersMethodfits_in_context
Returns `true` if the document fits within the model's context window
graphrag-core/src/text/late_chunking.rs:134
↓ 1 callersMethodforce_propagate
Force propagation of all pending updates
graphrag-core/src/incremental/lazy_propagation.rs:483
↓ 1 callersMethodformat_chunks
(&self, chunks: &[String])
graphrag-core/src/evaluation/mod.rs:212
↓ 1 callersMethodformat_display
Format the explained answer for display
graphrag-core/src/retrieval/explained.rs:205
↓ 1 callersMethodformat_entities
(&self, entities: &[Entity])
graphrag-core/src/evaluation/mod.rs:185
↓ 1 callersFunctionformat_now
()
graphrag-wasm/src/main.rs:1280
↓ 1 callersMethodformat_relationships
(&self, relationships: &[Relationship])
graphrag-core/src/evaluation/mod.rs:198
↓ 1 callersMethodfull_recomputation
Perform full PageRank recomputation
graphrag-core/src/graph/incremental/manager.rs:469
↓ 1 callersMethodgenerate
(&mut self, prompt: String)
graphrag-wasm/src/webllm.rs:696
↓ 1 callersFunctiongenerateEmbeddings
(data)
examples/wasm-multi-doc-demo/worker.js:35
↓ 1 callersMethodgenerate_additional_context
Generate additional context from secondary subquery results Combines content from results beyond the first to provide supporting context.
graphrag-core/src/rograg/streaming.rs:561
↓ 1 callersMethodgenerate_answer
Generate answer from variable bindings
graphrag-core/src/rograg/logic_form/retriever.rs:153
↓ 1 callersMethodgenerate_answer_async
Generate answer using async language model
graphrag-core/src/async_graphrag.rs:338
↓ 1 callersMethodgenerate_cache_keys_for_change
(&self, change: &ChangeRecord)
graphrag-core/src/graph/incremental/helpers.rs:113
↓ 1 callersMethodgenerate_cluster_summary
( &self, cluster: &RelationshipCluster, _all_relationships: &[Relationship], o
graphrag-core/src/graph/hierarchical_relationships.rs:531
↓ 1 callersMethodgenerate_community_summary
Generate extractive summary for a community (bottom-up approach) Creates a summary by listing key entities and their types. For use with LLM-based su
graphrag-core/src/graph/leiden.rs:145
↓ 1 callersMethodgenerate_conclusion
Generate conclusion based on synthesis confidence Creates a closing statement that reflects the confidence level of the synthesized information.
graphrag-core/src/rograg/streaming.rs:598
↓ 1 callersMethodgenerate_confidence_indicator
Generate confidence indicator text based on confidence score Returns human-readable text describing the confidence level of the response.
graphrag-core/src/rograg/streaming.rs:505
↓ 1 callersFunctiongenerate_config
( use_case: &str, ollama_enabled: bool, ollama_host: &str, ollama_port: u16, chat_model: &
graphrag-cli/src/lib.rs:801
↓ 1 callersMethodgenerate_content
Generate content using template and synthesis result Replaces template placeholders with actual content from synthesis results and subquery data, the
graphrag-core/src/rograg/streaming.rs:463
↓ 1 callersMethodgenerate_contextual_response
Generate contextual response when direct extraction fails
graphrag-core/src/generation/mod.rs:175
↓ 1 callersMethodgenerate_contextual_response
Generate contextual response when direct extraction fails
graphrag-core/src/generation/async_mock_llm.rs:188
↓ 1 callersMethodgenerate_details
Generate details from high-confidence results Filters and combines content from subquery results with confidence above 0.6 to provide detailed suppor
graphrag-core/src/rograg/streaming.rs:580
↓ 1 callersMethodgenerate_embedding
Generate a deterministic embedding based on text hash
graphrag-core/src/core/test_utils.rs:38
↓ 1 callersMethodgenerate_explanation
Generate explanation for the routing decision
graphrag-core/src/query/adaptive_routing.rs:244
↓ 1 callersMethodgenerate_extractive_answer
Generate extractive answer from context with improved relevance scoring
graphrag-core/src/generation/async_mock_llm.rs:82
↓ 1 callersMethodgenerate_hierarchical_summaries
Generate summaries for all levels bottom-up Starts from the finest level (0) and works up through the hierarchy. Higher-level summaries can reference
graphrag-core/src/graph/leiden.rs:231
↓ 1 callersMethodgenerate_hybrid_answer
Generate hybrid answer combining extraction and generation
graphrag-core/src/generation/mod.rs:983
← previousnext →1,301–1,400 of 4,223, ranked by callers