AI provider management
* OpenAI-compatible provider adapter * OpenAI support * LM Studio support * Ollama OpenAI-compatible support * Encrypted API-key storage * Default provider and model selection * Provider connection testing * Reusable prompt library * Prompt variables and templates * Prompt version field * AI execution history * Token-usage storage * Duration and failure tracking * Manual knowledge sources * Knowledge-source chunking * Knowledge indexing status * Authenticated AI REST endpoint * AI administration dashboard * AI permissions * Module registration and boot test
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
namespace Modules\AI\Contracts;
|
||||
use Modules\AI\Models\AIProvider;
|
||||
interface AIProviderDriver
|
||||
{
|
||||
public function generate(AIProvider $provider, array $messages, array $options=[]): array;
|
||||
public function test(AIProvider $provider): array;
|
||||
}
|
||||
Reference in New Issue
Block a user