mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-28 11:30:00 +00:00
51 lines
1.2 KiB
Text
51 lines
1.2 KiB
Text
|
|
|
|
# OPENAI
|
|
OPENAI_API_KEY=
|
|
|
|
# ANTHROPIC
|
|
# ANTHROPIC_API_KEY=
|
|
|
|
# GEMINI
|
|
# GEMINI_API_KEY=
|
|
|
|
# VERTEXAI
|
|
# VERTEX_PROJECT=my-google-cloud-project-name
|
|
# GOOGLE_APPLICATION_CREDENTIALS=./google-credentials.json
|
|
|
|
# OLLAMA
|
|
# OLLAMA_API_BASE="http://10.20.30.20:11434"
|
|
|
|
# OPEN ROUTER
|
|
# OPENROUTER_BASE_URL="https://openrouter.ai/api/v1"
|
|
# OPENROUTER_API_KEY=
|
|
|
|
# ELEVENLABS
|
|
# Used only by the podcast feature
|
|
ELEVENLABS_API_KEY=
|
|
|
|
|
|
# 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
|
|
# Use surrealdb if using docker-compose or add your server ip if using a different setup
|
|
SURREAL_ADDRESS="surrealdb"
|
|
SURREAL_PORT=8000
|
|
SURREAL_USER="root"
|
|
SURREAL_PASS="root"
|
|
SURREAL_NAMESPACE="open_notebook"
|
|
SURREAL_DATABASE="staging"
|
|
|
|
# This is used for the summarization feature when the content is to big to fit a single context window
|
|
# It is measured in characters, not tokens.
|
|
SUMMARY_CHUNK_SIZE=200000
|
|
SUMMARY_CHUNK_OVERLAP=1000
|
|
|
|
# This is used for vector embeddings
|
|
# It is measured in characters, not tokens.
|
|
EMBEDDING_CHUNK_SIZE=1000
|
|
EMBEDDING_CHUNK_OVERLAP=50
|