Skip to content

klevercorrea/chat-ai

Repository files navigation

Chat AI

Welcome to Chat AI, an intelligent chat application powered by OpenAI's ChatGPT API and built with the Vercel AI SDK!

This application allows you to chat with a chat bot that leverages the power of OpenAI's ChatGPT model, integrated using the Vercel AI SDK. With natural language processing capabilities, the chat bot can provide responses to your queries, engage in conversations, and assist with various tasks.

Features

  • Conversational Interface: Interact with the chat bot through a user-friendly interface.
  • Intelligent Responses: Experience the power of OpenAI's ChatGPT model, which generates human-like responses.
  • Customizable Integration: Easily integrate the chat bot into your Next.js application for seamless communication.

Getting Started

To get started with Chat AI, follow the steps below:

  1. Clone this repository to your local machine.
  2. Install the dependencies by running the command npm install.
  3. Obtain an API key from OpenAI by signing up for their ChatGPT API.
  4. Update the configuration file with your API key.
  5. Start the application by running npm run dev.
  6. Access the application in your browser at http://localhost:3000.

Configuration

To configure the application, you need to provide your OpenAI ChatGPT API key. Follow the instructions below to set up your API key:

  1. # for the OpenAI ChatGPT API.
  2. Generate an API key from the OpenAI developer dashboard.
  3. Copy the API key and open the .env.example file in the project.
  4. Replace the placeholder value with your API key.
OPEN_AI_API_KEY="YOUR_OPENAI_API_KEY"

Contributing

Contributions are welcome! If you have any suggestions, improvements, or bug fixes, please submit a pull request. Make sure to follow the existing code style and include appropriate tests.

License

This project is licensed under the MIT License. Feel free to use and modify it according to your needs.

Disclaimer

The Chat AI application utilizes OpenAI's ChatGPT API, and its responses are generated based on the model's training data. While the application aims to provide useful and accurate responses, it may occasionally generate incorrect or nonsensical answers. Please use the information provided by the chat bot with caution and verify it through reliable sources when needed.

Acknowledgments

The Chat AI application was created using the Next.js framework. OpenAI for providing the ChatGPT API and enabling developers to build innovative applications. Thank you for using Chat AI! If you have any questions or feedback, please don't hesitate to reach out.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published