Type error when storing embeddings with OpenAI
I get type errors when attempting to store OpenAI embeddings via the JS sdk.
I ran this code to enable embedding storage:
Then I attempt to to update the column with the embedding:
The issue is that
I ran this code to enable embedding storage:
Then I attempt to to update the column with the embedding:
The issue is that
embedding ends up being of type number[], but openai_embedding is expects type string. I get the error Type 'number[]' is not assignable to type 'string'.