Spaces:
Sleeping
Sleeping
Commit ·
0d520ec
1
Parent(s): 0bbe14e
dataset
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def predict(query,history):
|
|
| 37 |
|
| 38 |
embeddings = OpenAIEmbeddings(model="text-embedding-ada-002")
|
| 39 |
my_activeloop_org_id = "utkarshtiwari"
|
| 40 |
-
my_activeloop_dataset_name = "
|
| 41 |
dataset_path = f"hub://{my_activeloop_org_id}/{my_activeloop_dataset_name}"
|
| 42 |
db = DeepLake(dataset_path=dataset_path, read_only=True, embedding_function = embeddings)
|
| 43 |
# Retrieve relevant chunks from the Knowledge Base
|
|
|
|
| 37 |
|
| 38 |
embeddings = OpenAIEmbeddings(model="text-embedding-ada-002")
|
| 39 |
my_activeloop_org_id = "utkarshtiwari"
|
| 40 |
+
my_activeloop_dataset_name = "modelwise-dataset"
|
| 41 |
dataset_path = f"hub://{my_activeloop_org_id}/{my_activeloop_dataset_name}"
|
| 42 |
db = DeepLake(dataset_path=dataset_path, read_only=True, embedding_function = embeddings)
|
| 43 |
# Retrieve relevant chunks from the Knowledge Base
|