0.1.5 • Published 11 months ago

serverless-chatgpt v0.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

serverless npm npm version MIT License PRs

Serverless ChatGPT Plugin

The Serverless ChatGPT Plugin makes it easy to create ChatGPT-based applications with minimal configuration. The plugin takes care of setting up the necessary configuration files and resources required by OpenAI, allowing you to focus on building engaging conversational experiences.

npm.io

Local File Serving

Our Serverless plugin now supports serving local files required by ChatGPT, facilitating quick integration with OpenAI on localhost.

Usage

Use the serverless-chatgpt-template GitHub template. Then, you can just start coding!

How it works

The serverless-chatgpt plugin automates the creation of OpenAI ChatGPT plugins, generating necessary files and creating a compliant Lambda function. It can be configured to work locally with serverless-offline, allowing for easy testing and debugging. npm.io

Then, add the serverless-offline plugin to the serverless.yaml file. This is required in order to serve locally your handler functions.

plugins:
  - serverless-offline
  - serverless-chatgpt

Run your Serverless application in offline mode (sls offline). The plugin will automatically serve these files at their respective endpoints.

The endpoint will be /.well-known/{name}. This endpoint will serve the files required for the chatgpt integration:

  • /.well-known/ai-plugin.json
  • /.well-known/openapi.yaml
  • /.well-known/logo.png

:information_source: This feature is particularly useful for testing your OpenAI integration locally before deploying to a live environment.

Features

  • Automatically generates and configures the necessary resources for ChatGPT integration.
  • Easy-to-use with minimal configuration needed.
  • Streamlines the deployment process of your ChatGPT-based applications.

Limitations

  • Provider: the plugin only supports AWS as the cloud provider.
  • No auth configuration for chatgpt. If you need additional customization or support for other cloud providers, please open an issue, and we'll consider adding it based on the community's interest.

Contributing

Contributions to the Serverless ChatGPT Plugin are welcome! To contribute, please follow these steps:

  • Fork the repository.
  • Create a new branch with a descriptive name.
  • Make your changes and commit them with a meaningful commit message.
  • Submit a pull request, and provide a detailed description of your changes.
  • Please make sure your changes follow our coding guidelines and include tests if applicable.

License

This project is licensed under the MIT license.

Support

If you encounter any issues or have questions about the Serverless ChatGPT Plugin, please open an issue on our GitHub repository or contact the maintainers.

0.1.0

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.5

11 months ago

0.0.14

12 months ago

0.0.13

12 months ago

0.0.12

12 months ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago