Skip to content

OpenAI.ChatCompletionData.Constructor

Andrew Lambert edited this page Jan 1, 2024 · 2 revisions

Method signatures

Sub Constructor(Optional Messages As JSONItem)
Sub Constructor(CopyFrom As OpenAI.ChatCompletionData)

Parameters

Constructor(JSONItem)

Name Type Comment
Messages JSONItem Optional. A properly-formatted JSON chat log.

Constructor(OpenAI.ChatCompletionData)

Name Type Comment
CopyFrom ChatCompletionData A chat log to duplicate.

Remarks

Creates a new ChatCompletionData instance, optionally initializing the conversation with the Messages parameter or by copying the CopyFrom parameter.

Clone this wiki locally