mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: i18n
This commit is contained in:
parent
39e7119d9a
commit
73ed74b714
|
|
@ -1796,7 +1796,7 @@ msgstr ""
|
|||
#: .\apps\application\views\application_views.py:632
|
||||
#: .\apps\application\views\application_views.py:633
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:155
|
||||
msgid "text to speech"
|
||||
msgid "TTS"
|
||||
msgstr ""
|
||||
|
||||
#: .\apps\application\views\chat_views.py:33
|
||||
|
|
@ -3591,27 +3591,27 @@ msgstr ""
|
|||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:152
|
||||
#: .\apps\setting\swagger_api\provide_api.py:115
|
||||
msgid "large language model"
|
||||
msgid "LLM"
|
||||
msgstr ""
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:153
|
||||
msgid "vector model"
|
||||
msgid "Embedding Model"
|
||||
msgstr ""
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:154
|
||||
msgid "speech to text"
|
||||
msgid "Speech2Text"
|
||||
msgstr ""
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:156
|
||||
msgid "picture understanding"
|
||||
msgid "Vision Model"
|
||||
msgstr ""
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:157
|
||||
msgid "text to image"
|
||||
msgid "Image Generation"
|
||||
msgstr ""
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:158
|
||||
msgid "re-ranking"
|
||||
msgid "Rerank"
|
||||
msgstr ""
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:232
|
||||
|
|
|
|||
|
|
@ -1800,7 +1800,7 @@ msgstr "获取应用列表分页"
|
|||
#: .\apps\application\views\application_views.py:632
|
||||
#: .\apps\application\views\application_views.py:633
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:155
|
||||
msgid "text to speech"
|
||||
msgid "TTS"
|
||||
msgstr "语音合成"
|
||||
|
||||
#: .\apps\application\views\chat_views.py:33
|
||||
|
|
@ -3597,27 +3597,27 @@ msgstr "当前平台不支持下载模型"
|
|||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:152
|
||||
#: .\apps\setting\swagger_api\provide_api.py:115
|
||||
msgid "large language model"
|
||||
msgid "LLM"
|
||||
msgstr "大语言模型"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:153
|
||||
msgid "vector model"
|
||||
msgid "Embedding Model"
|
||||
msgstr "向量模型"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:154
|
||||
msgid "speech to text"
|
||||
msgid "Speech2Text"
|
||||
msgstr "语音识别"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:156
|
||||
msgid "picture understanding"
|
||||
msgid "Vision Model"
|
||||
msgstr "图片理解"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:157
|
||||
msgid "text to image"
|
||||
msgid "Image Generation"
|
||||
msgstr "图片生成"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:158
|
||||
msgid "re-ranking"
|
||||
msgid "Rerank"
|
||||
msgstr "重排模型"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:232
|
||||
|
|
|
|||
|
|
@ -1801,7 +1801,7 @@ msgstr "獲取應用列表分頁"
|
|||
#: .\apps\application\views\application_views.py:632
|
||||
#: .\apps\application\views\application_views.py:633
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:155
|
||||
msgid "text to speech"
|
||||
msgid "TTS"
|
||||
msgstr "語音合成"
|
||||
|
||||
#: .\apps\application\views\chat_views.py:33
|
||||
|
|
@ -3598,27 +3598,27 @@ msgstr "當前平臺不支持下載模型"
|
|||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:152
|
||||
#: .\apps\setting\swagger_api\provide_api.py:115
|
||||
msgid "large language model"
|
||||
msgid "LLM"
|
||||
msgstr "大語言模型"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:153
|
||||
msgid "vector model"
|
||||
msgid "Embedding Model"
|
||||
msgstr "向量模型"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:154
|
||||
msgid "speech to text"
|
||||
msgid "Speech2Text"
|
||||
msgstr "語音識別"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:156
|
||||
msgid "picture understanding"
|
||||
msgid "Vision Model"
|
||||
msgstr "圖片理解"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:157
|
||||
msgid "text to image"
|
||||
msgid "Image Generation"
|
||||
msgstr "圖片生成"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:158
|
||||
msgid "re-ranking"
|
||||
msgid "Rerank"
|
||||
msgstr "重排模型"
|
||||
|
||||
#: .\apps\setting\models_provider\base_model_provider.py:232
|
||||
|
|
|
|||
|
|
@ -149,13 +149,13 @@ class BaseModelCredential(ABC):
|
|||
|
||||
|
||||
class ModelTypeConst(Enum):
|
||||
LLM = {'code': 'LLM', 'message': _('large language model')}
|
||||
EMBEDDING = {'code': 'EMBEDDING', 'message': _('vector model')}
|
||||
STT = {'code': 'STT', 'message': _('speech to text')}
|
||||
TTS = {'code': 'TTS', 'message': _('text to speech')}
|
||||
IMAGE = {'code': 'IMAGE', 'message': _('picture understanding')}
|
||||
TTI = {'code': 'TTI', 'message': _('text to image')}
|
||||
RERANKER = {'code': 'RERANKER', 'message': _('re-ranking')}
|
||||
LLM = {'code': 'LLM', 'message': _('LLM')}
|
||||
EMBEDDING = {'code': 'EMBEDDING', 'message': _('Embedding Model')}
|
||||
STT = {'code': 'STT', 'message': _('Speech2Text')}
|
||||
TTS = {'code': 'TTS', 'message': _('TTS')}
|
||||
IMAGE = {'code': 'IMAGE', 'message': _('Vision Model')}
|
||||
TTI = {'code': 'TTI', 'message': _('Image Generation')}
|
||||
RERANKER = {'code': 'RERANKER', 'message': _('Rerank')}
|
||||
|
||||
|
||||
class ModelInfo:
|
||||
|
|
|
|||
Loading…
Reference in New Issue