Environment
Here's a list of the environment variables listed in .env.example
with an explanation of when they are needed.
Provider Vars
ANTHROPIC_API_KEY
Needed when using any anthropic completion/embedding models.
ANTHROPIC_COMPLETION_MODEL
The version of completion model. Reference Rig's supported models. Only needed when using anthropic completion mode.
OPENAI_API_KEY
Needed when using any openai completion/embedding models.
OPENAI_COMPLETION_MODEL
The version of completion model. Reference Rig's supported models.
COHERE_API_KEY
Needed when using any cohere completion models.
COHERE_COMPLETION_MODEL
The version of completion model. Reference Rig's supported models. Only needed when using cohere completion mode.
GEMINI_API_KEY
Needed when using any gemini completion models.
GEMINI_COMPLETION_MODEL
The version of completion model. Reference Rig's supported models. Only needed when using gemini completion mode.
PERPLEXITY_API_KEY
Needed when using any perplexity completion models.
PERPLEXITY_COMPLETION_MODEL
The version of completion model. Reference Rig's supported models. Only needed when using perplexity completion mode.
XAI_API_KEY
Needed when using any xai completion/embedding models.
XAI_COMPLETION_MODEL
The version of completion model. Reference Rig's supported models. Only needed when using xai completion mode.
Twitter Vars
TWITTER_API_KEY
Required for twitter client.
TWITTER_API_SECRET
Required for twitter client.
TWITTER_ACCESS_TOKEN
Required for twitter client.
TWITTER_ACCESS_TOKEN_SECRET
Required for twitter client.
Mongo Vars
MONGODB_CONN_URL
Required for mongodb database. URL is in this format mongodb+srv://...@....mongodb.net
.
MONGODB_DB
Required for mongodb database. Name of the database storing vecdb.
MONGODB_COLLECTION
Required for mongodb database. Name of the collection in database storing vecdb.
Last updated