Spaces:
Build error
Build error
Upload .env.example with huggingface_hub
Browse files- .env.example +106 -0
.env.example
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Rename this file to .env once you have filled in the below environment variables!
|
| 2 |
+
|
| 3 |
+
# Get your GROQ API Key here -
|
| 4 |
+
# https://console.groq.com/keys
|
| 5 |
+
# You only need this environment variable set if you want to use Groq models
|
| 6 |
+
GROQ_API_KEY=
|
| 7 |
+
|
| 8 |
+
# Get your HuggingFace API Key here -
|
| 9 |
+
# https://huggingface.co/settings/tokens
|
| 10 |
+
# You only need this environment variable set if you want to use HuggingFace models
|
| 11 |
+
HuggingFace_API_KEY=
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
# Get your Open AI API Key by following these instructions -
|
| 15 |
+
# https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key
|
| 16 |
+
# You only need this environment variable set if you want to use GPT models
|
| 17 |
+
OPENAI_API_KEY=
|
| 18 |
+
|
| 19 |
+
# Get your Anthropic API Key in your account settings -
|
| 20 |
+
# https://console.anthropic.com/settings/keys
|
| 21 |
+
# You only need this environment variable set if you want to use Claude models
|
| 22 |
+
ANTHROPIC_API_KEY=
|
| 23 |
+
|
| 24 |
+
# Get your OpenRouter API Key in your account settings -
|
| 25 |
+
# https://openrouter.ai/settings/keys
|
| 26 |
+
# You only need this environment variable set if you want to use OpenRouter models
|
| 27 |
+
OPEN_ROUTER_API_KEY=
|
| 28 |
+
|
| 29 |
+
# Get your Google Generative AI API Key by following these instructions -
|
| 30 |
+
# https://console.cloud.google.com/apis/credentials
|
| 31 |
+
# You only need this environment variable set if you want to use Google Generative AI models
|
| 32 |
+
GOOGLE_GENERATIVE_AI_API_KEY=
|
| 33 |
+
|
| 34 |
+
# You only need this environment variable set if you want to use oLLAMA models
|
| 35 |
+
# DONT USE http://localhost:11434 due to IPV6 issues
|
| 36 |
+
# USE EXAMPLE http://127.0.0.1:11434
|
| 37 |
+
OLLAMA_API_BASE_URL=
|
| 38 |
+
|
| 39 |
+
# You only need this environment variable set if you want to use OpenAI Like models
|
| 40 |
+
OPENAI_LIKE_API_BASE_URL=
|
| 41 |
+
|
| 42 |
+
# You only need this environment variable set if you want to use Together AI models
|
| 43 |
+
TOGETHER_API_BASE_URL=
|
| 44 |
+
|
| 45 |
+
# You only need this environment variable set if you want to use DeepSeek models through their API
|
| 46 |
+
DEEPSEEK_API_KEY=
|
| 47 |
+
|
| 48 |
+
# Get your OpenAI Like API Key
|
| 49 |
+
OPENAI_LIKE_API_KEY=
|
| 50 |
+
|
| 51 |
+
# Get your Together API Key
|
| 52 |
+
TOGETHER_API_KEY=
|
| 53 |
+
|
| 54 |
+
# You only need this environment variable set if you want to use Hyperbolic models
|
| 55 |
+
#Get your Hyperbolics API Key at https://app.hyperbolic.xyz/settings
|
| 56 |
+
#baseURL="https://api.hyperbolic.xyz/v1/chat/completions"
|
| 57 |
+
HYPERBOLIC_API_KEY=
|
| 58 |
+
HYPERBOLIC_API_BASE_URL=
|
| 59 |
+
|
| 60 |
+
# Get your Mistral API Key by following these instructions -
|
| 61 |
+
# https://console.mistral.ai/api-keys/
|
| 62 |
+
# You only need this environment variable set if you want to use Mistral models
|
| 63 |
+
MISTRAL_API_KEY=
|
| 64 |
+
|
| 65 |
+
# Get the Cohere Api key by following these instructions -
|
| 66 |
+
# https://dashboard.cohere.com/api-keys
|
| 67 |
+
# You only need this environment variable set if you want to use Cohere models
|
| 68 |
+
COHERE_API_KEY=
|
| 69 |
+
|
| 70 |
+
# Get LMStudio Base URL from LM Studio Developer Console
|
| 71 |
+
# Make sure to enable CORS
|
| 72 |
+
# DONT USE http://localhost:1234 due to IPV6 issues
|
| 73 |
+
# Example: http://127.0.0.1:1234
|
| 74 |
+
LMSTUDIO_API_BASE_URL=
|
| 75 |
+
|
| 76 |
+
# Get your xAI API key
|
| 77 |
+
# https://x.ai/api
|
| 78 |
+
# You only need this environment variable set if you want to use xAI models
|
| 79 |
+
XAI_API_KEY=
|
| 80 |
+
|
| 81 |
+
# Get your Perplexity API Key here -
|
| 82 |
+
# https://www.perplexity.ai/settings/api
|
| 83 |
+
# You only need this environment variable set if you want to use Perplexity models
|
| 84 |
+
PERPLEXITY_API_KEY=
|
| 85 |
+
|
| 86 |
+
# Get your AWS configuration
|
| 87 |
+
# https://console.aws.amazon.com/iam/home
|
| 88 |
+
# The JSON should include the following keys:
|
| 89 |
+
# - region: The AWS region where Bedrock is available.
|
| 90 |
+
# - accessKeyId: Your AWS access key ID.
|
| 91 |
+
# - secretAccessKey: Your AWS secret access key.
|
| 92 |
+
# - sessionToken (optional): Temporary session token if using an IAM role or temporary credentials.
|
| 93 |
+
# Example JSON:
|
| 94 |
+
# {"region": "us-east-1", "accessKeyId": "yourAccessKeyId", "secretAccessKey": "yourSecretAccessKey", "sessionToken": "yourSessionToken"}
|
| 95 |
+
AWS_BEDROCK_CONFIG=
|
| 96 |
+
|
| 97 |
+
# Include this environment variable if you want more logging for debugging locally
|
| 98 |
+
VITE_LOG_LEVEL=debug
|
| 99 |
+
|
| 100 |
+
# Example Context Values for qwen2.5-coder:32b
|
| 101 |
+
#
|
| 102 |
+
# DEFAULT_NUM_CTX=32768 # Consumes 36GB of VRAM
|
| 103 |
+
# DEFAULT_NUM_CTX=24576 # Consumes 32GB of VRAM
|
| 104 |
+
# DEFAULT_NUM_CTX=12288 # Consumes 26GB of VRAM
|
| 105 |
+
# DEFAULT_NUM_CTX=6144 # Consumes 24GB of VRAM
|
| 106 |
+
DEFAULT_NUM_CTX=
|