Multimodal Support in DB-GPT
DB-GPT supports multimodal capabilities, allowing you to work with various data types such as text, images, and audio. This guide will help you set up and use multimodal features in DB-GPT.
This guide includes run local model and proxy model.
Run Local Model
In this section, we will use the Kimi-VL-A3B-Thinking model as an example to demonstrate how to run a local multimodal model.
Step 1: Install Dependencies
Make sure you have the required dependencies installed. You can do this by running:
uv sync --all-packages \
--extra "base" \
--extra "hf" \
--extra "cuda121" \
--extra "rag" \
--extra "storage_chromadb" \
--extra "quant_bnb" \
--extra "dbgpts" \
--extra "model_vl" \
--extra "hf_kimi"
Step 2: Modify Configuration File
After installing the dependencies, you can modify your configuration file to use the Kimi-VL-A3B-Thinking model.
You can create a new configuration file or modify an existing one. Below is an example configuration file:
# Model Configurations
[models]
[[models.llms]]
name = "moonshotai/Kimi-VL-A3B-Thinking"
provider = "hf"
# If not provided, the model will be downloaded from the Hugging Face model hub
# uncomment the following line to specify the model path in the local file system
# path = "the-model-path-in-the-local-file-system"