Spaces:
Configuration error
Configuration error
Download .env.example from letaken-com/Bot2: direct link, hf CLI and curl.
- Browser
- Download file 1.34 kB
-
https://huggingface.co/spaces/letaken-com/Bot2/resolve/main/.env.example
- Command line
-
hf download hf://spaces/letaken-com/Bot2/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/letaken-com/Bot2/resolve/main/.env.example
1.34 kB
| # OPENAI | |
| OPENAI_API_KEY= | |
| # ANTHROPIC | |
| # ANTHROPIC_API_KEY= | |
| # GEMINI | |
| # this is the best model for long context and podcast generation | |
| # 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= | |
| # GROQ | |
| # GROQ_API_KEY= | |
| # XAI | |
| # XAI_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 | |