File size: 337 Bytes
44e4510 |
1 2 3 4 5 6 7 8 9 10 11 12 |
# 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
|