Learn R Programming

TheOpenAIR (version 0.1.0)

created: Extract Created DateTime from OpenAI API response

Description

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)

Value

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

Arguments

response

a list object representing the HTTP response

Author

Ulrich Matter umatter@protonmail.com