ragflow/web
petertc 4694604836
Specify img2text model by tag (#5063)
### What problem does this PR solve?

The current design is not well-suited for multimodal models, as each
model can only be configured for a single purpose—either chat or
Img2txt. To work around this limitation, we use model aliases such as
gpt-4o-mini and gpt-4o-mini-2024-07-18.

To fix this, this PR allows specifying the Img2txt model by tag instead
of model_type.

### Type of change
- [x] Refactoring
2025-02-18 11:14:48 +08:00
..
.husky feat: format code before submitting it #1251 (#1252) 2024-06-24 14:48:21 +08:00
public feat: display chunk token number when category of knowledge as general and unavailable llm models appear disabled and if the backend returns 401, it will jump to the login page and fixed the issue where the greeting would disappear when clicking on a new dialog (#117) 2024-03-11 16:13:34 +08:00
src Specify img2text model by tag (#5063) 2025-02-18 11:14:48 +08:00
.env feat: Support for conversational streaming (#809) 2024-05-16 20:15:02 +08:00
.eslintrc.js feat: set chunk to available state and select all chunk (#57) 2024-02-06 18:45:20 +08:00
.gitignore Format file format from Windows/dos to Unix (#1949) 2024-08-15 09:17:36 +08:00
.npmrc Fix: Limit node version #3547 (#3563) 2024-11-21 18:14:22 +08:00
.prettierignore feat: install prettier to format code and add react-dev-inspector to locate code in the IDE faster (#44) 2024-01-29 15:02:27 +08:00
.prettierrc Feat: Add background to next login page #3221 (#4474) 2025-01-14 13:43:18 +08:00
.umirc.ts Feat: Add VariablePickerMenuPlugin to select variables in the prompt text box by menu #4764 (#4765) 2025-02-08 18:09:13 +08:00
externals.d.ts fix: cannot save the system model setting #468 (#508) 2024-04-23 17:46:56 +08:00
jest-setup.ts feat: test buildNodesAndEdgesFromDSLComponents (#940) 2024-05-27 19:35:14 +08:00
jest.config.ts feat: test buildNodesAndEdgesFromDSLComponents (#940) 2024-05-27 19:35:14 +08:00
package-lock.json Feat: Add VariablePickerMenuPlugin to select variables in the prompt text box by menu #4764 (#4765) 2025-02-08 18:09:13 +08:00
package.json Feat: Add VariablePickerMenuPlugin to select variables in the prompt text box by menu #4764 (#4765) 2025-02-08 18:09:13 +08:00
tailwind.config.js Feat: Add ChatInput component #3221 (#4915) 2025-02-12 19:32:49 +08:00
tailwind.css Feat: Add ChatInput component #3221 (#4915) 2025-02-12 19:32:49 +08:00
tsconfig.json feat: Configure the root directory alias #1739 (#2875) 2024-10-17 11:36:01 +08:00
typings.d.ts Feat: Add FilesTable #3221 (#4491) 2025-01-15 14:39:33 +08:00