cecilia-uu f6ae8fcb71
API: upload document api (#1264)
### What problem does this PR solve?

API: Adds the feature of uploading document.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
2024-06-25 12:16:28 +08:00
..
2024-06-25 12:16:28 +08:00
2024-06-25 12:16:28 +08:00
2024-06-11 11:16:37 +08:00

python-ragflow

update python client

  • Update "version" field of [project] chapter
  • build new python SDK
  • upload to pypi.org
  • install new python SDK

build python SDK

rm -f dist/* && python setup.py sdist bdist_wheel

install python SDK

pip uninstall -y ragflow && pip install dist/*.whl

This will install ragflow-sdk and its dependencies.

upload to pypi.org

twine upload dist/*.whl

Enter your pypi API token according to the prompt.

Note that pypi allow a version of a package be uploaded only once. You need to change the version inside the pyproject.toml before build and upload.

using


For developer

pip install -e .