You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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 .