Hi everyone,
I’m building a scenario that creates a vector embedding through the OpenAI embedding API and this embedding then should be stored in a pinecone database.
The problem I’m having is, that whenever I map the output of the embedding API(which is a very long array, with 1536 different numbers to be precise) the input of the HTTP module, that sends it to pinecone doesn’t apear to be an array anymore, which leads to the error I attached.
I also attached the output of the parse JSON module, which shows its an array and then the input of the HTTP module, where I mapped the output and all of a sudden its not an array anymore.
And the last image is what I put as request body in the HTTP module.
If I manually take the output of the parse JSON module(the long array) and send it in the request body, everything works out fine. I just get the error message as soon as I map the output.
Yes I understand that, but the problem is, that the output of the parse JSON module is an array, which I can map into the http module, but when I run it then, I get an error, showing that its not an array. And when I then check the input bundle, I can see its just a string and not an array anymore.