New front-end Launch Chat API Manage Sources Enable re-embedding of all contents Sources can be added without a notebook now Improved settings Enable model selector on all chats Background processing for better experience Dark mode Improved Notes Improved Docs: - Remove all Streamlit references from documentation - Update deployment guides with React frontend setup - Fix Docker environment variables format (SURREAL_URL, SURREAL_PASSWORD) - Update docker image tag from :latest to :v1-latest - Change navigation references (Settings → Models to just Models) - Update development setup to include frontend npm commands - Add MIGRATION.md guide for users upgrading from Streamlit - Update quick-start guide with correct environment variables - Add port 5055 documentation for API access - Update project structure to reflect frontend/ directory - Remove outdated source-chat documentation files
90 lines
No EOL
2 KiB
Text
90 lines
No EOL
2 KiB
Text
|
|
# API CONFIGURATION
|
|
# URL where the API can be accessed by the browser
|
|
# Default: http://localhost:5055 (works for most Docker setups)
|
|
# Change this if you're running on a different host/port (e.g., http://your-server-ip:5055)
|
|
API_URL=http://localhost:5055
|
|
|
|
# SECURITY
|
|
# Set this to protect your Open Notebook instance with a password (for public hosting)
|
|
# OPEN_NOTEBOOK_PASSWORD=
|
|
|
|
# OPENAI
|
|
# OPENAI_API_KEY=
|
|
|
|
|
|
# ANTHROPIC
|
|
# ANTHROPIC_API_KEY=
|
|
|
|
# GEMINI
|
|
# this is the best model for long context and podcast generation
|
|
# GOOGLE_API_KEY=
|
|
|
|
# VERTEXAI
|
|
# VERTEX_PROJECT=my-google-cloud-project-name
|
|
# GOOGLE_APPLICATION_CREDENTIALS=./google-credentials.json
|
|
# VERTEX_LOCATION=us-east5
|
|
|
|
# MISTRAL
|
|
# MISTRAL_API_KEY=
|
|
|
|
# DEEPSEEK
|
|
# DEEPSEEK_API_KEY=
|
|
|
|
# OLLAMA
|
|
# OLLAMA_API_BASE="http://10.20.30.20:11434"
|
|
|
|
# OPEN ROUTER
|
|
# OPENROUTER_BASE_URL="https://openrouter.ai/api/v1"
|
|
# OPENROUTER_API_KEY=
|
|
|
|
# GROQ
|
|
# GROQ_API_KEY=
|
|
|
|
# XAI
|
|
# XAI_API_KEY=
|
|
|
|
# ELEVENLABS
|
|
# Used only by the podcast feature
|
|
# ELEVENLABS_API_KEY=
|
|
|
|
# TTS BATCH SIZE
|
|
# Controls concurrent TTS requests for podcast generation (default: 5)
|
|
# Lower values reduce provider load but increase generation time
|
|
# Recommended: OpenAI=5, ElevenLabs=2, Google=4, Custom=1
|
|
# TTS_BATCH_SIZE=2
|
|
|
|
# VOYAGE AI
|
|
# VOYAGE_API_KEY=
|
|
|
|
# OPEN AI COMPATIBLE ENDPOINTS
|
|
# OPENAI_COMPATIBLE_BASE_URL=http://localhost:1234/v1
|
|
# OPENAI_COMPATIBLE_API_KEY=
|
|
|
|
# AZURE OPENAI
|
|
# AZURE_OPENAI_API_KEY=
|
|
# AZURE_OPENAI_ENDPOINT=
|
|
# AZURE_OPENAI_API_VERSION="2024-12-01-preview"
|
|
# AZURE_OPENAI_DEPLOYMENT_NAME=
|
|
|
|
# USE THIS IF YOU WANT TO DEBUG THE APP ON LANGSMITH
|
|
# LANGCHAIN_TRACING_V2=true
|
|
# LANGCHAIN_ENDPOINT="https://api.smith.langchain.com"
|
|
# LANGCHAIN_API_KEY=
|
|
# LANGCHAIN_PROJECT="Open Notebook"
|
|
|
|
# CONNECTION DETAILS FOR YOUR SURREAL DB
|
|
# New format (preferred) - WebSocket URL
|
|
SURREAL_URL="ws://surrealdb/rpc:8000"
|
|
SURREAL_USER="root"
|
|
SURREAL_PASSWORD="root"
|
|
SURREAL_NAMESPACE="open_notebook"
|
|
SURREAL_DATABASE="staging"
|
|
|
|
# OPEN_NOTEBOOK_PASSWORD=
|
|
|
|
# FIRECRAWL - Get a key at https://firecrawl.dev/
|
|
FIRECRAWL_API_KEY=
|
|
|
|
# JINA - Get a key at https://jina.ai/
|
|
JINA_API_KEY= |