SurfSense v3 - Highlight: Local LLM Support

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2024-09-19 22:50:16 -07:00
parent 04df919cf9
commit 7f38091d3d
13 changed files with 692 additions and 1345 deletions

13
backend/.env.example Normal file
View file

@ -0,0 +1,13 @@
#true if you wana run local setup with Ollama llama3.1
IS_LOCAL_SETUP = 'false'
#POSTGRES DB TO TRACK USERS
POSTGRES_DATABASE_URL = "postgresql+psycopg2://postgres:postgres@localhost:5432/surfsense"
# API KEY TO PREVENT USER REGISTRATION SPAM
API_SECRET_KEY = "surfsense"
# Your JWT secret and algorithm
SECRET_KEY = "your_secret_key"
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 720