acheong08 / ChatGPT

Reverse engineered ChatGPT API
GNU General Public License v2.0
28.01k stars 4.48k forks source link

[Feature Request]: Add support for plugin #1374

Closed PlexPt closed 1 year ago

PlexPt commented 1 year ago

Is there an existing issue for this?

What would your feature do ?

Add support for plugin

Proposed workflow

  1. Add support for plugin

Additional information

Add support for plugin

github-actions[bot] commented 1 year ago

Automated: 👋 Thanks for reporting this issue. @acheong08 will review it shortly. In the meantime, please check to see if there are any similar issues already closed.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 2 days with no activity.

Erol444 commented 1 year ago

Hi @acheong08 , POST request below to https://chat.openai.com/backend-api/conversation. I am using Wolfram plugin. I am not sure how plugin names are mapped to IDs..

{
  "action": "next",
  "messages": [
    {
      "id": "aaa2a960-2fb2-4ad9-8b5b-424ac4158d10",
      "author": { "role": "user" },
      "content": {
        "content_type": "text",
        "parts": [
          "Three positive numbers are presented to you. These figures can be multiplied and added together. Your outcome will be the same. What numbers are there?"
        ]
      }
    }
  ],
  "parent_message_id": "aaa195ef-c616-411e-bcfc-b7d14ee575dd",
  "model": "gpt-4-plugins",
  "plugin_ids": ["plugin-d1d6eb04-3375-40aa-940a-c2fc57ce0f51"],
  "timezone_offset_min": -120,
  "history_and_training_disabled": false
}
acheong08 commented 1 year ago

Supported!