ArnoChen
637e7efa83
add the missing MongoDocStatusStorage
2025-02-14 02:49:00 +08:00
ArnoChen
9a91b68e62
fix configuration errors of mongodb, neo4j, and qdrant backends.
2025-02-14 02:48:15 +08:00
zrguo
8282a0ee00
Merge pull request #744 from danielaskdd/select-datastore-in-api-server
...
Add datastore selection feature for API Server
2025-02-13 20:04:16 +08:00
zrguo
dea6f4f288
Merge branch 'main' into select-datastore-in-api-server
2025-02-13 20:03:38 +08:00
zrguo
3661850ab2
Merge pull request #737 from ArnoChenFx/graph-viewer-webui
...
graph viewer webui
2025-02-13 19:55:32 +08:00
yangdx
fab33cfc91
chore: bump api version from 1.0.4 to 1.0.5
2025-02-13 19:33:15 +08:00
ArnoChen
42d90f2b16
rename jsondocstatus to json_doc_status for consistency
2025-02-13 18:38:12 +08:00
ArnoChen
6896d4ab21
add pre-built graph viewer files
...
format
a
a
2025-02-13 18:05:50 +08:00
ArnoChen
464042f2c0
display webui and graph viewer links in splash screen
2025-02-13 18:03:09 +08:00
ArnoChen
bc83c4c7ed
update readme
...
configure output directory
2025-02-13 17:54:10 +08:00
ArnoChen
c674905a98
use KnowledgeGraph typed dict for graph API response
2025-02-13 17:32:51 +08:00
ArnoChen
e4562c761c
fix typo
2025-02-13 17:32:05 +08:00
ArnoChen
adb234d5cf
remove webui_depricated
2025-02-13 17:30:03 +08:00
ArnoChen
85e6989abc
move lightrag_webui folder to top directory
2025-02-13 17:29:51 +08:00
yangdx
906a9f6641
docs: improve organization and clarity of API documentation
2025-02-13 15:22:18 +08:00
yangdx
5ad3555f4c
docs: add MongoDB storage support and improve storage client comment
2025-02-13 14:31:12 +08:00
yangdx
cdd52809b0
Fix linting
2025-02-13 14:07:36 +08:00
yangdx
e5adb2e0f3
Improve cache logging and add more detailed log messages
...
• Add cache type to log data structure
• Make debug logs more detailed
• Add high-level info logs for cache hits
• Add null check for best_response
• Improve log message readability
2025-02-13 13:53:52 +08:00
yangdx
7017f114e1
Merge branch 'main' into select-datastore-in-api-server
2025-02-13 11:25:52 +08:00
yangdx
28b17b327b
Fix: top_k param handling error, unify top_k and cosine default value.
2025-02-13 06:05:21 +08:00
yangdx
76164a1b17
Use namespace for graph_name before falling back to env or default value
...
- Update graph_name initialization
- Add namespace override support
- Maintain backward compatibility
- Prioritize namespace over env variable
2025-02-13 04:52:54 +08:00
ArnoChen
c50c581767
Merge branch 'main' into graph-viewer-webui
2025-02-13 04:42:57 +08:00
yangdx
ed73ea4076
Fix linting
2025-02-13 04:12:00 +08:00
yangdx
d25386ff1b
refactor: simplify storage configuration handling while maintaining the same functionality
2025-02-13 04:04:51 +08:00
yangdx
11c7af7fd8
refactor: use vdb instance's cosine threshold instead of global constant
...
• Remove global COSINE_THRESHOLD
• Use instance-level threshold config
• Update logging statements
• Reference vdb threshold directly
2025-02-13 03:34:31 +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
3308ecfa69
Refactor logging for vector similarity search with configurable threshold
2025-02-13 02:14:32 +08:00
yangdx
9a77d91023
Add LLM response cache to registered RagServer components
2025-02-13 01:30:21 +08:00
yangdx
7a89916bab
Add method to retrieve in-progress documents in DocStatusStorage
...
• Add get_processing_docs() abstract method
• Override get_processing_docs() in PG storage
• Method retrieves docs with PROCESSING status
• Keep consistent with existing status methods
2025-02-13 01:27:27 +08:00
yangdx
4c39cf399d
refactor: move database connection pool initialization to lifespan of FastAPI
...
- Add proper database connection lifecycle management
- Add connection pool cleanup in FastAPI lifespan
2025-02-13 01:11:09 +08:00
yangdx
7c7cac1cfd
fix: remove unnecessary param binding, use direct workspace string interpolation
2025-02-13 00:39:40 +08:00
yangdx
274cd73a8f
refactor: improve storage initialization with named instances to aid logging
...
• Add storage names to instance list
• Use tuples to store name with instance
• Update type hints for storage instances
• Improve logging with actual storage names
• Clean up loop variable naming
2025-02-12 22:55:47 +08:00
yangdx
3372af7c3d
refactor: remove injected db field from PGDocStatusStorage, it must be injected after object is created
2025-02-12 22:54:22 +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
cf61bed62c
Reorganize env config sections, add data store config to env file.
...
• Add namespace prefix config option
• Make AGE graph name optional
• Update env variable requirements
• Add comments for deprecated options
2025-02-12 21:48:48 +08:00
zrguo
be7a001ad8
Merge pull request #754 from TITC/main
...
Fix incorrect usage of insert_file API
2025-02-12 19:34:32 +08:00
TITC
75c164de69
Fix incorrect usage of insert_file API
2025-02-12 14:04:02 +08:00
zrguo
6f2e1d25b3
Merge pull request #751 from ArnoChenFx/add-MongoDocStatusStorage
...
add MongoDocStatusStorage
2025-02-12 13:39:56 +08:00
zrguo
1b67b4569c
Merge pull request #750 from gurjot-05/main
...
Integrate gemini client into Lightrag
2025-02-12 13:39:06 +08:00
yangdx
fc0f522ed5
Merge branch 'main' into select-datastore-in-api-server
2025-02-12 09:49:18 +08:00
ArnoChen
9daab4340c
add MongoDocStatusStorage
...
remove unnecessary logging
format
2025-02-12 04:13:48 +08:00
Gurjot Singh
d82b9c46e0
fixed linting errors
2025-02-11 23:49:56 +05:30
Gurjot Singh
e7b6c55bee
Integrate gemini client into Lightrag
2025-02-11 23:43:42 +05:30
ArnoChen
4d7ced6927
remove unnecessary logging
2025-02-11 23:12:58 +08:00
ArnoChen
23a6d8b17c
fix button
2025-02-11 23:02:30 +08:00
ArnoChen
1af72b4ce9
Merge remote-tracking branch 'origin/main' into graph-viewer-webui
2025-02-11 22:52:01 +08:00
ArnoChen
3cacc088fe
enhance graph viewer with settings, status and api key
2025-02-11 22:51:31 +08:00
zrguo
18acb4a2b1
fix linting error
2025-02-11 22:16:35 +08:00
zrguo
a272c7b3f7
Merge pull request #741 from Brenon28/fix-update-doc-status-postgresql
...
fix(postgres): update document status with partial update instead of …
2025-02-11 22:14:52 +08:00
zrguo
f902f552da
Update README.md
2025-02-11 22:06:40 +08:00