open-ai icon indicating copy to clipboard operation
open-ai copied to clipboard

OpenAI PHP SDK : Most downloaded, forked, contributed, huge community supported, and used PHP (Laravel , Symfony, Yii, Cake PHP or any PHP framework) SDK for OpenAI GPT-3 and DALL-E. It also supports...

Results 18 open-ai issues
Sort by recently updated
recently updated
newest added

Can you please add support for this?: https://beta.openai.com/docs/models/content-filter

enhancement

Hi! I'm working with fine-tuned models, and need to get a list of all available. However, the engines method only returns the base models, and does not include the user...

enhancement

### Describe the bug string(249) "{ "error": { "message": "The model `davinci` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations", "type": "invalid_request_error", "param": null, "code": "model_not_found" } } " ### To...

bug

### Describe the feature or improvement you're requesting does this library not support function calling? Tried but could not get this to work as also noted in https://github.com/orhanerday/open-ai/issues/98 https://platform.openai.com/docs/api-reference/chat/create ![image](https://github.com/orhanerday/open-ai/assets/45325278/68f71be2-a1a2-4862-bf31-81c2fc2fe458)...

### Describe the feature or improvement you're requesting Please, see at: https://platform.openai.com/docs/guides/text-generation/json-mode ```php $chat = json_decode( $open_ai->completion([ 'model' => 'gpt-4-1106-preview', 'prompt' => $prompt, 'temperature' => 0.7, 'max_tokens' => 1024, "top_p"...

### Describe the bug Please enable cookies. Sorry, you have been blocked ### To Reproduce $prompt = json_encode($textObj)."\nTranslate to: ".$lagnString.".\nRetun all translations in JSON with this structure: \n".$jsonString; $result =...

bug

## Overview This pull request introduces several enhancements to the `open-ai` project. Key changes include exposing response headers, rate limit metrics, and improvements in efficiency logging. ### Key Changes -...

Added json_object example to readme to demonstrate how to get a JSON response from OpenAI.