Skip to contents

This function extracts the date-time string of when the response was created from the parsed HTTP response of an API call to the OpenAI chat completions endpoint.

Usage

created(response)

Arguments

response

a list object representing the HTTP response

Value

a Date object representing the date-time string of when the response was created

Author

Ulrich Matter umatter@protonmail.com