wip: article AI polish, category SEO fields, cover generator, membership plan seeder
This commit is contained in:
@@ -10,8 +10,12 @@ class StubLlmProvider implements LlmProvider
|
||||
{
|
||||
public function complete(string $prompt, array $context = []): array
|
||||
{
|
||||
$title = trim((string) ($context['title'] ?? 'Untitled'));
|
||||
|
||||
return [
|
||||
'summary' => 'Stub summary for content optimization.',
|
||||
'summary' => 'Stub summary for «'.$title.'».',
|
||||
'description' => 'Stub SEO description for '.$title.'.',
|
||||
'polished_content' => trim($prompt)."\n\n<!-- stub polished -->",
|
||||
'suggestions' => [
|
||||
'Review headings for clarity.',
|
||||
'Add a concise meta description.',
|
||||
|
||||
Reference in New Issue
Block a user