@extends('admin.layouts.master-soyuz') @section('title',__('Open Ai')) @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('Open Ai') }} @endslot @slot('menu1') {{ __('Open Ai') }} @endslot @slot('button')
{{-- {{__("Add Service")}} --}} {{__('Delete Selected')}}
@endslot @endcomponent
{{__("All Openai List")}}
@foreach($openai as $key => $test) @if(isset($test)) @if($test->generate == 'Image Generate') @if(!empty($test->response)) @endif @else @php $jsonData = $test->response; $decodedData = json_decode($jsonData, true); @endphp @endif @endif @endforeach
{{ __('Genrate') }} {{ __('Prompt') }} {{ __('Response') }} {{ __('Action') }}
{{ $test->generate }} {{ $test->prompt }}
{{ $decodedData['content'] ?? ''}}
@endsection