Update README.md
This commit is contained in:
@@ -204,6 +204,7 @@ ollama create -f Modelfile qwen2m
|
|||||||
|
|
||||||
</details>
|
</details>
|
||||||
### Query Param
|
### Query Param
|
||||||
|
|
||||||
```python
|
```python
|
||||||
class QueryParam:
|
class QueryParam:
|
||||||
mode: Literal["local", "global", "hybrid", "naive"] = "global"
|
mode: Literal["local", "global", "hybrid", "naive"] = "global"
|
||||||
@@ -220,6 +221,7 @@ class QueryParam:
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Batch Insert
|
### Batch Insert
|
||||||
|
|
||||||
```python
|
```python
|
||||||
# Batch Insert: Insert multiple texts at once
|
# Batch Insert: Insert multiple texts at once
|
||||||
rag.insert(["TEXT1", "TEXT2",...])
|
rag.insert(["TEXT1", "TEXT2",...])
|
||||||
|
Reference in New Issue
Block a user