Docs

DocsLeaglety AIAsking

Attach files to a question

Attach a PDF, a Word file or a photo to a question, and ask about what the file says.

How-to

A file attached to a question is read on the server, and the answer uses its words. A PDF, a Word file and a photo are read; a scan or a photo with no text layer is read with OCR. Some files in another language are translated to English for the answer.

Before you start#

  • The file must be a PDF, a Word file (.docx), or a JPG or PNG photo.
  • It must be 25 MB or smaller.

Attach it#

  1. 01Open Leaglety AI, or Leaglety AI panel on a screen.
  2. 02Press Attach file, the paperclip in the composer.
  3. 03Choose the file. One question can carry up to 5 files.
  4. 04Wait while the chip says Uploading with its share, then Reading the file. When the words are read, the chip shows the file's kind and size. A file that could not be read says why.
  5. 05Type the question, or send the file on its own. Press Send.

Ask about it#

  1. 01Type what you need from the file, for example "What is the notice period in this lease?".
  2. 02Press Send.
  3. 03Read the answer. A file whose words could not be read is named in the answer instead of being ignored.

A file attached earlier in the chat stays available by its name. To ask about it again, name it, for example "the Word file" or "the demand notice PDF", and Leaglety AI reads it again.

Fill a form from the file#

  1. 01Attach the file, for example a contract, a licence, a hearing notice or a challan.
  2. 02Ask "Add this" or "Add this contract". Press Send.
  3. 03Leaglety AI opens the form for that record, such as New contract, Add licence, Add hearing, Record event or Mark as done. A line above the fields says the values came from the file.
  4. 04Check every field against the file. A field is filled only when the file states the value; the rest are left empty for you.
  5. 05Press the form's button to save it, or Cancel (Save a form Leaglety AI fills).

What happens next#

The file appears as a chip above the composer and, once sent, beside the question in the chat. The answer refers to the file by name. The file is kept with the company's record. A file attached earlier in the chat stays available by its name (Scans, photos and other languages).

Note

A file is sent to the reader as data, never as an instruction. If a document contains words that tell Leaglety AI what to do, Leaglety AI treats them as part of the document and says so.

If something goes wrong#

MessageWhat to do
Could not read NAMEThe file has no readable text, or the reader failed. Attach a clearer scan, or type the facts in the question.
The upload failed.Press Attach file again and choose the same file.
The upload could not be started. Try again.Try again. If it keeps failing, use a smaller file or a PDF.
That file is larger than 25 MB. Choose a smaller one.Compress the file or split it.
Use a PDF, a Word file (.docx), or a JPG or PNG photo.Convert the file to one of these formats.
That file is empty.Choose a file that has content.