60 unmodified lines6162636465666465666760 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']