Prerequisites
- Download and install 7-Zip (free software): https://www.7-zip.org/
Unzipping the Archive
- Use 7-Zip to unzip the
ChatBOT+API+CHATGPT.7z
file.
File Structure
db/
: Database filesinstructions_adaugate_cod_html.txt
: Instructions for adding HTML coderesources.txt
: List your links on your websitedatabase_articles_english[1].txt
: English language articles databaseapp.py
: Main application fileinstructions_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 logochatboticon.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.