<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ChatLog extends Model
{
    use HasFactory;

    protected $fillable = [
        'session_id',
        'user_message',
        'bot_response',
        'similarity_score',
        'query_vector', 
        'doc_scores',
    ];
    protected $casts = [
    'is_correct' => 'boolean',
];
}