Skip to content

Aviralansh/TalkTua

Repository files navigation

TalkTua

Overview

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.

Features

  • 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.

Technologies Used

  • 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.

How to Build Locally

To run the project locally, follow these steps:

Prerequisites

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

  1. Clone the repository to your local machine:

    git clone https://github.com/Aviralansh/TalkTua.git
    cd TalkTua

Setting up the Backend (Laravel)

  1. Navigate to the backend directory and install the required PHP dependencies:

    cd backend
    composer install
  2. Copy the .env.example file to .env:

    cp .env.example .env
  3. Set up your database and other environment variables in the .env file.

  4. Generate the application key:

    php artisan key:generate
  5. Run the Laravel development server:

    php artisan serve

    This will start the Laravel server on http://localhost:8000.

Setting up the Frontend (Vue.js)

  1. Navigate to the frontend directory and install the required Node.js dependencies:

    cd frontend
    npm install
  2. Start the Vue.js development server:

    npm run serve

    This will start the frontend on http://localhost:8080.

Accessing the Chatbot

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.

License

This project is open-source and available under the MIT License.

About

A laravel based Chatbot UI which uses serverless inference

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors