diff --git a/src/Laragenie.php b/src/Laragenie.php index b64a50d..2196e0b 100755 --- a/src/Laragenie.php +++ b/src/Laragenie.php @@ -4,4 +4,11 @@ class Laragenie { + protected $fillable = [ + 'question', 'answer', 'cost', 'question_embedding', + ]; + + protected $casts = [ + 'cost' => 'double', + ]; }