From 55415d36e01949511cb0d12fa14a8d0661eeb0e2 Mon Sep 17 00:00:00 2001 From: Ryan Bradshaw <40888255+rbraddev@users.noreply.github.com> Date: Tue, 21 May 2024 02:44:07 +0100 Subject: [PATCH] results rename (#692) --- instructor/dsl/maybe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instructor/dsl/maybe.py b/instructor/dsl/maybe.py index 359bf015f..b8baece0c 100644 --- a/instructor/dsl/maybe.py +++ b/instructor/dsl/maybe.py @@ -56,7 +56,7 @@ def __bool__(self): return create_model( f"Maybe{model.__name__}", __base__=MaybeBase, - results=( + result=( Optional[model], Field( default=None,