Buscador BOE

Buscador BOE · GPT-Aktionen

SearchBOE

Plugin for search in BOE, return the text and search in the document.

  • POST /v1/download_chunkDownload a chunk from a given URL
  • POST /v1/calculate_chunksCalculate chunks for a given URL
Ursprüngliches API-Schema
{
  "openapi": "3.0.1",
  "info": {
    "title": "SearchBOE",
    "description": "Plugin for search in BOE, return the text and search in the document.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://searchboe.sinclinal.com"
    }
  ],
  "paths": {
    "/v1/download_chunk": {
      "post": {
        "operationId": "downloadChunk",
        "x-openai-isConsequential": false,
        "summary": "Download a chunk from a given URL",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url",
                  "chunk_number"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  },
                  "chunk_number": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/v1/calculate_chunks": {
      "post": {
        "operationId": "calculateChunks",
        "x-openai-isConsequential": false,
        "summary": "Calculate chunks for a given URL",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  }
}