2023-07-06 00:21:08 +03:00
|
|
|
# QUICKSTART:
|
2023-07-11 15:01:52 +03:00
|
|
|
# Copy this file to .secrets.toml in the same folder.
|
2023-07-06 00:21:08 +03:00
|
|
|
# The minimum workable settings - set openai.key to your API key.
|
|
|
|
# Set github.deployment_type to "user" and github.user_token to your GitHub personal access token.
|
|
|
|
# This will allow you to run the CLI scripts in the scripts/ folder and the github_polling server.
|
|
|
|
#
|
|
|
|
# See README for details about GitHub App deployment.
|
|
|
|
|
|
|
|
[openai]
|
2023-08-03 16:05:46 -07:00
|
|
|
key = "" # Acquire through https://platform.openai.com
|
|
|
|
#org = "<ORGANIZATION>" # Optional, may be commented out.
|
2023-07-12 11:53:46 +03:00
|
|
|
# Uncomment the following for Azure OpenAI
|
|
|
|
#api_type = "azure"
|
|
|
|
#api_version = '2023-05-15' # Check Azure documentation for the current API version
|
2023-08-05 22:53:59 -07:00
|
|
|
#api_base = "" # The base URL for your Azure OpenAI resource. e.g. "https://<your resource name>.openai.azure.com"
|
|
|
|
#deployment_id = "" # The deployment name you chose when you deployed the engine
|
2023-08-13 10:56:16 +03:00
|
|
|
#fallback_deployments = [] # For each fallback model specified in configuration.toml in the [config] section, specify the appropriate deployment_id
|
2023-07-06 00:21:08 +03:00
|
|
|
|
2023-09-06 17:43:43 +03:00
|
|
|
[pinecone]
|
|
|
|
api_key = "..."
|
|
|
|
environment = "gcp-starter"
|
|
|
|
|
2023-08-05 22:53:59 -07:00
|
|
|
[anthropic]
|
|
|
|
key = "" # Optional, uncomment if you want to use Anthropic. Acquire through https://www.anthropic.com/
|
|
|
|
|
|
|
|
[cohere]
|
|
|
|
key = "" # Optional, uncomment if you want to use Cohere. Acquire through https://dashboard.cohere.ai/
|
|
|
|
|
|
|
|
[replicate]
|
|
|
|
key = "" # Optional, uncomment if you want to use Replicate. Acquire through https://replicate.com/
|
2023-09-05 16:23:22 -07:00
|
|
|
|
2024-04-21 15:22:40 +09:00
|
|
|
[groq]
|
|
|
|
key = "" # Acquire through https://console.groq.com/keys
|
|
|
|
|
2025-04-08 01:36:21 +08:00
|
|
|
[xai]
|
|
|
|
key = "" # Optional, uncomment if you want to use xAI. Acquire through https://console.x.ai/
|
|
|
|
|
2023-09-05 16:23:22 -07:00
|
|
|
[huggingface]
|
|
|
|
key = "" # Optional, uncomment if you want to use Huggingface Inference API. Acquire through https://huggingface.co/docs/api-inference/quicktour
|
2024-07-27 22:21:54 +07:00
|
|
|
api_base = "" # the base url for your huggingface inference endpoint
|
2023-09-05 16:23:22 -07:00
|
|
|
|
2023-09-08 09:59:44 -07:00
|
|
|
[ollama]
|
2023-10-31 20:38:27 +07:00
|
|
|
api_base = "" # the base url for your local Llama 2, Code Llama, and other models inference endpoint. Acquire through https://ollama.ai/
|
2023-09-08 09:59:44 -07:00
|
|
|
|
2023-11-15 10:24:56 +00:00
|
|
|
[vertexai]
|
|
|
|
vertex_project = "" # the google cloud platform project name for your vertexai deployment
|
|
|
|
vertex_location = "" # the google cloud platform location for your vertexai deployment
|
|
|
|
|
2024-10-29 08:00:16 +09:00
|
|
|
[google_ai_studio]
|
|
|
|
gemini_api_key = "" # the google AI Studio API key
|
|
|
|
|
2023-07-06 00:21:08 +03:00
|
|
|
[github]
|
|
|
|
# ---- Set the following only for deployment type == "user"
|
2023-08-03 16:05:46 -07:00
|
|
|
user_token = "" # A GitHub personal access token with 'repo' scope.
|
2024-07-27 22:21:54 +07:00
|
|
|
deployment_type = "user" #set to user by default
|
2023-07-06 00:21:08 +03:00
|
|
|
|
|
|
|
# ---- Set the following only for deployment type == "app", see README for details.
|
|
|
|
private_key = """\
|
|
|
|
-----BEGIN RSA PRIVATE KEY-----
|
|
|
|
<GITHUB PRIVATE KEY>
|
|
|
|
-----END RSA PRIVATE KEY-----
|
|
|
|
"""
|
|
|
|
app_id = 123456 # The GitHub App ID, replace with your own.
|
|
|
|
webhook_secret = "<WEBHOOK SECRET>" # Optional, may be commented out.
|
2023-07-07 15:02:40 +03:00
|
|
|
|
|
|
|
[gitlab]
|
2023-07-08 15:29:05 +03:00
|
|
|
# Gitlab personal access token
|
2023-07-07 15:02:40 +03:00
|
|
|
personal_access_token = ""
|
2024-10-29 16:02:06 +00:00
|
|
|
shared_secret = "" # webhook secret
|
2023-07-07 15:02:40 +03:00
|
|
|
|
2023-07-15 21:29:36 +03:00
|
|
|
[bitbucket]
|
2025-04-08 17:48:40 +08:00
|
|
|
# For Bitbucket authentication
|
|
|
|
auth_type = "bearer" # "bearer" or "basic"
|
|
|
|
# For bearer token authentication
|
2023-07-15 21:29:36 +03:00
|
|
|
bearer_token = ""
|
2025-04-08 17:48:40 +08:00
|
|
|
# For basic authentication (uses token only)
|
|
|
|
basic_token = ""
|
2023-09-10 14:06:13 +03:00
|
|
|
|
2023-12-17 17:38:27 +01:00
|
|
|
[bitbucket_server]
|
|
|
|
# For Bitbucket Server bearer token
|
2024-07-27 22:17:48 +07:00
|
|
|
bearer_token = ""
|
2023-12-17 17:38:27 +01:00
|
|
|
webhook_secret = ""
|
|
|
|
|
2023-09-10 14:06:13 +03:00
|
|
|
# For Bitbucket app
|
|
|
|
app_key = ""
|
|
|
|
base_url = ""
|
|
|
|
|
2024-02-11 18:06:56 -05:00
|
|
|
[azure_devops]
|
|
|
|
# For Azure devops personal access token
|
|
|
|
org = ""
|
|
|
|
pat = ""
|
|
|
|
|
2024-02-11 17:02:14 -05:00
|
|
|
[azure_devops_server]
|
2024-10-30 09:56:03 +09:00
|
|
|
# For Azure devops Server basic auth - configured in the webhook creation
|
2024-02-11 16:52:49 -05:00
|
|
|
# Optional, uncomment if you want to use Azure devops webhooks. Value assinged when you create the webhook
|
|
|
|
# webhook_username = "<basic auth user>"
|
2024-02-11 18:06:56 -05:00
|
|
|
# webhook_password = "<basic auth password>"
|
2025-01-17 11:43:20 +07:00
|
|
|
|
|
|
|
[deepseek]
|
|
|
|
key = ""
|
2025-03-06 15:49:07 +07:00
|
|
|
|
|
|
|
[deepinfra]
|
|
|
|
key = ""
|