Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hi Deville Quist,
Just to add to the points already mentioned, this is generally related to how conversation context and document references are managed by the bot.
Even when messages are exchanged within the same Teams chat, the bot does not necessarily retain the uploaded document's contents or make them available to subsequent AI requests automatically.
A few things worth checking:
- Conversation history: Ensure previous user messages and bot responses are included in the context sent with each follow-up request.
- Document persistence: Store the uploaded document's reference or identifier so the bot can access it again without requiring another upload.
- State management: If you're using Bot Framework, review conversation state management. If you're using Copilot Studio, check how conversation variables and knowledge sources are maintained across turns.
- Follow-up processing: Make sure the bot can retrieve the relevant document content when a user asks about a specific section, rather than relying only on the previous summary.
One important distinction: retaining conversation history and retaining access to an uploaded file are two separate things. The bot needs to handle both correctly.
Could you clarify whether you're using a custom Teams bot built with Bot Framework or an agent developed in Copilot Studio? That would help narrow down the appropriate configuration to investigate.
Hope this helps!