@ondewo/nlu-client-typescript 3.3.0 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -13
- package/api/ondewo/nlu/agent_pb.d.ts +36 -0
- package/api/ondewo/nlu/agent_pb.js +372 -36
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +16 -4
- package/api/ondewo/nlu/session_grpc_web_pb.js +74 -13
- package/api/ondewo/nlu/session_pb.d.ts +37 -21
- package/api/ondewo/nlu/session_pb.js +248 -100
- package/package.json +1 -1
- package/public-api.d.ts +27 -27
package/README.md
CHANGED
|
@@ -1,20 +1,34 @@
|
|
|
1
|
-
<
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<table>
|
|
3
|
+
<tr>
|
|
4
|
+
<td>
|
|
5
|
+
<a href="https://ondewo.com/en/products/natural-language-understanding/">
|
|
6
|
+
<img width="400px" src="https://raw.githubusercontent.com/ondewo/ondewo-logos/master/ondewo_we_automate_your_phone_calls.png"/>
|
|
7
|
+
</a>
|
|
8
|
+
</td>
|
|
9
|
+
</tr>
|
|
10
|
+
<tr>
|
|
11
|
+
<td align="center">
|
|
12
|
+
<a href="https://www.linkedin.com/company/ondewo "><img width="40px" src="https://cdn-icons-png.flaticon.com/512/3536/3536505.png"></a>
|
|
13
|
+
<a href="https://www.facebook.com/ondewo"><img width="40px" src="https://cdn-icons-png.flaticon.com/512/733/733547.png"></a>
|
|
14
|
+
<a href="https://twitter.com/ondewo"><img width="40px" src="https://cdn-icons-png.flaticon.com/512/733/733579.png"> </a>
|
|
15
|
+
<a href="https://www.instagram.com/ondewo.ai/"><img width="40px" src="https://cdn-icons-png.flaticon.com/512/174/174855.png"></a>
|
|
16
|
+
<a href="https://badge.fury.io/js/%40ondewo%2Fnlu-client-typescript"><img src="https://badge.fury.io/js/%40ondewo%2Fnlu-client-typescript.svg" alt="npm version" height="32"></a>
|
|
17
|
+
</td>
|
|
18
|
+
</tr>
|
|
19
|
+
</table>
|
|
5
20
|
<h1 align="center">
|
|
6
21
|
ONDEWO NLU Client Typescript
|
|
7
22
|
</h1>
|
|
8
|
-
|
|
9
|
-
<a href="https://badge.fury.io/js/%40ondewo%2Fnlu-client-typescript"><img src="https://badge.fury.io/js/%40ondewo%2Fnlu-client-typescript.svg" alt="npm version" height="18"></a>
|
|
10
|
-
</p>
|
|
11
|
-
</p>
|
|
23
|
+
</div>
|
|
12
24
|
|
|
13
|
-
|
|
25
|
+
## Overview
|
|
14
26
|
|
|
15
|
-
`@ondewo/nlu-client-typescript` is a compiled version of the [ONDEWO NLU API](https://github.com/ondewo/ondewo-nlu-api). Here you can find the NLU API [documentation](https://ondewo.github.io
|
|
27
|
+
`@ondewo/nlu-client-typescript` is a compiled version of the [ONDEWO NLU API](https://github.com/ondewo/ondewo-nlu-api) using the [ONDEWO PROTO COMPILER](https://github.com/ondewo/ondewo-proto-compiler). Here you can find the NLU API [documentation](https://ondewo.github.io).
|
|
16
28
|
|
|
17
|
-
|
|
29
|
+
ONDEWO APIs use [Protocol Buffers](https://github.com/google/protobuf) version 3 (proto3) as their Interface Definition Language (IDL) to define the API interface and the structure of the payload messages. The same interface definition is used for gRPC versions of the API in all languages.
|
|
30
|
+
|
|
31
|
+
## Setup
|
|
18
32
|
|
|
19
33
|
Using NPM:
|
|
20
34
|
|
|
@@ -22,6 +36,59 @@ Using NPM:
|
|
|
22
36
|
npm i --save @ondewo/nlu-client-typescript
|
|
23
37
|
```
|
|
24
38
|
|
|
25
|
-
|
|
39
|
+
Using GitHub:
|
|
40
|
+
|
|
41
|
+
```shell
|
|
42
|
+
git clone https://github.com/ondewo/ondewo-nlu-client-typescript.git ## Clone repository
|
|
43
|
+
cd ondewo-nlu-client-typescript ## Change into repo-directoy
|
|
44
|
+
make setup_developer_environment_locally ## Install dependencies
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Package structure
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
npm
|
|
51
|
+
├── api
|
|
52
|
+
│ ├── google
|
|
53
|
+
│ │ ├── api
|
|
54
|
+
│ │ │ ├── annotations_pb.d.ts
|
|
55
|
+
│ │ │ └── annotations_pb.js
|
|
56
|
+
│ │ ├── protobuf
|
|
57
|
+
│ │ │ ├── any_pb.d.ts
|
|
58
|
+
│ │ │ ├── any_pb.js
|
|
59
|
+
│ │ │ ├── empty_pb.d.ts
|
|
60
|
+
│ │ │ ├── empty_pb.js
|
|
61
|
+
│ │ │ ├── field_mask_pb.d.ts
|
|
62
|
+
│ │ │ ├── field_mask_pb.js
|
|
63
|
+
│ │ │ ├── struct_pb.d.ts
|
|
64
|
+
│ │ │ ├── struct_pb.js
|
|
65
|
+
│ │ │ ├── timestamp_pb.d.ts
|
|
66
|
+
│ │ │ └── timestamp_pb.js
|
|
67
|
+
│ │ ├── rpc
|
|
68
|
+
│ │ │ ├── status_pb.d.ts
|
|
69
|
+
│ │ │ └── status_pb.js
|
|
70
|
+
│ │ └── type
|
|
71
|
+
│ │ ├── latlng_pb.d.ts
|
|
72
|
+
│ │ └── latlng_pb.js
|
|
73
|
+
│ └── ondewo
|
|
74
|
+
│ ├── nlu
|
|
75
|
+
│ │ ├── agent_grpc_web_pb.d.ts
|
|
76
|
+
│ │ ├── agent_grpc_web_pb.js
|
|
77
|
+
│ │ ├── agent_pb.d.ts
|
|
78
|
+
│ │ ├── agent_pb.js
|
|
79
|
+
│ │ ├── aiservices_grpc_web_pb.d.ts
|
|
80
|
+
│ │ ├── aiservices_grpc_web_pb.js
|
|
81
|
+
│ │ ├── aiservices_pb.d.ts
|
|
82
|
+
│ │ ├── aiservices_pb.js
|
|
83
|
+
│ │ ├── ...
|
|
84
|
+
│ └── qa
|
|
85
|
+
│ ├── qa_grpc_web_pb.d.ts
|
|
86
|
+
│ ├── qa_grpc_web_pb.js
|
|
87
|
+
│ ├── qa_pb.d.ts
|
|
88
|
+
│ └── qa_pb.js
|
|
89
|
+
├── LICENSE
|
|
90
|
+
├── package.json
|
|
91
|
+
├── public-api.d.ts
|
|
92
|
+
└── README.md
|
|
93
|
+
```
|
|
26
94
|
|
|
27
|
-
Read the full documentation on [GitHub](https://github.com/ondewo/ondewo-nlu-client-typescript).
|
|
@@ -1555,6 +1555,11 @@ export namespace FullTextSearchResponseIntent {
|
|
|
1555
1555
|
getDomainName(): string;
|
|
1556
1556
|
setDomainName(value: string): IntentSearchResult;
|
|
1557
1557
|
|
|
1558
|
+
getTagsList(): Array<string>;
|
|
1559
|
+
setTagsList(value: Array<string>): IntentSearchResult;
|
|
1560
|
+
clearTagsList(): IntentSearchResult;
|
|
1561
|
+
addTags(value: string, index?: number): IntentSearchResult;
|
|
1562
|
+
|
|
1558
1563
|
getLanguage(): string;
|
|
1559
1564
|
setLanguage(value: string): IntentSearchResult;
|
|
1560
1565
|
|
|
@@ -1571,6 +1576,7 @@ export namespace FullTextSearchResponseIntent {
|
|
|
1571
1576
|
name: string,
|
|
1572
1577
|
displayName: string,
|
|
1573
1578
|
domainName: string,
|
|
1579
|
+
tagsList: Array<string>,
|
|
1574
1580
|
language: string,
|
|
1575
1581
|
}
|
|
1576
1582
|
}
|
|
@@ -1630,6 +1636,11 @@ export namespace FullTextSearchResponseIntentContextIn {
|
|
|
1630
1636
|
getIntentDisplayName(): string;
|
|
1631
1637
|
setIntentDisplayName(value: string): IntentContextInSearchResult;
|
|
1632
1638
|
|
|
1639
|
+
getTagsList(): Array<string>;
|
|
1640
|
+
setTagsList(value: Array<string>): IntentContextInSearchResult;
|
|
1641
|
+
clearTagsList(): IntentContextInSearchResult;
|
|
1642
|
+
addTags(value: string, index?: number): IntentContextInSearchResult;
|
|
1643
|
+
|
|
1633
1644
|
getLanguage(): string;
|
|
1634
1645
|
setLanguage(value: string): IntentContextInSearchResult;
|
|
1635
1646
|
|
|
@@ -1646,6 +1657,7 @@ export namespace FullTextSearchResponseIntentContextIn {
|
|
|
1646
1657
|
name: string,
|
|
1647
1658
|
intentName: string,
|
|
1648
1659
|
intentDisplayName: string,
|
|
1660
|
+
tagsList: Array<string>,
|
|
1649
1661
|
language: string,
|
|
1650
1662
|
}
|
|
1651
1663
|
}
|
|
@@ -1705,6 +1717,11 @@ export namespace FullTextSearchResponseIntentContextOut {
|
|
|
1705
1717
|
getIntentDisplayName(): string;
|
|
1706
1718
|
setIntentDisplayName(value: string): IntentContextOutSearchResult;
|
|
1707
1719
|
|
|
1720
|
+
getTagsList(): Array<string>;
|
|
1721
|
+
setTagsList(value: Array<string>): IntentContextOutSearchResult;
|
|
1722
|
+
clearTagsList(): IntentContextOutSearchResult;
|
|
1723
|
+
addTags(value: string, index?: number): IntentContextOutSearchResult;
|
|
1724
|
+
|
|
1708
1725
|
getLanguage(): string;
|
|
1709
1726
|
setLanguage(value: string): IntentContextOutSearchResult;
|
|
1710
1727
|
|
|
@@ -1721,6 +1738,7 @@ export namespace FullTextSearchResponseIntentContextOut {
|
|
|
1721
1738
|
name: string,
|
|
1722
1739
|
intentName: string,
|
|
1723
1740
|
intentDisplayName: string,
|
|
1741
|
+
tagsList: Array<string>,
|
|
1724
1742
|
language: string,
|
|
1725
1743
|
}
|
|
1726
1744
|
}
|
|
@@ -1792,6 +1810,11 @@ export namespace FullTextSearchResponseIntentUsersays {
|
|
|
1792
1810
|
getIntentDisplayName(): string;
|
|
1793
1811
|
setIntentDisplayName(value: string): IntentUsersaysSearchResult;
|
|
1794
1812
|
|
|
1813
|
+
getTagsList(): Array<string>;
|
|
1814
|
+
setTagsList(value: Array<string>): IntentUsersaysSearchResult;
|
|
1815
|
+
clearTagsList(): IntentUsersaysSearchResult;
|
|
1816
|
+
addTags(value: string, index?: number): IntentUsersaysSearchResult;
|
|
1817
|
+
|
|
1795
1818
|
getLanguage(): string;
|
|
1796
1819
|
setLanguage(value: string): IntentUsersaysSearchResult;
|
|
1797
1820
|
|
|
@@ -1812,6 +1835,7 @@ export namespace FullTextSearchResponseIntentUsersays {
|
|
|
1812
1835
|
type: string,
|
|
1813
1836
|
intentName: string,
|
|
1814
1837
|
intentDisplayName: string,
|
|
1838
|
+
tagsList: Array<string>,
|
|
1815
1839
|
language: string,
|
|
1816
1840
|
}
|
|
1817
1841
|
}
|
|
@@ -1962,6 +1986,11 @@ export namespace FullTextSearchResponseIntentResponse {
|
|
|
1962
1986
|
getIntentDisplayName(): string;
|
|
1963
1987
|
setIntentDisplayName(value: string): IntentResponseSearchResult;
|
|
1964
1988
|
|
|
1989
|
+
getTagsList(): Array<string>;
|
|
1990
|
+
setTagsList(value: Array<string>): IntentResponseSearchResult;
|
|
1991
|
+
clearTagsList(): IntentResponseSearchResult;
|
|
1992
|
+
addTags(value: string, index?: number): IntentResponseSearchResult;
|
|
1993
|
+
|
|
1965
1994
|
getLanguage(): string;
|
|
1966
1995
|
setLanguage(value: string): IntentResponseSearchResult;
|
|
1967
1996
|
|
|
@@ -1980,6 +2009,7 @@ export namespace FullTextSearchResponseIntentResponse {
|
|
|
1980
2009
|
responseType: string,
|
|
1981
2010
|
intentName: string,
|
|
1982
2011
|
intentDisplayName: string,
|
|
2012
|
+
tagsList: Array<string>,
|
|
1983
2013
|
language: string,
|
|
1984
2014
|
}
|
|
1985
2015
|
}
|
|
@@ -2042,6 +2072,11 @@ export namespace FullTextSearchResponseIntentParameters {
|
|
|
2042
2072
|
getIntentDisplayName(): string;
|
|
2043
2073
|
setIntentDisplayName(value: string): IntentParametersSearchResult;
|
|
2044
2074
|
|
|
2075
|
+
getTagsList(): Array<string>;
|
|
2076
|
+
setTagsList(value: Array<string>): IntentParametersSearchResult;
|
|
2077
|
+
clearTagsList(): IntentParametersSearchResult;
|
|
2078
|
+
addTags(value: string, index?: number): IntentParametersSearchResult;
|
|
2079
|
+
|
|
2045
2080
|
getLanguage(): string;
|
|
2046
2081
|
setLanguage(value: string): IntentParametersSearchResult;
|
|
2047
2082
|
|
|
@@ -2059,6 +2094,7 @@ export namespace FullTextSearchResponseIntentParameters {
|
|
|
2059
2094
|
parameterDisplayName: string,
|
|
2060
2095
|
intentName: string,
|
|
2061
2096
|
intentDisplayName: string,
|
|
2097
|
+
tagsList: Array<string>,
|
|
2062
2098
|
language: string,
|
|
2063
2099
|
}
|
|
2064
2100
|
}
|