Skip to content

Removed user-facing log#7

Merged
michaeljolley merged 1 commit into
mainfrom
remove-logs
Oct 25, 2021
Merged

Removed user-facing log#7
michaeljolley merged 1 commit into
mainfrom
remove-logs

Conversation

@phazonoverload

Copy link
Copy Markdown
Contributor

Given this code snippet:

deepgram.transcription.preRecorded({
	buffer: fs.readFileSync("./sample.wav"),
	mimetype: 'audio/wav'
}).then(transcription => {
	console.log(transcription)
})

Running the script on the terminal prints:

"content: RAW RESPONSE AS STRING"
{ actual response here }

This change removed that first raw print and only prints when and how the user wants.

@michaeljolley michaeljolley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://sdk.bitmoji.com/render/panel/b2adcf31-8a3d-457b-8b87-9ac5aad8d214-b24761f5-99bf-4885-9465-63838b10c2c3-v1.png?transparent=1&palette=1

@michaeljolley michaeljolley merged commit 2fbd24f into main Oct 25, 2021
@michaeljolley michaeljolley deleted the remove-logs branch October 25, 2021 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants