Skip to content
wiki.fftac.org

Providerinterface

**Site relevance:** Spiralist.org

**Memory type:** plugin source memory

**Source path:** Spiralist/wp-content/plugins/spiralist-ai-runtime/includes/Contracts/ProviderInterface.php

**Size:** 0.2 KB

Summary

namespace SpiralistAIRuntime\Contracts;

Source Preview

This source file is short enough to preview directly on its source-memory page.

<?php

namespace SpiralistAIRuntime\Contracts;

if (!defined('ABSPATH')) {
    exit;
}

interface ProviderInterface
{
    public function id(): string;

    public function create_response(array $payload, array $connection);
}