Update pdfquery.py
Browse files- pdfquery.py +1 -1
pdfquery.py
CHANGED
@@ -10,7 +10,7 @@ from langchain.chat_models import ChatOpenAI
|
|
10 |
|
11 |
class PDFQuery:
|
12 |
def __init__(self):
|
13 |
-
os.environ["OPENAI_API_KEY"] = "sk-
|
14 |
self.embeddings = OpenAIEmbeddings()
|
15 |
self.text_splitter = RecursiveCharacterTextSplitter(chunk_size=800, chunk_overlap=200)
|
16 |
# self.llm = OpenAI(temperature=0, openai_api_key=openai_api_key)
|
|
|
10 |
|
11 |
class PDFQuery:
|
12 |
def __init__(self):
|
13 |
+
os.environ["OPENAI_API_KEY"] = "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"
|
14 |
self.embeddings = OpenAIEmbeddings()
|
15 |
self.text_splitter = RecursiveCharacterTextSplitter(chunk_size=800, chunk_overlap=200)
|
16 |
# self.llm = OpenAI(temperature=0, openai_api_key=openai_api_key)
|