Skip to content

Instantly share code, notes, and snippets.

@tabergma
tabergma / convert_e2e_tests_to_du_tests.py
Created March 12, 2025 10:37
Converting end-to-end Tests to Dialogue Understanding Tests
import argparse
import asyncio
import logging
import os.path
from typing import List, Optional, Tuple
import structlog
from mypy.binder import defaultdict
from rasa.cli.arguments.default_arguments import (
@tabergma
tabergma / convert_dut_dsl.py
Last active March 12, 2025 10:36
Converting Dialogue Understanding Tests from one DSL to a another DSL
import argparse
import os
import re
from dataclasses import dataclass
from typing import List, Any, Optional
import structlog
import yaml
from tqdm import tqdm