Skip to content

Commit ad9cf1e

Browse files
Inconsistent response issue fix
1 parent 56e6e0f commit ad9cf1e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

infra/scripts/agent_scripts/01_create_agents.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ async def create_agents():
5555
ONLY ANSWER WITH DATA THAT IS RETURNED FROM THE AZURE SEARCH SERVICE! DO NOT MAKE UP FAKE DATA.
5656
5757
If you don't find any information in the knowledge source, please say no data found.
58-
"""
58+
59+
IMPORTANT: Always include the product image in your response using markdown format: ![Product Name](image_url)
60+
The image URL is available in the 'image' field of each product from the search results.
61+
"""
5962
product_agent = await provider.create_agent(
6063
name=f"product-agent-{solutionName}",
6164
model=gptModelName,

0 commit comments

Comments
 (0)