UK Politics

UK Politics

Search through UK political documents such as speeches, press releases, voting records, and candidates' profiles.

Name For Model
uk_politics
Update Date
a year ago
Description For Model
An API for searching through the political documents (such as manifestos, press releases, speeches, voting records and candidates profiles etc) to find answers to questions and retrieve relevant information. Use it whenever a user asks something that might be related to politics in the United Kingdom.

Plugin Functions/Features (Plugin API Document)

Operation IdHTTP MethodDescription
1partyQueryPOSTAccepts a search query and a list of parties to search against. Break down complex questions into sub-questions.
2personQueryPOSTAccepts search queries with filters to specify the politician, publication dates and whether to return appearances, votes or both.
3peopleQueryPOSTAccepts search queries with filters to specify the group of politicians and publication dates. Use to find which politicians from a group have mentioned a topic in such places as the House of Commons, House of Lords, or in a committee meeting.
4postcodeQueryPOSTGet election and candidate information for a given postcode
5electionsQueryPOSTGet information about elections occurring in the UK
6singleElectionQueryPOSTGet information about a single election by its identifier