themeetjani commited on
Commit
885cafc
1 Parent(s): d7f71dc

Update pages/AI_Chatbot.py

Browse files
Files changed (1) hide show
  1. pages/AI_Chatbot.py +2 -1
pages/AI_Chatbot.py CHANGED
@@ -10,7 +10,8 @@ from langchain.indexes import VectorstoreIndexCreator
10
  from langchain.embeddings import HuggingFaceEmbeddings
11
  from langchain.docstore.document import Document
12
  os.environ['OPENAI_API_KEY'] = "sk-proj-ZbejHdD4ZgJ5FFJ6LjMNT3BlbkFJ1WHLrJMFL03D8cMWSoFY"
13
- openai.api_key = os.environ['OPENAI_API_KEY']from langchain.document_loaders import PyPDFLoader
 
14
  from langchain.chat_models import ChatOpenAI
15
 
16
 
 
10
  from langchain.embeddings import HuggingFaceEmbeddings
11
  from langchain.docstore.document import Document
12
  os.environ['OPENAI_API_KEY'] = "sk-proj-ZbejHdD4ZgJ5FFJ6LjMNT3BlbkFJ1WHLrJMFL03D8cMWSoFY"
13
+ openai.api_key = os.environ['OPENAI_API_KEY']
14
+ from langchain.document_loaders import PyPDFLoader
15
  from langchain.chat_models import ChatOpenAI
16
 
17