Skip to content

The OpenAI Playground - ChatGPT Clone with Shiny application is built using the R programming language and the Shiny framework.

Notifications You must be signed in to change notification settings

tolgakurtuluss/shinychatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ShinyChatGPT - OpenAI ChatGPT Clone with Shiny

A user-friendly AI playground for interacting with OpenAI’s GPT models, built using the R programming language and Shiny framework.

The ShinyChatGPT application allows users to chat with an AI assistant in real-time. Whether you're exploring AI capabilities, testing various models, or simply curious about AI interactions, this app provides a seamless chat-like interface for accessing GPT responses. Customizable model and response settings offer a personalized AI experience.


🌟 Key Features

🔑 API Key Input

To enable the assistant, users need to enter their OpenAI API key. This key connects directly to the OpenAI API, giving you access to the full functionality of your chosen GPT model.

🧠 Model Selection

Select from a range of models, including:

  • GPT-4
  • GPT-4-0314
  • GPT-3.5-Turbo-0301
  • GPT-3.5-Turbo

Each model has unique capabilities, balancing complexity and response times based on your needs.

🎛 Adjustable Settings

  • Temperature Control: Adjust the randomness of responses; a higher value (closer to 1.0) makes outputs more diverse, while a lower value (closer to 0.1) makes them more focused.
  • Max Length: Customize the length of AI responses to keep interactions brief or allow detailed answers.
  • System Prompt: Set the tone and behavior of the AI with a custom system message for a more guided experience.

💬 Real-time Chat Interface

Engage with the AI through an interactive chat interface that displays a detailed history of user and AI exchanges. Additionally:

  • Clear Chat History: Start fresh with a new conversation.
  • Download Chat History: Save your chat history as a text file to review or analyze later.

🚀 Try It Out on shinyapps.io

Experience ShinyChatGPT live on Shinyapps.io!

👉 Launch the App on shinyapps.io


🔧 How to Use

  1. Enter API Key: Paste your OpenAI API key into the designated field. Don’t have one? Get an API key here.
  2. Select Model: Choose a model that suits your needs. The default model is gpt-3.5-turbo.
  3. Set Parameters: Adjust settings like temperature, max response length, and system prompt to customize the AI's responses.
  4. Start Chatting: Type your messages, click "Send," and enjoy the conversation!

🌐 Interface Overview

Interface Example

The clean and intuitive UI is designed to make interactions seamless and visually appealing.


📝 Additional Information


Contribution

Contributions, bug reports, and feature requests are welcome! Please fork the repository and submit a pull request to improve ShinyChatGPT further.


Let ShinyChatGPT be your entry into the world of conversational AI – designed to be intuitive, customizable, and powerful!

About

The OpenAI Playground - ChatGPT Clone with Shiny application is built using the R programming language and the Shiny framework.

Topics

Resources

Stars

Watchers

Forks

Languages