Mr. Beast GPT
Mr. Beast GPT · GPT-Aktionen
Embedchain - Contextual API
API for providing context to a user query.
POST /context/Submit a query for processingSends a text query to be processed and responded to.
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "Embedchain - Contextual API",
"description": "API for providing context to a user query.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://app.embedchain.ai/api/v1/pipelines/40216187-0905-4989-9b85-ac5b40b46e6e"
}
],
"paths": {
"/context/": {
"post": {
"summary": "Submit a query for processing",
"operationId": "submitQuery",
"description": "Sends a text query to be processed and responded to.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The text query to be processed."
},
"count": {
"type": "integer",
"description": "The number of responses to return.",
"default": 10
}
}
}
}
}
},
"responses": {
"200": {
"description": "Successful response with the processed data.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"responses": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"context": {
"type": "string"
},
"source": {
"type": "string"
},
"document_id": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"400": {
"description": "Bad request if the request parameters are incorrect."
},
"401": {
"description": "Unauthorized if the authentication token is missing or invalid."
},
"500": {
"description": "Internal server error."
}
}
}
}
},
"components": {
"schemas": {},
"securitySchemes": {
"ApiKeyAuth": {
"type": "apiKey"
}
}
}
}