assistant/.env.example

16 lines
834 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 本项目的本机学习环境,独立于原测试工程。
ASSISTANT_API_PORT=8810
ASSISTANT_API_TARGET=http://127.0.0.1:8810
ASSISTANT_LEARNING_HOME=.runtime/learning
# 运行 pnpm db:up 后,脚本会在 .env 中生成独立 PostgreSQL 配置与随机数据库密码。
# 以下连接项由脚本写入,无需填写或复用旧工程连接串:
# ASSISTANT_POSTGRES_PASSWORD=...
# ASSISTANT_POSTGRES_PORT=55432
# ASSISTANT_DATABASE_URL=postgresql://.../assistant_learning
# ASSISTANT_DATABASE_SCHEMA=assistant_learning
# ASSISTANT_RETRIEVAL_DATABASE_URL=postgresql://.../assistant_retrieval
# ASSISTANT_TEST_DATABASE_URL=postgresql://.../assistant_learning_test
# 默认使用 Playwright Chromium;可在本机开发时改为已安装的 msedge 或 chrome。
ASSISTANT_BROWSER_CHANNEL=chromium
ASSISTANT_BROWSER_HEADLESS=0