Commit Graph

1964 Commits

Author SHA1 Message Date
Yannick Stephan
cbc5d9da43 Merge pull request #864 from spo0nman/pkaushal/862
Add LlamaIndex LLM implementation module
2025-02-20 11:19:52 +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
zrguo
fbe7e9994d revert 2025-02-20 14:44:06 +08:00
zrguo
c8eaa45024 add Chinese template 2025-02-20 14:42:13 +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
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
Yannick Stephan
48a1ad9b3b Merge pull request #883 from YanSte/fix-return-none
Optimised returns
2025-02-19 22:24:50 +01:00
Yannick Stephan
9277fe8c29 fixed return 2025-02-19 22:22:41 +01:00
Yannick Stephan
3e118f0935 Merge pull request #882 from YanSte/cleaning
cleaned code
2025-02-19 22:08:47 +01:00
Yannick Stephan
8958046b74 cleaned code 2025-02-19 22:07:25 +01:00
Yannick Stephan
963323ff33 Merge pull request #873 from ParisNeo/main
Removed all useless try except around imports as pipmaster already handles that
2025-02-19 21:20:56 +01:00
Saifeddine ALOUI
45ee4dd08c fixed linting 2025-02-19 20:50:39 +01:00
Yannick Stephan
af88e92705 Merge pull request #876 from YanSte/template3
Updated templates
2025-02-19 20:29:27 +01:00
Yannick Stephan
05914213e2 updated templates 2025-02-19 20:27:56 +01:00
Saifeddine ALOUI
29cc12b56c Merge branch 'HKUDS:main' into main 2025-02-19 20:26:48 +01:00
Yannick Stephan
95185d6e38 Merge pull request #875 from YanSte/template2
updated template
2025-02-19 20:19:03 +01:00
Yannick Stephan
fb5938aac4 updated template 2025-02-19 20:18:32 +01:00
Yannick Stephan
27d4f4b577 Merge pull request #874 from YanSte/template
Template github
2025-02-19 20:08:17 +01:00
Yannick Stephan
098f811ad2 add template github 2025-02-19 20:07:34 +01:00
Saifeddine ALOUI
fbc9a95b7f Merge branch 'HKUDS:main' into main 2025-02-19 19:53:14 +01:00
Saifeddine ALOUI
b44d582ebf Update tidb_impl.py 2025-02-19 19:52:10 +01:00
Saifeddine ALOUI
473e52a095 Update qdrant_impl.py 2025-02-19 19:51:39 +01:00
Saifeddine ALOUI
521dbf2be1 Update postgres_impl.py 2025-02-19 19:50:46 +01:00
Saifeddine ALOUI
9ec46b8c5c Update oracle_impl.py 2025-02-19 19:50:24 +01:00
Saifeddine ALOUI
d3c443529c Update nano_vector_db_impl.py 2025-02-19 19:49:41 +01:00
Saifeddine ALOUI
b9d4ea5f0d Update mongo_impl.py 2025-02-19 19:49:23 +01:00
Saifeddine ALOUI
ea5d8207a2 Update milvus_impl.py 2025-02-19 19:47:20 +01:00
Saifeddine ALOUI
d25a523175 Update gremlin_impl.py 2025-02-19 19:46:43 +01:00
Saifeddine ALOUI
8a0dbc97eb Update faiss_impl.py 2025-02-19 19:44:27 +01:00
Saifeddine ALOUI
2d085cda43 Update chroma_impl.py 2025-02-19 19:44:10 +01:00