Add OpenAI API
Browse files8 unmodified lines910111212131415151617188 unmodified linesfrom langchain.chains import LLMChainimport textwrapimport streamlit as stfrom apikey import apikey
# Load OpenAI API key and define directory to store the dataos.environ["OPENAI_API_KEY"] = apikey
persist_directory = "../../data/processed"
# Load the OpenAI Embeddings, LLM , PromptTemplate and LLMChainapp.py+2-2