Update LLMChainComponent signature
This commit is contained in:
parent
4f5f8258f3
commit
cb5076cba0
1 changed files with 1 additions and 1 deletions
|
|
@ -28,5 +28,5 @@ class LLMChainComponent(CustomComponent):
|
|||
prompt: BasePromptTemplate,
|
||||
llm: BaseLanguageModel,
|
||||
memory: Optional[BaseMemory] = None,
|
||||
) -> Union[Chain, Callable]:
|
||||
) -> Union[Chain, Callable,LLMChain]:
|
||||
return LLMChain(prompt=prompt, llm=llm, memory=memory)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue