Skip to content

Commit

Permalink
update run question task
Browse files Browse the repository at this point in the history
  • Loading branch information
anntish committed Sep 13, 2024
1 parent 1f3ef43 commit 68a69f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/backend/services/rag_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ def run_question_task(question: str):

try:
data = {
"input":{
"question": question,
}
}
response = requests.post(rag_url, json=data)
response.raise_for_status()
Expand Down

0 comments on commit 68a69f7

Please sign in to comment.