Subclass chat messages from Document (#86)

This commit is contained in:
ian_Cin
2023-11-27 10:38:19 +07:00
committed by GitHub
parent 3ac277cc0b
commit 0dede9c82d
7 changed files with 36 additions and 10 deletions

View File

@@ -1,9 +1,10 @@
from abc import abstractmethod
from typing import List, Optional
from langchain.schema.messages import AIMessage, SystemMessage
from theflow import SessionFunction
from kotaemon.base.schema import AIMessage, SystemMessage
from ..base import BaseComponent
from ..base.schema import LLMInterface
from ..llms.chats.base import BaseMessage, HumanMessage