File size: 2,694 Bytes
e3fc509 d007b20 99b6b98 6cda05c ed80909 d007b20 a3d3506 d007b20 675b5d2 d007b20 6cda05c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
---
title: Prompt & Output Separator
short_description: Separates prompts and outputs using GPT 3.5
colorFrom: blue
colorTo: red
sdk: streamlit
sdk_version: 1.21.0
app_file: app/app.py
pinned: false
---
![alt text](screenshots/v1/1.png)
# Prompt And Output Separation Utility (V1)
[![View On Hugging Face Spaces](https://img.shields.io/badge/View%20On-Hugging%20Face%20Spaces-blue?style=flat)](https://huggingface.co/spaces/danielrosehill/Prompt-And-Output-Separator)
This utility is designed to enable the easy separation of prompts and outputs when they are recorded together in one long continuous text block.
The utility uses GPT 3.5 in order to send the prompt and output to the large language model and it uses the LLM both to distinguish between these 2 items which are sent back in a JSON response and it also suggests a title
The intended use case for this utility is if you have a lot of prompts and outputs recorded together in text files on your computer and you are undertaking the process of adding these to a database in which case having quickly generated titles as well as separated prompts and outputs to distinguish these and the data structure might be useful
As with many projects, this was a collaboration between my prompting and clumsy debugging and the code generation abilities of Claude Anthropic 3.5 Sonnet.
## Screenshots (V1)
![alt text](screenshots/v1/1.png)
![alt text](screenshots/v1/2.png)
![alt text](screenshots/v1/3.png)
![alt text](screenshots/v1/4.png)
![alt text](screenshots/v1/5.png)
![alt text](screenshots/v1/6.png)
## Author
Daniel Rosehill
(public at danielrosehill dot com)
## Licensing
This repository is licensed under CC-BY-4.0 (Attribution 4.0 International)
[License](https://creativecommons.org/licenses/by/4.0/)
### Summary of the License
The Creative Commons Attribution 4.0 International (CC BY 4.0) license allows others to:
- **Share**: Copy and redistribute the material in any medium or format.
- **Adapt**: Remix, transform, and build upon the material for any purpose, even commercially.
The licensor cannot revoke these freedoms as long as you follow the license terms.
#### License Terms
- **Attribution**: You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- **No additional restrictions**: You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
For the full legal code, please visit the [Creative Commons website](https://creativecommons.org/licenses/by/4.0/legalcode). |