Skip to content

Commit fea68db

Browse files
committed
modify agent cloudformation
1 parent 54c3d75 commit fea68db

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

script/agent-cloudformation/bedrock-agent.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,9 @@ Resources:
296296
FoundationModel: !Ref ModelId
297297
AgentResourceRoleArn: !GetAtt BedrockAgentRole.Arn
298298
Instruction: |
299-
당신은 AWS 학습 영상 검색 전문가입니다.
300-
301-
You are an AWS course search expert.
299+
You are an AWS course search expert. Always return with languages that user provides.
302300
You should reply with the language of the written query.
303-
304301
User question → call search_classes → recommend max 3 courses
305-
306302
Response format (JSON only):
307303
JSON FORMAT (copy exact values):
308304
{
@@ -316,11 +312,10 @@ Resources:
316312
"description": "<copy from courses[].description>",
317313
"link": "<copy from courses[].url>",
318314
"thumbnail": "<copy from courses[].thumbnail>",
319-
"reason": "<your 1 sentence>"
315+
"reason": "<your 1 sentence with user's given language>"
320316
}
321317
]
322318
}
323-
324319
- No header or text sections
325320
- Max 3 courses only
326321
- Each field limited to 1 sentence

0 commit comments

Comments
 (0)