.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
DATASTORE
Core environment variables
BEARER_TOKEN
secret
OPENAI_API_KEY
secret
EMBEDDING_DIMENSION
EMBEDDING_MODEL
OPENAI_API_BASE
secret
Optional environment variables for Azure OpenAI
OPENAI_API_TYPE
secret
OPENAI_EMBEDDINGMODEL_DEPLOYMENTID
secret
OPENAI_METADATA_EXTRACTIONMODEL_DEPLOYMENTID
secret
OPENAI_COMPLETIONMODEL_DEPLOYMENTID
secret
OPENAI_EMBEDDING_BATCH_SIZE
secret
PINECONE_API_KEY
secret
Pinecone configuration
PINECONE_ENVIRONMENT
PINECONE_INDEX
WEAVIATE_URL
Weaviate configuration
WEAVIATE_API_KEY
secret
WEAVIATE_CLASS
ZILLIZ_COLLECTION
Zilliz configuration
ZILLIZ_URI
ZILLIZ_USER
brew install flyctl && fly launch --from https://github.com/openai/chatgpt-retrieval-plugin
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/openai/chatgpt-retrieval-plugin
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/openai/chatgpt-retrieval-plugin