ashfaq93 commited on
Commit
fa67256
·
verified ·
1 Parent(s): d4d3d97

Update Rag_conversation.py

Browse files
Files changed (1) hide show
  1. Rag_conversation.py +2 -1
Rag_conversation.py CHANGED
@@ -15,7 +15,8 @@ load_dotenv()
15
 
16
  # Define the persistent directory
17
  current_dir = os.path.dirname(os.path.abspath(__file__))
18
- persistent_directory = os.path.join(current_dir, "db", "chroma_db_with_metadata")
 
19
 
20
  # Define the embedding model
21
  embeddings = OpenAIEmbeddings(model="text-embedding-ada-002")
 
15
 
16
  # Define the persistent directory
17
  current_dir = os.path.dirname(os.path.abspath(__file__))
18
+ persistent_directory = current_dir
19
+
20
 
21
  # Define the embedding model
22
  embeddings = OpenAIEmbeddings(model="text-embedding-ada-002")