Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ging-dev/iask.ai-php
Ask AI unofficial client
https://github.com/ging-dev/iask.ai-php
amphp chatbot gpt php symfony
Last synced: 25 days ago
JSON representation
Ask AI unofficial client
- Host: GitHub
- URL: https://github.com/ging-dev/iask.ai-php
- Owner: ging-dev
- Created: 2024-09-17T17:59:23.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-03T04:04:04.000Z (about 2 months ago)
- Last Synced: 2024-10-14T18:21:08.067Z (about 1 month ago)
- Topics: amphp, chatbot, gpt, php, symfony
- Language: PHP
- Homepage: https://iask.ai
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## iAskAI Unofficial PHP Client
The iAskAI PHP client is a simple and efficient way to interact with the IAskAI API, allowing developers to easily integrate AI-driven responses into their PHP applications.## Installation
```bash
composer require gingdev/iaskai
```## Usage
```php
ask('Who is Goku?');
$stream2 = $client->ask('Who is Light Yagami?');echo buffer($stream1);
// streaming response
foreach ($stream2 as $chunk) {
echo $chunk;
}
```## Features
- **Asynchronous Support:** The client is designed to work with asynchronous programming, making it suitable for applications that require non-blocking I/O operations.
- **Streaming Responses:** The ability to handle streaming responses allows for real-time data processing and display, enhancing user experience.
- **Easy Integration:** The client is easy to integrate into existing PHP applications, requiring minimal setup.