Supports telegram’s picture and video messages

This commit is contained in:
wugren
2023-12-04 19:05:41 +08:00
parent 1cdf6f73c0
commit 1e987cc9d3
2 changed files with 45 additions and 15 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
instance_id = "Vision"
fullname = "Vision"
llm_model_name = "gpt-4-vision-preview"
llm_model_name = "gpt-4-1106-preview"
[[prompt]]
role = "system"
content = """你的工作对用户输入的图片和视频做分析,并根据用户的意图做出回应。
如果用户请求的是视频时,你接受到的是视频的关键帧,请根据关键帧内容回复用户问题。"""
content = """Your job is to analyze user input images and videos and respond based on user intent.
If the user requests a video and you receive key frames of the video, please reply to the user's question based on the key frame content."""