Tool to generate LLM prompt to easily convert dataset to a specific format
Project description
Convert Dataset
A tool to generate prompts for LLM to convert datasets between formats easily. The tool analyzes the source and target datasets and generates prompt which you can use with your favourite LLM to get a Python script that can perform the conversion.
Features
- Analyzes source and target datasets to describe their formats.
- Generates a prompt for an LLM to produce a Python script for dataset conversion.
- Outputs the generated prompt in the terminal for easy usage.
Installation
pip install convert-dataset
Usage
Run the convert-dataset command from the terminal with the paths to the source and target datasets:
convert-dataset <source_dataset_path> <target_dataset_path>
This will output a prompt for your favorite LLM to generate a Python script for converting the datasets. Just copy the prompt and paste it into your LLM's interface to get the conversion script.
- Please, pay attention on TODOs in the generated script to fill in the necessary information.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file convert_dataset-0.1.0.tar.gz.
File metadata
- Download URL: convert_dataset-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26ec4dd31f10a4065c1fb864cdce2a4fabf2aea0aae18c1a814d34c2dd080d76
|
|
| MD5 |
67c158853895d8ec7c3ea6f769759088
|
|
| BLAKE2b-256 |
83f3233ca7f6a4968145e6f9b827ddc4308c7f4c7631116523638cfb0c2c2938
|
File details
Details for the file convert_dataset-0.1.0-py3-none-any.whl.
File metadata
- Download URL: convert_dataset-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7573cc3ae3b7f3be2eecc1325eb8ddd8addc27dbad38911264b84a55e74abfd
|
|
| MD5 |
b4cf8db0ddd556956efe1ce9c425623f
|
|
| BLAKE2b-256 |
033526173d92fdf9a0ae53d124112aa2c61f00d4a8990505fd0ad34e47c786df
|