ragflow/api/apps
yungongzi eb51ad73d6
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)
2024-05-23 11:15:29 +08:00
..
__init__.py add redis to accelerate access of minio (#482) 2024-04-22 14:11:09 +08:00
api_app.py Add /api/document/rm function (#887) 2024-05-23 10:32:56 +08:00
chunk_app.py Refactor method name (#760) 2024-05-14 14:48:15 +08:00
conversation_app.py fix bug of chat without stream (#830) 2024-05-17 20:03:00 +08:00
dialog_app.py Refactor method name (#760) 2024-05-14 14:48:15 +08:00
document_app.py fix doc number miss-match issue (#822) 2024-05-17 15:35:09 +08:00
file2document_app.py fix doc number miss-match issue (#822) 2024-05-17 15:35:09 +08:00
file_app.py fix doc number miss-match issue (#822) 2024-05-17 15:35:09 +08:00
kb_app.py fix bug about removing KB. (#839) 2024-05-20 09:23:57 +08:00
llm_app.py Add support for VolcEngine - the current version supports SDK2 (#885) 2024-05-23 11:15:29 +08:00
system_app.py add stream chat (#811) 2024-05-16 20:14:53 +08:00
user_app.py fix import error (#877) 2024-05-22 16:14:53 +08:00