From 00e9754f12894b9d621c513be3acaa2034771121 Mon Sep 17 00:00:00 2001 From: "@Draichi" Date: Thu, 31 Oct 2024 11:35:48 -0300 Subject: [PATCH] fix(app.py): tools import --- app.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app.py b/app.py index 7dbf2eb..a305a62 100644 --- a/app.py +++ b/app.py @@ -1,16 +1,14 @@ import os import gradio as gr from dotenv import load_dotenv -from langchain_community.utilities import SQLDatabase from langchain_community.agent_toolkits import SQLDatabaseToolkit from langchain_core.messages import SystemMessage, HumanMessage, ToolMessage from langgraph.prebuilt import create_react_agent from langchain.schema import AIMessage -from rich.console import Console from langchain_google_genai import ChatGoogleGenerativeAI from gradio import ChatMessage import textwrap -from tools import * +from tools import GetDriverPerformance, GetEventPerformance, GetTelemetry, GetTyrePerformance, GetWeatherImpact from db.connection import db load_dotenv() os.environ['LANGCHAIN_PROJECT'] = 'gradio-test'