Skip to content

Commit

Permalink
Merge pull request #618 from praekeltfoundation/aaq-v2-check-urgency
Browse files Browse the repository at this point in the history
Aaq v2 check urgency
  • Loading branch information
Hlamallama authored Aug 12, 2024
2 parents 5ef6da2 + e2eb20b commit 31cf711
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aaq/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def check_urgency_v2(message_text):
}

response = requests.request("POST", url, json=message_text, headers=headers)
response.raise_for_status()

return response.json()

Expand All @@ -31,6 +32,7 @@ def search(query_text, generate_llm_response, query_metadata):
}

response = requests.request("POST", url, json=payload, headers=headers)
response.raise_for_status()

query_id = response.json()["query_id"]
feedback_secret_key = response.json()["feedback_secret_key"]
Expand Down

0 comments on commit 31cf711

Please sign in to comment.