forked from langchain-ai/opengpts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example.don
55 lines (47 loc) · 2.3 KB
/
.env.example.don
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# ------------------------------------------------------------------------------
# OpenGPTs Environment Configuration
# ------------------------------------------------------------------------------
# This file contains the environment variables required to run the OpenGPTs
# application with Anthropic and Groq. It really is this simple - Let's go!
# ------------------------------------------------------------------------------
# Language Model API Keys
# At least one language model API key is required.
ANTHROPIC_API_KEY='sk-ant-api03-xxx-xxx'
GROQ_API_KEY='gsk_xxxxx'
# OpenAI API Key
# This is essential to enable OpenAI Embeddings required for the RAGBot functionality mentioned in the README.
# OpenAIEmbedding config is in the `backend/app/upload.py` file but does not specify a specific model.
# default is likely still text-embedding-ada-002, not the newer text-embedding-3-small
OPENAI_API_KEY='sk-proj-xxxxx'
# LangSmith Configuration
# LangSmith integration is optional but was essential to troubleshoot Groq rate limiting issues
LANGCHAIN_ENDPOINT='https://api.smith.langchain.com'
LANGCHAIN_API_KEY='lsv2_pt_xxxxx'
LANGCHAIN_TRACING_V2="true"
LANGCHAIN_PROJECT='opengpts-sonnet-3.5'
# PostgreSQL Database Configuration
# Docker Compose will use these values to set up the database.
POSTGRES_PORT=5432
POSTGRES_DB=opengpts
POSTGRES_USER=postgres
POSTGRES_PASSWORD='spilltheT3@!'
# Tavily API Key
# Typically better than DuckDuckGo, but not required.
TAVILY_API_KEY=tvly-xxxxx
# Unused Features
# The following API keys and URLs are placeholders for features that have not been used yet.
YDC_API_KEY=placeholder
AZURE_OPENAI_DEPLOYMENT_NAME=placeholder
AZURE_OPENAI_API_KEY=placeholder
AZURE_OPENAI_API_BASE=placeholder
AZURE_OPENAI_API_VERSION=placeholder
ROBOCORP_ACTION_SERVER_URL=https://dummy-action-server.robocorp.link
ROBOCORP_ACTION_SERVER_KEY=dummy-api-key
CONNERY_RUNNER_URL=https://your-personal-connery-runner-url
CONNERY_RUNNER_API_KEY=placeholder
PROXY_URL=your_proxy_url
# ------------------------------------------------------------------------------
# Notes:
# - Tools like Arxiv, Wikipedia, DuckDuckGo, and PubMed do not require API keys.
# - The main README file provides detailed but straightforward setup instructions.
# - After setting the PostgreSQL password above, the app should run smoothly in Docker.