From 3246e2b8b7a760a693a84f997cce80a2d0a07b94 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 28 Oct 2024 19:19:49 -0400 Subject: [PATCH] Refactor user message in t.py to request a poem about working at dominoes --- t.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/t.py b/t.py index 4bb98ab..fac4751 100644 --- a/t.py +++ b/t.py @@ -1,13 +1,12 @@ import simplemind as sm -from pydantic import BaseModel conversation = sm.create_conversation(llm_model="grok-beta", llm_provider="xai") conversation.add_message( role="user", - text="Write a poem about love", + text="Write a poem about working at dominoes", ) r = conversation.send() -print(r) +print(r.text)