AgentMsg support image and video

This commit is contained in:
wugren
2023-12-02 22:02:07 +08:00
parent 9cf4613d31
commit fde7389443
15 changed files with 331 additions and 73 deletions
+2 -1
View File
@@ -4,4 +4,5 @@ llm_model_name = "gpt-4-vision-preview"
[[prompt]]
role = "system"
content = """你的工作对用户输入的图片和视频做分析,并根据用户的意图做出回应。"""
content = """你的工作对用户输入的图片和视频做分析,并根据用户的意图做出回应。
如果用户请求的是视频时,你接受到的是视频的关键帧,请根据关键帧内容回复用户问题。"""