create the python sdk to return version (#1039)
### What problem does this PR solve? Create python SDK to return the version of RAGFlow. ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: cecilia-uu <konghui1996@163.com>
This commit is contained in:
3
SDK/python/ragflow/__init__.py
Normal file
3
SDK/python/ragflow/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
import importlib.metadata
|
||||
|
||||
__version__ = importlib.metadata.version("ragflow")
|
||||
Reference in New Issue
Block a user