Search
Preparing search index...
The search index is not available
Sociably
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Sociably
dialogflow
DialogflowIntentRecognizer
Class DialogflowIntentRecognizer<Recognition>
Type parameters
Recognition
:
RecognitionData
<
string
,
string
>
=
RecognitionData
<
string
,
string
>
Hierarchy
DialogflowIntentRecognizer
Implements
IntentRecognizer
<
Recognition
,
DetactIntentPayload
>
Index
Constructors
constructor
Properties
agent
Name
agent
Time
Zone
environment
manual
Mode
project
Id
use
Default
Agent
Methods
detect
Text
train
Constructors
constructor
new
Dialogflow
Intent
Recognizer
<
Recognition
>
(
options
:
Recognition
extends
RecognitionData
<
Language
,
Intent
>
?
DialogflowConfigs
<
Language
,
Intent
>
:
never
)
:
DialogflowIntentRecognizer
<
Recognition
>
Type parameters
Recognition
:
RecognitionData
<
string
,
string
>
=
RecognitionData
<
string
,
string
>
Parameters
options:
Recognition
extends
RecognitionData
<
Language
,
Intent
>
?
DialogflowConfigs
<
Language
,
Intent
>
:
never
Returns
DialogflowIntentRecognizer
<
Recognition
>
Properties
agent
Name
agent
Name
:
undefined
|
string
agent
Time
Zone
agent
Time
Zone
:
undefined
|
string
environment
environment
:
string
manual
Mode
manual
Mode
:
boolean
project
Id
project
Id
:
string
use
Default
Agent
use
Default
Agent
:
boolean
Methods
detect
Text
detect
Text
(
channel
:
SociablyChannel
, text
:
string
, options
?:
DetectIntentOptions
)
:
Promise
<
DetectIntentResult
<
Recognition
,
IQueryResult
>
>
Parameters
channel:
SociablyChannel
text:
string
Optional
options:
DetectIntentOptions
Returns
Promise
<
DetectIntentResult
<
Recognition
,
IQueryResult
>
>
train
train
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
Modules
auth
core
create-
app
dev-
tools
dialogflow
default
http
line
messenger
next
redis-
state
script
stream
telegram
twitter
websocket
webview
Dialogflow
Intent
Recognizer
constructor
agent
Name
agent
Time
Zone
environment
manual
Mode
project
Id
use
Default
Agent
detect
Text
train
Generated using
TypeDoc