MCPcopy Create free account

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

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

↓ 1,110 callersMethodlen
Get the number of vectors in the index
graphrag-core/src/vector/mod.rs:214
↓ 789 callersMethodclone
Clone the cached client (shares the same cache and statistics)
graphrag-core/src/caching/client.rs:409
↓ 387 callersMethodis_empty
Check if the index is empty
graphrag-core/src/vector/mod.rs:219
↓ 385 callersMethodcontains
Check if a vector exists
graphrag-core/src/vector/mod.rs:246
↓ 352 callersMethodinsert
(&mut self, item: &str)
graphrag-core/src/incremental/delta_computation.rs:253
↓ 254 callersMethodget
Get a service by type
graphrag-core/src/core/registry.rs:35
↓ 208 callersMethodclone
(&self)
graphrag-wasm/src/lib.rs:120
↓ 194 callersMethodclone
(&self)
graphrag-core/src/graph/incremental/manager.rs:873
↓ 189 callersMethodas_str
Returns the update ID as a string slice
graphrag-core/src/graph/incremental/types.rs:54
↓ 161 callersMethodcount
(&self)
graphrag-core/src/persistence/lance.rs:449
↓ 94 callersMethodcontains
Check if a timestamp falls within this range
graphrag-core/src/graph/temporal.rs:42
↓ 85 callersMethodlen
Get the number of registered services
graphrag-core/src/core/registry.rs:75
↓ 83 callersMethodentities
Get all entities
graphrag-core/src/core/mod.rs:446
↓ 68 callersMethodget
( &self, store_name: &str, key: &str, )
graphrag-wasm/src/storage.rs:229
↓ 59 callersMethodfinish
Finish the timer and return the elapsed duration
graphrag-core/src/core/traits.rs:1128
↓ 59 callersMethodset
Set value in cache Stores in both L1 (in-memory) and L2 (Redis) for redundancy. # Arguments `key` - Cache key `value` - Value to cache
graphrag-server/src/distributed_cache.rs:251
↓ 56 callersMethodchunks
Get all chunks
graphrag-core/src/core/mod.rs:466
↓ 54 callersMethodadd_entity
Add an entity to the knowledge graph
graphrag-core/src/core/mod.rs:387
↓ 52 callersMethodadd_document
Add a document to the knowledge graph # Arguments `id` - Unique document identifier `text` - Document text content `embedding` - Pre-computed embeddi
graphrag-wasm/src/lib.rs:167
↓ 52 callersMethodis_empty
Check if the index is empty
graphrag-core/src/entity/bidirectional_index.rs:277
↓ 51 callersMethodis_empty
Check if cluster is empty
graphrag-core/src/graph/hierarchical_relationships.rs:172
↓ 46 callersMethodadd_node
Add a node to the incremental graph
graphrag-core/src/incremental/mod.rs:830
↓ 43 callersMethodnext
Get the next event
graphrag-cli/src/tui.rs:145
↓ 41 callersMethodremove
Remove a service
graphrag-core/src/core/registry.rs:65
↓ 40 callersMethodadd_error
Add an error and mark validation as failed
graphrag-core/src/config/validation.rs:25
↓ 39 callersMethodload
()
graphrag-core/src/config/mod.rs:1669
↓ 38 callersMethodput
Store a value in an object store # Arguments `store_name` - Name of the object store `key` - Key to store the value under `value` - Value to store (m
graphrag-wasm/src/storage.rs:190
↓ 34 callersMethodget_all_relationships
Get all relationships in the graph
graphrag-core/src/core/mod.rs:493
↓ 33 callersMethodbuild_index
Build the vector index Must be called after adding documents and before querying.
graphrag-wasm/src/lib.rs:186
↓ 33 callersMethodexists
Check if a file exists
graphrag-cli/src/handlers/file_ops.rs:14
↓ 30 callersMethodadd_relationship
Add a relationship between entities
graphrag-core/src/core/mod.rs:395
↓ 28 callersMethodadd_mapping
Add a mapping between an entity and a chunk This is idempotent - adding the same mapping multiple times has no effect
graphrag-core/src/entity/bidirectional_index.rs:93
↓ 27 callersMethodbuild
Build the GraphRAG instance This method is only available when both output directory and LLM/embedding backend are configured. # Example ```no_run u
graphrag-core/src/builder/mod.rs:259
↓ 27 callersMethodis_empty
Check if the registry is empty
graphrag-core/src/core/registry.rs:80
↓ 27 callersMethodquery
Query the knowledge graph # Arguments `query_embedding` - Pre-computed query embedding `top_k` - Number of results to return # Returns JSON string w
graphrag-wasm/src/lib.rs:213
↓ 27 callersFunctionsleep
* Sleep utility for yielding control * @param {number} ms * @returns {Promise<void>}
examples/wasm-multi-doc-demo/worker.js:136
↓ 26 callersMethodadd_edge
Add temporal edge
graphrag-core/src/graph/temporal.rs:226
↓ 25 callersMethodclear
Clear all data
graphrag-core/src/storage/mod.rs:75
↓ 25 callersMethodget_mut
Get a mutable service by type
graphrag-core/src/core/registry.rs:47
↓ 23 callersMethodadd_entity
Add a grounded entity to this anchor
graphrag-core/src/retrieval/symbolic_anchoring.rs:51
↓ 23 callersMethodadd_relationship
Add a relationship to this cluster
graphrag-core/src/graph/hierarchical_relationships.rs:147
↓ 21 callersMethodadd_document_from_text
Add a document from text content
graphrag-core/src/graphrag/documents.rs:18
↓ 21 callersMethodchunk_text
Split text into chunks with overlap (legacy method)
graphrag-core/src/text/mod.rs:141
↓ 21 callersFunctiondefault_true
()
graphrag-core/src/config/setconfig.rs:1166
↓ 20 callersMethodgenerate_embedding
Generate embedding for a text string
graphrag-core/src/vector/mod.rs:601
↓ 19 callersMethodexecute
Execute a logic form query against the knowledge graph
graphrag-core/src/rograg/logic_form/executor.rs:50
↓ 19 callersMethodset_content
Set content from plain string lines (runs through markdown parser)
graphrag-cli/src/ui/components/results_viewer.rs:50
↓ 18 callersMethodembed
Embed a single text
graphrag-wasm/src/embedder.rs:122
↓ 17 callersMethodadd_vector
Add a vector to the index
graphrag-core/src/vector/mod.rs:102
↓ 17 callersMethodask
Simple chat with a single user message # Arguments `user_message` - User's message # Returns Assistant's response
graphrag-wasm/src/webllm.rs:348
↓ 16 callersMethodadd_warning
Add a warning (doesn't affect validity)
graphrag-core/src/config/validation.rs:31
↓ 16 callersMethodrelationships
Get all relationships as an iterator
graphrag-core/src/core/mod.rs:905
↓ 15 callersMethodembed
(&self, text: &str)
graphrag-core/src/core/test_utils.rs:60
↓ 15 callersMethodinitialize
Initialize the async GraphRAG system
graphrag-core/src/async_graphrag.rs:106
↓ 15 callersMethodload_model
Load model from Cache API Downloads model files from HuggingFace if not cached. Call this method before calling embed() or embed_batch().
graphrag-wasm/src/embedder.rs:113
↓ 14 callersMethodadd_document_concepts
Add concepts from a document
graphrag-core/src/lightrag/concept_graph.rs:319
↓ 14 callersMethodchunk
Chunk text according to strategy
graphrag-core/src/nlp/semantic_chunking.rs:102
↓ 14 callersMethodcomplete_async
Async version of complete
graphrag-core/src/caching/client.rs:376
↓ 14 callersFunctiongenerate_test_node
Generate a test document with realistic content
graphrag-core/benches/incremental_benchmark.rs:19
↓ 14 callersMethodget_entity
Get an entity by ID
graphrag-core/src/core/mod.rs:419
↓ 14 callersMethodknowledge_graph
Get a reference to the knowledge graph
graphrag-core/src/graphrag/stats.rs:46
↓ 14 callersMethodsearch_with_pagerank
Execute comprehensive search using both vector similarity and PageRank
graphrag-core/src/retrieval/pagerank_retrieval.rs:134
↓ 14 callersFunctionupdateStatus
(message)
examples/wasm-multi-doc-demo/app.js:422
↓ 13 callersMethodcomplete
(&self, prompt: &str)
graphrag-core/src/core/traits.rs:1330
↓ 13 callersMethodget_entity
Get entity details by ID
graphrag-core/src/graphrag/stats.rs:51
↓ 13 callersMethodget_neighbors
Get neighbors of an entity with their connecting relationships
graphrag-core/src/graph/traversal.rs:481
↓ 13 callersMethodload_from_storage
Load the index from IndexedDB
graphrag-wasm/src/lib.rs:350
↓ 13 callersMethodregister
Register a service implementation
graphrag-core/src/core/registry.rs:29
↓ 13 callersMethodrun
Run the layout algorithm for a fixed number of iterations
graphrag-wasm/src/components/force_layout.rs:274
↓ 13 callersMethodwith_service
Register a service and continue building
graphrag-core/src/core/registry.rs:110
↓ 12 callersMethodadd_suggestion
Add an optimization suggestion
graphrag-core/src/config/validation.rs:36
↓ 12 callersMethodbuild_graph
Build a knowledge graph from a collection of documents
graphrag-core/src/graph/mod.rs:94
↓ 12 callersMethodchat
Send a chat message and get response # Arguments `messages` - Array of chat messages `temperature` - Sampling temperature (0.0-2.0, default 0.7) `max
graphrag-wasm/src/webllm.rs:271
↓ 12 callersMethodclone
(&self)
graphrag-core/src/generation/async_mock_llm.rs:509
↓ 12 callersFunctioncosine_similarity
Cosine similarity
graphrag-server/src/handlers.rs:515
↓ 12 callersMethodcreate_entity
Create an entity with mentions
graphrag-core/src/entity/mod.rs:603
↓ 12 callersMethoddocuments
Get all documents
graphrag-core/src/core/mod.rs:456
↓ 12 callersMethodestimate_cost
Estimate cost of an operation
graphrag-core/src/query/optimizer.rs:365
↓ 12 callersMethodextract_sentences
Extract sentences from text
graphrag-core/src/text/mod.rs:361
↓ 12 callersMethodtext
Get style for normal text
graphrag-cli/src/theme.rs:79
↓ 11 callersMethodadd
Add an embedding to the index
graphrag-wasm/src/vector_search.rs:55
↓ 11 callersMethodadd_chunk_concepts
Add concepts from a chunk
graphrag-core/src/lightrag/concept_graph.rs:342
↓ 11 callersFunctionis_webllm_available
()
graphrag-wasm/src/webllm.rs:631
↓ 11 callersMethodsave_to_storage
Save the index to IndexedDB for persistence
graphrag-wasm/src/lib.rs:295
↓ 11 callersMethodset_focus
Set focused pane and update all component focus states. pane: 0=input, 1=results, 2=raw_results, 3=info_panel
graphrag-cli/src/app.rs:94
↓ 11 callersMethodupdate_scrollbar
(&mut self)
graphrag-cli/src/ui/components/results_viewer.rs:114
↓ 10 callersMethodbuild
Build the concept graph
graphrag-core/src/lightrag/concept_graph.rs:355
↓ 10 callersMethodcalculate_coherence
Calculate coherence score for a chunk (based on word overlap)
graphrag-core/src/nlp/semantic_chunking.rs:549
↓ 10 callersFunctioncheck_voy_available
()
graphrag-wasm/src/voy_bindings.rs:316
↓ 10 callersMethodclean_word
Clean word by removing punctuation
graphrag-core/src/entity/mod.rs:639
↓ 10 callersFunctiondefault_true
()
graphrag-core/src/config/mod.rs:1342
↓ 10 callersMethodextract_from_chunk
Extract entities from a text chunk using dynamic entity types
graphrag-core/src/entity/mod.rs:114
↓ 10 callersMethodget_connection
Get a connection to the Redis server
graphrag-core/src/caching/distributed.rs:239
↓ 10 callersMethodinitialize
Initialize GraphRAG with configuration
graphrag-cli/src/handlers/graphrag.rs:66
↓ 10 callersMethodinitialize_vector_index
Initialize vector index from the knowledge graph
graphrag-core/src/retrieval/pagerank_retrieval.rs:101
↓ 10 callersFunctionsetup_logging
(debug: bool)
graphrag-cli/src/lib.rs:930
↓ 10 callersMethodwith_output_dir
Set the output directory (required) This transitions the builder to the `HasOutput` state.
graphrag-core/src/builder/mod.rs:111
↓ 9 callersMethodadd_chunk
Add a chunk to the knowledge graph
graphrag-core/src/core/mod.rs:413
↓ 9 callersMethodadd_node
Add a node to the layout
graphrag-wasm/src/components/force_layout.rs:155
↓ 9 callersMethodadd_synonym
Add a custom synonym mapping # Arguments `term` - The original term `synonyms` - List of synonyms
graphrag-core/src/query/intelligence.rs:125
next →1–100 of 4,223, ranked by callers