Skip to content

Releases: phelps-sg/openai-pygenerator

v0.6.2

18 Nov 10:21
Compare
Choose a tag to compare
  • additional debug output and unit tests

v0.6.1

17 Nov 10:53
Compare
Choose a tag to compare
  • added assistant_message function

v0.6.0

17 Nov 10:22
28a4228
Compare
Choose a tag to compare

Migrate to new openai API; see openai/openai-python#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.

v0.5.7

16 Nov 06:31
Compare
Choose a tag to compare
  • Removed unused dependency: returns

v0.5.6

13 Nov 07:34
Compare
Choose a tag to compare
  • 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.

v0.5.5

07 Nov 08:52
Compare
Choose a tag to compare

This release will also retry when an APIConnectionError occurs.

v0.5.4

05 Nov 12:53
Compare
Choose a tag to compare

Added new environment variable GPT_REQUEST_TIMEOUT_SECONDS which overrides the request_timeout parameter when calling the OpenAI API.

For more details see https://community.openai.com/t/configuring-timeout-for-chatcompletion-python/107226/24?page=2.

v0.5.2

05 Nov 09:42
Compare
Choose a tag to compare

Added new environment variable GPT_REQUEST_TIMEOUT_SECONDS which overrides the request_timeout parameter when calling the OpenAI API.

For more details see https://community.openai.com/t/configuring-timeout-for-chatcompletion-python/107226/24?page=2.

v0.5.1

27 Aug 09:34
7f0388b
Compare
Choose a tag to compare
  • updated readme with explanations and links to functional-programming concepts

v0.5.0

18 Jul 19:45
Compare
Choose a tag to compare
  • retry on 500 status