253 Commits

Author SHA1 Message Date
yangdx
247be483eb Merge branch 'main' into clear-doc 2025-04-04 05:45:06 +08:00
yangdx
df07c2a8b1 Remove Gremlin storage implementaion 2025-04-02 14:43:53 +08:00
yangdx
013be621d5 Remove TiDB storage implementaion 2025-04-02 14:40:27 +08:00
yangdx
ce74879258 Remove api demo (reference to LightRAG Server instead) 2025-04-01 18:17:17 +08:00
yangdx
1e31b26cbe Remove Oracle storage implementation 2025-04-01 18:15:29 +08:00
choizhang
164faf94e2 feat(TokenTracker): Add context manager support to simplify token tracking 2025-03-30 00:59:23 +08:00
choizhang
8488229a29 feat: Add TokenTracker to track token usage for LLM calls 2025-03-28 01:25:15 +08:00
omdivyatej
f049f2f5c4 linting errors 2025-03-25 15:20:09 +05:30
omdivyatej
f87c235a4c less comments 2025-03-23 21:42:56 +05:30
omdivyatej
3522da1b21 specify LLM for query 2025-03-23 21:33:49 +05:30
zrguo
32a7d40650
Update lightrag_openai_neo4j_milvus_redis_demo.py 2025-03-09 02:11:31 +08:00
Samuel Chan
b7f67eda21 fix the postgres get all labels and get knowledge graph 2025-03-08 11:45:59 +08:00
zrguo
6c8fa95214 fix demo 2025-03-04 12:25:07 +08:00
zrguo
ef2a5ad191 fix linting 2025-03-03 18:40:03 +08:00
zrguo
1611400854 fix demo 2025-03-03 18:33:42 +08:00
Samuel Chan
25342250d6 Fix the demo issue of PG to cater with new LightRag changes 2025-02-21 20:53:00 +08:00
Yannick Stephan
0d4c580859
Merge pull request #900 from YanSte/cleanup-3
Database Cleanup
2025-02-20 14:22:31 +01:00
Yannick Stephan
214e3e8ad5 fixed last update 2025-02-20 14:12:19 +01:00
Yannick Stephan
1c3a4944d3
Merge pull request #898 from YanSte/update
Database Cleanup
2025-02-20 13:35:37 +01:00
Yannick Stephan
38dc2466da cleanup 2025-02-20 13:34:59 +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
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
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
Yannick Stephan
6f95ad92bf
Merge pull request #811 from da-luggas/main
Fixed broken ainsert_custom_kg()
2025-02-19 15:20:37 +01:00
Lukas Selch
7fab9accfe Updated documentation examples to include chunk_order_index case 2025-02-19 14:58:51 +01:00
Yannick Stephan
495b0ddbe0 fixed networkx 2025-02-19 13:48:18 +01:00
ArnoChen
6d8e627f85 improve MongoDB client management and storage init 2025-02-19 04:30:52 +08:00
ArnoChen
7a970451b9 fix examples 2025-02-19 04:12:16 +08:00
Yannick Stephan
1051ff402d fixed lint 2025-02-16 12:45:27 +01:00
zrguo
f868c1da78
Merge branch 'main' into code-cleaning 2025-02-16 19:41:05 +08:00
zrguo
9d21523541
Merge pull request #772 from hhxdestiny/chroma_support_local
chroma_impl supports local persistent client: PersistentClient
2025-02-16 19:21:53 +08:00
Yannick Stephan
66f555677a cleaning the message and project no needed 2025-02-14 23:31:27 +01:00
destiny
a5cd2b1958 Fix embedding type conversion issue in the query function of chroma_impl; chroma_impl supports local persistent client: PersistentClient 2025-02-14 11:00:54 +08:00
ArnoChen
e4562c761c fix typo 2025-02-13 17:32:05 +08:00
TITC
75c164de69 Fix incorrect usage of insert_file API 2025-02-12 14:04:02 +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
zrguo
80a3ce2240 fix bugs 2025-02-11 16:24:22 +08:00
zrguo
43ed7386d1 fix linting error 2025-02-11 14:21:19 +08:00
zrguo
f44c83594e add lightrag_api_openai_compatible_demo_simplified.py 2025-02-11 13:40:05 +08:00
zrguo
2d2ed19095 Fix cache bugs 2025-02-11 13:28:18 +08:00
zrguo
0c3b754108 Fix bugs 2025-02-11 11:42:46 +08:00
Yannick Stephan
abcdcd5a73 cleaned docs 2025-02-09 14:36:49 +01:00
ArnoChen
3f845e9e53 better handling of namespace 2025-02-08 16:05:59 +08:00
Tianhong Dai
5dda38eeb9 fix import bugs of postgres example 2025-01-31 17:13:21 +00:00
Gurjot Singh
2894e8faf2 Fix linting errors 2025-01-31 19:05:47 +05:30
Gurjot Singh
8a624e198a Add faiss integration for storage 2025-01-31 19:00:36 +05:30
ranfysvalle02
4c349c208d +MDB KG 2025-01-29 07:31:34 -05:00