The chat completions endpoint

The chat completions endpoint can be used to perform many tasks on a text, including classification, generation, transformation, completion of incomplete text, factual responses, and others. The endpoint takes an input message from the user and the role assigned to it and returns a JSON object.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy