Openai-pygenerator

Latest version: v0.6.2

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

0.6.2

- additional debug output and unit tests

0.6.1

- added assistant_message function

0.6.0

Migrate to new openai API; see https://github.com/openai/openai-python/discussions/742.
As noted in the README this is for backward compatibility only. Consider rewriting your code to use the new openai API directly rather than relying on openai-pygenerator.

0.5.7

- Removed unused dependency: returns

0.5.6

- Decreased default timeout to 20 seconds (from 60 seconds)
- Increased default max tokens to 500 (from 100 tokens)

Note that both of the above are configurable, either through environment variables or programmatically - see the [README.md](./README.md).

0.5.5

This release will also retry when an `APIConnectionError` occurs.

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.