h2o-llmstudio
h2o-llmstudio copied to clipboard
[FEATURE] Add Configuration to Hide Connector Configuration
🚀 Feature
Add support for an environment variable NO_EXTERNAL_CONNECTOR_CONFIG (that can default to True, and not present in the app.toml) that will hide settings that are not relevant when in restricted environments.
This includes, but not limited to:
- AWS S3 bucket name
- AWS access key
- AWS secret key
- Azure Datalake connection string
- Azure Datalake container name
- Kaggle username
- Kaggle secret key
- Neptune Project
- Neptune API Token
- Wandb Project
- Wandb Entity
- Wandb API Token
- Hugging Face API Token
- Hugging Face Hub Enable HF Transfer
- OpenAI API Token
- Use OpenAI API on Azure
- OpenAI API Endpoint
- OpenAI API Deployment ID
- OpenAI API version
Motivation
The goal is a single environment variable that we can use across all products that we can set in restricted environments where there can not be communication to external services.