Skip to content

2.0.0

Choose a tag to compare

@mkht mkht released this 20 Oct 16:34
· 574 commits to main since this release
cf70ea4

2.0.0

This is a major release that includes breaking changes.

  • Add -ApiBase parameter to specify the base URL of the API endpoint.
    This is useful for using the OpenAI compatible API such like FastChat or LM Studio in a private environment.
    PS C:\> Request-ChatCompletion -Message 'Hello' -ApiBase 'https://localhost:8000/v1'
  • Get/New/Remove-AzureOpenAIDeployments functions are removed.
  • Remove -Token parameter from all functions. Use -ApiKey instead.
  • OPENAI_TOKEN environment variable is deprecated. Use OPENAI_API_KEY instead.
  • The default model for Request-TextCompletion is changed to gpt-3.5-turbo-instruct from text-davinci-003.
  • Add -Format parameter to Request-Embeddings function. This parameter can be used to specify the format of the returned embeddings.