Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Sep 26, 2024
1 parent 2263fe1 commit a5fc5fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Store/MongoDB/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@
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
* @param string $vectorFieldName The name of the field int the index that contains the vector
* @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,
Expand All @@ -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',
Expand Down

0 comments on commit a5fc5fe

Please sign in to comment.