Skip to content

Commit

Permalink
Small README improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybchris committed Jan 3, 2024
1 parent 49e9506 commit e4ae5c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -63,7 +66,7 @@ const client = new HumeStreamingClient({
});

const stream = await client.connect({
configs: {
config: {
language: {},
},
onMessage: (response) => {
Expand Down

0 comments on commit e4ae5c1

Please sign in to comment.