Skip to content

curelyai/curelyai_php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CurelyAI

CurelyAI is a PHP client library for interacting with the Curely AI API. This package simplifies the process of sending messages to the AI chatbot and receiving responses.

Usage

To install the CurelyAI package, use Composer:

composer require curelyai/curelyai

# USAGE
require 'vendor/autoload.php'; #'not needed for php frameworks like laravel'

use CurelyAI\ChatClient;

$chatClient = new ChatClient('your_bot_key');
$response = $chatClient->chat('Hello, how are you?');
echo $response;