60 unmodified lines61626364656667686960 unmodified lines top_k=1, include_metadata=True, ) else: print(gen_api_response.json()) response={'matches':[{'metadata':{'string':"no response"}}]} return response['matches'][0]['metadata']['string']