Skip to content

Commit b5eecb9

Browse files
authored
Updates the openai model options to include new models (#80)
1 parent d205d57 commit b5eecb9

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

app.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,25 @@ def recommendations(
113113
"applicability": {"attribute": True, "token": False},
114114
"platform": "python",
115115
},
116+
{
117+
"config_string": "text-embedding-3-small",
118+
"description": "Cheap and reliable transformer",
119+
"tokenizers": ["all"],
120+
"applicability": {"attribute": True, "token": False},
121+
"platform": "openai",
122+
},
123+
{
124+
"config_string": "text-embedding-3-large",
125+
"description": "Slower and more expensive model with better overall performance",
126+
"tokenizers": ["all"],
127+
"applicability": {"attribute": True, "token": False},
128+
"platform": "openai",
129+
},
116130
{
117131
"config_string": "text-embedding-ada-002",
118-
"description": "Cheapest and most common used openai transformer",
132+
"description": "Most common used openai transformer (outdated)",
119133
"tokenizers": ["all"],
120-
"applicability": {"attribute": True, "token": True},
134+
"applicability": {"attribute": True, "token": False},
121135
"platform": "openai",
122136
},
123137
]

0 commit comments

Comments
 (0)