Module Values.BedrockFoundationModelContextEnrichmentConfigurationSource

Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.

Sourcetype nonrec t = {
  1. enrichmentStrategyConfiguration : EnrichmentStrategyConfiguration.t;
    (*

    The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.

    *)
  2. modelArn : BedrockModelArn.t;
    (*

    The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.

    *)
}
Sourceval context_ : string
Sourceval make : enrichmentStrategyConfiguration:EnrichmentStrategyConfiguration.t -> modelArn:BedrockModelArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of BedrockModelArn.t | `Structure of (string * [> `Enum of string ]) 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