Releases: cequence-io/openai-scala-client
Releases · cequence-io/openai-scala-client
Version 0.3.1
- Adding GPT-4 models (with 8k and 32k context)
- Adding an optional display (header) file name to OpenAIService.uploadFilefunction. If not specified a full path is used as a file name instead.
- Removing dependence on play.shaded...HttpHeaderNamesinMultipartWritable
- Removing the obsolete OpenAIService's function -retrieveModelVersions
Version 0.3.0
- New OpenAIServicefunctions/endpoints:createChatCompletion(ChatGPT API), and audio stuff -createAudioTranscriptionandcreateAudioTranslation
- New OpenAIServiceStreamedExtrafunction/endpoint:createChatCompletionStreamed
- New models: whisper-1,gpt-3.5-turbo, andgpt-3.5-turbo-0301
- DeleteResponse(s) changed from Enumeration to a sealed trait with case classes.
- Commandand- Tagenumerations relocated to a separated file +- PEP#Value(- Command) and- PT#Value(- Tag/Param) in- WSRequestHelperand- OpenAIServiceImplfunctions simplified/generalized to- PEPand- PT.
Version 0.2.0
- Streaming support for createCompletionandlistFineTuneEvents
- Introducing OpenAIServiceFactoryHelperto be used for newOpenAIServiceStreamedFactory
- Adding types to JsonFormats(required by Scala-3)
- Making a few attributes optional (e.g., FineTuneJob->events)
Version 0.1.1
- The attribute completion_tokensofUsageInfo(inTextCompletionResponse) made optional... most likely due to an API change
- A few edits in README (e.g. ref to a Medium article)
Version 0.1.0
- Sonatype publish process fixed
- Closing WS connection with a system shutdown hook