ragflow/sdk/python
Raghav Patidar 6f9cd96ec5
Fix: dataset_ids parameter (#5864)
### What problem does this PR solve?

Fixed  #5839
This PR fix  error code 102, stating dataset_ids is required.

curl --request POST \
     --url http://{address}/api/v1/chats \
     --header 'Content-Type: application/json' \
     --header 'Authorization: Bearer <YOUR_API_KEY>' \
     --data '{
         "name": "test_chat"
     }'
     
     this is not getting datasetids , fix for it. 

file location : sdk\python\ragflow_sdk\ragflow.py

added : "dataset_ids": dataset_list if dataset_list else [],



### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

Co-authored-by: Raghav <2020csb1115@iitrpr.ac.in>
2025-03-11 09:44:06 +08:00
..
ragflow_sdk Fix: dataset_ids parameter (#5864) 2025-03-11 09:44:06 +08:00
test Test: Update test cases per PR #5755 (#5857) 2025-03-10 19:04:39 +08:00
hello_ragflow.py Update comments (#4569) 2025-01-21 20:52:28 +08:00
pyproject.toml TEST: Added test cases for Delete Dataset HTTP API (#5770) 2025-03-07 17:44:51 +08:00
README.md Replace poetry with uv (#4471) 2025-01-14 11:49:43 +08:00
uv.lock DOC: for release. (#5472) 2025-03-02 18:47:06 +08:00

ragflow-sdk

build and publish python SDK to pypi.org

uv build
uv pip install twine
export TWINE_USERNAME="__token__"
export TWINE_PASSWORD=$YOUR_PYPI_API_TOKEN
twine upload dist/*.whl