Organization_Name_Generator / langchain_helper.py
thisisdev's picture
Configured helper
44e4510 verified
raw
history blame
337 Bytes
# 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