Values.KnowledgeBaseDocumentDetailSourceContains the details for a document that was ingested or deleted.
type nonrec t = {knowledgeBaseId : Id.t option;The identifier of the knowledge base that the document was ingested into or deleted from.
*)dataSourceId : Id.t option;The identifier of the data source connected to the knowledge base that the document was ingested into or deleted from.
*)status : DocumentStatus.t option;The ingestion status of the document. The following statuses are possible: STARTING – You submitted the ingestion job containing the document. PENDING – The document is waiting to be ingested. IN_PROGRESS – The document is being ingested. INDEXED – The document was successfully indexed. PARTIALLY_INDEXED – The document was partially indexed. METADATA_PARTIALLY_INDEXED – You submitted metadata for an existing document and it was partially indexed. METADATA_UPDATE_FAILED – You submitted a metadata update for an existing document but it failed. FAILED – The document failed to be ingested. NOT_FOUND – The document wasn't found. IGNORED – The document was ignored during ingestion. DELETING – You submitted the delete job containing the document. DELETE_IN_PROGRESS – The document is being deleted.
*)identifier : DocumentIdentifier.t option;Contains information that identifies the document.
*)statusReason : String_.t option;The reason for the status. Appears alongside the status IGNORED.
*)updatedAt : DateTimestamp.t option;The date and time at which the document was last updated.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of Id.t
| `Structure of
(string
* [> `Enum of string
| `Structure of (string * [> `String of S3BucketUri.t ]) list ])
list
| `Timestamp of DateTimestamp.t ])
list ]