deepgram/deepgram-go-sdk

Using Nova crashes client

Closed this issue · 2 comments

code

dg := deepgram.NewClient(config.DeepgramConfig().ApiKey)
	res, err := dg.PreRecordedFromURL(
		deepgram.UrlSource{
			Url: signedURL,
		},
		deepgram.PreRecordedTranscriptionOptions{
			Callback: callback,
			Keywords: keywords,
			Tier:     "Nova",
			// Model:      "video",
			Punctuate:  true,
			Diarize:    true,
			Language:   "en-US",
			Utterances: true,
			Tag: []string{
				config.Environment(),
			},
		})

Error

{
    "err_code": "INVALID_QUERY_PARAMETER",
    "err_msg": "Invalid 'tier' value of 'Nova'.",
    "request_id": "bf63cb22-0e8c-47a5-a846-2529264c9595"
}

I am trying to transcribe a video recording of a zoom call.

You need to change "Nova" to "nova". So in your options, add it like this:

Tier: "nova",