jonathanjordan21 commited on
Commit
ea8be0e
·
verified ·
1 Parent(s): 332f4de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ app = FastAPI()
106
  @app.get("/get_data")
107
  def get_data(query: str):
108
  # query = "How much money did the robbers steal?"
109
- found_docs = [x.model_dump() for x qdrant.similarity_search(query)]
110
  found_docs.pop("id", None)
111
  for k,v in found_docs["metadata"].keys():
112
  if k[0] == "_":
 
106
  @app.get("/get_data")
107
  def get_data(query: str):
108
  # query = "How much money did the robbers steal?"
109
+ found_docs = [x.model_dump() for x in qdrant.similarity_search(query)]
110
  found_docs.pop("id", None)
111
  for k,v in found_docs["metadata"].keys():
112
  if k[0] == "_":