Yannick Stephan
ccb117e1c6
Merge pull request #846 from ArnoChenFx/db-connection-and-storage-lifecycle
...
Refactor Database Connection Management and Improve Storage Lifecycle Handling
2025-02-18 22:39:31 +01:00
ArnoChen
bfc548edf2
change init=False to default=None for db fields to prevent no attribute error
2025-02-19 04:55:59 +08:00
ArnoChen
f50604b2d3
improve conditional checks for db instance
2025-02-19 04:53:15 +08:00
ArnoChen
e194e04226
refactor database connection management and improve storage lifecycle handling
...
update
2025-02-19 03:49:05 +08:00
Yannick Stephan
011227e426
cleanup no required install
2025-02-18 20:27:59 +01:00
Yannick Stephan
46e1865b98
cleanup code
2025-02-18 16:58:11 +01:00
Yannick Stephan
80272cbf16
fixed edge
2025-02-17 23:20:10 +01:00
Yannick Stephan
66c4b01fdd
remove drops unused
2025-02-17 23:16:23 +01: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
0e7aff96bb
back to not making breaks
2025-02-16 15:08:50 +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
Yannick Stephan
71a18d1de9
updated clean of what implemented on BaseKVStorage
2025-02-16 13:31:12 +01:00
Yannick Stephan
3eba41aab6
updated clean of what implemented on BaseVectorStorage
2025-02-16 13:24:42 +01:00
yangdx
ed73ea4076
Fix linting
2025-02-13 04:12:00 +08:00
yangdx
f01f57d0da
refactor: make cosine similarity threshold a required config parameter
...
• Remove default threshold from env var
• Add validation for missing threshold
• Move default to lightrag.py config init
• Update all vector DB implementations
• Improve threshold validation consistency
2025-02-13 03:25:48 +08:00
yangdx
7b79427097
refactor: improve database initialization by centralizing db instance injection
...
- Move db configs to separate methods
- Remove db field defaults in storage classes
- Add _initialize_database_if_needed method
- Inject db instances during initialization
- Clean up storage implementation code
2025-02-12 22:25:34 +08:00
yangdx
a4cf7e66d3
Inject oracle db to LightRag storage class when needed
2025-02-11 03:54:54 +08:00
Yannick Stephan
6480ddee5d
cleaned code
2025-02-09 19:51:05 +01:00
Yannick Stephan
82481ecf28
cleaned code
2025-02-09 14:55:52 +01:00
Yannick Stephan
4cce14e65e
cleaned import
2025-02-09 11:24:08 +01:00
Yannick Stephan
31fe96d74a
cleaned optional not used
2025-02-09 10:33:15 +01:00
Yannick Stephan
50c7f26262
cleanup code
2025-02-08 23:58:15 +01:00
Yannick Stephan
5a082a0052
cleaned code
2025-02-08 23:20:37 +01:00
Yannick Stephan
cff415d91f
implemented method and cleaned the mess
2025-02-08 23:18:12 +01:00
ArnoChen
f5bf6a4af8
use namespace as neo4j database name
...
format
fix
2025-02-08 20:06:18 +08:00
ArnoChen
3f845e9e53
better handling of namespace
2025-02-08 16:05:59 +08:00
ArnoChen
88d691deb9
add namespace prefix to storage namespaces
2025-02-08 13:53:00 +08:00
yangdx
06647438b2
Refactor threshold handling to use environment variables and global config settings for oracle, postgres and tidb
2025-01-29 23:47:57 +08:00
Saifeddine ALOUI
ecadb71556
Update oracle_impl.py
2025-01-27 09:36:34 +01:00
Lukas Selch
c75ef82b66
Fixed workspace matching in oracle_impl.py
...
In the query for "node_degree", there was a typo that did not match the workspace of the edges, but only of the nodes.
2025-01-24 15:57:31 +01:00
jin
6ae8647285
support pipeline mode
2025-01-16 12:58:15 +08:00
jin
d5ae6669ea
support pipeline mode
2025-01-16 12:52:37 +08:00
jin
85331e3fa2
update Oracle support
...
add cache support, fix bug
2025-01-10 11:36:28 +08:00
Suroy
979f30d20b
Update oracle_impl.py
...
Fixed typing error in python3.9
2024-12-06 11:06:20 +08:00
jin
adfaa75c00
Update oracle_impl.py
2024-11-25 14:21:01 +08:00
jin
776ba2f2ce
Update oracle_impl.py
2024-11-25 14:15:10 +08:00
jin
26ae240c65
Logic Optimization
2024-11-25 13:40:38 +08:00
jin
1dbe803521
Merge branch 'main' of https://github.com/jin38324/LightRAG
2024-11-25 13:32:33 +08:00
jin
89c2de54a2
Optimization logic
2024-11-25 13:29:55 +08:00
tmuife
e5f2aa3a30
use pre-commit reformat
2024-11-18 13:52:49 +08:00
tmuife
1123ccfbd0
change the type of binding parameters in Oracle23AI
2024-11-18 10:00:06 +08:00
jin
662303f605
use oracle bind variables to avoid error
2024-11-15 12:57:01 +08:00
jin
41599897fb
fix pre commit
2024-11-12 13:32:40 +08:00
jin
cc45d802a6
Update oracle_impl.py
2024-11-12 13:23:03 +08:00
jin
f4ee85034f
Update oracle_impl.py
2024-11-12 13:03:03 +08:00
jin
77123be2a1
Update oracle_impl.py
2024-11-12 12:02:24 +08:00