Skip to content

Can't provide multiple keyterms when using Flux on v5 SDKΒ #451

@adrianlorikeet

Description

@adrianlorikeet

What is the current behavior?

The connect params for live Flux is defined here: https://github.com/deepgram/deepgram-js-sdk/blob/v5.0.0-alpha.1/src/api/resources/listen/resources/v2/client/Client.ts

This only allows for one keyterm to be provided. The docs mention that to provide multiple keyterms, you add more keyterm=<KEYTERM_VALUE> pairs in the query params.

Steps to reproduce

No steps to reproduce required, as this is a feature gap and not runtime behaviour.

Expected behavior

Able to add multiple keyterms. Here's the original behaviour from v4 of the API which adds multiple query params using the same key.

Please tell us about your environment

Using v5.0.0-alpha.1 release.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions