Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

headintheclouds Chatbot with OpenAI and Flask

Welcome to the headintheclouds Chatbot project, a tutorial-driven exploration into building a conversational interface using OpenAI's GPT-3.5 Turbo and the Flask web framework.

Introduction

In a world increasingly driven by interactive user experiences, integrating chatbots has become a powerful solution. This tutorial guides you through the creation of a chatbot that not only responds dynamically but also evolves its conversational abilities using the state-of-the-art GPT-3.5 Turbo from OpenAI. The lightweight Flask web framework provides the foundation for a responsive and engaging user interface.

Features

  • Seamless integration of OpenAI's GPT-3.5 Turbo.
  • Responsive web interface with Flask.
  • Real-time interactivity with JavaScript.
  • Session management for context-aware conversations.
  • Server-side logging for monitoring and debugging.

Getting Started

Follow these steps to set up and run the project on your local machine:

  1. Clone the Repository:
    git clone git@github.com:mili-sucevic/hitc-python-chatbot.git
    cd hitc-python-chatbot
    
  2. Install Dependencies:
    pip install -r requirements.txt
    
  3. Run the Flask App:
    python app.py
    
    

Access the Web Interface:

Open your web browser and go to http://localhost:7000/.

  1. Usage
  • Input messages in the provided text field.
  • Click the "Send" button to interact with the chatbot.
  • Explore real-time responses and a dynamic conversation flow.
  • Clear chat history using the "Clear History" button.
  1. Next Steps Experiment with different GPT-3.5 Turbo prompts for varied responses. Enhance user experience with additional features like authentication. Deploy the chatbot to a production environment for broader accessibility.

  2. Contributing Feel free to contribute by opening issues, providing feedback, or submitting pull requests. Your contributions are highly valued.

  3. License This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages