File size: 407 Bytes
1e2f57f
 
 
 
 
5684fd5
1e2f57f
 
5684fd5
 
 
1e2f57f
 
5684fd5
1e2f57f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from typing import Dict, NewType, Union, Optional, List, get_type_hints

sha256 = NewType('sha_256_hash', str)

class MetaModels(type):
    def __str__(self):
        output: List = [
            f'class Engines:\n',
            f'  class {self.gpt_35_turbo.__name__}:',
            '    ...',
            f'  class {self.gpt_4.__name__}:',
            '    ...',
        ]

        return '\n'.join(output)