Atualizar src-py/renatoxsr/scripts/avaliar_dataset.py
This commit is contained in:
@@ -48,7 +48,7 @@ def get_llm_response(prompt_full: str) -> str:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print(str(bytes(payload)))
|
print(json.dumps(payload))
|
||||||
response = requests.post(OLLAMA_URL, json=payload)
|
response = requests.post(OLLAMA_URL, json=payload)
|
||||||
response.raise_for_status() # Levanta exceção para códigos de erro HTTP
|
response.raise_for_status() # Levanta exceção para códigos de erro HTTP
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user