Refactor LLMChainComponent imports
This commit is contained in:
parent
367eadd6e2
commit
7f0c4e8413
1 changed files with 1 additions and 7 deletions
|
|
@ -1,14 +1,8 @@
|
||||||
from typing import Callable, Optional, Union
|
from typing import Callable, Optional, Union
|
||||||
|
|
||||||
from langchain.chains import LLMChain
|
from langchain.chains import LLMChain
|
||||||
|
|
||||||
from langflow import CustomComponent
|
from langflow import CustomComponent
|
||||||
from langflow.field_typing import (
|
from langflow.field_typing import BaseLanguageModel, BaseMemory, BasePromptTemplate, Chain
|
||||||
BaseLanguageModel,
|
|
||||||
BaseMemory,
|
|
||||||
BasePromptTemplate,
|
|
||||||
Chain,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class LLMChainComponent(CustomComponent):
|
class LLMChainComponent(CustomComponent):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue