Module Values.CitationSource

A citation that references source content.

Sourcetype nonrec t = {
  1. contentId : Uuid.t option;
    (*

    The identifier of the content being cited.

    *)
  2. title : SensitiveString.t option;
    (*

    The title of the cited content.

    *)
  3. knowledgeBaseId : Uuid.t option;
    (*

    The identifier of the knowledge base containing the cited content.

    *)
  4. citationSpan : CitationSpan.t;
  5. sourceURL : SensitiveString.t option;
    (*

    The source URL for the citation.

    *)
  6. referenceType : ReferenceType.t;
    (*

    A type to define the KB origin of a cited content

    *)
}
Sourceval context_ : string
Sourceval make : ?contentId:??? -> ?title:??? -> ?knowledgeBaseId:??? -> ?sourceURL:??? -> citationSpan:CitationSpan.t -> referenceType:ReferenceType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Uuid.t | `Structure of (string * [> `Integer of CitationSpanOffset.t ]) list ]) 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