diff --git a/src/Store/MongoDB/Store.php b/src/Store/MongoDB/Store.php index 898e7c1a..9c320f48 100644 --- a/src/Store/MongoDB/Store.php +++ b/src/Store/MongoDB/Store.php @@ -42,7 +42,7 @@ private Client $client; /** - * @param string $dsn The DSN to connect to the MongoDB server + * @param string $uri The URI to connect to the MongoDB server * @param string $databaseName The name of the database * @param string $collectionName The name of the collection * @param string $indexName The name of the Atlas Search index @@ -50,7 +50,7 @@ * @param bool $bulkWrite Use bulk write operations */ public function __construct( - #[\SensitiveParameter] string $dsn, + #[\SensitiveParameter] string $uri, private LoggerInterface $logger, private string $databaseName, private string $collectionName, @@ -59,7 +59,7 @@ public function __construct( private bool $bulkWrite = false, ) { $this->client = new Client( - uri: $dsn, + uri: $uri, driverOptions: [ 'driver' => [ 'name' => 'php-llm/llm-chain',