Refactor generate_text.py to use the default provider

This commit is contained in:
2024-10-29 06:54:03 -04:00
parent 12937e26a1
commit 1f1bf7749a
+1 -1
View File
@@ -1,6 +1,6 @@
from _context import sm
# Defaults to the default provider and model (openai/gpt-4o-mini)
# Defaults to the default provider (openai)
r = sm.generate_text("Write a poem about the moon", llm_model="gpt-4o-mini")
print(r)