openai-python
openai-python copied to clipboard
The official Python library for the OpenAI API
* Adds a `fine_tunes.delete -i ` command to delete fine-tunes using the CLI
Hello everyone, is there any example or snippet of code on how to fine-tune using the `FineTune` class directly in Python script, instead of the CLI commands?
* add more descriptive error handling regarding poorly formatted files * update version * add dot prefix to json file extentions and ensure list of allowable file types is complete...
When running the following command I receive the following warning. ```sh $ openai wandb sync --project project wandb: Currently logged in as: me (company). Use `wandb login --relogin` to force...
### Describe the bug Hi, I'm using the openaI python module and I'm experiencing some issues lately. I'm making a streaming completion task. Randomly I'm getting the following exception "**requests.exceptions.ChunkedEncodingError...
I had this problem,`error: subprocess-exited-with-error`, when I installing. How do I install openai? My python is 3.8 pip is 22.3.1 log: ``` Collecting openai Using cached openai-0.26.2.tar.gz (55 kB) Installing...
So in my company we use an api gateway (Gravitee) to provide a central point for all apis (internal and external). I read in the docs that the base url...
Added a CI pipeline to run tests. Should catch errors like this as well. https://github.com/openai/openai-python/issues/199 Example on my fork here https://github.com/thejaminator/openai-python/pull/1 The maintainers of this repo will need to set...
when installing the `openai[embeddings]` requirement, both `sklearn` and `scikit-learn` are listed as requirements [source](https://github.com/openai/openai-python/blob/main/setup.cfg#L48). However, `sklearn` is deprecated, and is causing `pip install openai[embeddings]` to fail. See the following output...
To reproduce: ```shell pip install --user openai[datalib]==0.26.4 # Works fine: echo '[{"prompt": "Here is my example input 1", "completion": "Complete to 1"}, {"prompt": "Here is my example input 2", "completion":...