This repository contains the source code for the TypeScript SDK to connect to the realtime speech service. There's also an example client for reference.
Do the following to install the SDK:
npm install @oracle/oci-ai-speech-realtime
You can also choose to clone this git repo and install from source.
The home page for the OCI Speech Service can be found here. The API reference for OCI Speech Service can be found here.
Note that realtime speech URLs are distinct from the speech URLs mentioned in the above link. To obtain a realtime speech url, take a speech url, and replace 'speech' with realtime. Also replace https with wss.
For example, for the following speech url:
https://speech.aiservice.af-johannesburg-1.oci.oraclecloud.com
This is the corresponding realtime speech URL:
wss://realtime.aiservice.af-johannesburg-1.oci.oraclecloud.com
We have an example here itself, it can be found in the example-client directory.
Follow the instructions in the Development Readme to get started with local development/testing of the SDK code.
This project welcomes contributions from the community. Before submitting a pull request, please review our contribution guide
Please consult the security guide for our responsible security vulnerability disclosure process
Copyright (c) 2024, 2025, Oracle and/or its affiliates.
Released under the Universal Permissive License v1.0 as shown at https://oss.oracle.com/licenses/upl/.