安装dbgpt包指南#
DB-GPT提供了python第三方包,你可以在你的代码中引入
使用pip安装#
你可以使用pip install
pip install -i https://pypi.org/simple/ db-gpt==0.3.0
小技巧
注意:确保你的python版本>=3.10
环境设置#
如果你想使用EmbeddingEngine api
你需要从huggingface下载embedding models
小技巧
确保你已经安装了git-lfs
git clone https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2
git clone https://huggingface.co/GanymedeNil/text2vec-large-chinese
版本: