File size: 313 Bytes
0f35f83
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from embedding_models import open_ai
class _Registry:
    def __init__(self):
        pass

    def _models(self):
        return [
            open_ai.OpenAIAda002(),
            open_ai.OpenAI3Large()
        ]

    def models(self):
        return {m.name(): m for m in self._models()}

registry = _Registry()