mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-25 16:13:10 +08:00
chore: add link to find open ai key
This commit is contained in:
@ -102,7 +102,16 @@ const OpenAIApiConfigView = () => {
|
||||
</div>
|
||||
<div className="flex flex-col mt-4">
|
||||
<label className="text-base font-semibold">OpenAI API Endpoint</label>
|
||||
<p className="text-sm text-gray-500">{t("setting.openai-api-configuration.endpoint-description")}</p>
|
||||
<div className="flex">
|
||||
<p className="text-sm text-gray-500">{t("setting.openai-api-configuration.endpoint-description")}</p>
|
||||
<a
|
||||
href="https://platform.openai.com/account/api-keys"
|
||||
target="_blank"
|
||||
className="text-sm text-indigo-600 hover:text-indigo-900"
|
||||
>
|
||||
{t("setting.openai-api-configuration.find-my-key")}
|
||||
</a>
|
||||
</div>
|
||||
<TextField
|
||||
className="mt-4"
|
||||
placeholder="API Endpoint"
|
||||
|
@ -106,6 +106,7 @@
|
||||
"quota-per-ask": "{{count}} quota per ask",
|
||||
"provide-gpt4-key": "Require your own GPT-4 enabled API key",
|
||||
"key-description": "Bring your own key to waive quota requirement.",
|
||||
"find-my-key": "Find my key",
|
||||
"endpoint-description": "Optional endpoint pointing to your own compatible server or gateway."
|
||||
},
|
||||
"data": {
|
||||
|
@ -106,6 +106,7 @@
|
||||
"quota-per-ask": "{{count}} cuotas por pedido",
|
||||
"provide-gpt4-key": "Requerir su propia clave API habilitada para GPT-4",
|
||||
"key-description": "Indique su propia clave para retirarse del límite por cuota.",
|
||||
"find-my-key": "Encuentra mi llave",
|
||||
"endpoint-description": "Endpoint opcional que apunta a su propio servidor o gateway compatible."
|
||||
},
|
||||
"data": {
|
||||
|
@ -104,6 +104,7 @@
|
||||
"model": "模型",
|
||||
"model-description": "如果您提供自己的 key,额度是不会消耗的。",
|
||||
"quota-per-ask": "每一个提问消耗 {{count}} 点额度",
|
||||
"find-my-key": "找到我的 Key",
|
||||
"provide-gpt4-key": "需提供您自己的,可以使用 GPT-4 的 key",
|
||||
"key-description": "一旦您提供了自己的 key,额度就不受限制了。",
|
||||
"endpoint-description": "可选的 endpoint 指向接口兼容的服务器或者网关。"
|
||||
|
Reference in New Issue
Block a user