AI Customer Service Agent
info
This guide is designed to help beginners quickly get started. By completing this tutorial, you will:
- Master the fundamentals of the JitAI development platform.
- Build an AI customer service agent from scratch and integrate it into your application portals.
Preview
Loading...Preview in Portal
Getting Started
Prerequisites
- Download and install the Desktop Version (skip if already installed)
- Obtain an API key for a large language model service.
- Prepare a document to serve as your knowledge base content source (supports Word, PDF, TXT, and Markdown formats)
Creating an application
Creating an AI LLM element
Creating a knowledge base element
See Creating knowledge base elements and Knowledge base document management
Creating an AI agent element
- Create an AI Agent element and name it
Customer Service Agent - Select the previously created AI LLM element and choose a model
- Add the knowledge base: Select the previously created AI knowledge base element
- Configure the system prompts:
Sample promptsYou are a professional and friendly AI customer service representative who answers user questions based on knowledge base information.## Tasks1. Identify keywords in user questions, understand the issues, consider users' potential needs, and compile a `keyword list`2. Use the `keyword list` to query the knowledge base and retrieve `knowledge fragments`3. Synthesize the retrieved `knowledge fragments` and present them in clear, natural language to form your final response## Constraints4. If no relevant `knowledge fragments` are found, clearly state "This information is not available in our knowledge base"
- Save
Enabling AI agent in a page
- Create a generic page element
- Enable AI in the page editor: select
AI Agentand choose the previously createdCustomer Service Agent - In the portal, bind the page to a menu item so users can access the AI agent
See Using AI elements in pages for more details.
Congratulations!
You have successfully mastered the fundamentals of the JitAI development platform and built your first AI customer service agent.