1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Analyze text with Deepgram's Text Intelligence (`/v1/read`) API.
//!
//! Text Intelligence applies the same sentiment, summarization, topic, and
//! intent analyses as [Audio Intelligence][audio], but to text you already
//! have (a transcript, document, chat log, or email) rather than to audio.
//!
//! Construct a [`TextIntelligence`] with [`Deepgram::text_intelligence`].
//!
//! The API supports English only; the request builder sends `language=en`
//! automatically because the endpoint requires it.
//!
//! See the [Deepgram Text Intelligence docs][docs] for more info.
//!
//! [docs]: https://developers.deepgram.com/docs/text-intelligence
//! [audio]: https://developers.deepgram.com/docs/audio-intelligence
use crateDeepgram;
/// Analyze text using Deepgram's Text Intelligence API.
///
/// Constructed using [`Deepgram::text_intelligence`].
///
/// See the [Deepgram Text Intelligence docs][docs] for more info.
///
/// [docs]: https://developers.deepgram.com/docs/text-intelligence
;