How to Configure AskTable's Model
Overview of this page After completing the basic deployment of AskTable, you can customize the AI model used through a simple configuration file. This guide will help you quickly complete the model configuration.
Creating the Configuration File
In the same directory as the docker-compose.yaml file, create a file named asktable-models.yaml and enter the following content:
default:
name: AskTable Default Model (Recommended)
fast: asktable-fast
omni: asktable-omni
agent: asktable-agent
sql: asktable-sql
deepseek:
name: DeepSeek (Recommended)
fast: deepseek-v3.2
omni: deepseek-v3.2
agent: deepseek-v3.2
sql: deepseek-v3.2
qwen3:
name: Alibaba Qwen 3 (Recommended)
fast: qwen3-30b
omni: qwen3-235b
agent: qwen3-235b
sql: qwen3-coder-480b
Explanation:
fast: Fast question-answering modelomni: General analysis modelagent: Agent reasoning modelsql: SQL generation and analysis model
Mounting the Configuration File
Under services: asktable in the docker-compose.yaml file, find the volumes configuration and add the following mount:
volumes:
- ./asktable-models.yaml:/etc/asktable-models.yaml
This will map asktable-models.yaml to /etc/asktable-models.yaml inside the container for use by AskTable.
Restarting the Service
After making changes, go to the directory containing docker-compose.yaml and run the following commands to apply the configuration:
docker compose down
docker compose up -d
At this point, AskTable will automatically load the model configuration you have defined.
Verifying the Model Configuration
After restarting, log in to the AskTable management console and go to the "Project Settings" page. Scroll down, and you should see the newly added model options. If it does not take effect, check the following points:
- Confirm that the path and content of the
asktable-models.yamlfile are correct. - Confirm that the configuration file has been correctly mounted in
docker-compose.yaml. - Execute
docker logs asktableto check for any errors related to loading the model in the logs.
Notes
- Recommended Combination: It is recommended to use the
AskTable Default ModelorDeepSeek, which have been verified in more scenarios. If you need other models, please contact AskTable technical support. - Version Updates: When updating the AskTable version, make sure the
asktable-models.yamlfile is still mounted.
🎉 Congratulations! You have completed the configuration of AskTable's model. Now you can flexibly switch and use various models according to your needs.