Update README.md

This commit is contained in:
zrguo
2024-10-23 11:54:22 +08:00
committed by GitHub
parent 4d62129fba
commit 7d5da418ff

View File

@@ -204,6 +204,7 @@ ollama create -f Modelfile qwen2m
</details>
### Query Param
```python
class QueryParam:
mode: Literal["local", "global", "hybrid", "naive"] = "global"
@@ -220,6 +221,7 @@ class QueryParam:
```
### Batch Insert
```python
# Batch Insert: Insert multiple texts at once
rag.insert(["TEXT1", "TEXT2",...])