# Debates and proposals recommendations

Logged in users can see recommended debates or proposals by sorting them by "recommendations".

The sorted list shows, ordered by votes in descending order, those elements that:

1. Have tags that interest the user. Those tags are the ones on the proposals that the user follows.
2. The user isn't the author.
3. In the case of proposals: only those that haven't reached the required threshold of votes and the user isn't already following.

## How to try this feature

In our local installation, if we haven't logged in, we can check at <http://localhost:3000/proposals> that the "recommendations" sorting option isn't present:

![The sorting options don't include "recommendations"](/files/IgjVho7iQY7dQG7VbFjs)

Once we log in we see the menu, but since we aren't following any proposals we get the message "Follow proposals so we can give you recommendations" at <http://localhost:3000/proposals?locale=en&order=recommendations&page=1>

![Recommendations are empty](/files/QNNZy1sWXftJ9vgxGeyr)

Follow any proposal using the "Follow citizen proposal" button on the side menu:

![Button to follow a citizen proposal](/files/hzPZjMqStsUoEKGeuiMS)

Now we can finally see some recommendations:

![List of recommendations](/files/GJAYSa6U0CiGnzuaw4MA)

The feature works the same way for debates.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.consuldemocracy.org/tech_docs/features/recommendations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
