aws-lex-conversation 6.4.0 → 6.4.1
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/aws/lex/conversation/type/transcription.rb +5 -1
- data/lib/aws/lex/conversation/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8bc369a5b10d48b9936644b0ddc62d8ac660104fa1878576db52874636096850
|
4
|
+
data.tar.gz: 2dd17222a07d8a6a33d6fa5e4102bfb309f412368e7e884c55e630481fabe53b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5991a4fae628d07e6a1801b1ccbc08668f72b22849c45431fb92564cda744ce2af5cb7216b1b456dd215d42839c4d31160bc96dc73479be1d76d47a7f223f02
|
7
|
+
data.tar.gz: 28634d75eb37f2984fe84bacdea066d0dec2f33757fbbaed517d032353896ef19387c9bc63fb1eb26c55760543e91683c3b429fe42948ac2d26498abb5491824
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# 6.4.1 - Feb 10, 2022
|
2
|
+
|
3
|
+
* There was a bug with the way we were building the structure for the `resolved_slots` with the recent release of transcription confidence scores in 6.4.0.
|
4
|
+
* The bug would result in an `ArgumentError` being raised during the input event validation phase when creating a conversation instance.
|
5
|
+
* To resolve this bug, we now correctly coerce the `resolved_slots` value as a Hash.
|
6
|
+
|
1
7
|
# 6.4.0 - Feb 10, 2022
|
2
8
|
|
3
9
|
* Add support for the new protocol properties of `proposedNextState` and `transcriptions`. This enables support for [transcription confidence scores](https://docs.aws.amazon.com/lexv2/latest/dg/using-transcript-confidence-scores.html).
|
@@ -15,7 +15,11 @@ module Aws
|
|
15
15
|
|
16
16
|
coerce(
|
17
17
|
resolved_context: Transcription::ResolvedContext,
|
18
|
-
resolved_slots:
|
18
|
+
resolved_slots: ->(slots) do
|
19
|
+
slots.each_with_object({}) do |(name, data), hash|
|
20
|
+
hash[name.to_sym] = Slot.shrink_wrap(data)
|
21
|
+
end
|
22
|
+
end
|
19
23
|
)
|
20
24
|
end
|
21
25
|
end
|