Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
LiuHua 878dca26bb
SDK for Assistant (#2266)
1 год назад
..
ragflow SDK for Assistant (#2266) 1 год назад
test SDK for Assistant (#2266) 1 год назад
README.md Update sdk readme (#1291) 1 год назад
hello_ragflow.py Update SDK->sdk, and add create_dataset (#1047) 1 год назад
pyproject.toml Update SDK->sdk, and add create_dataset (#1047) 1 год назад
setup.py create dataset (#2074) 1 год назад

README.md

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 .