The AI Assistant is designed to simplify the lead generation and registration process for chatbots, providing a more natural, conversational experience. It captures leads, stores them in a database for human review, and uses LLM-based conversation history for automatic stage and state management.
- Natural Conversation Flow: Users can register effortlessly through dialogue, making the process intuitive and user-friendly.
- Lead Capture: Captures user leads during the conversation and saves them to a database.
- Automatic State Management: Utilizes conversation history to automatically manage the registration process stages.
- Human Review: Allows human reviewers to access and manage leads captured by the AI assistant.
- Node.js: For server-side logic and API development.
- LangChain: For handling language model interactions.
- MongoDB: For lead data storage and management.
- Express.js: To create the API endpoints.
To set up the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/omryzw/leadBot.git cd leadBot
-
npm install && npm run start
- Check out env.example.txt to set up your env file
{
"userMessage": "Hello, I want to register.",
"conversationId": "12345"
}