UK Politics
Search through UK political documents such as speeches, press releases, voting records, and candidates' profiles.
This plugin is for all the politically curious people out there! The UK Politics plugin provides an API that searches through all political documents - from manifestos to voting records and candidate profiles - to give you answers to your questions and retrieve relevant information. With this plugin, you can easily find information on any political topic related to the UK. Whether you want to know about an upcoming election or what a particular politician said in a speech, this plugin has got you covered.
How to
Comments (0)
API docs
Learn how to use UK Politics effectively! Here are a few example prompts, tips, and the documentation of available commands.
Example prompts
-
Prompt 1: "Query political parties' political communication to find answers to questions and retrieve relevant information."
-
Prompt 2: "Query a specific politician's appearances and votes on a specific topic or set of topics."
-
Prompt 3: "Get information about a single politician including their appearances and votes."
Features and commands
Feature/Command | Description |
---|---|
partyQuery | This command allows you to query a political party's political communication. You can provide a search query and a list of parties to search against, and break down complex questions into sub-questions. |
personQuery | This command allows you to query a specific politician's appearances and votes on a specific topic or set of topics. You need to provide the search queries, the name of the politician, and the type of the politician. |
personGet | This command retrieves information about a single politician, including their appearances and votes. You need to provide the original message, the name of the politician, and whether to include appearances, votes, or both. |
peopleQuery | This command allows you to query a group of politicians' appearances. You can provide search queries, parties to search against, and specify publication dates. |
postcodeQuery | This command retrieves election and candidate information for a given postcode. You need to provide the original message and a valid British postcode. |
electionsGet | This command provides information about elections in the UK. You can specify coordinates, current elections, future elections, limit, and offset. |
singleElectionGet | This command retrieves information about a single election using its identifier. You need to provide the original message and the ID of the election. |