From 1694fef6deae2172d1acfc8d96b373e9188dc37d Mon Sep 17 00:00:00 2001 From: Shroominic Date: Fri, 15 Dec 2023 12:18:03 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20pre-commit=20formatting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- src/funcchain/chain/creation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4d551ee..09ef87e 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ class TodoList(BaseModel): todos: list[Item] urgency: int = Field(description="The urgency of all tasks (1-10)") -# support for union types +# support for union types def extract_list(user_input: str) -> TodoList | ShoppingList: """ The user input is either a shopping List or a todo list. diff --git a/src/funcchain/chain/creation.py b/src/funcchain/chain/creation.py index 5dc6409..08dc65c 100644 --- a/src/funcchain/chain/creation.py +++ b/src/funcchain/chain/creation.py @@ -4,7 +4,7 @@ from langchain_core.language_models import BaseChatModel from langchain_core.prompts import ChatPromptTemplate from langchain_core.messages import AIMessage, BaseMessage, HumanMessage -from langchain_core.output_parsers import BaseOutputParser +from langchain_core.output_parsers import BaseOutputParser from langchain_core.chat_history import BaseChatMessageHistory from langchain_core.runnables import ( RunnableSequence,