Fix langchain imports for langchain 1.x compatibility
ChatPromptTemplate moved from langchain.prompts to langchain_core.prompts in langchain 1.x.
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
|
||||
import unittest
|
||||
|
||||
from langchain.prompts import ChatPromptTemplate
|
||||
from langchain_core.language_models import FakeStreamingListLLM
|
||||
from langchain_core.prompts import ChatPromptTemplate
|
||||
|
||||
from pipecat.frames.frames import (
|
||||
InterruptionFrame,
|
||||
|
||||
Reference in New Issue
Block a user