From 2ef478b4cad722af7bb153fde44e713e8346bab5 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sun, 19 Jan 2025 13:20:06 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Models/Embedding.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Embedding.php b/src/Models/Embedding.php index 6d3ea08..4132fe4 100644 --- a/src/Models/Embedding.php +++ b/src/Models/Embedding.php @@ -41,7 +41,7 @@ public static function lookup(string $query, ?Prompt $contextPrompt = null, ?Clo $queryEmbedding = $index->embed($query); if ($queryEmbedding instanceof ErrorResponse) { - return 'Error: ' . $queryEmbedding->getContent(); + return 'Error: '.$queryEmbedding->getContent(); } $vector = new Vector($queryEmbedding->embeddings);