MicroFish/.env.example

42 lines
1.5 KiB
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.

# ===== LLM Configuration =====
# Any OpenAI-compatible API is supported
LLM_API_KEY=your_api_key_here
LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
LLM_MODEL_NAME=qwen-plus
# --- Gemini (Google AI Studio) ---
# Set LLM_PROVIDER=gemini to auto-configure the Google AI Studio endpoint.
# Get a free API key at: https://aistudio.google.com/
# LLM_PROVIDER=gemini
# LLM_API_KEY=AIza...
# LLM_MODEL_NAME=gemini-2.0-flash
# ===== Graph Backend =====
# GRAPH_BACKEND=zep (default) — Zep Cloud managed memory graph
# GRAPH_BACKEND=graphiti — Self-hosted Neo4j + Graphiti (requires graphiti extras)
GRAPH_BACKEND=zep
# --- Zep Cloud (default backend) ---
# Free tier available: https://app.getzep.com/
ZEP_API_KEY=your_zep_api_key_here
# --- Graphiti + Neo4j (alternative backend) ---
# Install extras: pip install "mirofish-backend[graphiti]"
# NEO4J_URI=bolt://localhost:7687
# NEO4J_USER=neo4j
# NEO4J_PASSWORD=your_neo4j_password_here
# ===== 加速 LLM 配置(可选)=====
# 注意如果不使用加速配置env文件中就不要出现下面的配置项
LLM_BOOST_API_KEY=your_api_key_here
LLM_BOOST_BASE_URL=your_base_url_here
LLM_BOOST_MODEL_NAME=your_model_name_here
# ===== Autenticació =====
# Contrasenya de l'usuari "demo" — OBLIGATORI establir en producció
# Default buit = login deshabilitat fins que s'estableixi
DEMO_PASSWORD=
# Flask secret key — per signar tokens JWT
# Generar amb: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=your-secret-key-here