Speakeasy · Schema

SuggestItemsRequestBody

AIDocumentationMCPPlatformSDKsTerraformTesting

Properties

Name Type Description
prompt string The prompt to use for the suggestion. Think of this as the "preamble".
items array The list of "things" to get suggestions for. One suggestion will be returned for each item in the list.
View JSON Schema on GitHub

JSON Schema

speakeasy-suggestitemsrequestbody-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SuggestItemsRequestBody",
  "title": "SuggestItemsRequestBody",
  "type": "object",
  "properties": {
    "prompt": {
      "description": "The prompt to use for the suggestion. Think of this as the \"preamble\".",
      "type": "string"
    },
    "items": {
      "description": "The list of \"things\" to get suggestions for. One suggestion will be returned for each item in the list.",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "prompt",
    "items"
  ]
}