Skip to content

Commit ddad204

Browse files
authored
Merge pull request #96 from AssemblyAI/doc-link-changes
change doc links
2 parents 41b97db + 884d59d commit ddad204

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ assemblyai transcribe [local file | remote url | youtube links] [--flags]
143143
> **-i, --redact_pii_policies**
144144
> default: drug,number_sequence,person_name
145145
> example: `-i medical_process,nationality` or `--redact_pii_policies medical_process,nationality`
146-
> The list of PII policies to redact ([source](https://www.assemblyai.com/docs/audio-intelligence#pii-redaction)), comma-separated. Required if the redact_pii flag is true.
146+
> The list of PII policies to redact ([source](https://www.assemblyai.com/docs/Models/pii_redaction)), comma-separated. Required if the redact_pii flag is true.
147147
148148
> **-x, --sentiment_analysis**
149149
> default: false
@@ -176,12 +176,12 @@ assemblyai transcribe [local file | remote url | youtube links] [--flags]
176176
> default: false
177177
> example: `-n` or `--language_detection`
178178
> Automatic identify the dominant language that’s spoken in an audio file.
179-
> [Here](https://www.assemblyai.com/docs/core-transcription#automatic-language-detection) you can view the ALD list for supported languages
179+
> [Here](https://www.assemblyai.com/docs/Models/speech_recognition#automatic-language-detection) you can view the ALD list for supported languages
180180
181181
> **-g, --language_code**
182182
> example: `-g es` or `--language_code es`
183183
> Manually specify the language of the speech in your audio file.
184-
> Click [here](https://www.assemblyai.com/docs#supported-languages) to view all the supported languages
184+
> Click [here](https://www.assemblyai.com/docs/Concepts/faq#supported-languages) to view all the supported languages
185185
186186
> **-m, --summarization**
187187
> default: false
@@ -192,13 +192,13 @@ assemblyai transcribe [local file | remote url | youtube links] [--flags]
192192
> default: bullets
193193
> example: `-q conversational` or `--summary_model conversational`
194194
> Type of summary generated.
195-
> Click [here](https://www.assemblyai.com/docs/audio-intelligence#summarization) to view all the supported types
195+
> Click [here](https://www.assemblyai.com/docs/Models/summarization) to view all the supported types
196196
197197
> **-y, --summary_type**
198198
> default: bullets
199199
> example: `-y paragraph` or `--summary_type paragraph`
200200
> Model of summary generated.
201-
> Click [here](https://www.assemblyai.com/docs/audio-intelligence#summarization) to view all the supported types
201+
> Click [here](https://www.assemblyai.com/docs/Models/summarization) to view all the supported types
202202
203203
> **-k, --word_boost**
204204
> example: `-k "sally mcmanus,the IQEZ iPhone app"` or `--word_boost "sally mcmanus,the IQEZ iPhone app"`

cmd/transcribe.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ var transcribeCmd = &cobra.Command{
139139
if _, ok := S.PIIRedactionPolicyMap[policy]; !ok {
140140
printErrorProps := S.PrintErrorProps{
141141
Error: errors.New("Invalid redaction policy"),
142-
Message: fmt.Sprintf("%s is not a valid policy. See https://www.assemblyai.com/docs/audio-intelligence#pii-redaction for the complete list of supported policies.", policy),
142+
Message: fmt.Sprintf("%s is not a valid policy. See https://www.assemblyai.com/docs/Models/pii_redaction for the complete list of supported policies.", policy),
143143
}
144144
U.PrintError(printErrorProps)
145145
return
@@ -189,7 +189,7 @@ var transcribeCmd = &cobra.Command{
189189
if _, ok := S.LanguageMap[languageCode]; !ok {
190190
printErrorProps := S.PrintErrorProps{
191191
Error: errors.New("Invalid language code"),
192-
Message: "Invalid language code. See https://www.assemblyai.com/docs#supported-languages for supported languages.",
192+
Message: "Invalid language code. See https://www.assemblyai.com/docs/Concepts/faq#supported-languages for supported languages.",
193193
}
194194
U.PrintError(printErrorProps)
195195
return

0 commit comments

Comments
 (0)