Skip to content

Commit f79226d

Browse files
committed
reverse the order of litellm models
1 parent c56a5ed commit f79226d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/litellm_recipe_structured_output.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def main():
2424
# We define a prompter that generates cuisines
2525
cuisines_generator = curator.Prompter(
2626
prompt_func=lambda: f"Generate 10 diverse cuisines.",
27-
model_name="gemini/gemini-1.5-flash",
27+
model_name="claude-3-5-haiku-20241022",
2828
response_format=Cuisines,
2929
parse_func=lambda _, cuisines: [{"cuisine": t} for t in cuisines.cuisines_list],
3030
backend="litellm",
@@ -33,7 +33,7 @@ def main():
3333
print(cuisines.to_pandas())
3434

3535
recipe_prompter = curator.Prompter(
36-
model_name="claude-3-5-haiku-20241022",
36+
model_name="gemini/gemini-1.5-flash",
3737
prompt_func=lambda row: f"Generate a random {row['cuisine']} recipe. Be creative but keep it realistic.",
3838
parse_func=lambda row, response: {
3939
"title": response.title,

0 commit comments

Comments
 (0)