Abakir Hanna • almost 2 years ago
Embedding Gemini models Questions
So Google states that for their the new embeddings model, there is a new task type parameter and the optional title (only valid with task_type=RETRIEVAL_DOCUMENT).
1. However, I was wondering how much better do specifying these parameters change the embedding vector result? How much better is an embedding result used with a parameter then without? Also, what happens when you use an embedding with a wrong type parameter for a different use case, are the results completely wrong?
2. Also are all vectors returned from the embedding Gemini model normalized, not mentioned in the documentation online?
Comments are closed.

3 comments
Csaba Toth • almost 2 years ago
Great question!
Liam Bolling Manager • almost 2 years ago
I'll follow up on question one but for question two; vectors returned from the embedding Gemini model are not normalized.
Abakir Hanna • almost 2 years ago
Thanks for the answer, in the event you do not get the answer to this question before the hackathon ends, I would still love to know the answer to this. I hope you enjoy what I build.