This PR addresses the issues identified in the Azure OpenAI Pipe code and references #244:
Initialization of Request Object
The requests response object r is now initialized to None to prevent a NameError in the exception handling block if an error occurs before r is defined.
Typo Correction
The typo in the allowed_params set has been corrected from funcions to functions as referenced in the documentation.
Parameter Renaming:
The parameter dataSources has been renamed to data_sources in the allowed_params set as also referenced in the documentation.
This PR addresses the issues identified in the Azure OpenAI Pipe code and references #244:
Initialization of Request Object The requests response object
r
is now initialized toNone
to prevent aNameError
in the exception handling block if an error occurs beforer
is defined.Typo Correction The typo in the
allowed_params
set has been corrected fromfuncions
tofunctions
as referenced in the documentation.Parameter Renaming: The parameter
dataSources
has been renamed todata_sources
in theallowed_params
set as also referenced in the documentation.