Compare Documents with Pyq AI
This endpoint answers comparative questions using 2 documents in the same index.
Body Parameters
This is your account ID.
This is the query you wish to answer using documents from the given index.
This is the first document you want to consider.
This is the second document you want to consider.
This is the name of the index you wish to query with. This parameter is optional - if left blank will use auto indexing.
This is an optional parameter specifying if you would like to use Anthropic’s Claude instead of our default. The value “claude” will result in using that for your query.
Headers
This is your API token associated with your account.
Response
Pyq AI’s response to your query.
List of sources consulted to get answer.
Most relevant sections from the sources consulted to get the answer.