Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def process_json(json_input):
|
|
6 |
try:
|
7 |
input = json.loads(json_input)
|
8 |
|
9 |
-
memory = Memory(embedding_model="TaylorAI/bge-micro-v2")
|
10 |
memory.save(input['terms'], input['metadata'])
|
11 |
|
12 |
results = memory.search(input['prompt'], top_n=input['topN'])
|
|
|
6 |
try:
|
7 |
input = json.loads(json_input)
|
8 |
|
9 |
+
memory = Memory()#embedding_model="TaylorAI/bge-micro-v2")
|
10 |
memory.save(input['terms'], input['metadata'])
|
11 |
|
12 |
results = memory.search(input['prompt'], top_n=input['topN'])
|