This is an automated email from the ASF dual-hosted git repository.

skrawcz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/burr.git


The following commit(s) were added to refs/heads/main by this push:
     new e8145ed9 Update OpenAI model in email assistant example
e8145ed9 is described below

commit e8145ed96c6052375cd5d680a69aa3795e108dc0
Author: preethamk88 <[email protected]>
AuthorDate: Tue Dec 30 17:53:42 2025 +0530

    Update OpenAI model in email assistant example
---
 examples/email-assistant/application.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/email-assistant/application.py 
b/examples/email-assistant/application.py
index ec74bf91..79b23b5c 100644
--- a/examples/email-assistant/application.py
+++ b/examples/email-assistant/application.py
@@ -54,7 +54,7 @@ def determine_clarifications(state: State) -> State:
     client = _get_openai_client()
     # TODO -- use instructor to get a pydantic model
     result = client.chat.completions.create(
-        model="gpt-4",
+        model="gpt-4o-mini",
         messages=[
             {
                 "role": "system",
@@ -130,7 +130,7 @@ def formulate_draft(state: State) -> Tuple[dict, State]:
     prompt = " ".join(instructions)
 
     result = client.chat.completions.create(
-        model="gpt-4",
+        model="gpt-4o-mini",
         messages=[
             {
                 "role": "system",

Reply via email to