yangdx
fb4a4c736e
Add duplicate edge upsert checking and logging
2025-03-08 11:36:24 +08:00
yangdx
22a93fb717
Limit neighbor nodes fetch to 1000 in Neo4JStorage.
2025-03-08 11:29:08 +08:00
yangdx
887f6ed81a
Fix return empty list when no edges is found
2025-03-08 11:20:22 +08:00
yangdx
af26d65698
Convert _ensure_label method from async to sync
2025-03-08 10:23:27 +08:00
yangdx
78f8d7a1ce
Convert node and edge IDs to f-strings for consistency.
...
- Use f-strings for node IDs
- Use f-strings for edge IDs
- Ensure consistent ID formatting
2025-03-08 10:20:10 +08:00
yangdx
84222b8b76
Refactor Neo4JStorage methods for robustness and clarity.
...
- Add error handling and resource cleanup
- Improve method documentation
- Optimize result consumption
2025-03-08 10:19:20 +08:00
yangdx
fcb04e47e5
Refactor Neo4J APOC fall back retrival implementaion
2025-03-08 04:28:54 +08:00
yangdx
c07b592e1b
Add missing await consume
2025-03-08 02:39:51 +08:00
yangdx
af803f4e7a
Refactor Neo4J graph query with min_degree an inclusive match support
2025-03-08 01:20:36 +08:00
yangdx
0ee2e7fd48
Suppress Neo4j warning logs by setting logger level.
2025-03-07 16:56:48 +08:00
yangdx
6e3b23069c
- Remove useless _label_exists
method
2025-03-07 16:43:18 +08:00
zrguo
0679ca4055
Update neo4j_impl.py
2025-03-04 14:20:55 +08:00
yangdx
465737efed
Fix linting
2025-03-02 17:32:25 +08:00
yangdx
68bf02abb6
refactor: improve graph querying with label substring matching and security fixes
2025-03-02 16:20:37 +08:00
yangdx
0f1eb42c8d
Add node limit and prioritization for knowledge graph retrieval
...
• Add MAX_GRAPH_NODES limit from env var
• Prioritize nodes by label match & connection
2025-03-02 15:39:14 +08:00
zrguo
4219454fab
fix format
2025-03-01 17:45:06 +08:00
Yannick Stephan
678e0f9aea
Revert "Cleanup of code"
2025-02-20 15:09:43 +01:00
Yannick Stephan
439685e69c
Revert "removed get_knowledge_graph"
2025-02-20 14:29:36 +01:00
Yannick Stephan
cedb5f3975
Merge pull request #886 from YanSte/clean-2
...
removed get_knowledge_graph
2025-02-19 22:59:10 +01:00
Yannick Stephan
89c35c82c7
removed get_knowledge_graph
2025-02-19 22:57:46 +01:00
Yannick Stephan
4978379b9c
Merge pull request #885 from YanSte/remove-unsused
...
Cleanup of code
2025-02-19 22:54:58 +01:00
Yannick Stephan
eb3306f34c
cleanup
2025-02-19 22:52:49 +01:00
Saifeddine ALOUI
52abf9cc50
Removed useless try/except
2025-02-19 19:32:23 +01:00
Yannick Stephan
05147f4799
improved code of postgress and execution
2025-02-19 13:31:30 +01:00
ultrageopro
6bfe34b952
Merge remote-tracking branch 'upstream/main'
2025-02-17 21:00:52 +03:00
ultrageopro
9f2689551f
fix: .get
2025-02-17 20:54:08 +03:00
Yannick Stephan
442838d0f1
Merge pull request #805 from ultrageopro/main
...
feat: neo4j custom timeouts & fix: neo4j max_pool_size
2025-02-17 18:42:29 +01:00
Yannick Stephan
64f8cb7dae
fixed lint
2025-02-17 18:38:55 +01:00
Yuguo Qin
22c319420f
Fix neo4j outdated get_edge() return data format.
2025-02-17 19:56:46 +08:00
ultrageopro
d2f1e961ec
feat: neo4j custom timeouts & fix: neo4j max_pool_size
2025-02-17 12:58:04 +03:00
Yannick Stephan
49bea486a7
cleaned code
2025-02-16 16:04:35 +01:00
Yannick Stephan
2b2c81a722
added some comments
2025-02-16 16:04:07 +01:00
Yannick Stephan
a0844bca28
cleaned import
2025-02-16 14:45:45 +01:00
Yannick Stephan
3fef8201c6
added final, required methods and cleaned import
2025-02-16 14:38:09 +01:00
Yannick Stephan
931c31fa8c
cleaned code
2025-02-16 13:55:30 +01:00
Yannick Stephan
882190a515
updated clean of what implemented on DocStatusStorage
2025-02-16 13:53:59 +01:00
Pankaj Kaushal
cd81312659
Enhance Neo4j graph storage with error handling and label validation
...
- Add label existence check and validation methods in Neo4j implementation
- Improve error handling in get_node, get_edge, and upsert methods
- Add default values and logging for missing edge properties
- Ensure consistent label processing across graph storage methods
2025-02-14 16:07:41 +01:00
ultrageopro
8773ad983f
fix: incorrect usage of os.environ.get in PASSWORD
2025-02-13 18:09:24 +03:00
ultrageopro
a50cdbc177
fix: incorrect usage of os.environ.get method in neo4j
2025-02-13 18:07:24 +03:00
ultrageopro
438caa776d
fix: neo4j MAX_CONNECTION_POOL_SIZE impl
2025-02-13 15:26:45 +03:00
zrguo
dea6f4f288
Merge branch 'main' into select-datastore-in-api-server
2025-02-13 20:03:38 +08:00
ArnoChen
6896d4ab21
add pre-built graph viewer files
...
format
a
a
2025-02-13 18:05:50 +08:00
ArnoChen
c674905a98
use KnowledgeGraph typed dict for graph API response
2025-02-13 17:32:51 +08:00
yangdx
8cfca5a141
Fix linting
2025-02-11 03:29:40 +08:00
yangdx
56c1792767
feat optimize storage configuration and environment variables
...
* add storage type compatibility validation table
* add enviroment variables check for storage
* modify storage init to get setting from confing.ini and env
2025-02-11 00:55:52 +08:00
ArnoChen
1c7f918d8c
format
...
format
2025-02-10 00:33:59 +08:00
ArnoChen
8d23ed16be
add support for querying all nodes and relationships in Neo4j
2025-02-09 22:22:59 +08:00
ArnoChen
f5bf6a4af8
use namespace as neo4j database name
...
format
fix
2025-02-08 20:06:18 +08:00
zrguo
80451af839
fix linting errors
2025-01-27 23:21:34 +08:00
Saifeddine ALOUI
3fdeeff8ba
Update neo4j_impl.py
2025-01-27 09:36:10 +01:00