dfasd
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,8 @@ load_dotenv()
|
|
19 |
|
20 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
21 |
|
|
|
|
|
22 |
text_splitter = CharacterTextSplitter(separator = "\n", chunk_size=1000, chunk_overlap=200, length_function = len)
|
23 |
embeddings = OpenAIEmbeddings(api_key=OPENAI_API_KEY)
|
24 |
retrieval_qa_chat_prompt = hub.pull("langchain-ai/retrieval-qa-chat")
|
|
|
19 |
|
20 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
21 |
|
22 |
+
print(OPENAI_API_KEY)
|
23 |
+
|
24 |
text_splitter = CharacterTextSplitter(separator = "\n", chunk_size=1000, chunk_overlap=200, length_function = len)
|
25 |
embeddings = OpenAIEmbeddings(api_key=OPENAI_API_KEY)
|
26 |
retrieval_qa_chat_prompt = hub.pull("langchain-ai/retrieval-qa-chat")
|