Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public String getIntentName() {
* @return String 槽位值
*/
public String getSlot(String slot) {
return intents.get(0).getSlots().get(slot).getName();
return intents.get(0).getSlots().get(slot).getValue();
}

/**
Expand All @@ -158,7 +158,7 @@ public String getSlot(String slot) {
* @return String 槽位名对应的槽位值
*/
public String getSlot(String slot, int index) {
return intents.get(index).getSlots().get(slot).getName();
return intents.get(index).getSlots().get(slot).getValue();
}

/**
Expand Down