Skip to content

A search query generator using ChatGPT and Bard for testing purposes. Uses PyQt5 to add a UI.

Notifications You must be signed in to change notification settings

j-wala/SearchQueryGenerator

Repository files navigation

Search Query Generator

This search query generator was generated by using ChatGPT3.5 and Bard to see wether it is able to create an GUI with okay usability.

This tool can be used to concatenate search strings for literature research.

README as generated by ChatGPT

Search Query Generator

Python Version

A simple PyQt5 application to generate search queries by selecting items from a table.

Table of Contents

Introduction

The Search Query Generator is a PyQt5-based desktop application that allows users to generate search queries by selecting items from a table. It provides a user-friendly interface to select and combine search terms using logical operators (AND or OR). The generated search query can be copied to the clipboard for further use.

Features

  • Interactive table interface to select search terms using checkboxes
  • Logical operators (AND, OR) for combining selected search terms
  • Randomize selection for quick exploration of different query combinations
  • Copy the generated search query to the clipboard for easy use in other applications
  • Option to clear all selections with a single click

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/your_username/Search-Query-Generator.git
  1. Change directory to the project folder:
cd Search-Query-Generator
  1. Install the required dependencies (see Dependencies):
pip install -r requirements.txt

Usage

Run the application by executing the following command:

python main.py

1.) The application window will open, displaying a table with search terms and checkboxes.

2.) Select the desired search terms by checking their corresponding checkboxes.

3.) Choose the logical operator (AND or OR) to combine the selected search terms.

4.) The generated search query will be displayed in the text area below the table.

5.) Click the "Copy" button to copy the generated query to the clipboard.

6.) To clear all selections, click the "Clear All" button.

7.) The "Randomize" button allows you to randomize the selection for exploration.

Dependencies

The Search Query Generator relies on the following dependencies:

Python 3.6 or higher
PyQt5

You can install the required packages using pip:

pip install PyQt5

About

A search query generator using ChatGPT and Bard for testing purposes. Uses PyQt5 to add a UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published