#ESTABLISH THE SERVER from flask import Flask,request from dotenv import load_dotenv # Initializing flask app app = Flask(__name__) load_dotenv() @app.route("/", methods=['GET','POST']) def index(): from agent._create import agent_executor return agent_executor();