Information Extractor - OpenAI Schema Generator

Generate Schema of structural data based on your description

Try it in the Widget Center

Click this urlarrow-up-right to try this widget and copy the Pro Config template.

Usage

<TODO: enter description here, and remove useless inputs>

Input Parameters

Name
Type
Description
Default
Required

instruction

string

Please describe your intention for extracting information from the input content. You can specify their types and names explicitly. For example: 'Help me to extract the abstract, named as `abs`, and summarize the chapter 3 Method, named as `approach`. Count how many sections are in this paper, named as `num_sec` of type int.'

Output Parameters

Name
Type
Description
File Type

name

string

Function name

required

array

Required parameters

parameters

object

contain `type`(string) and `properties`(object)

description

string

Function description

Output Example

See below

Detailed Guidelines

  • Example

    • input

      • instruction

        Tell me How to build an AI app from start to finish. The step extracted should be named as 'step_{i}', where i is the number from 1.
    • Output

      # This is json
      {
        "description": "Instructions on building an AI app from start to finish.",
        "name": "Schema",
        "parameters": {
          "properties": {
            "step_1": {
              "description": "The first step in building an AI app.",
              "title": "Step 1",
              "type": "string"
            },
            "step_2": {
              "description": "The second step in building an AI app.",
              "title": "Step 2",
              "type": "string"
            },
            "step_3": {
              "description": "The third step in building an AI app.",
              "title": "Step 3",
              "type": "string"
            },
            "step_4": {
              "description": "The fourth step in building an AI app.",
              "title": "Step 4",
              "type": "string"
            },
            "step_5": {
              "description": "The fifth step in building an AI app.",
              "title": "Step 5",
              "type": "string"
            }
          },
          "type": "object"
        },
        "required": [
          "step_1",
          "step_2",
          "step_3",
          "step_4",
          "step_5"
        ]
      }

Last updated