Skip to content

Commit 1c66321

Browse files
Small README improvements (#9)
1 parent 88ef985 commit 1c66321

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ const job = await client.submitJob({
4949

5050
console.log("Running...");
5151
await job.awaitCompletion();
52+
53+
const predictions = client.getJobPredictions(job.jobId);
54+
console.log(predictions)
5255
```
5356

5457
## Streaming Client
@@ -63,7 +66,7 @@ const client = new HumeStreamingClient({
6366
});
6467

6568
const stream = client.connect({
66-
configs: {
69+
config: {
6770
language: {},
6871
},
6972
onMessage: (response) => { console.log("Socket opened") },

0 commit comments

Comments
 (0)