当前位置: 首页 > news >正文

购物导购网站开发WordPress缓存规则设置

购物导购网站开发,WordPress缓存规则设置,wordpress如何选择文章模板,如何降低网站的权重文档:官方文档 Data Agents 我这里就说下细节,我是 小兵我是在在服务器里部署的,不建议小的服务器部署,会GG了 1. 前置环境 因为DB-GPT 越来越强大了,只用pip来管理依赖包的话不太优雅,因此使用 uv 来管理…

文档:官方文档

Data Agents

我这里就说下细节,我是

小兵我是在在服务器里部署的,不建议小的服务器部署,会GG了

1. 前置环境

因为DB-GPT 越来越强大了,只用pip来管理依赖包的话不太优雅,因此使用 uv 来管理。我最近写的项目也再慢慢转 uv 了,也推荐大家慢慢转过来。本教程讲解以 代理模型 为例, 也就是 openai-proxy

1.1 uv 安装
 

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
当然我这里用到的是conda来进行虚拟环境
1.2项目拉取
git clone https://github.com/eosphoros-ai/DB-GPT.git
cd DB-GPT

 

弄好后,记得把sqlite3 的数据也弄好哦,特别提醒

拉取完后,我是本地部署的

1.3Local(本地模型):
uv sync --all-packages --extra "base" --extra "cuda121" --extra "hf" --extra "rag" --extra "storage_chromadb" --extra "quant_bnb" --extra "dbgpts"

安装完包后

可以提前把模型下载

git clone https://www.modelscope.cn/Qwen/Qwen2.5-14B-Instruct.gitgit clone https://hf-mirror.com/BAAI/bge-large-zh-v1.5.git

这里大概33G+,请耐心等待

2.最后

1步骤
cd E:\DB-GPT\

2进入环境
conda activate dbgpt_env_7

3.执行系统运行
uv run dbgpt start webserver --config .\configs\dbgpt-local-qwen.toml

这里提醒一下,local本地一定运行对应的配置文件

[system]
# Load language from environment variable(It is set by the hook)
language = "${env:DBGPT_LANG:-zh}"
api_keys = []
encrypt_key = "your_secret_key"# Server Configurations
[service.web]
host = "0.0.0.0"
port = 5670[service.web.database]
type = "sqlite"
path = "pilot/meta_data/dbgpt.db"[rag.storage]
[rag.storage.vector]
type = "chroma"
persist_path = "pilot/data"# Model Configurations
[models]
[[models.llms]]
name = "Qwen2.5-0.5B-Instruct"
provider = "hf"
# If not provided, the model will be downloaded from the Hugging Face model hub
# uncomment the following line to specify the model path in the local file system
# path = "the-model-path-in-the-local-file-system"
path = "models/Qwen2.5-0.5B-Instruct"[[models.embeddings]]
name = "BAAI/bge-large-zh-v1.5"
provider = "hf"
# If not provided, the model will be downloaded from the Hugging Face model hub
# uncomment the following line to specify the model path in the local file system
# path = "the-model-path-in-the-local-file-system"
path = "models/BAAI/bge-large-zh-v1.5"

配置文件根据实际的情况来改

特别注意

# Model Configurations
[models]
[[models.llms]]
name = "Qwen2.5-0.5B-Instruct"
provider = "hf"
# If not provided, the model will be downloaded from the Hugging Face model hub
# uncomment the following line to specify the model path in the local file system
# path = "the-model-path-in-the-local-file-system"
path = "models/Qwen2.5-0.5B-Instruct"[[models.embeddings]]
name = "BAAI/bge-large-zh-v1.5"
provider = "hf"
# If not provided, the model will be downloaded from the Hugging Face model hub
# uncomment the following line to specify the model path in the local file system
# path = "the-model-path-in-the-local-file-system"
path = "models/BAAI/bge-large-zh-v1.5"

这里的路径和模型名称一定要对上,否则无法加载

提示如果本地部署,内容不够建议32G以上,这是最少的。

http://www.dtcms.com/a/584034.html

相关文章:

  • 山东能源集团 网站建设响应式网站开发源码
  • 酒店网站建设案例珠宝网站开发的背景
  • 企业网站推广网站电商平面设计是什么
  • 广州网站建设培训智能建站cms管理系统
  • 商丘市网站建设推广wordpress主题 移动
  • 淄博网站制作服务推广网页设计网站怎么做
  • 网站备案快速广州app开发外包
  • 一级建设造师网站辽阳企业网站建设费用
  • 怎么在网上注册自己的网站网页视频下载链接
  • wordpress配置163邮箱网站排名优化和竞价
  • 上传网站模板建站网站开发的关键计算机资源计划
  • 图像处理与网站开发3d建模素材
  • 南京建设厅官方网站西安seo优化工作室
  • 东营 微信网站建设锦屏县城乡和建设局网站
  • 四举措加强网站建设个人建网站步骤
  • 怎么建网站教程视频企业网站的建立步骤
  • 做公司网站需要什么建设部执业注册中心网站
  • 中国建设银行门户网站新乡个人网站建设
  • 濮阳网络运输证搜索引擎优化seo专员招聘
  • 不写代码做网站网站开发需要哪些岗位
  • 网站目录做跳转装修案例标题怎么写
  • 餐厅网站设计网页界面设计的主要内容
  • 手机建站系统wordpress对接steam
  • 在阿里国际站做的网站wordpress电视直播插件下载
  • 多合一可拖曳修改优化网站建设大连优化网站
  • 云浮罗定哪有做网站的dtcms怎么做自己网站
  • 做企业的网站都要准备什么东西个人年终总结ppt模板下载
  • 延安网站开发两岸统一最新消息
  • 做骑兵电影网站赚钱wordpress 加上index
  • 芜湖做网站多少钱郴州建设局门户网站