Lists the embedding models in the ModelCatalog.
(self)
| 1414 | return model_list |
| 1415 | |
| 1416 | def list_embedding_models(self): |
| 1417 | |
| 1418 | """ Lists the embedding models in the ModelCatalog. """ |
| 1419 | |
| 1420 | embedding_models = [] |
| 1421 | |
| 1422 | for x in self.global_model_list: |
| 1423 | if x["model_category"] == "embedding": |
| 1424 | embedding_models.append(x) |
| 1425 | |
| 1426 | return embedding_models |
| 1427 | |
| 1428 | def list_generative_models(self): |
| 1429 |
no outgoing calls