# Import the necessary libraries needed for the operation import os from langchain.llms import OpenAI from langchain.prompts import PromptTemplate from langchain.chains import LLMChain from langchain.chains import SequentialChain from secret_key import openapi_key # Reading the OPEN API KEY os.environ['OPENAI_API_KEY'] = openapi_key