liuhua 1fc14ff6d4
SDK for session (#2354)
### What problem does this PR solve?

Includes SDK for creating, updating sessions, getting sessions, listing
sessions, and dialogues
#1102 
### Type of change

- [x] New Feature (non-breaking change which adds functionality)

---------

Co-authored-by: liuhua <10215101452@stu.ecun.edu.cn>
2024-09-11 12:03:55 +08:00
..
2024-09-11 12:03:55 +08:00
2024-09-11 12:03:55 +08:00
2024-06-27 14:41:52 +08:00
2024-08-23 18:38:20 +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 allows a version of a package be uploaded only once. You need to change the version inside the pyproject.toml before building and uploading.

using


For developer

pip install -e .