#Zuva DocAI Answers (Early Access)

Number of APIs: 4

Overview

Zuva's Answers functionality enables users to obtain structured data out of their unstructured contractual documents. This is tackled by asking your documents the questions that need to be answered, and returning (1) the answer and (2) the text evidence that was used within the context of the question asked.

Development Status

This functionality is under development. We appreciate any and all feedback that you may have as you use this new functionality. To provide feedback, please email feedback@zuva.ai .

Getting Started

You will need a Zuva account to create an API token to use this collection.

An account can be created by visiting the Zuva Dashboard .

Once logged in, navigate to the DocAI Console , and click Create Token

Add the region's Base URL and token to the Qodex Environment that came with this collection.

Choosing a document to submit

Once you've found the document you would like to submit, go to Submit a document and set its Body to Binary and select your file by selecting Select file

About the Collection

This collection contains the necessary endpoints to programmatically ask questions via Zuva's DocAI. These endpoints are organized in steps:

  1. Submit a document

  2. Ask a question about the document

  3. Check to see if the question has been answered

  4. Get the answer

Note that this collection asks one question at a time, however you could create a new entry which asks multiple questions at once. This can be accomplished by adding another entry's field_id (contained in its body) to another's body.

  1. 1. Submit a document - Submit a document POST {{zdai-base-url}}/files

  2. 2. Ask a question - Is there an indemnification for intellectual property breaches? POST {{zdai-base-url}}/extraction

  3. 3. Is the question answered? - Is the question answered? GET {{zdai-base-url}}/extraction/{{field_extraction_request_id}}

  4. 4. Get Answer - Get Answer GET {{zdai-base-url}}/extraction/{{field_extraction_request_id}}/results/text