Skip to content

Create Vector Embeddings #16

@ethan-tam33

Description

@ethan-tam33

great work last week! 😋

This week, we want to create a function (or multiple if you feel like it's better to split up) in Python in the actions/supabase/queries/query.ts that can:

  • take as input a list of personal bios (the text column of the bios table in Supabase)
  • generate vector embeddings of each bio using the sentence-transformers/paraphrase-MiniLM-L3-v2 model (doc)
  • set the embedding column of the bios table with those generated embeddings.

For now, you can just set some random text in the bios column. I'm also curious how long this entire pipeline takes, so timing it for 10 rows would be very helpful!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions