Module Values.MongoDbAtlasConfigurationSource

Contains details about the storage configuration of the knowledge base in MongoDB Atlas.

Sourcetype nonrec t = {
  1. endpoint : MongoDbAtlasEndpoint.t;
    (*

    The endpoint URL of your MongoDB Atlas cluster for your knowledge base.

    *)
  2. databaseName : MongoDbAtlasDatabaseName.t;
    (*

    The database name in your MongoDB Atlas cluster for your knowledge base.

    *)
  3. collectionName : MongoDbAtlasCollectionName.t;
    (*

    The collection name of the knowledge base in MongoDB Atlas.

    *)
  4. vectorIndexName : MongoDbAtlasIndexName.t;
    (*

    The name of the MongoDB Atlas vector search index.

    *)
  5. credentialsSecretArn : SecretArn.t;
    (*

    The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that contains user credentials for your MongoDB Atlas cluster.

    *)
  6. fieldMapping : MongoDbAtlasFieldMapping.t;
    (*

    Contains the names of the fields to which to map information about the vector store.

    *)
  7. endpointServiceName : MongoDbAtlasEndpointServiceName.t option;
    (*

    The name of the VPC endpoint service in your account that is connected to your MongoDB Atlas cluster.

    *)
  8. textIndexName : MongoDbAtlasIndexName.t option;
    (*

    The name of the text search index in the MongoDB collection. This is required for using the hybrid search feature.

    *)
}
Sourceval context_ : string
Sourceval make : ?endpointServiceName:??? -> ?textIndexName:??? -> endpoint:MongoDbAtlasEndpoint.t -> databaseName:MongoDbAtlasDatabaseName.t -> collectionName:MongoDbAtlasCollectionName.t -> vectorIndexName:MongoDbAtlasIndexName.t -> credentialsSecretArn:SecretArn.t -> fieldMapping:MongoDbAtlasFieldMapping.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of MongoDbAtlasEndpoint.t | `Structure of (string * [> `String of FieldName.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