Simplify Session class usage example in README for clarity

This commit is contained in:
2024-10-30 18:29:18 -04:00
parent 4babdcebd9
commit 4f38b44145
+1 -4
View File
@@ -117,10 +117,7 @@ You can use the `Session` class to
import simplemind as sm
# Create a session with defaults
gpt_4o_mini = sm.Session(
llm_provider="openai",
llm_model="gpt-4o-mini"
)
gpt_4o_mini = sm.Session(llm_provider="openai", llm_model="gpt-4o-mini")
# Now all calls use these defaults
response = gpt_4o_mini.generate_text("Hello!")