[8.1.0][adas] 新增VLLM 接口,新增VLLM图像接口,VLLM数据与VLLM图像创建同一个新线程

This commit is contained in:
xinfengkun
2025-06-19 11:01:29 +08:00
parent b63a24dc73
commit ac89e55d06
12 changed files with 288 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
package com.mogo.eagle.core.function.api.autopilot
import vllm.Vlm
/**
* 视觉语言模型
*/
interface IVlmListener {
/**
* 视觉语言模型数据
*
* @param sourceTimestamp 数据源时间戳 vlm数据与vlm图像的数据源时间戳完全一致则表示为同一条数据
* @param vllm 数据
*/
fun onVllm(sourceTimestamp: Double, vllm: Vlm.VLLMObject)
/**
* 视觉语言模型图像
*
* @param sourceTimestamp 数据源时间戳 vlm数据与vlm图像的数据源时间戳完全一致则表示为同一条数据
* @param image 数据
*/
fun onVllmImage(sourceTimestamp: Double, image: ByteArray)
}