Skip to content

Commit a3e7cdb

Browse files
authored
Update ai-agents.md
1 parent c89b9ce commit a3e7cdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/cosmos-db/ai-agents.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ export default function ChatLayout(messages) {
777777
User prompts are on the right side and colored blue, while the Travel AI Agent responses are on the left side and colored green. As you can see in the image below, the HTML formatted responses are accounted for in the conversation.
778778
:::image type="content" source="media/gen-ai/ai-agent/chat-screenshot.png" lightbox="media/gen-ai/ai-agent/chat-screenshot.png" alt-text="Chat Screenshot":::
779779

780+
When your AI agent is ready go to into production, you can improve query performance by 80% and reduce costs by using semantic caching. See this blog post for how to implement [semantic caching](https://stochasticcoder.com/2024/03/22/improve-llm-performance-using-semantic-cache-with-cosmos-db/).
781+
:::image type="content" source="media/gen-ai/ai-agent/semantic-caching.png" lightbox="media/gen-ai/ai-agent/semantic-caching.png" alt-text="Semantic Caching":::
780782

781783
### Next steps
782784

0 commit comments

Comments
 (0)