We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 738ec97 commit e028015Copy full SHA for e028015
Langchain/pdf_analysis.py
@@ -47,7 +47,7 @@ def main():
47
chunks = text_splitter.split_text(text)
48
49
# create embeddings
50
- openai_api_key = "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"
+ openai_api_key = "k-LNh43Eg1dYYujQtrBa78T3BlbkFJ1iU7jytfJdPD4rz2eBY"
51
embeddings = OpenAIEmbeddings(openai_api_key=openai_api_key)
52
knowledge_base = FAISS.from_texts(chunks, embeddings)
53
0 commit comments