Repository navigation
2.0.0
2.0.0
This is a major release that includes breaking changes.
- Add
-ApiBaseparameter 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-AzureOpenAIDeploymentsfunctions are removed.- Remove
-Tokenparameter from all functions. Use-ApiKeyinstead. OPENAI_TOKENenvironment variable is deprecated. UseOPENAI_API_KEYinstead.- The default model for
Request-TextCompletionis changed togpt-3.5-turbo-instructfromtext-davinci-003. - Add
-Formatparameter toRequest-Embeddingsfunction. This parameter can be used to specify the format of the returned embeddings.