I have used an OpenAI module on make, yes I have posted there as well but I get this error " Validation failed for 1 parameter(s).
- Invalid collection in parameter 'messages"
For the module to work I have this input, why does it read this as invalid?
const response = await openai.chat.completions.create({
model: “gpt-3.5-turbo”,
messages: [
{
“role”: “user”,
“content”: [
{
“type”: “text”,
“text”: “Write a social media post about automation and being successful using it.”
}
]
}
]
});