From f09fa23d3d86be4893d8dea3da4bbb16bab4c0e8 Mon Sep 17 00:00:00 2001 From: Chris Gregory Date: Wed, 3 Jan 2024 15:26:34 -0800 Subject: [PATCH] Small README improvements --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b6016617..4a99a06e 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,9 @@ const job = await client.submitJob({ console.log("Running..."); await job.awaitCompletion(); + +const predictions = client.getJobPredictions(job.jobId); +console.log(predictions) ``` ## Streaming Client @@ -63,7 +66,7 @@ const client = new HumeStreamingClient({ }); const stream = client.connect({ - configs: { + config: { language: {}, }, onMessage: (response) => { console.log("Socket opened") },