Update README.md
This commit is contained in:
parent
d0eb602b12
commit
6eea8bdf5d
1 changed files with 6 additions and 0 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue