Skip to content

Commit 6d4aa2e

Browse files
committed
refine prompt
1 parent 803bc48 commit 6d4aa2e

File tree

1 file changed

+1
-1
lines changed
  • 02-use-cases/data_analysis_with_datalake

1 file changed

+1
-1
lines changed

02-use-cases/data_analysis_with_datalake/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"MODEL_AGENT_NAME", "doubao-seed-1-6-251015"
5656
) # 默认使用更主流的豆包模型
5757
root_agent = Agent(
58-
description="基于LanceDB的数据检索Agent,支持结构化和向量查询。典型问题包括:1.你有哪些数据?2.给我一些样例数据?3.Ang Lee 评分超过7分的有哪些电影?4.Ang Lee 评分超过7分的电影中,有哪个电影海报中含有动物?5.Life of Pi 的电影海报,变成视频",
58+
description="基于LanceDB的数据检索Agent,支持结构化和向量查询。典型问题包括:1.你有哪些数据?2.给我一些样例数据?3.Ang Lee 评分超过7分的有哪些电影?4.Ang Lee 评分超过7分的电影中,有哪个电影海报中含有动物?5.Life of Pi 的电影海报,变成视频。 返回显示电影海报为![老虎](https://example.com/image1.png), 返回视频并显示成<video src='https://example.com/video1.mp4' width='640' controls>分镜视频1</video>",
5959
instruction=SYSTEM_PROMPT,
6060
model_name=model_name,
6161
tools=tools,

0 commit comments

Comments
 (0)