Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAI GPT Integration w/ custom DB to reduce user issues and enhance development #432

Open
Rafcin opened this issue Apr 7, 2023 · 0 comments
Labels
area: bot Issue pertains to Discord Bot type: feature-request New feature or request

Comments

@Rafcin
Copy link

Rafcin commented Apr 7, 2023

Describe the Feature

Introduction

As a member of the Amplify Discord community, I have observed that users often need help locating the information they need, particularly with regard to programming and documentation. To address this issue, I am proposing the integration of the ChatGPT API with plugins into the Discord bot. This integration will enable users to ask questions about programming and existing documentation, with the bot returning insightful answers based on indexed code and documentation.

Description

The ChatGPT API recently introduced plugins, and the plan is to develop an AWS plugin that covers all existing AWS and Amplify documentation. To achieve this, all documentation pages on AWS and Amplify will be scrapped using Puppeteer, and embeds will be generated using the OpenAI Embeddings model. While I have made progress in writing the scraper, an issue tied to aws-amplify/docs#5354 needs to be addressed.

The aim is to enable this plugin to work with ChatGPT-UI. For more information on that, please take a look at the OpenAI Plugins Introduction.

Implementation

The proposed integration will be implemented using a similar approach to the OpenAI Retrieval Plugin. The database of choice will be Pinecone, which can be deployed on AWS and is currently the most suitable option.

Expected Outcomes

The main objective of this feature is to reduce the number of simple issues that users encounter on the Discord server and GitHub while enhancing the overall developer experience for both new and existing users.

By integrating ChatGPT API with plugins into the Discord bot, users can obtain accurate and relevant information more quickly and efficiently. This will improve productivity and facilitate collaboration within the Amplify Discord community.

@josefaidt

@josefaidt josefaidt added type: feature-request New feature or request area: bot Issue pertains to Discord Bot and removed needs: triage labels Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: bot Issue pertains to Discord Bot type: feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants