in Evaluation/ModelEvaluation/model_endpoints.py [0:0]
def query(self: Self, endpoint: str, headers: str, payload: str) -> str: response = requests.post(url=endpoint, headers=headers, json=payload) return response.json()