Is there a way of integrating two or more custom GPT’s ( in the sense that one does a task then does an action to send that response to another GPT to complete another task)? For example I tried to use an action in a GPT that specializes in writing video scripts to then send the script to another GPT that is specialized in editing and SEO. I used a schema like this but was unsuccessful, and suggestions?
{
"openapi": "3.1.0",
"info": {
"title": "Script Writer GPT Communication",
"description": "API for the Script Writer GPT to send scripts to the Video Script Editor GPT.",
"version": "v1.0.0"
},
"servers": [
{
"url": "URL of the specific GPT it must send the script to"
}
],
"paths": {
"/sendScript": {
"post": {
"operationId": "sendScriptToEditor",
"summary": "Sends a script to the Video Script Editor GPT for editing",
"requestBody": {
"description": "Script to be sent for editing",
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ScriptData"
}
}
}
},
"responses": {
"200": {
"description": "Edited script received successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/EditedScriptData"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"ScriptData": {
"type": "object",
"properties": {
"script": {
"type": "string",
"description": "The original script text to be edited"
}
},
"required": ["script"]
},
"EditedScriptData": {
"type": "object",
"properties": {
"editedScript": {
"type": "string",
"description": "The edited script text returned from the editor"
}
}
}
}
}
}