2026-05-11 11:24:03 +08:00
2026-05-09 15:53:43 +08:00
2026-05-09 15:53:43 +08:00
2026-05-11 11:24:03 +08:00

Doris

因VM CPU不支持AVX2指令集需要构建最新版本4.1Doris-noavx2镜像此版本对比正常版本性能会低一些

VM信息

VM Service Port
6.86.80.12 Doris FE 9030mysql port8030http port
6.86.80.13 Doris BE 9050health

http://6.86.80.12:8030 admin/无密码

Resource配置

创建AI Resource语句以下Resource已创建好相关函数使用参考 Doris官网

CREATE RESOURCE 'deepseek_v3'
PROPERTIES (
    'type' = 'ai',
    'ai.provider_type' = 'openai',
    'ai.endpoint' = 'http://6.86.80.4:30080/v1/chat/completions',
    'ai.model_name' = 'deepseek-v3.2',
    'ai.temperature' = '0.7',
    'ai.max_retries' = '3',
    'ai.api_key' = 'sk-5HeY7gfSIlyZMacfuXOf5cphpymsNqufEu1ou4U3avbULcyY'
);

SELECT AI_GENERATE('deepseek_v3', 'Hello') AS Result;
Description
No description provided
Readme 34 KiB
Languages
Dockerfile 100%