Early phase (still in development) of JavaScript interview browser SDK to run AI-powered interviews
Local testing instructions. Make sure you have node installed on your machine first and have the repo cloned.
Test the SDK
- Create a new Node.js project
- Run
npm install <path/to/sdk> - Import the
Interviewclass fromai-interview-sdk
Run the server
- Open terminal and navigate to
serverdirectory - Run
npm install - Run
nodemon index.ts
Express server that handles incoming socket connection from SDK and all conversational logic. To be deployed.
index.tsis the main entry pointopenai.tsinitializes the chat SDK and provides a helperspeech.tsinitializes the Azure Speech SDK and provides helpers
Code for the SDK to be integrated into any web platform. This calls our own server. To be published on NPM directory.
index.tsexport Interview class for SDK usageaudioBufferToWav.tshelper to convertwebmaudio chunks towavaudio-worklet-processor.jshandle and pass on chunks of the incoming audio stream__tests__for unit tests to be added to (not yet started)