<?php
namespace Claromentis\Core\Ai\Api;

$GLOBALS["__65da1b1ec2d6653e8a" . "0ab7848e536215"] = (@$GLOBALS["__65da1b1ec2d6653e8a0ab" . "7848e536215"] ?: array()) + array();
use Claromentis\Core\Ai\Repository\CustomPromptRepository;
class Api
{
    private CustomPromptRepository $customRepository;
    
    
    
    
    
    
    public function __construct(CustomPromptRepository $_222dbf3ebab3159c15106353e8cbe2c2)
    {
        $this->customRepository = $_222dbf3ebab3159c15106353e8cbe2c2;
    }
    
    
    
    
    
    
    
    public function getCustomPrompts(string $module) : array
    {
        return $this->customRepository->get($module);
    }
    
    
    
    
    
    
    
    
    public function saveCustomPrompts(string $module, array $data)
    {
        $this->customRepository->save($module, $data);
    }
}