# Personalised search/recommendations with vector search

**Recommendations**

Personalization with vector search can be done using the `/collection/searchbypositiveandnegative_ids endpoint` . This endpoint can be found here: <https://vectorai-development-api.azurewebsites.net/collection/search_by_positive_negative_ids>.

Recommendation by retrieving the vectors from the specified list of positive and negative ids documents. Then performing a search with an aggregated vector that is the sum (depends on vector\_operation) of positive id vectors minus the negative id vectors.

**Search**

If you are looking to perform personalised search, you will be wanting to use this endpoint:&#x20;

{% embed url="<https://vectorai-development-api.azurewebsites.net/collection/search_with_positive_negative_ids_as_history>" %}

Simply include the positive and negative IDs as before and then add a vector to search.
