ProConfig Tutorial
  • Overview & Setup
  • Tutorial Structure
  • Tutorial
    • Hello World with Pro Config
    • Building Workflow
    • Transitions
    • Expressions and Variables
    • An Advanced Example
    • Function Calling Example
    • Random Routing Example
  • API Reference
    • Widgets
      • Bark TTS
      • Champ
      • CoinGecko
      • ControlNet with Civitai
      • Crawler
      • Crypto News
      • Data Visualizer
      • Email Sender
      • Google Flight Search
      • Google Hotel Search
      • Google Image Search
      • Google Map Search
      • Google News Search
      • Google Scholar Search
      • Google Search
      • GroundedSAM
      • Image Text Fuser
      • Information Extractor - OpenAI Schema Generator
      • Information Extractor
      • Instagram Search
      • JSON to Table
      • LinkedIn
      • MS Word to Markdown
      • Markdown to MS Word
      • Markdown to PDF
      • Mindmap Generator
      • Notion Database
      • OCR
      • Pdf to Markdown
      • RMBG
      • Stabel-Video-Diffusion
      • Stable Diffusion Inpaint
      • Stable Diffusion Recommend
      • Stable Diffusion Transform
      • Stable Diffusion Upscale
      • Stable Diffusion with 6 fixed category
      • Stable Diffusion with Civitai
      • Storydiffusion
      • Suno Lyrics Generator
      • Suno Music Generator
      • Table to Markdown
      • TripAdvisor
      • Twitter Search
      • UDOP: Document Question Answering
      • Weather forecasting
      • Whisper large-v3
      • Wikipedia
      • Wolfram Alpha Search
      • Yelp Search
      • YouTube Downloader
      • YouTube Transcriber
      • Youtube Search
  • Tools
    • AutoConfig Bot
    • Cache Mode
Powered by GitBook
On this page
  • Try it in the Widget Center
  • Usage
  • Detailed Guidelines
  1. API Reference
  2. Widgets

Information Extractor - OpenAI Schema Generator

Generate Schema of structural data based on your description

PreviousImage Text FuserNextInformation Extractor

Last updated 1 year ago

Try it in the Widget Center

Click this 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
throw a Http error.

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"
        ]
      }
url