feat: add support for ollama #221 (#260)

### What problem does this PR solve?

add support for ollama

Issue link:#221

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-04-08 19:13:45 +08:00
committed by GitHub
parent d0a1ffe6e2
commit 265a7a283a
22 changed files with 275 additions and 26 deletions

View File

@ -390,6 +390,14 @@ export default {
'The default ASR model all the newly created knowledgebase will use. Use this model to translate voices to corresponding text.',
workspace: 'Workspace',
upgrade: 'Upgrade',
addLlmTitle: 'Add LLM',
modelName: 'Model name',
modelNameMessage: 'Please input your model name!',
modelType: 'Model type',
modelTypeMessage: 'Please input your model type!',
addLlmBaseUrl: 'Base url',
baseUrlNameMessage: 'Please input your base url!',
vision: 'Does it support Vision?',
},
message: {
registered: 'Registered!',

View File

@ -375,6 +375,14 @@ export default {
'所有新创建的知识库都将使用默认的 ASR 模型。 使用此模型将语音翻译为相应的文本。',
workspace: '工作空间',
upgrade: '升级',
addLlmTitle: '添加 LLM',
modelName: '模型名称',
modelType: '模型类型',
addLlmBaseUrl: '基础 Url',
vision: '是否支持 Vision',
modelNameMessage: '请输入模型名称!',
modelTypeMessage: '请输入模型类型!',
baseUrlNameMessage: '请输入基础 Url',
},
message: {
registered: '注册成功',