Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.
Python aiburrchatbot-frameworkdagsgenerative-aigraphshacktoberfestllmopsllmsmlopspersistent-data-structurestate-machinestate-managementvisibility
Update OpenAI model in email assistant example
preethamk88e8145ed96c60
diff --git a/examples/email-assistant/application.py b/examples/email-assistant/application.pyindex 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 modelresult = 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",