Skip to content

Commit a95227f

Browse files
Merge pull request #124 from microsoft/inconsistent-resp-fix
fix: Inconsistent response issue fix
2 parents 2839bb0 + ad9cf1e commit a95227f

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)