8000 GitHub - messified/chatgpt-plugin-nestjs: The plugin allows you to easily integrate ChatGPT into your NestJS applications
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

messified/chatgpt-plugin-nestjs

Repository files navigation

NestJS ChatGPT Plugin

This is a ChatGPT plugin built with NestJS for interacting with the OpenAI ChatGPT API. The plugin allows you to easily integrate ChatGPT into your NestJS applications, providing AI-driven natural language understanding and generation capabilities.

Features

  • ChatGPT service for generating responses based on user input

Prerequisites

  • Node.js >= 14.x
  • NestJS >= 8.x
  • An OpenAI API key

Installation

  1. Clone the repository:
$ git clone https://github.com/your-username/nestjs-chatgpt-plugin.git
  1. Change into the project directory:
$ cd nestjs-chatgpt-plugin
  1. Install the dependencies:
$ npm install
  1. Configure the OpenAI API key and JWT secret:

Create a .env file in the project root directory and add your OpenAI API key:

OPENAI_API_KEY=your_openai_api_key

Usage

  1. Start the NestJS application:
$ npm run start

Contributing

Contributions are welcome! Please feel free to submit a pull request, open an issue, or provide feedback.

License

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

About

The plugin allows you to easily integrate ChatGPT into your NestJS applications

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0