LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • Release Notes
  • OpenAI
    • Overview
  • Ask Koncierge
  • Ask Koncierge To Extract Information From A Document
  • Extract Data
  • Extract Pages
  • Extract a Subdocument
  • Extract Subdocuments
  • Extract Tables
  • Identify Elements in a Text
Powered by GitBook
On this page
  • Overview
  • Syntax
  • Inputs
  • Example 1
  • Example 2
  • Example 3
  • Example 4

Was this helpful?

Export as PDF

Identify Elements in a Text

Automation procedure for finding elements within a given text.

Overview

Find specific elements within a given string. This operation supports singular and plural forms and can process associated questions or options.

Syntax

find the {items} in "{the text}" where
  the options are "{options}"
  the question is "{question}"
  the response format is "{format}"

Inputs

Required

  1. items

    • The item(s) to locate within the text, which can be singular or plural.

    • This can be a noun or a noun with adjectives (ex: animal, cute animals).

  2. the text

    • The target string in which the item(s) are to be found.

Optional

  1. options

    • A list of options from which the thing is to be identified.

  2. question

    • A question related to the item that the function will attempt to answer based on the content of the string.

  3. format

    • The desired format of the response.

    • Default: string

    • Allowed Values:

      • string

      • text

      • date

      • table

      • list of texts

      • list of numbers

      • list of dates

      • list of records

      • structured data

      • json

Example 1

đź’¬ Prompt

find the people in "The project was completed by John, Sarah, and Tim."

📝 Breakdown

Text: The project was completed by John, Sarah, and Tim.

Items: people

Results: John, Sarah, Tim

Example 2

đź’¬ Prompt

find the very cute animals in "Today we saw a puppy and three kittens at the pet shop."

📝 Breakdown

Text: Today we saw a puppy and three kittens at the pet shop.

Items: very cute animals

Results: puppy, kittens

Example 3

đź’¬ Prompt

The email is "Hey Emily, I just wanted to tell you about some awesome places I visited during my vacation: Bali, Paris, and Tokyo. Can't wait to share my photos!"
find the places in the email

📝 Breakdown

Text: Hey Emily, I just wanted to tell you about some awesome places I visited during my vacation: Bali, Paris, and Tokyo. Can't wait to share my photos!

Items: places

Results: Bali, Paris, Tokyo

Example 4

đź’¬ Prompt

the memo is "Reminder: Don't forget to check out the new cafés I visited this weekend: Java House and Café Mocha."
find the sweet spots in the memo

📝 Breakdown

Text: Reminder: Don't forget to check out the new cafés I visited this weekend: Java House and Café Mocha.

Items: sweet spots

Results: Java House, Café Mocha

Last updated 1 day ago

Was this helpful?