• Resolved patrickhs

    (@patrickhs)


    I was having problems using my completions initially. The only response I could get from the chatbot was that an error had occurred. I discovered that the data converter does not escape the backslashes in \n and \r in the .json file it generates.

    \n and \r occur in my product descriptions where ever there is a new line or carriage return. I manually edited the converted file to remove or escape the problematic characters but now I am unable to upload the new file.

    When I upload I get the following error:

    Expected file to have JSONL format, where every line is a JSON dictionary. Line 1 is not a dictionary (HINT: line starts with: “{“pr…”).

    I have verified that my file type is .jsonl, and I have confirmed that my syntax is correct and that line 1 is in fact correctly formatted as a json dictionary in a single line.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter patrickhs

    (@patrickhs)

    I have errors elsewhere in the file. After removing some new data that was added to the original data my upload succeeded. Problem solved as far as the upload goes.

    Plugin Author senols

    (@senols)

    Hi @patrickhs

    I am glad it is solved ??

    Senol

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Train Your AI > Upload New File’ is closed to new replies.