- 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
Tools
class 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.realtime
package (@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
Calls
API. 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
ByRemainingRequests
implementation (@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.OpenAIEndpoint
class (@thekid) - Merged PR #2: Implement REST API - including support for streaming (@thekid)
- Merged PR #1: Add integration tests for
cl100k_base
ando200k_base
(@thekid)