Insert OpenAI embeddings on text data into Supabase, as well as inserting associated fields

Latest n8n version, self-hosted via Docker on Linux.

Question:

I’m trying to take some data in the following form, do an OpenAI embedding on the “content” field, and then insert it into Supabase with three other pre-set fields, all strings that I don’t want embeddings done on.

So:

content, string1, string2, string3

I want all four inserted into Supabase, along with the vector version of content. I can get the embeddings done with Supabase vector node, and it inserts “content” and the embedding, but I can’t figure out to insert the related fields into the table along with the the preceding.

I have messsed about in various ways, incluyding resorting to HTTP Requests node, but I feel like this should be easy. Am I missing something?

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @timbenz,

Unfortunately at the moment, we don’t support this integration with Supabase. But it’s a good feature request! - I’m moving this post to that category and we’ll take a look internaly :raised_hands:

Hey @timbenz, I think what you’re looking for is the metadata option. Just add the option on the Default Data Loader and add your strings as metadata to the table.
image
image

Does that help?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.