Update main.py
Browse files
main.py
CHANGED
@@ -17,6 +17,7 @@ from langchain.schema.runnable import Runnable
|
|
17 |
from langchain.schema.runnable.config import RunnableConfig
|
18 |
from langchain.schema.runnable import Runnable, RunnablePassthrough, RunnableLambda
|
19 |
from langchain.prompts import ChatPromptTemplate, MessagesPlaceholder
|
|
|
20 |
|
21 |
@cl.password_auth_callback
|
22 |
def auth_callback(username: str, password: str):
|
|
|
17 |
from langchain.schema.runnable.config import RunnableConfig
|
18 |
from langchain.schema.runnable import Runnable, RunnablePassthrough, RunnableLambda
|
19 |
from langchain.prompts import ChatPromptTemplate, MessagesPlaceholder
|
20 |
+
from langchain_core.prompts import PromptTemplate
|
21 |
|
22 |
@cl.password_auth_callback
|
23 |
def auth_callback(username: str, password: str):
|