generated from deepgram/oss-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What's happening that seems wrong?
Pass keywords parameter as a list of strings.
response = await dg_client.transcription.prerecorded(
source,
{
"punctuate": True,
"diarize": True,
"numerals": True,
"utterances": True,
"keywords": [
"10-Q",
"non-GAAP",
"GAAP",
"CRM",
ValueError: not enough values to unpack (expected 2, got 1)
The data looks like
[('keywords', '10-Q')]
[('keywords', 'non-GAAP')]
and it should look like
('keywords', '10-Q')
('keywords', 'non-GAAP')
So an extra array is ending up around each item.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working