Skip to content

Welcome to the PHP-Based-AI-Chatbot repository! This project is designed to help you create a simple chatbot using PHP, inspired by the repository AI-CHATBOT-Wordpress by hassancs91, with some customizations to better suit specific needs.

License

Notifications You must be signed in to change notification settings

virtualabishek/phpChatProject

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-Based AI Chatbot

Welcome to the PHP-Based-AI-Chatbot repository! This project is designed to help you create a simple chatbot using PHP, inspired by the repository AI-CHATBOT-Wordpress by hassancs91, with some customizations to better suit specific needs.

Overview

This repository contains the necessary files to integrate a basic AI chatbot powered by OpenAI into your web projects. It includes both the front-end and back-end components to get your chatbot up and running.

Files Included:

  1. AI Chatbot.html (Frontend)

    • This file contains the HTML, CSS, and JavaScript necessary to display the chatbot on your webpage. Simply open it in any browser to view and interact with the chatbot interface.
  2. Config.php (Backend)

    • The Config.php file handles the backend functionality by connecting to the OpenAI API. This file stores the history of the last chat session (which can be customized) and contains configuration settings for the OpenAI system role.
    • You can use this file to set up your OpenAI API connection and customize the chat session parameters to fit your needs.

Future Improvements

In the future, there may be additional features, including the implementation of RAG (Retrieval-Augmented Generation) to help the chatbot reference the most up-to-date and relevant data. This could also contribute to reducing token usage and optimizing costs.

WordPress Installation

If you're looking to install this chatbot on a WordPress site, you can refer to this Medium for guidance on how to integrate it within a WordPress environment.

Conclusion

Thank you for checking out this project! Feel free to contribute, provide feedback, or suggest improvements. This repository is a work in progress, and your support is greatly appreciated.

PHP Project of avinash.

About

Welcome to the PHP-Based-AI-Chatbot repository! This project is designed to help you create a simple chatbot using PHP, inspired by the repository AI-CHATBOT-Wordpress by hassancs91, with some customizations to better suit specific needs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 51.4%
  • CSS 21.4%
  • JavaScript 21.4%
  • PHP 5.8%