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
↓ 1 callers
Method
extract_character_names
Extract character names from text
graphrag-core/src/generation/mod.rs:238
↓ 1 callers
Method
extract_character_names
Extract capitalized words that might be names from text
graphrag-core/src/generation/async_mock_llm.rs:258
↓ 1 callers
Method
extract_chunks
Extract code chunks from AST nodes
graphrag-core/src/text/chunking_strategies.rs:204
↓ 1 callers
Method
extract_clauses
(&self, query: &str)
graphrag-core/src/rograg/decomposer.rs:650
↓ 1 callers
Method
extract_concepts
Extract concept entities (themes, ideas, theories)
graphrag-core/src/entity/mod.rs:918
↓ 1 callers
Method
extract_contains
Contains substring extraction
graphrag-core/src/nlp/custom_ner.rs:267
↓ 1 callers
Method
extract_contextual
Contextual extraction (requires specific surrounding words)
graphrag-core/src/nlp/custom_ner.rs:318
↓ 1 callers
Method
extract_dictionary
Dictionary-based extraction
graphrag-core/src/nlp/custom_ner.rs:290
↓ 1 callers
Method
extract_document_concepts
Extract concepts from a single document
graphrag-core/src/corpus/collection_processor.rs:334
↓ 1 callers
Method
extract_document_entities
Extract entities from a single document
graphrag-core/src/corpus/collection_processor.rs:248
↓ 1 callers
Method
extract_embedding
Extract embedding from ONNX output
graphrag-wasm/src/onnx_embedder.rs:373
↓ 1 callers
Method
extract_entities_async
Simulate async entity extraction (would use actual AsyncEntityExtractor)
graphrag-core/src/async_graphrag.rs:222
↓ 1 callers
Function
extract_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 callers
Method
extract_events
Extract event entities
graphrag-core/src/entity/mod.rs:985
↓ 1 callers
Method
extract_exact_match
Exact match extraction
graphrag-core/src/nlp/custom_ner.rs:171
↓ 1 callers
Method
extract_from_content
(&self, _content: &DocumentContent)
graphrag-core/src/incremental/mod.rs:862
↓ 1 callers
Method
extract_generic_entities
Generic entity extraction for any configured entity type
graphrag-core/src/entity/mod.rs:1060
↓ 1 callers
Method
extract_json
Extract JSON from LLM response (handle various formats)
graphrag-core/src/lightrag/keyword_extraction.rs:132
↓ 1 callers
Method
extract_key_events
Extract key events/actions from text
graphrag-core/src/generation/mod.rs:263
↓ 1 callers
Method
extract_key_events
Extract key events/actions from text
graphrag-core/src/generation/async_mock_llm.rs:280
↓ 1 callers
Method
extract_key_terms
Extract key terms (remove stop words)
graphrag-core/src/query/intelligence.rs:264
↓ 1 callers
Method
extract_keywords
Extract keywords using simple term frequency
graphrag-core/src/lightrag/concept_graph.rs:224
↓ 1 callers
Function
extract_keywords_multiple
(text: &str)
examples/zero_cost_approaches_demo.rs:498
↓ 1 callers
Method
extract_known_names
Extract well-known character names to prevent concatenation
graphrag-core/src/entity/mod.rs:350
↓ 1 callers
Method
extract_largest_connected_component
Extract largest connected component from graph
graphrag-core/src/graph/leiden.rs:767
↓ 1 callers
Function
extract_lazy_concepts
Simulation functions
examples/zero_cost_approaches_demo.rs:450
↓ 1 callers
Method
extract_locations
Extract locations from text
graphrag-core/src/generation/mod.rs:287
↓ 1 callers
Method
extract_locations
Extract locations from text
graphrag-core/src/generation/async_mock_llm.rs:304
↓ 1 callers
Method
extract_locations
Extract location entities
graphrag-core/src/entity/mod.rs:569
↓ 1 callers
Method
extract_objects
Extract object entities (tools, artifacts, items)
graphrag-core/src/entity/mod.rs:1022
↓ 1 callers
Method
extract_organizations
Extract organization entities
graphrag-core/src/entity/mod.rs:502
↓ 1 callers
Function
extract_pattern_entities
(text: &str)
examples/zero_cost_approaches_demo.rs:486
↓ 1 callers
Method
extract_persons
Extract person entities using enhanced capitalization and context heuristics
graphrag-core/src/entity/mod.rs:176
↓ 1 callers
Method
extract_prefix
Prefix match extraction
graphrag-core/src/nlp/custom_ner.rs:218
↓ 1 callers
Function
extract_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 callers
Method
extract_regex
Regex extraction
graphrag-core/src/nlp/custom_ner.rs:196
↓ 1 callers
Function
extract_regex_patterns
(text: &str)
examples/zero_cost_approaches_demo.rs:536
↓ 1 callers
Method
extract_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 callers
Method
extract_relationships
Extract relationships between entities using pattern matching
graphrag-core/src/lightrag/graph_indexer.rs:121
↓ 1 callers
Method
extract_sources
Extract source IDs from matches
graphrag-core/src/rograg/fuzzy_matcher.rs:708
↓ 1 callers
Method
extract_sources
Extract source IDs from bindings
graphrag-core/src/rograg/logic_form/retriever.rs:194
↓ 1 callers
Method
extract_suffix
Suffix match extraction
graphrag-core/src/nlp/custom_ner.rs:244
↓ 1 callers
Method
extract_title_based_names
Extract title-based names (Dr. Smith, Guardian Entity)
graphrag-core/src/entity/mod.rs:410
↓ 1 callers
Method
extract_two_word_names
Extract two-word names (First Last pattern)
graphrag-core/src/entity/mod.rs:460
↓ 1 callers
Method
extract_with_fallback
Extract keywords with fallback to query terms
graphrag-core/src/lightrag/keyword_extraction.rs:174
↓ 1 callers
Method
extract_with_gleaning
( &self, chunk: &TextChunk, )
graphrag-core/src/entity/gleaning_extractor.rs:116
↓ 1 callers
Method
filter_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 callers
Method
find_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 callers
Method
find_all_paths
Find all paths between two entities using BFS
graphrag-core/src/retrieval/causal_analysis.rs:300
↓ 1 callers
Method
find_base_score
Find base score from existing results
graphrag-core/src/retrieval/enriched.rs:332
↓ 1 callers
Method
find_best_community
Find best community for a node using greedy modularity optimization
graphrag-core/src/graph/leiden.rs:559
↓ 1 callers
Method
find_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 callers
Function
find_co_occurrences
(text: &str, concepts: &[Concept], window_size: usize)
examples/zero_cost_approaches_demo.rs:463
↓ 1 callers
Method
find_connected_components
Find connected components within a set of nodes
graphrag-core/src/graph/leiden.rs:677
↓ 1 callers
Method
find_entities_by_name
Find entities by name (case-insensitive partial match)
graphrag-core/src/core/mod.rs:773
↓ 1 callers
Method
find_entity_paths
Find paths between entities in the graph
graphrag-core/src/retrieval/mod.rs:1067
↓ 1 callers
Method
find_largest_connected_component
Find largest connected component size (simplified implementation)
graphrag-core/src/corpus/knowledge_graph.rs:341
↓ 1 callers
Method
find_matched_tokens
Find which query tokens matched the concept
graphrag-core/src/lightrag/query_concepts.rs:363
↓ 1 callers
Method
find_optimal_boundary
Find optimal boundary using hierarchical separators
graphrag-core/src/text/chunking.rs:105
↓ 1 callers
Method
find_optimal_join_order
Find optimal join order using greedy algorithm
graphrag-core/src/query/optimizer.rs:310
↓ 1 callers
Method
find_paths
( &self, context: &FunctionContext, source: &str, target: &str, max_ho
graphrag-core/src/function_calling/functions.rs:477
↓ 1 callers
Method
find_paths_recursive
( &self, graph: &KnowledgeGraph, current: &EntityId, target: &EntityId,
graphrag-core/src/graph/traversal.rs:425
↓ 1 callers
Method
find_relationship
Find a relationship between two entities
graphrag-core/src/retrieval/causal_analysis.rs:347
↓ 1 callers
Method
find_relationship_path
Find relationship path between two entities (simplified BFS)
graphrag-core/src/core/mod.rs:800
↓ 1 callers
Method
find_relevant_entities
Find entities most relevant to the query
graphrag-core/src/retrieval/mod.rs:1261
↓ 1 callers
Method
find_section_containing_offset
Find the section index that contains the given offset
graphrag-core/src/text/document_structure.rs:178
↓ 1 callers
Method
find_sentence_boundary
Advanced sentence boundary detection
graphrag-core/src/text/chunking.rs:155
↓ 1 callers
Method
find_sentence_boundary
Find a good sentence boundary for chunking
graphrag-core/src/text/mod.rs:285
↓ 1 callers
Method
find_similar
Find vectors within a similarity threshold
graphrag-core/src/vector/mod.rs:485
↓ 1 callers
Method
find_similar_entity
(&self, entity: &ExtractedEntity)
graphrag-core/src/incremental/mod.rs:922
↓ 1 callers
Method
find_word_boundary
Find a word boundary for chunking
graphrag-core/src/text/mod.rs:330
↓ 1 callers
Function
first_sentence
(s: &str, max_chars: usize)
graphrag-wasm/src/components/chat_shell.rs:174
↓ 1 callers
Method
fits_in_context
Returns `true` if the document fits within the model's context window
graphrag-core/src/text/late_chunking.rs:134
↓ 1 callers
Method
force_propagate
Force propagation of all pending updates
graphrag-core/src/incremental/lazy_propagation.rs:483
↓ 1 callers
Method
format_chunks
(&self, chunks: &[String])
graphrag-core/src/evaluation/mod.rs:212
↓ 1 callers
Method
format_display
Format the explained answer for display
graphrag-core/src/retrieval/explained.rs:205
↓ 1 callers
Method
format_entities
(&self, entities: &[Entity])
graphrag-core/src/evaluation/mod.rs:185
↓ 1 callers
Function
format_now
()
graphrag-wasm/src/main.rs:1280
↓ 1 callers
Method
format_relationships
(&self, relationships: &[Relationship])
graphrag-core/src/evaluation/mod.rs:198
↓ 1 callers
Method
full_recomputation
Perform full PageRank recomputation
graphrag-core/src/graph/incremental/manager.rs:469
↓ 1 callers
Method
generate
(&mut self, prompt: String)
graphrag-wasm/src/webllm.rs:696
↓ 1 callers
Function
generateEmbeddings
(data)
examples/wasm-multi-doc-demo/worker.js:35
↓ 1 callers
Method
generate_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 callers
Method
generate_answer
Generate answer from variable bindings
graphrag-core/src/rograg/logic_form/retriever.rs:153
↓ 1 callers
Method
generate_answer_async
Generate answer using async language model
graphrag-core/src/async_graphrag.rs:338
↓ 1 callers
Method
generate_cache_keys_for_change
(&self, change: &ChangeRecord)
graphrag-core/src/graph/incremental/helpers.rs:113
↓ 1 callers
Method
generate_cluster_summary
( &self, cluster: &RelationshipCluster, _all_relationships: &[Relationship], o
graphrag-core/src/graph/hierarchical_relationships.rs:531
↓ 1 callers
Method
generate_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 callers
Method
generate_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 callers
Method
generate_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 callers
Function
generate_config
( use_case: &str, ollama_enabled: bool, ollama_host: &str, ollama_port: u16, chat_model: &
graphrag-cli/src/lib.rs:801
↓ 1 callers
Method
generate_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 callers
Method
generate_contextual_response
Generate contextual response when direct extraction fails
graphrag-core/src/generation/mod.rs:175
↓ 1 callers
Method
generate_contextual_response
Generate contextual response when direct extraction fails
graphrag-core/src/generation/async_mock_llm.rs:188
↓ 1 callers
Method
generate_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 callers
Method
generate_embedding
Generate a deterministic embedding based on text hash
graphrag-core/src/core/test_utils.rs:38
↓ 1 callers
Method
generate_explanation
Generate explanation for the routing decision
graphrag-core/src/query/adaptive_routing.rs:244
↓ 1 callers
Method
generate_extractive_answer
Generate extractive answer from context with improved relevance scoring
graphrag-core/src/generation/async_mock_llm.rs:82
↓ 1 callers
Method
generate_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 callers
Method
generate_hybrid_answer
Generate hybrid answer combining extraction and generation
graphrag-core/src/generation/mod.rs:983
← previous
next →
1,301–1,400 of 4,223, ranked by callers