def setUp(self):
    """Creates examples for the retrieval index."""
    super().setUp()
    self._examples = [
        {
            "hashed_id": "a0",
            "domain": "home",
            "intent": "IN:CREATE_ALARM"
        },
        {
            "hashed_id": "a1",
            "domain": "office",
            "intent": "IN:CREATE_ALARM"
        },
        {
            "hashed_id": "a2",
            "domain": "home",
            "intent": "IN:CREATE_ALARM"
        },
        {
            "hashed_id": "a3",
            "domain": "home",
            "intent": "IN:CREATE_ALARM"
        },
        {
            "hashed_id": "t4",
            "domain": "home",
            "intent": "IN:CREATE_TIMER"
        },
        {
            "hashed_id": "t5",
            "domain": "home",
            "intent": "IN:CREATE_TIMER"
        },
        {
            "hashed_id": "t6",
            "domain": "office",
            "intent": "IN:CREATE_TIMER"
        },
    ]
Creates examples for the retrieval index.
language/casper/retrieve/query_retrievers_test.py