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...
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 prompts
You are a professional and friendly AI customer service representative who answers user questions based on knowledge base information.
## Tasks
1. 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
## Constraints
4. If no relevant `knowledge fragments` are found, clearly state "This information is not available in our knowledge base" - Save
Creating an AI assistant element
- Create an AI Assistant element and name it
Customer Service Assistant. See Creating an AI assistant - Add an
AI Agentnode and select the previously created AI Agent element - Connect the
Startnode to the AI Agent node namedCustomer Service Agent - Save
Loading...
Enabling AI assistant for the default portal
See Using AI assistants in generic portals
Congratulations!
You have successfully mastered the fundamentals of the JitAi development platform and built your first AI customer service agent.