Download the PHP package hosonode/easyai-php without Composer

On this page you can find all versions of the php package hosonode/easyai-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package easyai-php

EasyAI-PHP

About The Project

EasyAI-PHP is an open-source initiative designed to significantly simplify the entry into artificial intelligence for PHP-developers (so basically Lang-Chain for PHP). Based on PHP 8.1+, this project integrates advanced AI models and utilities, allowing developers to incorporate complex AI functionalities with minimal coding.

Key Features

Getting Started

Install the project using Composer:

Usage

:speech_balloon: Usage of OpenAIChat

Documentation: https://hosonode.gitbook.io/easyai-php/openaichat/basic-usage

:left_right_arrow: Usage of EmbeddingGenerator\OpenAI

An "embedding" is a vector representation of text that captures semantic meanings of the words or phrases. These vectors are generated by deep learning models and can be used in machine learning applications to compare texts, search for similar content, or feed into other machine learning models for tasks like classification or clustering. Each component of the vector represents a dimension of the text's meaning, allowing the model to understand and process text similarly to how humans do but in a numerical form.

Documentation: https://hosonode.gitbook.io/easyai-php/embedding/basic-usage

:open_file_folder: Usage of PineconeVectorStore

The advantage of using Pinecone is that it offers a serverless package where you only pay for what you use. You don't need your own AWS, Google Cloud or Azure for this. This model is highly cost-effective as it eliminates overcapacity and unnecessary expenses.

Documentation: https://hosonode.gitbook.io/easyai-php/pinecone/basic-usage

Usage of Crawler & Zyte API

Documentation: https://hosonode.gitbook.io/easyai-php/crawler/basic-usage

Usage of Tools

Documentation: https://hosonode.gitbook.io/easyai-php/tools/basic-usage

:world_map: Roadmap

:heavy_check_mark: Completed Features:

:construction: In Progress:

:rocket: Planned Features:

FAQ

Q1: Why using EasyAi-PHP and not OpenAI PHP SDK

A1: If you are an experienced developer and want to use many features of OpenAI, the OpenAI PHP SDK might be right for you. However, if you want to make simple requests to the OpenAI interface with very few lines of code, our repo is the right one for you, as we have programmed many helpers that you can use many AI and PHP helpers to improve your project. Many studies and research papers also show that you should use many different AI agents to do different tasks, each AI has its strengths, weaknesses, functions, etc.. Therefore, it would be very difficult to familiarize yourself with all AIs, which is why we offer a kind of AI framework for you here.

Contributing

We highly encourage community contributions. Whether you're a developer using our helpers or someone looking to enhance the functionalities of EasyAI-PHP, your contributions are welcome. This collaborative effort benefits everyone involved.

Open-Source Projects Used

This project utilizes several community-driven packages to power its features:

Support

For AI-related inquiries, contact our HosonoAI support at [email protected]. For service-related questions, reach out to [email protected]. We offer support in German, English, Japanese, Russian, and Italian.

Sponsored by


All versions of easyai-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
openai-php/client Version ^0
nyholm/psr7 Version ^1.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hosonode/easyai-php contains the following files

Loading the files please wait ....