TalkTua is a AI-powered chatbot designed to assist users with various inquiries. It integrates seamlessly with Vultr's serverless infrastructure for efficient inference, ensuring fast and reliable responses.
- Serverless Inference: Utilizes Vultr’s serverless solution for handling AI inference tasks, offering scalable and cost-effective processing.
- Seamless Integration: Can be embedded into websites via an iframe, making it easy to integrate into different platforms.
- Vultr Serverless: The chatbot uses Vultr's serverless solution for handling AI inference. This allows for easy scalability and efficient resource usage.
- Laravel: The backend framework used to manage the chatbot’s operations and API requests.
- Vue.js: The frontend technology used to build the chatbot interface.
- Axios: For making API requests from the frontend to the serverless API.
To run the project locally, follow these steps:
Before you begin, make sure you have the following installed on your machine:
- PHP (for Laravel)
- Composer (for managing PHP dependencies)
- Node.js and npm (for frontend dependencies)
- Git (for version control)
-
Clone the repository to your local machine:
git clone https://github.com/Aviralansh/TalkTua.git cd TalkTua
-
Navigate to the backend directory and install the required PHP dependencies:
cd backend composer install -
Copy the
.env.examplefile to.env:cp .env.example .env
-
Set up your database and other environment variables in the
.envfile. -
Generate the application key:
php artisan key:generate
-
Run the Laravel development server:
php artisan serve
This will start the Laravel server on
http://localhost:8000.
-
Navigate to the frontend directory and install the required Node.js dependencies:
cd frontend npm install -
Start the Vue.js development server:
npm run serve
This will start the frontend on
http://localhost:8080.
Once both the backend and frontend are up and running, you should be able to access the chatbot at:
- Frontend:
http://localhost:8080 - Backend:
http://localhost:8000
Make sure to configure the frontend to send requests to the correct backend endpoint if necessary.
This project is open-source and available under the MIT License.