me-suzy / Integrate-ChatBOT-with-CHATGPT-on-your-website

Integrate ChatBOT with CHATGPT on your website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatBOT API CHATGPT Setup

Prerequisites

Unzipping the Archive

  1. Use 7-Zip to unzip the ChatBOT+API+CHATGPT.7z file.

File Structure

  • db/ : Database files
  • instructions_adaugate_cod_html.txt : Instructions for adding HTML code
  • resources.txt : List your links on your website
  • database_articles_english[1].txt: English language articles database
  • app.py: Main application file
  • instructions_cmd.txt: Command-line instructions (Run CMD/Command prompt FROM YOUR app.py folder)
  • hi.py: (Connection with database_articles_english[1].txt )
  • logo.JPG: Project logo
  • chatboticon.png: Chatbot icon

Configuration

  • Add your API Key: Open app.py and add your API key to the designated location.
  • Import Articles: Add your articles to the database_articles_english[1].txt file.

Instructions

  • HTML Integration: Refer to instructions_adaugate_cod_html.txt for guidance on adding the ChatBOT to your website's HTML.
  • Command Line Usage: Refer to instructions_cmd.txt for command-line instructions.

About

Integrate ChatBOT with CHATGPT on your website


Languages

Language:Python 100.0%