<?php

namespace Database\Factories;

use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;

class AIConversationFactory extends Factory
{
    public function definition(): array
    {
        return [
            'user_id' => User::factory(),
            'user_message' => $this->faker->sentence,
            'assistant_response' => $this->faker->paragraph,
            'context' => ['key' => 'value'],
            'model_used' => 'gpt-3.5-turbo',
            'tokens_used' => $this->faker->numberBetween(10, 200),
        ];
    }
}
