Arun-AK commited on
Commit
b8a9502
·
verified ·
1 Parent(s): 7bce4ae

Update pages/2_🧠_context_aware_chatbot.py

Browse files
pages/2_🧠_context_aware_chatbot.py CHANGED
@@ -44,7 +44,7 @@ class ContextChatbot:
44
  model="text-embedding-ada-002",
45
  )
46
  all_splits = text_splitter.split_documents(documents)
47
- vectorstore = Chroma.from_documents(documents=all_splits, embedding=openai_embedding_model)#, persist_directory='/content/drive/MyDrive/team_claude/chroma_vectorstore')
48
  prompt_template = """
49
  Use the following pieces of context to answer the user's question about sickle cell.
50
  If you don't know the answer, just say that you don't know, don't try to make up an answer.
 
44
  model="text-embedding-ada-002",
45
  )
46
  all_splits = text_splitter.split_documents(documents)
47
+ vectorstore = Chroma.from_documents(documents=all_splits, embedding=openai_embedding_model, persist_directory='Vectorstore/')
48
  prompt_template = """
49
  Use the following pieces of context to answer the user's question about sickle cell.
50
  If you don't know the answer, just say that you don't know, don't try to make up an answer.