-
+@extends('sidekick::sidekick-shared.layout')
+
+@section('title')
+ Talk to Sidekick! - Chat
+@endsection
+
+@section('content')
+
+
+ Conversation (id: {{$response['conversation_id']}})
+ New Chat
+
+
+
+
-
-
-
-
-
-
+
+
+@endsection
+
+
diff --git a/resources/views/sidekick-examples/completion.blade.php b/resources/views/sidekick-examples/completion.blade.php
index 2a46dd4..b59b97b 100644
--- a/resources/views/sidekick-examples/completion.blade.php
+++ b/resources/views/sidekick-examples/completion.blade.php
@@ -1,24 +1,42 @@
-
-
-
-
Sidekick Completion Example
-
-
-
-
-
-
Completion Example
-
- @csrf
-
-
-
-
+@extends('sidekick::sidekick-shared.layout')
-@if(isset($response))
-
Response
-
{!! json_encode($response) !!}
-@endif
-
-
+@section('title')
+ Completion Sample
+@endsection
+
+@section('content')
+
+
+
+
+
+
+
🤖 Completion Sample
+
Type some text into the box below and click Send to see the AIs response.
+
+
+
+
+ @if(isset($response))
+
+
Response
+
{!! json_encode($response) !!}
+
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/sidekick-examples/embedding.blade.php b/resources/views/sidekick-examples/embedding.blade.php
index f2a5e9e..87579ac 100644
--- a/resources/views/sidekick-examples/embedding.blade.php
+++ b/resources/views/sidekick-examples/embedding.blade.php
@@ -1,24 +1,41 @@
-
-
-
-
Sidekick Embedding Example
-
-
-
-
-
-
Embedding Example
-
- @csrf
-
-
-
-
+@extends('sidekick::sidekick-shared.layout')
-@if(isset($response))
-
Response
-
{!! json_encode($response) !!}
-@endif
-
-
+@section('title')
+ Embedding Generation Sample
+@endsection
+@section('content')
+
+
+
+
+
+
+
🤖 Embedding Generation Sample
+
Type some text into the box below and click Embed to see it's vector representation response.
+
+
+
+
+ @if(isset($response))
+
+
Response
+
{!! json_encode($response) !!}
+
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/sidekick-examples/image.blade.php b/resources/views/sidekick-examples/image.blade.php
index d0423fd..5fc2d72 100644
--- a/resources/views/sidekick-examples/image.blade.php
+++ b/resources/views/sidekick-examples/image.blade.php
@@ -1,22 +1,35 @@
-
-
-
-
Sidekick Image Example
-
-
-
-
-
-
Image Generation Example
-
- @csrf
-
-
-
-
+@extends('sidekick::sidekick-shared.layout')
-@if(isset($image))
-
-@endif
-
-
+@section('title')
+ Image Generation Sample
+@endsection
+
+@section('content')
+
+
+
+
+
+
+
🤖 Image Generation Sample
+
Describe the image you want in the text box below and click convert to generate an image.
+ @if(isset($image))
+
+ @endif
+
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/sidekick-examples/index.blade.php b/resources/views/sidekick-examples/index.blade.php
index b2edfa3..88eb349 100644
--- a/resources/views/sidekick-examples/index.blade.php
+++ b/resources/views/sidekick-examples/index.blade.php
@@ -1,25 +1,23 @@
-
-
-
-
Sidekick Examples
-
-
-
-
Hello from Sidekick!
-
-
Examples (all use OpenAi())
+@extends('sidekick::sidekick-shared.layout')
-
-Chat | Completion | Image | Audio | Transcribe | Moderate | Embedding
-
+@section('title')
+ Welcome to Sidekick Playground
+@endsection
-
Note: To use this you must have configured the .env with your SIDEKICK_OPENAI_TOKEN .
-
-
+@section('content')
+
+
+
+
+
+
+
Hello!
+
+
+
Note: To use this playground you must have configured the .env with your SIDEKICK_OPENAI_TOKEN .
+
+
+
+
+
+@endsection
diff --git a/resources/views/sidekick-examples/moderate.blade.php b/resources/views/sidekick-examples/moderate.blade.php
index 16d9fd3..ac6d061 100644
--- a/resources/views/sidekick-examples/moderate.blade.php
+++ b/resources/views/sidekick-examples/moderate.blade.php
@@ -1,24 +1,42 @@
-
-
-
-
Sidekick Moderation Example
-
-
-
-
-
-
Moderation Example
-
- @csrf
-
-
-
-
+@extends('sidekick::sidekick-shared.layout')
-@if(isset($response))
-
Response
-
{!! json_encode($response) !!}
-@endif
-
-
+@section('title')
+ Moderate Sample
+@endsection
+
+@section('content')
+
+
+
+
+
+
+
🤖 Moderate Sample
+
Type a dummy comment or post into the text box below and hit Send . The AI will then review the content and send back a moderation response.
+
+
+
+
+ @if(isset($response))
+
+
Response
+
{!! json_encode($response) !!}
+
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/sidekick-examples/transcribe.blade.php b/resources/views/sidekick-examples/transcribe.blade.php
index 6c979e5..dd36b5b 100644
--- a/resources/views/sidekick-examples/transcribe.blade.php
+++ b/resources/views/sidekick-examples/transcribe.blade.php
@@ -1,25 +1,43 @@
-
-
-
-
Sidekick Transcribe Example
-
-
-
-
-
-
Transcribe Example
-
- @csrf
- Fot this I am using a url to a sample audio file. An example is already in the box below
-
-
-
-
+@extends('sidekick::sidekick-shared.layout')
-@if(isset($response))
-
Response
-
{!! json_encode($response) !!}
-@endif
-
-
+@section('title')
+ Transcription Generation Sample
+@endsection
+
+@section('content')
+
+
+
+
+
+
+
🤖 Transcription Generation Sample
+
Enter a URL to an audio file and click convert to generate the transcription (audio to text).
+ For convenience, Sidekick has added an example URL in case you don't know where to find one.
+
+
+
+
+ @if(isset($response))
+
+
Response
+
{!! json_encode($response) !!}
+
+ @endif
+
+
+
+
+
+
+
+@endsection
diff --git a/resources/views/sidekick-shared/layout.blade.php b/resources/views/sidekick-shared/layout.blade.php
new file mode 100644
index 0000000..8a9c6ce
--- /dev/null
+++ b/resources/views/sidekick-shared/layout.blade.php
@@ -0,0 +1,47 @@
+
+
+
+
+
+
+
@yield('title')
+
+
+
+
+
+
+
+
+
+
+
+
+
+ @yield('content')
+
+
+
+
+
+
+