Python SDK#

DB-GPT provides a third-party Python API package that you can integrate into your own code.

Installation from Pip#

You can simply pip install:

pip install -i db-gpt==0.3.0


Notice:make sure python>=3.10

Environment Setup#

By default, if you use the EmbeddingEngine api

you will prepare embedding models from huggingface


Notice make sure you have install git-lfs

git clone

git clone