Bay Area Bites

Bay Area Bites · Ações GPT

NewsBreak

Learn about the most popular local restaurants in the San Francisco Bay Area in California.

  • POST /local_searchChat with an assistant who is knowledgeable on any local topic. The user_question must be in English and the zipcode must be a string of a valid U.S. zipcode.
Esquema API original
{
  "openapi": "3.1.0",
  "info": {
    "title": "NewsBreak",
    "description": "Learn about the most popular local restaurants in the San Francisco Bay Area in California.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://chatgpt.newsbreakapp.com"
    }
  ],
  "paths": {
    "/local_search": {
      "post": {
        "operationId": "localSearchChat",
        "summary": "Chat with an assistant who is knowledgeable on any local topic. The user_question must be in English and the zipcode must be a string of a valid U.S. zipcode.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user_question": {
                    "type": "string",
                    "description": "Any human-like question from the user."
                  },
                  "zipcode": {
                    "type": "string",
                    "description": "The zip code as a string, e.g. \"94311\" or \"04401\""
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}