Details of the generated content

Details of the content

{{ $content->title ?: 'No title' }}

{{ $content->type }}

{!! nl2br(e($content->content)) !!}
@if ($content->meta_description)

{{ $content->meta_description }}

@endif @if ($content->keywords)

{{ $content->keywords }}

@endif
Generation information

@if ($content->status === 'active') Active @elseif($content->status === 'inactive') Inactive @else Draft @endif

{{ $content->admin->name ?? 'Not defined' }}

{{ $content->created_at->format('Y-m-d H:i:s') }}

{{ $content->word_count }}

${{ number_format($content->cost, 4) }}

@if ($content->model_used)

{{ $content->model_used }}

@endif @if ($content->generation_time)

{{ $content->formatted_generation_time }}

@endif
Required text
{{ $content->prompt }}
@if ($content->options)
{{ json_encode($content->options, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE) }}
@endif
@if ($content->usage_data)
Usage information
@if (isset($content->usage_data['prompt_tokens']))

{{ $content->usage_data['prompt_tokens'] }}

@endif @if (isset($content->usage_data['completion_tokens']))

{{ $content->usage_data['completion_tokens'] }}

@endif @if (isset($content->usage_data['total_tokens']))

{{ $content->usage_data['total_tokens'] }}

@endif
@endif
الإجراءات
@push('scripts') @endpush