abacusai.document_retriever_lookup_result
Classes
Result of a document retriever lookup. |
Module Contents
- class abacusai.document_retriever_lookup_result.DocumentRetrieverLookupResult(client, document=None, score=None, properties=None, pages=None, boundingBoxes=None, documentSource=None, imageId=None)
Bases:
abacusai.return_class.AbstractApiClass
Result of a document retriever lookup.
- Parameters:
client (ApiClient) – An authenticated API Client instance
document (str) – The document that was looked up.
score (float) – Score of the document with respect to the query.
properties (dict) – Properties of the retrieved documents.
pages (list) – Pages of the retrieved text from the original document.
boundingBoxes (list) – Bounding boxes of the retrieved text from the original document.
documentSource (str) – Document source name.
imageId (str) – Image ID of the document chunk.
- __repr__()
Return repr(self).