Create Langchain LLM converter to quickly supply it to Langchain's chain (#102)
* Create Langchain LLM converter to quickly supply it to Langchain's chain * Clean up
This commit is contained in:
committed by
GitHub
parent
da0ac1d69f
commit
0e30dcbb06
@@ -3,11 +3,12 @@ from __future__ import annotations
|
||||
import logging
|
||||
|
||||
from kotaemon.base import BaseComponent
|
||||
from kotaemon.llms.base import BaseLLM
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ChatLLM(BaseComponent):
|
||||
class ChatLLM(BaseLLM):
|
||||
def flow(self):
|
||||
if self.inflow is None:
|
||||
raise ValueError("No inflow provided.")
|
||||
|
Reference in New Issue
Block a user