mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix typos (#4662)
### What problem does this PR solve? Fix typos in the documents ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --------- Signed-off-by: Jin Hai <haijin.chn@gmail.com> Co-authored-by: writinwaters <93570324+writinwaters@users.noreply.github.com>
This commit is contained in:
@ -688,8 +688,8 @@ A `Chunk` object contains the following attributes:
|
||||
from ragflow_sdk import RAGFlow
|
||||
|
||||
rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")
|
||||
dataset = rag_object.list_datasets(id="123")
|
||||
dtaset = dataset[0]
|
||||
datasets = rag_object.list_datasets(id="123")
|
||||
dataset = datasets[0]
|
||||
doc = dataset.list_documents(id="wdfxb5t547d")
|
||||
doc = doc[0]
|
||||
chunk = doc.add_chunk(content="xxxxxxx")
|
||||
@ -859,7 +859,7 @@ The weight of vector cosine similarity. Defaults to `0.3`. If x represents the v
|
||||
|
||||
##### top_k: `int`
|
||||
|
||||
The number of chunks engaged in vector cosine computaton. Defaults to `1024`.
|
||||
The number of chunks engaged in vector cosine computation. Defaults to `1024`.
|
||||
|
||||
##### rerank_id: `str`
|
||||
|
||||
@ -1325,7 +1325,7 @@ In streaming mode, not all responses include a reference, as this depends on the
|
||||
|
||||
##### question: `str`, *Required*
|
||||
|
||||
The question to start an AI-powered conversation. Defalut to `""`
|
||||
The question to start an AI-powered conversation. Default to `""`
|
||||
|
||||
##### stream: `bool`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user