appai-dev / sarcasmio

Sarcasm bot, used as a simple example to see how prompts and the OpenAI API work

Home Page:https://sarcasmio.appai.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sarcasmio

As artificial intelligence has continued to revolutionize the way we interact with technology, we ask the important sarcastic questions like why? And WTF is OpenAI API? Are we all going to be put out of a job soon? In order to better understand its capabilities, I decided to explore how sarcastic the OpenAI API is. With the goal of the project to see just how easy and effective is to build a quick app to see how sarcastic it could get.

Installation

Before getting started, make sure you have Node.js installed on your system.

  1. Clone the repository:

git clone https://github.com/your-username/Sarcasmio.git

  1. Navigate to the project directory:

cd Sarcasmio

  1. Install the dependencies:

npm install

Configuration

Create a .env file in the root directory of the project and add the following environment variables:

OPENAI_API_KEY=your_openai_api_key

Replace your_openai_api_key with your actual OpenAI API key, which you can obtain from the OpenAI Developer Dashboard.

In addition to the OpenAI API key, you will need to set up a Firebase project and obtain the necessary credentials. Please follow the instructions in the Firebase documentation to set up a project and obtain the required configuration values.

Usage

To start the application, simply run:

npm start

Visit http://localhost:3000 in your browser to interact with Sarcasmio and explore its humorous capabilities.

Contributing

We welcome contributions! If you'd like to contribute to the project, please follow these steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b your-feature-branch
  3. Commit your changes: git commit -am 'Add your feature description'
  4. Push to the branch: git push origin your-feature-branch
  5. Create a new Pull Request

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Sarcasm bot, used as a simple example to see how prompts and the OpenAI API work

https://sarcasmio.appai.dev

License:MIT License


Languages

Language:JavaScript 52.1%Language:CSS 47.9%