mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-23 08:56:42 +08:00
docs: fix invalid chunk_method value and NameError in Python SDK reference (#17238)
### Summary Docs-only, two single-line changes. Co-authored-by: Muhammad Zuhaib Zahid <288755265+muhzuhaib@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
53d0613bb2
commit
de978c5302
@@ -646,7 +646,7 @@ A `Document` object contains the following attributes:
|
||||
`{"raptor": {"use_raptor": False}}`
|
||||
- `chunk_method`=`"presentation"`:
|
||||
`{"raptor": {"use_raptor": False}}`
|
||||
- `chunk_method`=`"picure"`:
|
||||
- `chunk_method`=`"picture"`:
|
||||
`None`
|
||||
- `chunk_method`=`"one"`:
|
||||
`None`
|
||||
@@ -1893,7 +1893,7 @@ from ragflow_sdk import RAGFlow
|
||||
rag_object = RAGFlow(api_key="<YOUR_API_KEY>", base_url="http://<YOUR_BASE_URL>:9380")
|
||||
AGENT_id = "AGENT_ID"
|
||||
agent = rag_object.get_agent(AGENT_id)
|
||||
sessons = agent.list_sessions()
|
||||
sessions = agent.list_sessions()
|
||||
for session in sessions:
|
||||
print(session)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user