Daniel.y
b32c3825cc
Merge pull request #1724 from SLKun/main
...
update ollama compatible api
2025-06-30 16:12:29 +08:00
SLKun
4e88ee3662
update ollama compatible api
2025-06-30 10:41:35 +08:00
yangdx
4c2b4b4b6b
Revert "Fix LLM cache handling for Redis to address document deletion scenarios."
...
This reverts commit 14cda93988dc110c11cf1fe8286ded7b5db7b8fb.
2025-06-29 22:35:40 +08:00
yangdx
10cd9c90e7
Revert "Fix linting"
...
This reverts commit abd9de2a63b39021320855fab9f5c3b332dee162.
2025-06-29 22:35:26 +08:00
yangdx
75ea0bc38d
Remove default get_nodes_by_chunk_ids implementation
...
- Deletes inefficient default implementation
- Makes method purely abstract
2025-06-29 22:05:48 +08:00
yangdx
f15e67c82c
Update comments
2025-06-29 21:53:05 +08:00
Daniel.y
c2390b8f08
Merge pull request #1720 from danielaskdd/add-rebuild-pipeline-status
...
Refac: Add KG rebuild logging with pipeline status
2025-06-29 21:46:08 +08:00
yangdx
e70f5a35e5
Refac: Add KG rebuild logging with pipeline status
...
- Logs detailed progress, including warnings and failures, to the pipeline status.
- Adds counters to report the total number of successfully rebuilt entities and relationships upon completion.
2025-06-29 21:27:12 +08:00
Daniel.y
1800a169b6
Merge pull request #1719 from danielaskdd/fix-redis-doc-delete
...
Fix LLM cache handling for Redis to address document deletion scenarios
2025-06-29 15:17:54 +08:00
Daniel.y
a2d821a31c
Merge pull request #1718 from danielaskdd/fix-mongo-llm-cache
...
Fix LLM cache handling for MongoKVStorage to address document deletion scenarios
2025-06-29 15:17:30 +08:00
yangdx
abd9de2a63
Fix linting
2025-06-29 15:15:49 +08:00
yangdx
14cda93988
Fix LLM cache handling for Redis to address document deletion scenarios.
...
- Implements bulk scan for "extract" cache entries
- Maintains backward compatibility for normal IDs
2025-06-29 15:13:42 +08:00
yangdx
e2824b721e
Fix LLM cache handling for MongoKVStorage to address document deletion scenarios.
...
- Support fetching all "default_" prefixed documents
- Maintain original behavior for other IDs
- Return dictionary of documents for "default"
- Keep backward compatibility
2025-06-29 15:03:57 +08:00
yangdx
37bf341a69
Fix LLM cache handling for PGKVStorage to address document deletion scenarios.
...
- Add dynamic cache_type field
- Support mode parameter for LLM cache
- Maintain backward compatibility
2025-06-29 14:39:50 +08:00
Daniel.y
dd12b08708
Merge pull request #1715 from MoDDyChat/fix-constants-typo
...
Fix GRAPH_FIELD_SEP import typo
2025-06-29 10:12:04 +08:00
Moddy Surala
319d12bb6a
Fix GRAPH_FIELD_SEP import typo
2025-06-29 01:28:39 +05:00
yangdx
6d5e73a251
Merge branch 'kenspirit/main'
2025-06-29 00:30:58 +08:00
yangdx
28aedd8b3c
Update comments
2025-06-29 00:30:39 +08:00
Ken Chen
4a953d6829
As Graph edges should be treated undirectional, fix incorrect upsert_edge method in MongoDBGraph
2025-06-28 21:03:54 +08:00
Ken Chen
5116d61eaa
As Graph edges should be treated undirectional, fix incorrect has_edge method in MongoDBGraph
2025-06-28 20:48:30 +08:00
Ken Chen
73cc86662a
Add two BFS subgraph search support for MongoDBGraph
2025-06-28 20:00:13 +08:00
Daniel.y
0e683a50e8
Merge pull request #1714 from danielaskdd/fix-mix-query
...
Fix: Resolving issue with PostgreSQL document chunk KV storage depending on vector storage
2025-06-28 19:55:22 +08:00
yangdx
df5ffb3cad
Merge branch 'fix-mix-query' of github.com:danielaskdd/LightRAG into fix-mix-query
2025-06-28 19:27:42 +08:00
yangdx
8522bfc9dc
Optimied logger info
2025-06-28 19:27:36 +08:00
yangdx
9d5c49e4cb
Optimied logger info
2025-06-28 19:08:26 +08:00
Ken Chen
5739f52d29
Rewrite get_knowledge_graph with label * by degree
2025-06-28 17:10:39 +08:00
Ken Chen
d0f4eee404
Fix accidentally hardcoded edge collection name in searching upstream nodes
2025-06-28 16:25:44 +08:00
yangdx
b7f8c20e61
fix(postgres): use correct table for vector queries
...
Change SQL templates from LIGHTRAG_DOC_CHUNKS to LIGHTRAG_VDB_CHUNKS
to fix "content_vector does not exist" error in vector operations.
2025-06-28 15:36:54 +08:00
yangdx
2c47367975
Fix linting
2025-06-28 14:37:55 +08:00
yangdx
95c7a7d038
feat(db): Add data migration from LIGHTRAG_DOC_CHUNKS to LIGHTRAG_VDB_CHUNKS
2025-06-28 14:37:47 +08:00
yangdx
3a8a99b73d
feat(postgres): Implement text_chunks upsert for PGKVStorage
2025-06-28 14:37:35 +08:00
Ken Chen
6574dfb7ea
Fix accidentally hardcode max depth in searching upstream nodes
2025-06-28 11:40:39 +08:00
Ken Chen
b586bdc02f
Fix accidentally hardcode label in searching upstream nodes
2025-06-28 10:50:56 +08:00
yangdx
0f51ec48f1
fix: streaming error when only_need_context=True returns empty results
...
Prevents NoneType async iteration error by handling None responses
in stream_generator and ensuring kg_query returns valid strings.
2025-06-28 09:18:06 +08:00
Ken Chen
7c8f65d020
Add search on neighbor nodes which are source to selected one
2025-06-28 08:50:32 +08:00
DavIvek
c0a3638d01
fix memgraph_impl.py according to test_graph_storage.py
2025-06-27 15:35:20 +02:00
DavIvek
9aaa7d2dd3
fix drop function in Memgraph implementation
2025-06-27 15:09:22 +02:00
DavIvek
eed43e071c
revert lightrag_openai_demo.py changes
2025-06-27 14:49:57 +02:00
DavIvek
bd158d096b
polish Memgraph implementation
2025-06-27 14:47:23 +02:00
yangdx
a506753548
Fix linting
2025-06-27 02:33:20 +08:00
yangdx
60777d535b
fix: prevent Path Traversal vulnerability in upload endpoint
...
- Add sanitize_filename() function to validate and clean uploaded filenames
- Remove path separators, traversal sequences, and control characters
- Verify final paths stay within input directory using Path.resolve()
- Return HTTP 400 errors for unsafe filenames
- Prevents directory traversal attacks like ../../../etc/passwd
2025-06-27 02:33:05 +08:00
yangdx
44daf51501
Fix edge_degree to handle non-existent nodes
2025-06-27 01:37:10 +08:00
Ken Chen
f40bc43d5e
Fix nodes & edges are missing when retrieving knowledge subgraph by selecting particular node_id
2025-06-26 23:11:31 +08:00
DavIvek
7118b23ca2
reformatting
2025-06-26 16:33:19 +02:00
DavIvek
80d4d5b0d5
Add Memgraph into README.md
2025-06-26 16:26:51 +02:00
DavIvek
0d6bd3bac2
Revert changes made to graph_visual_with_neo4j.py
2025-06-26 16:18:25 +02:00
DavIvek
ff1927d362
add Memgraph graph storage backend
2025-06-26 16:15:56 +02:00
Daniel.y
c740401b7f
Merge pull request #1654 from a-bruhn/azure-env-vars
...
Clean up azure env vars
2025-06-26 19:11:20 +08:00
yangdx
6e1ca8f461
Merge branch 'patch-1'
2025-06-26 18:45:23 +08:00
yangdx
fb3006b44d
Update requirements.txt
2025-06-26 18:45:01 +08:00