Faisal Amir ab8af53a24
fix: setting extension placeholder and input action apikey (#3430)
* fix: setting extension placeholder apikey

* fix: extension settings migration

---------

Co-authored-by: Louis <louis@jan.ai>
2024-08-22 15:20:45 +07:00

25 lines
910 B
JSON

[
{
"key": "nvidia-api-key",
"title": "API Key",
"description": "The NVIDIA API uses API keys for authentication. Visit your [API Keys](https://org.ngc.nvidia.com/setup/personal-keys) page to retrieve the API key you'll use in your requests..",
"controllerType": "input",
"controllerProps": {
"placeholder": "Insert API Key",
"value": "",
"type": "password",
"inputActions": ["unobscure", "copy"]
}
},
{
"key": "chat-completions-endpoint",
"title": "Chat Completions Endpoint",
"description": "The endpoint to use for chat completions. See the [NVIDIA API documentation](https://www.nvidia.com/en-us/ai/) for more information.",
"controllerType": "input",
"controllerProps": {
"placeholder": "https://integrate.api.nvidia.com/v1/chat/completions",
"value": "https://integrate.api.nvidia.com/v1/chat/completions"
}
}
]