Environment Variables & Keys¶
The selectools library uses the following keys, organized by capability.
Core LLM Providers¶
-
OpenAI
OPENAI_API_KEY: Required forOpenAIProvider.
-
Anthropic
ANTHROPIC_API_KEY: Required forAnthropicProvider.
-
Gemini (Google)
GEMINI_API_KEY: Primary key forGeminiProvider.GOOGLE_API_KEY: Fallback key ifGEMINI_API_KEYis not set.
-
Ollama (Local)
- No key required. Connects to
localhost:11434by default.
- No key required. Connects to
Embeddings & Vector Stores¶
-
Cohere
COHERE_API_KEY: Required forCohereEmbeddingProvider.
-
Voyage AI (Anthropic Partner)
VOYAGE_API_KEY: Required forAnthropicEmbeddingProvider(uses Voyage models).
-
Pinecone
PINECONE_API_KEY: Required forPineconeVectorStore.PINECONE_ENVIRONMENT: Required forPineconeVectorStore(legacy, optional for serverless).
Example .env¶
See .env.example in the project root for a template.