Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanGePlus/LightRAGTest
/ functions
Functions
259 in github.com/NanGePlus/LightRAGTest
⨍
Functions
259
◇
Types & classes
26
↳
Endpoints
9
Method
has_edge
(self, source_node_id: str, target_node_id: str)
LightRAG/lightrag/kg/neo4j_impl.py:73
Method
has_edge
根据源和目标节点id检查边是否存在
LightRAG/lightrag/kg/oracle_impl.py:450
Method
has_node
(self, node_id: str)
LightRAG/lightrag/kg/neo4j_impl.py:59
Function
health_check
()
LightRAG/examples/lightrag_api_openai_compatible_demo.py:150
Function
health_check
()
LightRAG/examples/lightrag_api_oracle_demo..py:251
Function
hf_model_complete
( prompt, system_prompt=None, history_messages=[], **kwargs )
LightRAG/lightrag/llm.py:509
Method
index_done_callback
(self)
LightRAG/lightrag/storage.py:165
Method
index_done_callback
(self)
LightRAG/lightrag/storage.py:246
Method
index_done_callback
commit the storage operations after indexing
LightRAG/lightrag/base.py:39
Method
index_done_callback
(self)
LightRAG/lightrag/kg/neo4j_impl.py:56
Method
index_done_callback
(self)
LightRAG/lightrag/kg/oracle_impl.py:283
Method
index_done_callback
(self)
LightRAG/lightrag/kg/oracle_impl.py:299
Method
index_done_callback
写入graphhml图文件
LightRAG/lightrag/kg/oracle_impl.py:429
Method
input_type_handler
Set the type handler for the input data
LightRAG/lightrag/kg/oracle_impl.py:67
Function
insert_endpoint
(request: InsertRequest)
LightRAG/examples/lightrag_api_openai_compatible_demo.py:118
Function
insert_endpoint
(request: InsertRequest)
LightRAG/examples/lightrag_api_oracle_demo..py:219
Function
insert_file
(file: UploadFile = File(...))
LightRAG/examples/lightrag_api_openai_compatible_demo.py:128
Function
insert_file
(file: UploadFile = File(...))
LightRAG/examples/lightrag_api_oracle_demo..py:229
Function
lifespan
(app: FastAPI)
LightRAG/examples/lightrag_api_oracle_demo..py:173
Function
llm_model_func
(prompt, system_prompt=None, history_messages=[], **kwargs)
LightRAG/nangeAGICode/test.py:26
Function
llm_model_func
( prompt, system_prompt=None, history_messages=[], **kwargs )
LightRAG/reproduce/Step_3_openai_compatible.py:14
Function
llm_model_func
( prompt, system_prompt=None, history_messages=[], **kwargs )
LightRAG/reproduce/Step_1_openai_compatible.py:13
Function
llm_model_func
( prompt, system_prompt=None, history_messages=[], **kwargs )
LightRAG/examples/lightrag_api_openai_compatible_demo.py:35
Function
llm_model_func
( prompt, system_prompt=None, history_messages=[], **kwargs )
LightRAG/examples/lightrag_api_oracle_demo..py:52
Function
llm_model_func
( prompt, system_prompt=None, history_messages=[], **kwargs )
LightRAG/examples/lightrag_oracle_demo.py:29
Function
llm_model_func
(prompt, system_prompt=None, history_messages=[], **kwargs)
LightRAG/nangeAGICode1201/queryTest.py:27
Function
llm_model_func
(prompt, system_prompt=None, history_messages=[], **kwargs)
LightRAG/nangeAGICode1201/insertTest.py:28
Method
llm_model_func
( self, prompt, system_prompt=None, history_messages=[], **kwargs )
LightRAG/lightrag/llm.py:785
Function
lmdeploy_model_complete
( prompt=None, system_prompt=None, history_messages=[], **kwargs )
LightRAG/examples/lightrag_lmdeploy_demo.py:14
Method
load_nx_graph
(file_name)
LightRAG/lightrag/kg/neo4j_impl.py:27
Method
node_degree
(self, node_id: str)
LightRAG/lightrag/storage.py:258
Method
numpy_converter_in
Convert numpy array to array.array
LightRAG/lightrag/kg/oracle_impl.py:57
Method
numpy_converter_out
Convert array.array to numpy array
LightRAG/lightrag/kg/oracle_impl.py:76
Function
ollama_model_complete
( prompt, system_prompt=None, history_messages=[], **kwargs )
LightRAG/lightrag/llm.py:522
Method
output_type_handler
Set the type handler for the output data
LightRAG/lightrag/kg/oracle_impl.py:86
Function
process_in_batches
Process data in batches and execute the given query.
LightRAG/examples/graph_visual_with_neo4j.py:34
Function
process_in_batches
Process data in batches and execute the given query.
LightRAG/nangeAGICode1201/graph_visual_with_neo4j.py:37
Method
query
(self, query: str, top_k=5)
LightRAG/lightrag/storage.py:115
Method
query
(self, query: str, top_k: int)
LightRAG/lightrag/base.py:53
Method
query
从向量数据库中查询数据
LightRAG/lightrag/kg/oracle_impl.py:303
Function
query_all_nodes
(type: str = Query("nodes"), limit: int = Query(100))
LightRAG/examples/lightrag_api_oracle_demo..py:208
Method
query_done_callback
commit the storage operations after querying
LightRAG/lightrag/base.py:43
Function
query_endpoint
(request: QueryRequest)
LightRAG/examples/lightrag_api_openai_compatible_demo.py:100
Function
query_endpoint
(request: QueryRequest)
LightRAG/examples/lightrag_api_oracle_demo..py:186
Function
save_data_to_file
(data, file_name)
LightRAG/lightrag/utils.py:210
Method
stable_largest_connected_component
Refer to https://github.com/microsoft/graphrag/index/graph/utils/stable_lcc.py Return the largest connected component of the graph, with nodes
LightRAG/lightrag/storage.py:185
Function
test_funcs
()
LightRAG/examples/lightrag_openai_compatible_demo.py:45
Method
upsert
(self, data: dict[str, dict])
LightRAG/lightrag/storage.py:82
Method
upsert
Use 'content' field from value for embedding, use key as id. If embedding_func is None, use 'embedding' field from value
LightRAG/lightrag/base.py:56
Method
upsert
(self, data: dict[str, dict])
LightRAG/lightrag/kg/oracle_impl.py:229
Method
upsert
向向量数据库中插入数据
LightRAG/lightrag/kg/oracle_impl.py:295
Method
upsert_edge
( self, source_node_id: str, target_node_id: str, edge_data: dict[str, str] )
LightRAG/lightrag/storage.py:277
Method
upsert_edge
Upsert an edge and its properties between two nodes identified by their labels. Args: source_node_id (str): Label of the
LightRAG/lightrag/kg/neo4j_impl.py:257
Method
upsert_edge
插入或更新边
LightRAG/lightrag/kg/oracle_impl.py:369
Method
upsert_node
(self, node_id: str, node_data: dict[str, str])
LightRAG/lightrag/storage.py:274
Method
upsert_node
Upsert a node in the Neo4j database. Args: node_id: The unique identifier for the node (used as label) node_
LightRAG/lightrag/kg/neo4j_impl.py:218
Method
upsert_node
插入或更新节点
LightRAG/lightrag/kg/oracle_impl.py:335
Function
wait_func
(*args, **kwargs)
LightRAG/lightrag/utils.py:101
Function
wrap_embedding_func_with_attrs
Wrap a function with attributes
LightRAG/lightrag/utils.py:115
← previous
201–259 of 259, ranked by callers