Releases: auroraapi/aurora-python
Releases · auroraapi/aurora-python
Python SDK v0.2.0
This release adds a major feature to the SDK: Dialog Builder support. Although it isn't complete, it supports some of the major features.
Added
- Dialog Builder support
- Create a Dialog
- Access Dialog context updates through
on_context_update
- Set UDFs using
Dialog.set_function
- Set and access the Dialog context data through
context
functionscontext.get_step_data(id)
gets the step data for the given step idcontext.get_user_data(id)
gets the user data for the given idcontext.set_user_data(id, value)
sets the given user data for the given idcontext.get_current_step()
gets the current step in the dialog
- Run a created dialog using
Dialog.run()
Python SDK v0.1.2
Changed
- Audio recording now keeps about 1.25s of audio before actual talking begins to prevent the beginning of the speech from appearing cut off. This fixes an issue where the STT doesn't recognize the first word.
- This release has been collapsed into v0.1.1, as the change is the same.
Python Beta SDK
This release represents the first beta version of the Aurora Python SDK. For all 0.1.x
versions, the interface will not change. Bugs will be fixed and features will be added in a backwards-compatible way. This release features the following:
- Developer interfaces
Text
object, for text-to-speech and interpretInterpret
object (as a result of callingText(...).interpret()
)Speech
object (as a result of callingText(...).speech()
) which can be created from a recording or a stored audio WAV file.speech.listen
– listen once and return aSpeech
objectspeech.continuously_listen
– keep listening and yieldSpeech
objects until breakspeech.listen_and_transcribe
– listen once, but stream audio to server while listening and continuously transcribe until stream ends; returns aText
objectspeech.continuously_listen_and_transcribe
– a combination ofcontinuously_listen
andlisten_and_transcribe
- Audio
AudioFile
class for high-level audio manipulation, recording, and playback
- API
- Functions to send API requests to the backend
- Tests
- 100% coverage with 50 tests
You can install this with pip install --upgrade auroraapi
.