precis / .env.example
compendious's picture
Such slow progress...
2f317f9
raw
history blame contribute delete
835 Bytes
# Frontend/backend stuff
API_BASE_URL=http://localhost:8000 # Temporary btw
OLLAMA_BASE_URL=http://127.0.0.1:11434 # Ollama's default
PRECIS_ALLOWED_ORIGINS=http://localhost:5173 # Just front end, might make it more/less strict but I just need something consistent rn
# Model addresses
DEFAULT_MODEL=phi4-mini:latest
# Update this if you add/remove models
# Or if you custom-name any of them
AVAILABLE_MODELS=phi4-mini:latest,qwen3:4b # Only here so both front and backend have it
# API stuff
PRECIS_API_KEY=replace-with-a-long-random-secret # Once the API is actually up, this'll be needed
MAX_SUMMARY_TOKENS=120
TEMPERATURE=0.2 # Randomly selected, will probably tweak later
PRECIS_MAX_UPLOAD_BYTES=10485760
PRECIS_MAX_TRANSCRIPT_CHARS=250000