Publish updated agent: update src/agent.py
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
import argparse
|
import argparse
|
||||||
from langchain.agents import create_openai_functions_agent, AgentExecutor
|
from langchain.agents.openai_functions import create_openai_functions_agent
|
||||||
|
from langchain.agents import AgentExecutor
|
||||||
from langchain_core.prompts import ChatPromptTemplate
|
from langchain_core.prompts import ChatPromptTemplate
|
||||||
from langchain_core.messages import HumanMessage
|
|
||||||
from langchain_ollama import Ollama
|
from langchain_ollama import Ollama
|
||||||
from src.utils import load_faq_to_chroma, search_course_docs, fetch_course_meta
|
from src.utils import load_faq_to_chroma, search_course_docs, fetch_course_meta
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user