Create a chat completion with attached data

OpenAI ChatGPT


Complete a chat message according to instructions, a previous user message, and an attached text file, in any of the supported formats: txt, html, csv, or json.

Information provided

When executed, this operation delivers the following data, which can be used in the same automatic task.

  • Tags

  • Text {{content}}

    Predicted completion.
    e.g. This is a test

  • Finish reason {{finish_reason}}

    reason why the resulting text has terminated.
    e.g. lenght

  • Prompt tokens {{prompt_tokens}}

    Number of tokens in the Prompt. 1 token ~= 4 chars in English

  • Completion tokens {{completion_tokens}}

    Number of tokens in the Completion. 1 token ~= 4 chars in English

  • Total tokens {{total_tokens}}

    Prompt tokens + Completion tokens

Write us

By email or by Telegram.
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Let's talk

Choose day and time.
We share the screen and answer all your questions.