Skip to content

Conversation

@Pavan-Microsoft
Copy link
Contributor

Purpose

This pull request introduces updates to improve conversational context handling and adjusts the truncation strategy for chat history. The changes aim to enhance the user experience in conversation-based interactions and ensure more relevant context is retained during streaming responses.

Improvements to conversational context handling:

  • src/api/agents/conversation_agent_factory.py: Updated instructions to allow the use of prior conversation history for understanding context and clarifying follow-up questions. Added guidance to respond appropriately to conversational queries like greetings or follow-ups.

Adjustments to truncation strategy:

  • src/api/services/chat_service.py: Modified the truncation_strategy to retain the last 4 messages instead of 2, ensuring more context is preserved during streaming responses.

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

Atulku-Microsoft and others added 24 commits June 25, 2025 17:17
add new section
update the back link
removed extra space
feat: Add aiDeploymentsLocation parameter to Bicep deployment in deploy-KMGeneric.yml
docs: Update links for re-use-log-analytics.md file
feat: Add Broken Link Checker workflow for Markdown files
fix: added proper path for all files
@Avijit-Microsoft Avijit-Microsoft merged commit ccc7e37 into dev Jul 8, 2025
6 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Jul 9, 2025

🎉 This PR is included in version 3.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Pavan-Microsoft Pavan-Microsoft deleted the psl-pk-km-sqlagent branch July 14, 2025 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants