> For the complete documentation index, see [llms.txt](https://learn.getvectorai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.getvectorai.com/vector-search/searching-with-vector-ai/personalised-search-with-vector-search/personalised-search-recommendations-with-vector-search.md).

# 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.
