alexa / dstc11-track5

DSTC11 Track 5 - Task-oriented Conversational Modeling with Subjective Knowledge
Other
45 stars 15 forks source link

modify DatasetWalker to be subscriptable #5

Open selBaez opened 1 year ago

selBaez commented 1 year ago

Issue #4 , if available:

Description of changes: Implemented the __getitem__ in the DatasetWalker class to make it subscriptable. Refactored the functionality to resolve knowledge, to be used either when iterating or accessing item by index.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.