minor
Browse files
app.py
CHANGED
@@ -13,8 +13,7 @@ from aimakerspace.openai_utils.prompts import (
|
|
13 |
AssistantRolePrompt,
|
14 |
)
|
15 |
from aimakerspace.openai_utils.chatmodel import ChatOpenAI
|
16 |
-
|
17 |
-
from chainlit.playground.providers import ChatOpenAI # importing ChatOpenAI tools
|
18 |
|
19 |
load_dotenv()
|
20 |
|
@@ -97,7 +96,7 @@ def start_chat():
|
|
97 |
async def main(message: str):
|
98 |
|
99 |
qaPipeline = RetrievalAugmentedQAPipeline(vector_db_retriever=vector_db, llm=chat_openai)
|
100 |
-
|
101 |
|
102 |
|
103 |
|
|
|
13 |
AssistantRolePrompt,
|
14 |
)
|
15 |
from aimakerspace.openai_utils.chatmodel import ChatOpenAI
|
16 |
+
|
|
|
17 |
|
18 |
load_dotenv()
|
19 |
|
|
|
96 |
async def main(message: str):
|
97 |
|
98 |
qaPipeline = RetrievalAugmentedQAPipeline(vector_db_retriever=vector_db, llm=chat_openai)
|
99 |
+
qaPipeline.run_pipeline(user_query=message)
|
100 |
|
101 |
|
102 |
|