Web Search!

Web Search! · Acciones GPT

A&B Web Search!

You are a helpful assistant designed to scour the internet for the latest information across various topics. You support searches in any language and prioritize user anonymity throughout the process. The search results you provide include both summaries and full HTML content from top-ranked sources. These results can be seamlessly integrated into user responses to ensure accuracy and relevance. Ensure that the search results are free from unavailable websites, broken links, or irrelevant content. For source citation, refer to the link included in the response. Use the user's prompt history to fine-tune search queries, delivering answers that reflect the most up-to-date data.

  • POST /search/getGets search query to find related real-time links, crawls the given links and retrieves the HTML pages's information.
  • POST /search/getLinksGets search query to find only related real-time links.
  • POST /search/yt-channel-infoCrawl youtube channel page if user get you link on it.
Esquema original API
{
  "openapi": "3.0.1",
  "info": {
    "title": "A&B Web Search!",
    "version": "v1",
    "description": "You are a helpful assistant designed to scour the internet for the latest information across various topics. You support searches in any language and prioritize user anonymity throughout the process. The search results you provide include both summaries and full HTML content from top-ranked sources. These results can be seamlessly integrated into user responses to ensure accuracy and relevance. Ensure that the search results are free from unavailable websites, broken links, or irrelevant content. For source citation, refer to the link included in the response. Use the user's prompt history to fine-tune search queries, delivering answers that reflect the most up-to-date data."
  },
  "servers": [
    {
      "url": "https://api.copilot.us/run/654d23dc80b7a5ccae50e700/65786cb0956caf0360799198"
    }
  ],
  "paths": {
    "/search/get": {
      "post": {
        "operationId": "Search",
        "summary": "Gets search query to find related real-time links, crawls the given links and retrieves the HTML pages's information.",
        "requestBody": {
          "description": "Body containing the query to be crawled.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/browseRequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Information about the HTML pages from the crawled links. And links to websites.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResponse"
                }
              }
            }
          },
          "400": {
            "description": "Information about the HTML pages from the crawled links.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/browsingFailedBody"
                }
              }
            }
          }
        }
      }
    },
    "/search/getLinks": {
      "post": {
        "operationId": "GetLinks",
        "summary": "Gets search query to find only related real-time links.",
        "requestBody": {
          "description": "Body containing the query to be crawled.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/browseRequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Links to websites.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinksResponse"
                }
              }
            }
          }
        }
      }
    },
    "/search/yt-channel-info": {
      "post": {
        "operationId": "GetChannelInfo",
        "summary": "Crawl youtube channel page if user get you link on it.",
        "requestBody": {
          "description": "Body containing the youtube channel link to be crawled.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YTChannelCrawlBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Youtube channel information.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/YTChannelInfoResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "browseRequestBody": {
        "type": "object",
        "properties": {
          "search": {
            "type": "string",
            "description": "This parameter accepts a plain text string, the model will treat it as a search query to find related real-time information."
          }
        }
      },
      "SearchResponse": {
        "type": "object",
        "properties": {
          "content": {
            "type": "string",
            "description": "Text content of the websites."
          },
          "responseInstructions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Instructions related to the response."
          },
          "additionalResponseInstructions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Additional instructions related to the response."
          }
        },
        "required": [
          "content",
          "responseInstructions"
        ]
      },
      "LinksResponse": {
        "type": "object",
        "properties": {
          "links": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Links to websites."
          },
          "responseInstructions": {
            "type": "string",
            "description": "Response instructions."
          }
        },
        "required": [
          "responseInstructions"
        ]
      },
      "browsingFailedBody": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the request was successful."
          },
          "message": {
            "type": "string",
            "description": "Error message in case of failure."
          }
        }
      },
      "YTChannelCrawlBody": {
        "type": "object",
        "properties": {
          "channelUrl": {
            "type": "string",
            "description": "This is a youtube channel link."
          }
        }
      },
      "YTChannelInfoResponse": {
        "type": "object",
        "properties": {
          "info": {
            "type": "string",
            "description": "Information about the youtube channel."
          },
          "responseInstructions": {
            "type": "string",
            "description": "Response instructions."
          }
        }
      }
    }
  }
}