Spaces:
Runtime error
Runtime error
Download .env.example from progressive-intelligence-lab/docuflow: direct link, hf CLI and curl.
- Browser
- Download file 1.83 kB
-
https://huggingface.co/spaces/progressive-intelligence-lab/docuflow/resolve/main/.env.example
- Command line
-
hf download hf://spaces/progressive-intelligence-lab/docuflow/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/progressive-intelligence-lab/docuflow/resolve/main/.env.example
1.83 kB
| # ============================================ | |
| # Provider ์ ํ (์ค์ ์ฝ๋์์ ์ฌ์ฉ) | |
| # ============================================ | |
| # ollama | openai | |
| PROVIDER=ollama | |
| # ============================================ | |
| # Ollama ์ค์ (PROVIDER=ollama์ผ ๋ ์ฌ์ฉ) | |
| # ============================================ | |
| OLLAMA_BASE=http://localhost:11434 | |
| OLLAMA_EMBED_MODEL=nomic-embed-text | |
| OLLAMA_CHAT_MODEL=llama3.1 | |
| # ============================================ | |
| # OpenAI ์ค์ (PROVIDER=openai์ผ ๋ ์ฌ์ฉ) | |
| # ============================================ | |
| # PROVIDER=openai | |
| OPENAI_API_KEY= | |
| OPENAI_EMBEDDING_MODEL=text-embedding-3-small | |
| OPENAI_CHAT_MODEL=gpt-4o-mini | |
| # ============================================ | |
| # ์ฑ๋ฅ ์ค์ (๋จธ์ ์ฌ์์ ๋ฐ๋ผ ์กฐ์ ) | |
| # ============================================ | |
| # M1 Pro 32GB: EMBED_WORKERS=5, OLLAMA_TIMEOUT=120 (๊ธฐ๋ณธ๊ฐ) | |
| # M1 Air 16GB: EMBED_WORKERS=2, OLLAMA_TIMEOUT=300 | |
| EMBED_WORKERS=5 | |
| OLLAMA_TIMEOUT=120 | |
| # M1 Pro 32GB: BATCH_SIZE=100 (๊ธฐ๋ณธ๊ฐ) | |
| # M1 Air 16GB: BATCH_SIZE=20 | |
| BATCH_SIZE=100 | |
| # ============================================ | |
| # ๊ณตํต ์ค์ (ํ์) | |
| # ============================================ | |
| # Settings โ General โ Project ID โ https://<project-id>.supabase.co | |
| SUPABASE_URL=https://your-project-id.supabase.co | |
| # Settings โ API Keys โ Legacy API keys โ anon ํค (eyJ...๋ก ์์ํ๋ JWT ํ์) | |
| SUPABASE_KEY=eyJ... | |
| # ============================================ | |
| # ๋ฒ ํฌ ์ค์ (ํ์) | |
| # ============================================ | |
| # ์๋ฒ ์ค์ | |
| HOST="0.0.0.0" | |
| PORT=8000 | |
| DEBUG=false | |
| # ๋ณด์ ์ค์ | |
| SECRET_KEY="๋๋คํ-๋น๋ฐํค-์ง์ -์ ๋ ฅ" # ์๋ฌด ๋ฌธ์์ด์ด๋ ์ ๋ ฅ (ํ์ฌ ์ฝ๋์์ ์ค์ ๋ก ์ฌ์ฉ ์ ํจ) | |
| ALLOWED_ORIGINS="http://localhost:8000,https://abc123.ngrok.io" # ngrok ์คํ ํ ๋ฐ๊ธ๋ URL๋ก ๋ณ๊ฒฝ | |