Update README.md
This commit is contained in:
@@ -449,6 +449,7 @@ if __name__ == "__main__":
|
|||||||
LightRAG now supports multi-turn dialogue through the conversation history feature. Here's how to use it:
|
LightRAG now supports multi-turn dialogue through the conversation history feature. Here's how to use it:
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
|
<summary> <b> Usage Example </b></summary>
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# Create conversation history
|
# Create conversation history
|
||||||
@@ -472,10 +473,15 @@ response = rag.query(
|
|||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Custom Prompt Support
|
### Custom Prompt Support
|
||||||
|
|
||||||
LightRAG now supports custom prompts for fine-tuned control over the system's behavior. Here's how to use it:
|
LightRAG now supports custom prompts for fine-tuned control over the system's behavior. Here's how to use it:
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary> <b> Usage Example </b></summary>
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# Create query parameters
|
# Create query parameters
|
||||||
query_param = QueryParam(
|
query_param = QueryParam(
|
||||||
|
Reference in New Issue
Block a user