From 1b16cc5d0ac98e120c25c83430590a1909adf76c Mon Sep 17 00:00:00 2001 From: lijiazheng Date: Mon, 8 Sep 2025 19:34:56 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=9B=B4=E6=96=B0=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E9=85=8D=E7=BD=AE=E5=B9=B6=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=88=B0=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 .env.dev 文件中的数据库和模型配置 - 将 .env.dev 和 .env.prod 添加到 .gitignore 文件 --- .env.dev | 18 +++++++++--------- .gitignore | 2 ++ 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.env.dev b/.env.dev index 24f5ded..16d28d9 100644 --- a/.env.dev +++ b/.env.dev @@ -36,23 +36,23 @@ MYSQL_DB_DATABASE = 'data_governance' # -------- pgvector数据库配置 -------- # 数据库主机 -PG_DB_HOST = '192.168.5.30' +PG_DB_HOST = '10.23.21.13' # 数据库端口 PG_DB_PORT = 5432 # 数据库用户名 -PG_DB_USERNAME = 'myuser' +PG_DB_USERNAME = 'rule_gen' # 数据库密码 -PG_DB_PASSWORD = 'mypassword' +PG_DB_PASSWORD = 'rule_gen' # 数据库名称 -PG_DB_DATABASE = 'vectordb' +PG_DB_DATABASE = 'rule_gen' # -------- 大语言模型配置 -------- -llm_base_url = 'http://192.168.5.20:4090/v1' -llm_api_key = 'gpustack_951f92355e6781a5_5d17650a3e7135c5430512e5117362fb' -llm_model = 'qwen3-30b-a3b-instruct-2507' +llm_base_url = 'https://gpu2.ngsk.tech:7001/v1' +llm_api_key = 'gpustack_48bcc072add8a129_b6063518e66b167d501e06fcfe3565e9' +llm_model = 'robobrain2.0-32b' # -------- 向量模型配置 -------- -emb_base_url = 'http://192.168.5.20:4090/v1' -emb_api_key = 'gpustack_951f92355e6781a5_5d17650a3e7135c5430512e5117362fb' +llm_base_url = 'https://gpu2.ngsk.tech:7001/v1' +llm_api_key = 'gpustack_48bcc072add8a129_b6063518e66b167d501e06fcfe3565e9' emb_model = 'bge-m3' diff --git a/.gitignore b/.gitignore index b966972..0c6f4f9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ +.env.dev +.env.prod *.log *.tar