[AUR-411] Adopt to Example2 project (#28)

Add the chatbot from Example2. Create the UI for chat.
This commit is contained in:
Nguyen Trung Duc (john)
2023-10-12 15:13:25 +07:00
committed by GitHub
parent 533fffa6db
commit 6e7905cbc0
16 changed files with 919 additions and 99 deletions

View File

@@ -0,0 +1,13 @@
from langchain.schema.messages import AIMessage, SystemMessage
from .chats import AzureChatOpenAI, ChatLLM
from .chats.base import BaseMessage, HumanMessage
__all__ = [
"ChatLLM",
"AzureChatOpenAI",
"BaseMessage",
"HumanMessage",
"AIMessage",
"SystemMessage",
]

View File

@@ -0,0 +1,4 @@
from .base import ChatLLM
from .openai import AzureChatOpenAI
__all__ = ["ChatLLM", "AzureChatOpenAI"]