[8.1.0][adas] 新增VLLM 接口,新增VLLM图像接口,VLLM数据与VLLM图像创建同一个新线程
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user