Download .env.example from gdwind/FictionAgent: direct link, hf CLI and curl.
- Browser
- Download file 521 Bytes
-
https://huggingface.co/gdwind/FictionAgent/resolve/main/.env.example
- Command line
-
hf download hf://gdwind/FictionAgent/.env.example
-
curl -L -o .env.example https://huggingface.co/gdwind/FictionAgent/resolve/main/.env.example
521 Bytes
| # OpenAI API 配置 | |
| OPENAI_API_KEY=xxx | |
| OPENAI_BASE_URL=https://matrixllm.alipay.com/v1 | |
| # 模型配置 | |
| MODEL_NAME=gpt-5.1 | |
| EMBEDDING_MODEL=text-embedding-ada-002 | |
| # 文本处理配置 | |
| MAX_CHUNK_SIZE=2000 | |
| CHUNK_OVERLAP=200 | |
| # 角色提取配置 | |
| MIN_CHARACTER_MENTIONS=10 | |
| TOP_N_CHARACTERS=20 | |
| # 角色分析配置 | |
| MAX_ANALYSIS_CHUNKS=10 | |
| ANALYSIS_TEMPERATURE=0.3 | |
| # 对话配置 | |
| MAX_HISTORY=10 | |
| CONVERSATION_TEMPERATURE=0.8 | |
| MAX_MEMORY_RETRIEVAL=5 | |
| # 缓存配置 | |
| ENABLE_CACHE=True | |
| CACHE_DIR=cache | |
| VECTOR_DB_PATH=cache/vectordb |