Refactor LLMChainComponent imports

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-01-25 11:44:33 -03:00
commit 7f0c4e8413

View file

@ -1,14 +1,8 @@
from typing import Callable, Optional, Union
from langchain.chains import LLMChain
from langflow import CustomComponent
from langflow.field_typing import (
BaseLanguageModel,
BaseMemory,
BasePromptTemplate,
Chain,
)
from langflow.field_typing import BaseLanguageModel, BaseMemory, BasePromptTemplate, Chain
class LLMChainComponent(CustomComponent):