To enable logs for the Azure OpenAI API, you need to set the "log_level" argument to "debug" when calling the API. This will enable detailed logs for the API, which can be useful for troubleshooting errors and issues.
For example, you can set the "log_level" argument as follows:
create_args = { "training_file": training_id, "validation_file": validation_id, "model": "curie", "compute_classification_metrics": True, "classification_n_classes": 3, "log_level": "debug" }
This will enable detailed logs for the API.