Ask Koncierge To Extract Information From A Document
Operation for extracting information from a document.
Prerequisites
Ensure you have learned the Document Processing Book before using this operation. After learning the Book, make sure to publish your Agent and create a new Playground for it to take effect.
Use ask koncierge for
to extract information from a document.
Syntax
ask koncierge for {information} where
the document
the creativity is {creativity}
the openai model is "{model}"
the system command is "{command}"
the response format is "{format}"
the message is "{message}"
the task is "{task}"
the question is "{question}"
the rules are "{rules}"
the visual reference is {visual reference}
Inputs
Required
information
- The specific piece of information or value you are requesting from the system.
- Examples:
the invoice date
,the total amount
,the delivery status
Optional
the document
- The document from which information needs to be extracted. This will raise a question asking you to Please Provide File.
creativity
- A number that controls the creativity of the response. Higher values produce more creative responses.
- Default: 0.0
- Range: 0.0-2.0.
model
- The OpenAI model to use to generate the response.
- Default: gpt-4-turbo-2024-04-09
command
- A system-level command or instruction that can influence the response.
- Example:
password reset instructions
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
message
- The message you want to send.
task
- The specific task to be performed.
question
- The question you would like answered.
rules
- The user rules to be followed for the task.
visual reference
- A variable to represent a document or image that serves as a visual reference, helping GPT enhance its accuracy. This refers to data defined earlier in the automation.
- Examples:
the file
,the document
,the text
Example 1
ask koncierge for the invoice date where
the document
the task is "extract the invoice date"
the response format is "date"
Example 2
ask koncierge for the total amount where
the document
the system command is "you are an expert invoice processor\ndo not calculate the total amount manually"
the task is "Extract the total amount"
the response format is "number"
Updated 2 days ago