Instructions
Last updated
Was this helpful?
Last updated
Was this helpful?
Instructions are taken into account by Koncile to extract the general fields of the line fields.
POST
https://api.openai.com/v1/create_instruction
Creates an instruction
template_id Integer Required The ID of the template to create the instruction in
content String Required The instruction's text
type String Required
Defines whether instruction is targetting the fields extracted once (General fields
) or for every line (Line fields
)
The created object
GET
https://api.openai.com/v1/fetch_instruction/{instruction_id}
Fetches all information about an instruction, using the instruction_id
instruction_id Integer Required The id of the instruction to fetch
PUT
https://api.openai.com/v1/update_instruction/{instruction_id}
Updates an instruction, using the instruction_id
instruction_id Integer Required The id of the instruction to update
content String The instruction's text
type String
Defines whether instruction is targetting the fields extracted once (General fields
) or for every line (Line fields
)
DELETE
https://api.openai.com/v1/delete_instruction/{instruction_id}
Deletes an instruction, using the instruction_id
Instruction_id Integer Required The id of the instruction to update
id
Integer
content
String
The instruction's text
type
String
Whether the instruction has to be extracted once, or for every line. Can be "General fields" or "Line fields"
template_id
Integer
The id from the template the instruction is linked to
The object
The object