Module Values.KnowledgeBaseDocumentDetailSource

Contains the details for a document that was ingested or deleted.

Sourcetype nonrec t = {
  1. knowledgeBaseId : Id.t option;
    (*

    The identifier of the knowledge base that the document was ingested into or deleted from.

    *)
  2. dataSourceId : Id.t option;
    (*

    The identifier of the data source connected to the knowledge base that the document was ingested into or deleted from.

    *)
  3. 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.

    *)
  4. identifier : DocumentIdentifier.t option;
    (*

    Contains information that identifies the document.

    *)
  5. statusReason : String_.t option;
    (*

    The reason for the status. Appears alongside the status IGNORED.

    *)
  6. updatedAt : DateTimestamp.t option;
    (*

    The date and time at which the document was last updated.

    *)
}
Sourceval make : ?knowledgeBaseId:??? -> ?dataSourceId:??? -> ?status:??? -> ?identifier:??? -> ?statusReason:??? -> ?updatedAt:??? -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t