Initial baseline: LaraBlog core with plugin commerce surface.
Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Contracts;
|
||||
|
||||
interface LlmProvider
|
||||
{
|
||||
/**
|
||||
* @param array<string, mixed> $context
|
||||
* @return array<string, mixed>
|
||||
*/
|
||||
public function complete(string $prompt, array $context = []): array;
|
||||
|
||||
/**
|
||||
* @return array{status: string, reason?: string}
|
||||
*/
|
||||
public function moderate(string $content): array;
|
||||
}
|
||||
Reference in New Issue
Block a user