Skip to content

A Python script using Tkinter to create a simple GUI application that interacts with the OpenAI GPT model via a command-line tool, allowing users to ask questions and receive answers, with automatic word wrapping and custom icon.

Notifications You must be signed in to change notification settings

janvanderwijktech/JGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JGPT

JGPT: Interactive OpenAI GPT-3 Powered GUI Application

A Python script using Tkinter to create a simple GUI application that interacts with the OpenAI GPT model via a command-line tool, allowing users to ask questions and receive answers, with automatic word wrapping and custom icon. Many credits to @aandrew-me https://github.com/aandrew-me/tgpt JGPT is an interactive GUI application built using Python and Tkinter that leverages the power of OpenAI's GPT model to provide natural language processing capabilities. With JGPT, users can easily ask questions or provide prompts via a simple graphical interface and receive responses generated by the GPT model.

Features: User-Friendly Interface: JGPT offers a clean and intuitive user interface, making it accessible to users of all levels of technical proficiency. Question-Answer Interaction: Users can input questions or prompts in a text field and receive generated responses in real-time. Word Wrapping: Long responses are automatically wrapped to fit within the text box, ensuring readability. Custom Icon: The application comes with a custom icon, adding a personal touch to the user experience. How It Works: Enter your question or prompt in the input field. Click the "Generate Answer" button or press CTRL + ENTER to trigger the GPT model to generate a response. The response will be displayed in the output text box, allowing you to read and interact with it. Repeat the process to ask additional questions or provide new prompts. Usage: To use JGPT, simply run the Python script provided in this repository. Make sure you have the necessary dependencies installed, including Tkinter and the OpenAI GPT command-line tool (tgpt). You may need to customize the script to point to the location of your tgpt executable.

Requirements: Python 3.x Tkinter (usually included with Python installations) OpenAI GPT command-line tool (tgpt) Contributions: Contributions to JGPT are welcome! If you have ideas for new features, improvements, or bug fixes, feel free to submit a pull request or open an issue on GitHub.

License: This project is licensed under the MIT License, allowing for open collaboration and modification.

Acknowledgments: JGPT was inspired by the need for a simple yet powerful tool to interact with the GPT model in a graphical manner. Special thanks to the developers of Tkinter and the OpenAI GPT model for providing the tools and resources necessary to create this application.

About

A Python script using Tkinter to create a simple GUI application that interacts with the OpenAI GPT model via a command-line tool, allowing users to ask questions and receive answers, with automatic word wrapping and custom icon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages