Commit Graph

2498 Commits

Author SHA1 Message Date
Yannick Stephan
38dc2466da cleanup 2025-02-20 13:34:59 +01:00
Yannick Stephan
60717fd6be cleanup storage state 2025-02-20 13:30:30 +01:00
Yannick Stephan
59bb75d4a1 added log path 2025-02-20 13:27:55 +01:00
Yannick Stephan
c7bc2c63cf cleanup storages 2025-02-20 13:21:41 +01:00
Yannick Stephan
32e489865c cleanup code 2025-02-20 13:18:17 +01:00
Yannick Stephan
72b978d6d5 cleanup 2025-02-20 13:13:38 +01:00
Yannick Stephan
32d0f1acb0 added docs and fields 2025-02-20 13:09:33 +01:00
Yannick Stephan
4b478d1c0f added fields 2025-02-20 13:06:34 +01:00
Yannick Stephan
f5a93c7bb5 added fields 2025-02-20 13:06:16 +01:00
Yannick Stephan
2370a4336b added field 2025-02-20 13:05:59 +01:00
Yannick Stephan
37addb7c01 added final 2025-02-20 13:05:35 +01:00
Yannick Stephan
bae21a6fad added max paralle insert 2025-02-20 12:57:25 +01:00
Yannick Stephan
de56aeb7c5 removed lock 2025-02-20 12:54:52 +01:00
Yannick Stephan
9f2c659d9c remove unused log 2025-02-20 12:54:14 +01:00
Saifeddine ALOUI
c3c3c87494 Added instructions on how to install age for postgresql 2025-02-20 11:55:09 +01:00
Saifeddine ALOUI
86b7a442da Merge branch 'main' of https://github.com/ParisNeo/LightRAG 2025-02-20 11:38:08 +01:00
Saifeddine ALOUI
167fa82363 Fixed linting 2025-02-20 11:38:07 +01:00
Saifeddine ALOUI
165d67db16 Merge branch 'HKUDS:main' into main 2025-02-20 11:26:49 +01:00
Saifeddine ALOUI
3f3e9ef367 Upgraded webui to show more upload options and added building without using bun to the webui 2025-02-20 11:25:57 +01:00
Yannick Stephan
cbc5d9da43 Merge pull request #864 from spo0nman/pkaushal/862
Add LlamaIndex LLM implementation module
2025-02-20 11:19:52 +01:00
Saifeddine ALOUI
3627b4485f Upgraded webui to support more files 2025-02-20 11:14:48 +01:00
Saifeddine ALOUI
427118c8a4 Update FileUploader.tsx 2025-02-20 11:03:56 +01:00
Saifeddine ALOUI
f8ad7ffac1 Added more types 2025-02-20 11:02:32 +01:00
Saifeddine ALOUI
38b62d58ad Added extra extentions 2025-02-20 10:59:07 +01:00
Pankaj Kaushal
6f09bfc970 Update LlamaIndex README: improve documentation and example paths
- Updated file paths for LlamaIndex examples
- Simplified README structure
- Corrected import statements to reflect new directory layout
- Removed outdated wrapper directory references
2025-02-20 10:33:15 +01:00
Pankaj Kaushal
9934241a1e Update README.md: Refactor LlamaIndex section and example code
- Simplified LlamaIndex documentation in README
- Removed wrapper directory references
- Updated example code to reflect new directory structure
- Cleaned up custom knowledge graph example
- Adjusted file paths and import statements
2025-02-20 10:31:19 +01:00
Pankaj Kaushal
173a806b9a Moved back to llm dir as per
https://github.com/HKUDS/LightRAG/pull/864#issuecomment-2669705946

- Created two new example scripts demonstrating LightRAG integration with LlamaIndex:
  - `lightrag_llamaindex_direct_demo.py`: Direct OpenAI integration
  - `lightrag_llamaindex_litellm_demo.py`: LiteLLM proxy integration
- Both examples showcase different search modes (naive, local, global, hybrid)
- Includes configuration for working directory, models, and API settings
- Demonstrates text insertion and querying using LightRAG with LlamaIndex
- removed wrapper directory and references to it
2025-02-20 10:23:01 +01:00
Pankaj Kaushal
277070e03b Linting and formatting 2025-02-20 10:23:01 +01:00
Pankaj Kaushal
04604841c9 Add logger import 2025-02-20 10:23:01 +01:00
Pankaj Kaushal
203fdf2565 Remove LlamaIndex implementation from llm directory as per @MdNazishArmanShorthillsAI
- Deleted `lightrag/llm/llama_index_impl.py`
- Reorganization of the LlamaIndex wrapper location
2025-02-20 10:23:01 +01:00
Pankaj Kaushal
8a06be9395 Add LlamaIndex Wrapper and Example Implementations
- Updated README.md with new Wrappers section detailing LlamaIndex integration
- Added LlamaIndex wrapper implementation in `lightrag/wrapper/llama_index_impl.py`
- Created two example scripts demonstrating LlamaIndex usage:
  - Direct OpenAI integration
  - LiteLLM proxy integration
- Added wrapper documentation in `lightrag/wrapper/Readme.md`
- Included comprehensive usage examples and configuration details
2025-02-20 10:23:01 +01:00
Pankaj Kaushal
3b25e32e8d Removed verbose module-level documentation 2025-02-20 10:23:01 +01:00
Pankaj Kaushal
0b94117848 Add LlamaIndex LLM implementation module
- Implemented LlamaIndex interface for language model interactions
- Added async chat completion support
- Included embedding generation functionality
- Implemented retry mechanisms for API calls
- Added configuration and message formatting utilities
- Supports OpenAI-style message handling and external settings
2025-02-20 10:23:01 +01:00
yangdx
f52b9929bb fix: add missing rag parameter in pipeline_enqueue_file call
• Add rag param to function call
• Fix argument mismatch error
• Ensure proper pipeline execution
2025-02-20 14:48:54 +08:00
zrguo
fbe7e9994d revert 2025-02-20 14:44:06 +08:00
zrguo
c8eaa45024 add Chinese template 2025-02-20 14:42:13 +08:00
yangdx
82a4cb3e79 Fix refactoring error on document handling
- Fix refactoring error on pipeline_index_file
- Delete unsed func: scan_directory
- Add type hints of rag for better maintainability
- Refine comments for better understanding
2025-02-20 14:30:41 +08:00
yangdx
62e1fe5df2 Change Ollama API router tag to lowercase 2025-02-20 14:23:33 +08:00
yangdx
57cdab2b2b Add tags to OllamaAPI router 2025-02-20 12:33:43 +08:00
yangdx
5d884f6d3e refactor: centralize configuration and utility functions
- Move parse_args and display_splash_screen functions from lightrag_server.py to utils_api.py
- Move OllamaServerInfos class and instance from ollama_api.py to utils_api.py
2025-02-20 12:12:20 +08:00
Yannick Stephan
26abae4733 Merge pull request #891 from YanSte/lock
added lock
2025-02-20 00:21:28 +01:00
Yannick Stephan
fa99d72269 added lock 2025-02-20 00:20:30 +01:00
Yannick Stephan
bf720b131b Merge pull request #890 from YanSte/paralle-4
fixed the behaviour Multi paralle
2025-02-20 00:11:37 +01:00
Yannick Stephan
80a61d7e7a fixed the behaviour 2025-02-20 00:09:46 +01:00
Yannick Stephan
f52c53b41c Merge pull request #889 from YanSte/parelle-3
Multi batches
2025-02-19 23:55:59 +01:00
Yannick Stephan
efdc8a2d26 multi batches 2025-02-19 23:53:25 +01:00
Yannick Stephan
64e6765c9a Merge pull request #888 from YanSte/parelle-2
Parelle
2025-02-19 23:47:36 +01:00
Yannick Stephan
4875283d9f make it smalled 2025-02-19 23:45:51 +01:00
Yannick Stephan
0567a68c31 Merge pull request #887 from YanSte/paralle
Improved Paralles
2025-02-19 23:32:57 +01:00
Yannick Stephan
98d005dc1c updated paralle 2025-02-19 23:32:21 +01:00