November 10, 2024
7 min read
Chulho Baek
November 10, 2024
7 min read
At Twigfarm, we recognized the challenge new employees face when adjusting to a new company. From learning about organizational culture and tools to understanding policies and workflows, there’s a lot to absorb in a short time. Traditional onboarding often lacks consistency and scalability.
To address this, we developed Twigmate — an AI-powered onboarding chatbot designed specifically to support new hires with immediate, accurate, and contextual responses using internal documents and company knowledge.
This project branched off from our existing Twigfarm Copilot, focusing on narrowing the scope to deliver more relevant answers tailored to onboarding needs.
We designed Twigmate with a practical, serverless architecture to optimize both performance and maintainability:
Employees can access Twigmate through a hosted URL and even view and manage source files via a keyboard shortcut (Ctrl + Shift + .
).
The original Copilot chatbot had a broad knowledge scope, which occasionally led to irrelevant or overly generic answers for onboarding-specific questions.
This created confusion for new employees asking simple, repetitive questions such as:
“Where can I find information about vacation policies?”
“How do I join a Slack channel?”
“What’s the process for expense reimbursement?”
Without precise filtering, responses lacked clarity and sometimes delivered outdated or unrelated information.
We limited document retrieval to a curated set of onboarding-related PDFs:
This reduced hallucinations and significantly improved answer relevance.
We tested eight LLMs using 13 real onboarding queries. Each was evaluated on:
Result: GPT-4o was selected as the base model for production due to its performance consistency and manageable cost.
We compiled a list of common questions from actual new hires and ran multiple prompt tuning iterations for each to ensure the chatbot:
This project showcases a real-world application of LLM+RAG for internal knowledge access. It demonstrates how companies can move beyond general-purpose chatbots and instead build domain-specific, high-utility assistants that serve real organizational needs. If you’re considering building one for your team, starting with onboarding is a great first step.
November 10, 2024
7 min read