rajanvijayan/ai-engine

A wrapper for Gemini, ChatGPT, and other AI tools.

dev-main 2024-10-04 19:35 UTC

This package is auto-updated.

Last update: 2025-07-04 21:10:33 UTC


README

AI Engine is a wrapper for AI tools like Gemini and ChatGPT, making it easy to integrate multiple AI services into your PHP application.

Installation

composer require rajanvijayan/ai-engine

Usage

<?php

use AIEngine\AIEngine;

$ai = new AIEngine( 'your-gemini-api-key' );
$response = $ai->generateContent('What is AI?');

echo $response;