@extends('layout.app') @section('content')
{{-- File Upload Form --}}

Upload Audio

@csrf
{{-- Recording Form --}}

Record and Upload Audio

@csrf
{{-- Parsed JSON Output --}} @if(isset($jsonResult))

Extracted Data

@if(isset($jsonResult['reminder']))
Reminder
  • Title: {{ $jsonResult['reminder']['title'] }}
  • Date: {{ $jsonResult['reminder']['date'] }}
  • Time before: {{ $jsonResult['reminder']['time_before'] }}
  • Task: {{ $jsonResult['reminder']['task'] }}
  • Recommendation: {{ $jsonResult['reminder']['recommendation'] }}
@endif @if(isset($jsonResult['note']))
Note
  • Title: {{ $jsonResult['note']['title'] }}
  • Content: {{ $jsonResult['note']['content'] }}
@endif @if(isset($jsonResult['call']))
Call
  • To: {{ $jsonResult['call']['to'] }}
  • Content: {{ $jsonResult['call']['content'] }}
@endif @if(isset($jsonResult['question']))
Question
  • Question: {{ $jsonResult['question']['question'] }}
  • Answer: {{ $jsonResult['question']['answer'] }}
@endif @if(isset($jsonResult['completion']))
Completion
  • Task: {{ $jsonResult['completion']['task'] }}
  • Date: {{ $jsonResult['completion']['date'] }}
@endif @if(isset($jsonResult['cancellation']))
Cancellation
  • Title: {{ $jsonResult['cancellation']['title'] }}
  • Date: {{ $jsonResult['cancellation']['date'] }}
@endif @if(isset($jsonResult['summary']))
Summary
  • Text: {{ $jsonResult['summary']['text'] }}
@endif

Created At: {{ $jsonResult['created_at'] }}

@endif {{-- JS content --}}
@endsection