のYouTube To GPT Knowledge
のYouTube To GPT Knowledge · Acciones GPT
Convert youtube video to knowledge file.
This plugin allows users to Convert youtube video to knowledge file with urls and Use the Redeem code to obtain the converted completed file.
POST /yt/convertYoutubeToKnowledgeFileConvert youtube video to knowledge file with urlsPOST /yt/getKnowledgeFileByRedeemCodeGet the converted completed knowledge file with redeem code.
Esquema original API
{
"openapi": "3.0.1",
"info": {
"title": "Convert youtube video to knowledge file.",
"description": "This plugin allows users to Convert youtube video to knowledge file with urls and Use the Redeem code to obtain the converted completed file.",
"version": "v1"
},
"servers": [
{
"url": "https://ct2.alici.ai"
}
],
"paths": {
"/yt/convertYoutubeToKnowledgeFile": {
"post": {
"operationId": "convertYoutubeToKnowledgeFile",
"x-openai-isConsequential": false,
"summary": "Convert youtube video to knowledge file with urls",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"links": {
"description": "Youtube Urls to convert",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"links"
]
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/convertYoutubeToKnowledgeFile"
}
}
}
}
}
}
},
"/yt/getKnowledgeFileByRedeemCode": {
"post": {
"operationId": "getKnowledgeFileByRedeemCode",
"x-openai-isConsequential": false,
"summary": "Get the converted completed knowledge file with redeem code.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"redeem_code": {
"description": "redeem code",
"type": "string"
}
},
"required": [
"redeem_code"
]
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/getKnowledgeFileByRedeemCode"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"convertYoutubeToKnowledgeFile": {
"type": "object",
"properties": {
"state": {
"type": "boolean",
"description": "request success or fail"
},
"message": {
"type": "string"
},
"redeem_code": {
"type": "string",
"description": "A redeem code for the Knowledge file."
},
"download_link": {
"type": "string",
"description": "A download link for the Knowledge file."
}
}
},
"getKnowledgeFileByRedeemCode": {
"type": "object",
"properties": {
"state": {
"type": "boolean",
"description": "request success or fail"
},
"message": {
"type": "string"
},
"download_link": {
"type": "string",
"description": "A download link for the Knowledge file."
}
}
}
}
}
}