Update utils.py
Browse files
utils.py
CHANGED
|
@@ -424,7 +424,7 @@ def rag_chain(llm, prompt, retriever):
|
|
| 424 |
|
| 425 |
|
| 426 |
def query(api_llm, payload):
|
| 427 |
-
response = requests.post(api_llm, headers=
|
| 428 |
return response.json()
|
| 429 |
|
| 430 |
|
|
|
|
| 424 |
|
| 425 |
|
| 426 |
def query(api_llm, payload):
|
| 427 |
+
response = requests.post(api_llm, headers=HEADERS, json=payload)
|
| 428 |
return response.json()
|
| 429 |
|
| 430 |
|