For search, the model authors recommend prefixes for text (not for images, audio or video): queries get
task: search result | query: <your query>, documents title: none | text: <your document>.
Images, audio and video go into input as chat messages, and each message gives one vector. The example shows how.