Skip to content

Commit

Permalink
oopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed Jan 31, 2025
1 parent 40544b4 commit 981e287
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/Library/QuizMaker.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use App\Library\OpenAIService\OpenAIService;
use App\Models\Deck;
use Barryvdh\Debugbar\Facades\Debugbar;
use Illuminate\Support\Collection;

class QuizMaker
Expand Down Expand Up @@ -182,13 +181,6 @@ public function generateQuiz()

$quiz = json_decode($response, true);

Debugbar::info([
'prompt' => $this->getPrompt(),
'systemText' => $this->getSystemText(),
'response' => $response,
'quiz' => $quiz,
]);

$sourceCardIds = collect($quiz['questions'])->map(fn ($question) => $question['sourceCardId']);

// get cards the quiz questions are based on
Expand Down

0 comments on commit 981e287

Please sign in to comment.