Download the PHP package yandricr/gpti-php without Composer

On this page you can find all versions of the php package yandricr/gpti-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 gpti-php

GPTI

packagist license GitHub Stars Package Size Contributors PHP

This package simplifies your interaction with various GPT models, eliminating the need for tokens or other methods to access GPT. It also allows you to use three artificial intelligences to generate images: DALL·E, Prodia, and more, some of which are premium while others are free, all of this without restrictions or limits.

Installation

You can install the package via Composer

Available Models

GPTI provides access to a variety of artificial intelligence models to meet various needs. Currently, the available models include:

Api key

If you want to access the premium models, enter your credentials. You can obtain them by clicking here.

Usage GPT

Models

Select one of these available models in the API to enhance your experience.

Usage GPT v2

It's quite similar, with the difference that it has the capability to generate real-time responses via streaming using gpt-3.5-turbo.

Usage GPT v2 Streaming

Usage GPT Web

GPT-4 has been enhanced by me, but errors may arise due to technological complexity. It is advisable to exercise caution when relying entirely on its accuracy for online queries.

Usage GPT-4o

Usage GPT-4o Streaming

Usage Bing

Usage Bing Streaming

Parameters

Parameter Default Description
conversation_style Balanced You can use between: "Balanced", "Creative" and "Precise"
markdown false You can convert the dialogues into continuous streams or not into Markdown
stream false You are given the option to choose whether you prefer the responses to be in real-time or not

Usage LLaMA 3.1

Usage LLaMA 3.1 Streaming

Usage blackbox

Usage Blackbox Streaming

AI Images

Check the documentation here to learn how to use the different image generation models.

API Reference

Currently, some models require your credentials to access them, while others are free. For more details and examples, please refer to the complete documentation.

Code Errors

These are the error codes that will be presented in case the API fails.

Code Error Description
400 BAD_REQUEST Not all parameters have been entered correctly
500 INTERNAL_SERVER_ERROR The server has experienced failures
200 The API worked without issues
403 FORBIDDEN The API credentials are not valid
401 UNAUTHORIZED API credentials are required

All versions of gpti-php with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^7.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 yandricr/gpti-php contains the following files

Loading the files please wait ....