MicroFish/.env.example

42 lines
1.6 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 API配置支持 OpenAI SDK 格式的任意 LLM API
# The engine uses a single unified OpenAI-compatible interface.
# Set LLM_BASE_URL + LLM_API_KEY + LLM_MODEL_NAME for your chosen provider.
#
# --- Provider quick-reference ---
#
# Alibaba Qwen (default / recommended):
# LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
# LLM_API_KEY=<dashscope key> # https://bailian.console.aliyun.com/
# LLM_MODEL_NAME=qwen-plus
#
# OpenAI:
# LLM_BASE_URL=https://api.openai.com/v1
# LLM_API_KEY=<openai key> # https://platform.openai.com/api-keys
# LLM_MODEL_NAME=gpt-4o-mini
#
# Groq:
# LLM_BASE_URL=https://api.groq.com/openai/v1
# LLM_API_KEY=<groq key> # https://console.groq.com/keys
# LLM_MODEL_NAME=llama-3.3-70b-versatile
#
# Google Gemini (OpenAI-compatible endpoint):
# LLM_BASE_URL=https://generativelanguage.googleapis.com/v1beta/openai
# LLM_API_KEY=<gemini key> # https://aistudio.google.com/app/apikey
# LLM_MODEL_NAME=gemini-2.0-flash
#
# 注意消耗较大可先进行小于40轮的模拟尝试
LLM_API_KEY=your_api_key_here
LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
LLM_MODEL_NAME=qwen-plus
# ===== ZEP记忆图谱配置 =====
# 每月免费额度即可支撑简单使用https://app.getzep.com/
ZEP_API_KEY=your_zep_api_key_here
# ===== 加速 LLM 配置(可选)=====
# 注意如果不使用加速配置env文件中就不要出现下面的配置项
# Accepts the same provider options listed above.
LLM_BOOST_API_KEY=your_api_key_here
LLM_BOOST_BASE_URL=your_base_url_here
LLM_BOOST_MODEL_NAME=your_model_name_here