Update README.md
This commit is contained in:
parent
e20d2a0408
commit
0bfcc00bdf
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
|
@ -203,6 +203,21 @@ ollama create -f Modelfile qwen2m
|
|||
```
|
||||
|
||||
</details>
|
||||
### Query Param
|
||||
```python
|
||||
class QueryParam:
|
||||
mode: Literal["local", "global", "hybrid", "naive"] = "global"
|
||||
only_need_context: bool = False
|
||||
response_type: str = "Multiple Paragraphs"
|
||||
# Number of top-k items to retrieve; corresponds to entities in "local" mode and relationships in "global" mode.
|
||||
top_k: int = 60
|
||||
# Number of tokens for the original chunks.
|
||||
max_token_for_text_unit: int = 4000
|
||||
# Number of tokens for the relationship descriptions
|
||||
max_token_for_global_context: int = 4000
|
||||
# Number of tokens for the entity descriptions
|
||||
max_token_for_local_context: int = 4000
|
||||
```
|
||||
|
||||
### Batch Insert
|
||||
```python
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue