From a826fbca39f4d61c5367d2469be1521420618488 Mon Sep 17 00:00:00 2001 From: Shroominic Date: Thu, 1 Feb 2024 14:14:45 +0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Rename=20Pydantic=20model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/funcchain/parser/primitive_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/funcchain/parser/primitive_types.py b/src/funcchain/parser/primitive_types.py index 58b8729..7757b2f 100644 --- a/src/funcchain/parser/primitive_types.py +++ b/src/funcchain/parser/primitive_types.py @@ -24,7 +24,7 @@ def __init__( retry_llm: BaseChatModel | str | None = None, ) -> None: super().__init__( - pydantic_object=create_model("ExtractPrimitiveType", value=(primitive_type, ...)), + pydantic_object=create_model("Extract", value=(primitive_type, ...)), retry=retry, retry_llm=retry_llm, )