- Introduced `Groq_AI_Provider_Google` and `Groq_AI_Provider_Groq` classes for handling AI interactions with Google and Groq respectively. - Enhanced `Groq_AI_Provider_Manager` to register and manage multiple AI providers. - Implemented `Groq_AI_Conversation_Manager` for managing conversation IDs and context hashes. - Added `Groq_AI_Generation_Logger` for logging AI generation events and managing log tables. - Developed `Groq_AI_Prompt_Builder` for constructing prompts and processing AI responses. - Established `Groq_AI_Settings_Manager` for managing plugin settings, including context fields and module configurations.
22 lines
412 B
PHP
22 lines
412 B
PHP
<?php
|
|
|
|
interface Groq_AI_Provider_Interface {
|
|
public function get_key();
|
|
|
|
public function get_label();
|
|
|
|
public function get_default_model();
|
|
|
|
public function get_available_models();
|
|
|
|
public function get_option_key();
|
|
|
|
public function generate_content( array $args );
|
|
|
|
public function supports_live_models();
|
|
|
|
public function fetch_live_models( $api_key );
|
|
|
|
public function supports_response_format();
|
|
}
|