You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/references/http_api_reference.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1840,7 +1840,7 @@ Retrieves chunks from specified datasets.
1840
1840
-`"highlight"`: `boolean`
1841
1841
-`"cross_languages"`: `list[string]`
1842
1842
-`"metadata_condition"`: `object`
1843
-
1843
+
-`"use_kg"`: `boolean`
1844
1844
##### Request example
1845
1845
1846
1846
```bash
@@ -1888,6 +1888,8 @@ curl --request POST \
1888
1888
The weight of vector cosine similarity. Defaults to `0.3`. If x represents the weight of vector cosine similarity, then (1 - x) is the term similarity weight.
1889
1889
-`"top_k"`: (*Body parameter*), `integer`
1890
1890
The number of chunks engaged in vector cosine computation. Defaults to `1024`.
1891
+
-`"use_kg"`: (*Body parameter*), `boolean`
1892
+
The search includes text chunks related to the knowledge graph of the selected dataset to handle complex multi-hop queries. Defaults to `False`.
0 commit comments