Update README.md
This commit is contained in:
@@ -36,6 +36,7 @@ This repository hosts the code of LightRAG. The structure of this code is based
|
||||
</div>
|
||||
|
||||
## 🎉 News
|
||||
|
||||
- [x] [2025.02.05]🎯📢Our team has released [VideoRAG](https://github.com/HKUDS/VideoRAG) understanding extremely long-context videos.
|
||||
- [x] [2025.01.13]🎯📢Our team has released [MiniRAG](https://github.com/HKUDS/MiniRAG) making RAG simpler with small models.
|
||||
- [x] [2025.01.06]🎯📢You can now [use PostgreSQL for Storage](#using-postgresql-for-storage).
|
||||
@@ -84,7 +85,7 @@ Use the below Python snippet (in a script) to initialize LightRAG and perform qu
|
||||
|
||||
```python
|
||||
import os
|
||||
from lightrag.lightrag import LightRAG, QueryParam
|
||||
from lightrag import LightRAG, QueryParam
|
||||
from lightrag.llm.openai import gpt_4o_mini_complete, gpt_4o_complete, openai_embed
|
||||
|
||||
#########
|
||||
@@ -134,7 +135,7 @@ print(rag.query("What are the top themes in this story?", param=QueryParam(
|
||||
LightRAG now supports multi-turn dialogue through the conversation history feature. Here's how to use it:
|
||||
|
||||
```python
|
||||
from lightrag.lightrag import LightRAG, QueryParam
|
||||
from lightrag import LightRAG, QueryParam
|
||||
|
||||
# Initialize LightRAG
|
||||
rag = LightRAG(working_dir=WORKING_DIR)
|
||||
@@ -164,7 +165,7 @@ response = rag.query(
|
||||
LightRAG now supports custom prompts for fine-tuned control over the system's behavior. Here's how to use it:
|
||||
|
||||
```python
|
||||
from lightrag.lightrag import LightRAG, QueryParam
|
||||
from lightrag import LightRAG, QueryParam
|
||||
|
||||
# Initialize LightRAG
|
||||
rag = LightRAG(working_dir=WORKING_DIR)
|
||||
|
Reference in New Issue
Block a user