Giter VIP home page Giter VIP logo

ask-me-anything's Introduction

Ask-Me-Anything-chatbot-for-kids

Ask Me Anthing is a child-friendly chatbot that is specialized in three topics: Astronomy, Sneakers and Shoes, and Dinosaurs. It sends the user's query to the OpenAI API's ChatGPT model 3 and retrieves a response based on the user's age and topic selection. User input and AI-generated responses are then added to a conversation history file based on the user name and grade.

Features:

Implemented dynamic image updating functionality:

  1. The displayed image changes as the user selects a topic from the dropdown menu, providing a visual cue.
  2. Added functionality to the Submit, Clear, and Reset buttons:
  • Submit: Based on the user's selected age range and topic, this retrieves the user's input and generates an AI response using the OpenAI API. The AI response is then displayed in the Answer Box.
  • Clear: The input field and the AI response in the Answer Box are cleared when this button is clicked.
  • Reset: Input fields Name, Grade, Age Range, and Topic are reset to their default values, as well as the subject image.

Libraries and Dependencies:

Ask Me Anything requires the following libraries :

  • customtkinter: An enhanced version of tkinter with custom widgets. More info.
  • openai: The OpenAI Python client library for interacting with the OpenAI API. More info.
  • Pillow (PIL): The Python Imaging Library, used for image processing tasks. More info.

Installing Dependencies

To install these dependencies, you can typically use a package manager like pip for Python projects.

  • pip install customtkinter

ask-me-anything's People

Contributors

saniavn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.