NLContextualEmbedding for MBS?

Would it be a lot of work to add NLContextualEmbedding to the MBS plugin?

I hope that this is the correct class. I don’t see a difference between NLEmbedding and NLContextualEmbedding.

The goal is to have a vector representation for messages from iMessage. This will go into a DuckDB database which has experimental vector search support.

Sure. Do you already have some code in objective c or swift doing what you need?

:+1:

No, I don’t have any code, yet. Just an idea. Much depends on how good this is. The stuff from Apple I played around with last year wasn’t impressive.

I’ll look into it.
Seems to be nice to get vectors.