Azure OpenAI:Testing and training internal error when uploading files

Chilberto 231 Reputation points
2023-03-29T21:48:07.6966667+00:00

I have a newly provisioned OpenAI in East US. I am trying to upload a .jsonl file in File Management. I tried several attempts all resulting in "internalFailure: Internal failure."

My last attempts were using the examples:

{
    "prompt":"Item is a handbag. Colour is army green. Price is midrange. Size is small.->",
    "completion":"This stylish small green handbag will add a unique touch to your look, without costing you a fortune."
}

Are the examples snippets or complete examples?

My guess is there is an encoding issue or something subtle. I am using notepad++ to create.

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,574 questions
{count} votes

Accepted answer
  1. Erkan Sahin 830 Reputation points
    2023-03-29T22:50:47.6633333+00:00

    The example you provided seems to be a snippet of data rather than a complete file.

    To create a properly formatted .jsonl file, you should ensure that each line in the file is a valid JSON object, and the objects are separated by newlines. Here's a simple example of a valid .jsonl file:

    {"prompt": "Item is a handbag. Colour is army green. Price is midrange. Size is small.", "completion": "This stylish small green handbag will add a unique touch to your look, without costing you a fortune."}
    {"prompt": "Item is a watch. Colour is black. Price is high-end. Size is medium.", "completion": "This sleek black watch is the perfect accessory for those who value both style and quality."}
    
    

    When creating the .jsonl file using Notepad++, you can ensure that you are using the correct encoding by following these steps:

    1. Click on "Encoding" in the top menu.
    2. Select "Encode in UTF-8" (without BOM) if it's not already selected.

    Additionally, you can validate your .jsonl file using online tools like JSONL Validator to make sure there are no errors in the file's format.

    If you've checked the formatting and encoding of your .jsonl file and the issue persists, you might want to contact OpenAI support for further assistance. They should be able to provide more detailed guidance on resolving the "internalFailure" error.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful