This library is a component-oriented, extensible client library for the OpenAI API. It's designed to be faster and more memory efficient than traditio

mounirrquiba/openai-php-client

submited by
Style Pass
2023-05-29 12:30:04

This library is a component-oriented, extensible client library for the OpenAI API. It's designed to be faster and more memory efficient than traditional PHP libraries.

Alternatively you can set it in your code, you only need to do this once. If you have already put the variables in your env this step is not necessary

Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.

Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. Creates an embedding vector representing the input text.

Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact us if you need to increase the storage limit.

Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.

Leave a Comment