Skip to content

Commit 0ab2baf

Browse files
authored
Merge pull request #3 from deepgram-starters/add-text-sample
feat: adds multipart form data support
2 parents e6881c0 + d209ba2 commit 0ab2baf

4 files changed

Lines changed: 234 additions & 78 deletions

File tree

package-lock.json

Lines changed: 166 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"dependencies": {
1212
"@deepgram/sdk": "^4.11.2",
1313
"express": "^4.18.0",
14-
"dotenv": "^16.0.0"
14+
"dotenv": "^16.0.0",
15+
"multer": "^1.4.5-lts.1"
1516
}
1617
}

sample-text.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This is a sample text file used for testing the text-intelligence starter contract.
2+
3+
This file SHOULD NOT BE DELETED!
4+
5+
Deepgram's Text intelligence API can extract insights from written content. It can perform tasks like summarization, sentiment analysis, topic detection, and intent recognition. These capabilities are useful for a wide range of applications including customer service, content moderation, and business intelligence.

0 commit comments

Comments
 (0)