From 25b6c913998cfe91e1fc223682a55852b0a028ca Mon Sep 17 00:00:00 2001 From: Alfred Nutile Date: Tue, 26 Mar 2024 21:47:02 -0400 Subject: [PATCH] llmhub --- app/Models/DocumentChunk.php | 1 - tests/Feature/OpenAiClientTest.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Models/DocumentChunk.php b/app/Models/DocumentChunk.php index 40c536c5..c9b9d2d7 100644 --- a/app/Models/DocumentChunk.php +++ b/app/Models/DocumentChunk.php @@ -9,7 +9,6 @@ /** * @property Document $document - * @package App\Models */ class DocumentChunk extends Model { diff --git a/tests/Feature/OpenAiClientTest.php b/tests/Feature/OpenAiClientTest.php index 63e04d38..1e698c09 100644 --- a/tests/Feature/OpenAiClientTest.php +++ b/tests/Feature/OpenAiClientTest.php @@ -6,7 +6,6 @@ use App\LlmDriver\Responses\EmbeddingsResponseDto; use OpenAI\Laravel\Facades\OpenAI; use OpenAI\Responses\Chat\CreateResponse as ChatCreateResponse; -use OpenAI\Responses\Completions\CreateResponse as CompletionsCreateResponse; use OpenAI\Responses\Embeddings\CreateResponse; use Tests\TestCase; @@ -39,7 +38,7 @@ public function test_completion(): void 'choices' => [ [ 'message' => [ - 'content' => 'awesome!' + 'content' => 'awesome!', ], ], ],