Files
DB-GPT/docs/getting_started/installation.md

914 B

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 https://pypi.org/simple/ 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 https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2

git clone https://huggingface.co/GanymedeNil/text2vec-large-chinese

version: