- Merged PR #23: Support accessing Azure AI V1 API without api-version (@theid)
- Merged PR #22: Allow specifying parameters in the RealtimeApi constructor (@thekid)
- Fixed "Using null as an array offset is deprecated" warnings - @thekid
- Added PHP 8.5 and 8.6 to the test matrix - @thekid
- Made compatible with
xp-forge/rest-client6.0+ - @thekid
- Heads up: To use streaming with the legacy completions API, you need to use flow() instead of stream()! (@thekid)
- Merged PR #21: Implement responses API streaming, see issue #20 and https://platform.openai.com/docs/api-reference/responses (@thekid)
- Added ping() method to
com.openai.realtime.RealtimeApiclass. (@thekid) - Added optional parameter timeout to receive() and transmit() methods (@thekid)
- Made it possible to supply organization and project in OpenAI API URI (@thekid)
- Added
RealtimeApi::socket()to access the underlying network socket (@thekid) - Merged PR #17: Move the
Toolsclass to the com.openai.tools package (@thekid)
- Merged PR #16: Refactor implementation to unify tools usage for REST and realtime APIs (@thekid)
- Merged PR #15: Implement realtime API. This implements issue #8 in a
new
com.openai.realtimepackage (@thekid)
- Merged PR #9: Support uploading files, e.g. for transcribing audio. (@thekid)
- Merged PR #13: Use marshalling for function calls. This way functions can have their arguments converted from and return values converted to JSON primitives (@thekid)
- Merged PR #12: Wrap function calling in
CallsAPI. This simplifies function calling by handling JSON de- and encoding as well as supplying a default error handling mechanism (@thekid)
- Merged PR #11: Add distribution strategy and the
ByRemainingRequestsimplementation (@thekid)
- Merged PR #10: Add endpoint implementation which will distribute API requests based on rate limits; see also #7 (@thekid)
- Included usage in streaming responses using
{"include_usage": true}, implementing feature requested in #5 (@thekid) - Merged PR #6: Add
Api::transmit()to invoke API and return response (@thekid)
- Added support for optional organization and project identifiers, see https://platform.openai.com/docs/api-reference/authentication (@thekid)
- Merged PR #4: Implement Azure AI endpoints, which differ in the way they pass the API key and that they need an API version. (@thekid)
- Merged PR #3: Implement function calling and assistant tools support (@thekid)
- Added tracing capabilities to
com.openai.rest.OpenAIEndpointclass (@thekid) - Merged PR #2: Implement REST API - including support for streaming (@thekid)
- Merged PR #1: Add integration tests for
cl100k_baseando200k_base(@thekid)