Skip to content

Commit 4a69bd1

Browse files
authored
V1.6 (#52)
1 parent 91ae520 commit 4a69bd1

File tree

97 files changed

+1109
-2048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+1109
-2048
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 379 additions & 209 deletions
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 Bytes
Binary file not shown.

binding/dotnet/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ Made in Vancouver, Canada by [Picovoice](https://picovoice.ai)
44

55
Rhino is Picovoice's Speech-to-Intent engine. It directly infers intent from spoken commands within a given context of
66
interest, in real-time. For example, given a spoken command *"Can I have a small double-shot espresso with a lot of sugar
7-
and some milk"*, Rhino infers that the user wants to order a drink with these specifications:
7+
and some milk"*, Rhino infers that the user wants to order a drink and emits the following inference result:
88

99
```json
1010
{
1111
"type": "espresso",
1212
"size": "small",
13-
"numberOfShots": "2",
14-
"sugar": "a lot",
15-
"milk": "some"
13+
"numberOfShots": "2"
1614
}
1715
```
1816

binding/dotnet/Rhino/Rhino.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5-
<Version>1.5.1</Version>
5+
<Version>1.6.0</Version>
66
<Authors>Picovoice</Authors>
77
<Company />
88
<Product>Rhino Speech-to-Intent Engine</Product>
@@ -15,7 +15,7 @@
1515
<Copyright>Picovoice 2020</Copyright>
1616
<Description>Rhino is Picovoice's Speech-to-Intent engine. It directly infers intent from spoken commands within a given context of interest, in real-time.
1717

18-
For example, given a spoken command "Can I have a small double-shot espresso with a lot of sugar and some milk", Rhino infers that the user wants to order a drink with these specifications: { "type": "espresso", "size": "small", "numberOfShots": "2", "sugar": "a lot", "milk": "some" }
18+
For example, given a spoken command "Can I have a small double-shot espresso?", Rhino infers that the user wants to order a drink with these specifications: { "type": "espresso", "size": "small", "numberOfShots": "2" }
1919

2020
Rhino is:
2121
- using deep neural networks trained in real-world environments.

binding/dotnet/RhinoTest/MainTest.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,13 @@ public void TestWithinContext()
7272

7373
Inference inference = r.GetInference();
7474
Assert.IsTrue(inference.IsUnderstood, "Couldn't understand.");
75-
Assert.AreEqual("orderDrink", inference.Intent, "Incorrect intent.");
75+
Assert.AreEqual("orderBeverage", inference.Intent, "Incorrect intent.");
7676

7777
Dictionary<string, string> expectedSlotValues = new Dictionary<string, string>()
7878
{
7979
{"size", "medium"},
8080
{"numberOfShots", "double shot"},
81-
{"coffeeDrink", "americano"},
82-
{"milkAmount", "lots of milk"},
83-
{"sugarAmount", "some sugar"},
81+
{"beverage", "americano"},
8482
};
8583
Assert.IsTrue(inference.Slots.All((keyValuePair) =>
8684
expectedSlotValues.ContainsKey(keyValuePair.Key) &&

0 commit comments

Comments
 (0)