apoc.ml.openai.chat

Procedure Apoc Extended

Prompts the completion API

Signature

apoc.ml.openai.chat(messages :: LIST<MAP<STRING, ANY>>, api_key :: STRING, configuration = {} :: MAP?) :: (value :: MAP?)

Input parameters

Name Type Default

messages

LIST<MAP<STRING, ANY>>

null

api_key

STRING

null

configuration

MAP?

{}

Output parameters

Name Type

value

MAP?