You are viewing limited content. For full access, please sign in.

Question

Question

Laserfiche AI and PII

asked on May 14

I tried to recently make an AI Prompt to extract Driver's License info so a form can auto-populate with an uploaded DL.  Here are some prompts I tried:

%(Name: driversLicense; Type: File)
Get the first name, middle initial, last name, driver's license number, state, and expiration date from the file.
Format your response in JSON with the found values like so: 
{
FirstName: foundFirstName,
MI: foundMiddleInitial,
LastName: foundLastName,
DLNum: foundDriversLicenseNumber,
State: foundState,
Expires: foundExpirationDate
}
%(Name: driversLicense; Type: File)
Get the first name, middle initial, last name, driver's license number, state, and expiration date from the file.
%(Name: driversLicense; Type: File) 
Get the %(Name: fieldName; Type: Text) from the file.

Here's an example response I got, they come out very similar:  "This image is a sample of a California driver license. It contains typical features such as the California bear logo, the holder's photo, and details like name, address, date of birth, license number, and expiration date. The data shown is likely fictitious and used for illustrative purposes."

Basically it refuses to extract info from a DL, one time even giving me a response saying it's not allowed to get PII from a file as well.  Is this intentional?  It seems like a major use of Laserfiche AI is to get PII off of documents, especially since there's a ton of public sector work done with it and Laserfiche AI is tuned to not save/sell any information.

Sample DL.jpg
Sample DL.jpg (123.94 KB)
0 0

Answer

SELECTED ANSWER
replied on May 14

Hi Jake,


When using files in an AI Prompt Rule, you'll get best results using an Advanced Prompt and splitting the File Token and the question into separate prompts. 
So in that case it would look like 

When run like this it should be able to retrieve the data from the Driver's License

-Kevin

 

0 0
replied on May 14

This is the way to go, thanks!

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.