luis 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fixtures/vcr_cassettes/bus_time.yml +51 -0
- data/lib/luis.rb +1 -1
- data/lib/luis/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6957d22d39e0dabb6a47381933d508edbc0c70d4
|
4
|
+
data.tar.gz: e511c77c5ea22ab1a82f977b9eb279293f5afeac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31b33fa1bffea0098e0ace08d98656e6faf6873448a896d89910679283f6fc113b9f95ec29940b5e10f158d66e96bb1060af9de2787b4627f2ff93aafbd4dee6
|
7
|
+
data.tar.gz: d8b307d5b5e22332915a25d4481795b6d5b49369bd94b864aec0cb75a2019f3b8c0ea6931b5912ec80c3c43a00d37110961566711e081aaf6dfac5fbb055956d
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/1234?q=Bus%20time&subscription-key=456
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Cache-Control:
|
22
|
+
- no-store, proxy-revalidate, no-cache, max-age=0, private
|
23
|
+
Pragma:
|
24
|
+
- no-cache
|
25
|
+
Content-Length:
|
26
|
+
- '532'
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
X-Powered-By:
|
30
|
+
- ASP.NET
|
31
|
+
Apim-Request-Id:
|
32
|
+
- 2b0876eb-0318-4986-af11-ec75686c933e
|
33
|
+
Strict-Transport-Security:
|
34
|
+
- max-age=31536000; includeSubDomains; preload
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
37
|
+
Date:
|
38
|
+
- Sat, 16 Sep 2017 20:13:17 GMT
|
39
|
+
body:
|
40
|
+
encoding: UTF-8
|
41
|
+
string: "{\r\n \"query\": \"Bus time\",\r\n \"topScoringIntent\": {\r\n \"intent\":
|
42
|
+
\"getBusTimeTable\",\r\n \"score\": 0.359162629,\r\n \"actions\": [\r\n
|
43
|
+
\ {\r\n \"triggered\": true,\r\n \"name\": \"getBusTimeTable\",\r\n
|
44
|
+
\ \"parameters\": [\r\n {\r\n \"name\": \"stop\",\r\n
|
45
|
+
\ \"type\": \"BusStop\",\r\n \"required\": false,\r\n
|
46
|
+
\ \"value\": null\r\n }\r\n ]\r\n }\r\n ]\r\n
|
47
|
+
\ },\r\n \"entities\": [],\r\n \"dialog\": {\r\n \"contextId\": \"5634e7bd-1604-4c1f-b56a-928ebfd416b7\",\r\n
|
48
|
+
\ \"status\": \"Finished\"\r\n }\r\n}"
|
49
|
+
http_version:
|
50
|
+
recorded_at: Sat, 16 Sep 2017 20:13:19 GMT
|
51
|
+
recorded_with: VCR 3.0.3
|
data/lib/luis.rb
CHANGED
data/lib/luis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: luis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aboobacker MK
|
@@ -125,6 +125,7 @@ files:
|
|
125
125
|
- Rakefile
|
126
126
|
- bin/console
|
127
127
|
- bin/setup
|
128
|
+
- fixtures/vcr_cassettes/bus_time.yml
|
128
129
|
- lib/luis.rb
|
129
130
|
- lib/luis/action.rb
|
130
131
|
- lib/luis/base.rb
|