Captures the current working tree after theme slots, ArticleAccess, and the payment / paid-content plugins so subsequent work has a reviewable git history.
20 lines
382 B
PHP
20 lines
382 B
PHP
<?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;
|
|
}
|