AI & Agents
Building a Conversational Agent for Job Aids (RAG Use Case)
December 11, 2024 · 3 min read · Ash Santhanam
What if you could turn dense documentation into an always-on assistant that provides quick, contextual answers to complex questions? An agent that lives and breathes the domain and shares always up to date information with its users. That was the idea behind creating an AI-powered conversational agent that we created at a large Utility customer — and with the Microsoft Co-Pilot studio, this was a task made super easy.
Step 1: Focus on the Need
Every project begins with a problem to solve. For this conversational agent, the challenge was clear: team members needed reliable, on-demand answers to questions without the friction of searching through countless documents.
How can we reduce the time spent looking for information and increase the confidence in the answers provided?
The solution had to: understand the nuances of specific processes, deliver clear, accurate answers based on trusted documentation, and be intuitive and fast enough for everyday use.
The first step was to describe the agent's purpose. Microsoft Co-Pilot Studio provided an intuitive interface for this. Using everyday language, the agent's role was clarified to help users navigate their job aids efficiently.
Step 2: Build with Simplicity
Microsoft Co-Pilot Studio made the process refreshingly straightforward. The interface guided through setting up the agent in just a few steps: Name and Purpose — the agent "JobAidAgent" was named and its role defined. Knowledge Integration — documents were uploaded and the agent was configured to use them as the source of truth. Response Confidence — the agent was instructed to always provide a confidence score, ensuring users could trust its responses.
The user-friendly platform made it easy to create a robust conversational interface without extensive technical expertise.
Step 3: Add the Knowledge Base
Instead of diving into complex integrations or custom code, Co-Pilot allowed for simply uploading a collection of job aids and process documents. These became the foundation of the agent's knowledge.
Microsoft Co-Pilot Studio allowed documents to be uploaded directly to build the agent's knowledge base. By enabling AI to use these documents, the agent was equipped to retrieve and synthesize information effectively. You can upload all the files you need or simply link to an existing SharePoint link.
Step 4: Test, Iterate, Refine
The real magic happened during testing. Co-Pilot Studio's built-in testing environment allowed simulation of questions like, "How do I update a revenue class?" The agent's responses were not only accurate but structured step-by-step: log in to the system with your credentials, navigate to the "Revenue Class Management" section, select and edit the relevant revenue class, make necessary changes and save updates.
This iterative process revealed areas for refinement, such as improving the agent's handling of ambiguous queries or prompting for more context when needed.
Lessons Learned
This project reinforced an important lesson: simplicity scales. By starting with a clear focus and leveraging tools like Microsoft Co-Pilot Studio, unnecessary complexity was avoided while delivering immediate value.
Challenges overcome included: overlapping contexts (clear segmentation of topics ensured the agent retrieved the most relevant information), ambiguity in queries (training the agent to ask clarifying questions improved user satisfaction), and knowledge gaps (escalation workflows ensured unresolved questions didn't become roadblocks).