mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-25 16:26:51 +08:00
Add support for VolcEngine - the current version supports SDK2 (#885)
- The main idea is to assemble **ak**, **sk**, and **ep_id** into a
dictionary and store it in the database **api_key** field
- I don’t know much about the front-end, so I learned from Ollama, which
may be redundant.
### Configuration method
- model name
- Format requirements: {"VolcEngine model name":"endpoint_id"}
- For example: {"Skylark-pro-32K":"ep-xxxxxxxxx"}
- Volcano ACCESS_KEY
- Format requirements: VOLC_ACCESSKEY of the volcano engine
corresponding to the model
- Volcano SECRET_KEY
- Format requirements: VOLC_SECRETKEY of the volcano engine
corresponding to the model
### What problem does this PR solve?
_Briefly describe what this PR aims to solve. Include background context
that will help reviewers understand the purpose of the PR._
### Type of change
- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -477,6 +477,11 @@ The above is the content you need to summarize.`,
|
||||
baseUrlNameMessage: 'Please input your base url!',
|
||||
vision: 'Does it support Vision?',
|
||||
ollamaLink: 'How to integrate {{name}}',
|
||||
volcModelNameMessage: 'Please input your model name! Format: {"ModelName":"EndpointID"}',
|
||||
addVolcEngineAK: 'VOLC ACCESS_KEY',
|
||||
volcAKMessage: 'Please input your VOLC_ACCESS_KEY',
|
||||
addVolcEngineSK: 'VOLC SECRET_KEY',
|
||||
volcSKMessage: 'Please input your SECRET_KEY',
|
||||
},
|
||||
message: {
|
||||
registered: 'Registered!',
|
||||
|
||||
@ -440,7 +440,12 @@ export default {
|
||||
modelNameMessage: '請輸入模型名稱!',
|
||||
modelTypeMessage: '請輸入模型類型!',
|
||||
baseUrlNameMessage: '請輸入基礎 Url!',
|
||||
ollamaLink: '如何集成Ollama',
|
||||
ollamaLink: '如何集成 {{name}}',
|
||||
volcModelNameMessage: '請輸入模型名稱!格式:{"模型名稱":"EndpointID"}',
|
||||
addVolcEngineAK: '火山 ACCESS_KEY',
|
||||
volcAKMessage: '請輸入VOLC_ACCESS_KEY',
|
||||
addVolcEngineSK: '火山 SECRET_KEY',
|
||||
volcSKMessage: '請輸入VOLC_SECRET_KEY',
|
||||
},
|
||||
message: {
|
||||
registered: '註冊成功',
|
||||
|
||||
@ -458,6 +458,11 @@ export default {
|
||||
modelTypeMessage: '请输入模型类型!',
|
||||
baseUrlNameMessage: '请输入基础 Url!',
|
||||
ollamaLink: '如何集成 {{name}}',
|
||||
volcModelNameMessage: '请输入模型名称!格式:{"模型名称":"EndpointID"}',
|
||||
addVolcEngineAK: '火山 ACCESS_KEY',
|
||||
volcAKMessage: '请输入VOLC_ACCESS_KEY',
|
||||
addVolcEngineSK: '火山 SECRET_KEY',
|
||||
volcSKMessage: '请输入VOLC_SECRET_KEY',
|
||||
},
|
||||
message: {
|
||||
registered: '注册成功',
|
||||
|
||||
Reference in New Issue
Block a user