Skip to content

Commit

Permalink
🔧 修正(Collections.php):在create方法中新增options參數,預設為空陣列([])
Browse files Browse the repository at this point in the history
  • Loading branch information
mathsgod committed Jul 12, 2024
1 parent 926673a commit 4d81fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collections.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function list()
]);
}

public function create(string $collectionName, int $dimesion)
public function create(string $collectionName, int $dimesion, array $options = [])
{
return $this->client->post("/v2/vectordb/collections/create", [
"json" => [
Expand Down

0 comments on commit 4d81fa2

Please sign in to comment.