Update handler.py
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -25,6 +25,7 @@ from operator import itemgetter
|
|
25 |
from langchain.schema import format_document
|
26 |
from langchain.memory import ConversationBufferMemory
|
27 |
from langchain_core.messages import AIMessage, HumanMessage, get_buffer_string
|
|
|
28 |
|
29 |
class EndpointHandler():
|
30 |
def __init__(self, path=""):
|
|
|
25 |
from langchain.schema import format_document
|
26 |
from langchain.memory import ConversationBufferMemory
|
27 |
from langchain_core.messages import AIMessage, HumanMessage, get_buffer_string
|
28 |
+
from langchain_core.runnables import RunnableParallel
|
29 |
|
30 |
class EndpointHandler():
|
31 |
def __init__(self, path=""):
|