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,9 @@
from typing import Iterator, List, Union
from langchain.schema.messages import HumanMessage, SystemMessage
from pydantic import BaseModel, Field
from kotaemon.base import BaseComponent
from kotaemon.base.schema import HumanMessage, SystemMessage
from ..llms.chats.base import ChatLLM
from ..llms.completions.base import LLM