is_valid_api_key
Keys are known to start with “sk-”, “sk-proj”, “sk-None”, and “sk-svcaat” Parameters:
Name | Description |
---|---|
api_key | An input string to be validated. Type: str |
Type | Description |
---|---|
bool | bool: A boolean that indicates if input is valid OpenAI API key. |