MCPcopy Create free account
hub / github.com/NanGePlus/LightRAGTest / insert

Method insert

LightRAG/lightrag/lightrag.py:223–225  ·  view source on GitHub ↗
(self, string_or_strings)

Source from the content-addressed store, hash-verified

221 }
222
223 def insert(self, string_or_strings):
224 loop = always_get_an_event_loop()
225 return loop.run_until_complete(self.ainsert(string_or_strings))
226
227 async def ainsert(self, string_or_strings):
228 update_storage = False

Callers 15

test.pyFile · 0.80
test_neo4j.pyFile · 0.80
test.pyFile · 0.80
insert_textFunction · 0.80
insert_textFunction · 0.80
insert_endpointFunction · 0.80
insert_fileFunction · 0.80
insert_endpointFunction · 0.80
insert_fileFunction · 0.80

Calls 2

ainsertMethod · 0.95
always_get_an_event_loopFunction · 0.70

Tested by

no test coverage detected