Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add smarties provider #1

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
75 changes: 65 additions & 10 deletions api/core/model_runtime/model_providers/openai/_assets/icon_l_en.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions api/core/model_runtime/model_providers/openai/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
provider: openai
label:
en_US: OpenAI
en_US: Smarties
description:
en_US: Models provided by OpenAI, such as GPT-3.5-Turbo and GPT-4.
zh_Hans: OpenAI 提供的模型,例如 GPT-3.5-Turbo 和 GPT-4。
en_US: Models provided by Smarties, such as GPT-3.5-Turbo and GPT-4.
zh_Hans: Smarties 提供的模型,例如 GPT-3.5-Turbo 和 GPT-4。
icon_small:
en_US: icon_s_en.svg
icon_large:
en_US: icon_l_en.svg
icon_large:
en_US: smarties.svg
background: "#E5E7EB"
help:
title:
en_US: Get your API Key from OpenAI
zh_Hans: 从 OpenAI 获取 API Key
en_US: Get your API Key from Smarties
zh_Hans: 从 Smarties 获取 API Key
url:
en_US: https://platform.openai.com/account/api-keys
supported_model_types:
Expand Down