dfasd commited on
Commit
2ccab82
·
verified ·
1 Parent(s): 875f069

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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")