Update main.py
Browse files
main.py
CHANGED
@@ -18,6 +18,7 @@ from langchain.callbacks.base import BaseCallbackHandler
|
|
18 |
from langchain.chains import (
|
19 |
StuffDocumentsChain, LLMChain, ConversationalRetrievalChain
|
20 |
)
|
|
|
21 |
import chainlit as cl
|
22 |
from chainlit.input_widget import TextInput, Select, Switch, Slider
|
23 |
@cl.password_auth_callback
|
|
|
18 |
from langchain.chains import (
|
19 |
StuffDocumentsChain, LLMChain, ConversationalRetrievalChain
|
20 |
)
|
21 |
+
from langchain_core.prompts import PromptTemplate
|
22 |
import chainlit as cl
|
23 |
from chainlit.input_widget import TextInput, Select, Switch, Slider
|
24 |
@cl.password_auth_callback
|