Skip to content

Commit 3bc8192

Browse files
Merge pull request #3372 from mrbullwinkle/patch-18
[Azure OpenAI] UTF-8-BOM
2 parents 43234f2 + 89a0947 commit 3bc8192

File tree

1 file changed

+2
-0
lines changed
  • articles/ai-services/openai/how-to

1 file changed

+2
-0
lines changed

articles/ai-services/openai/how-to/batch.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ When a job failure occurs, you'll find details about the failure in the `errors`
240240

241241
- Resources deployed with Azure CLI won't work out-of-box with Azure OpenAI global batch. This is due to an issue where resources deployed using this method have endpoint subdomains that don't follow the `https://your-resource-name.openai.azure.com` pattern. A workaround for this issue is to deploy a new Azure OpenAI resource using one of the other common deployment methods which will properly handle the subdomain setup as part of the deployment process.
242242

243+
- UTF-8-BOM encoded `jsonl` files are not supported. JSON lines files should be encoded using UTF-8. Use of Byte-Order-Mark (BOM) encoded files is not officially supported by the JSON RFC spec, and Azure OpenAI will currently treat BOM encoded files as invalid. A UTF-8-BOM encoded file will currently return the generic error message: "Validation failed: A valid model deployment name could not be extracted from the input file. Please ensure that each row in the input file has a valid deployment name specified in the 'model' field, and that the deployment name is consistent across all rows."
244+
243245
## See also
244246

245247
* Learn more about Azure OpenAI [deployment types](./deployment-types.md)

0 commit comments

Comments
 (0)