[HN Gopher] Show HN: FileKitty - Combine and label text files fo...
___________________________________________________________________
Show HN: FileKitty - Combine and label text files for LLM prompt
contexts
Author : bredren
Score : 13 points
Date : 2024-05-01 18:10 UTC (4 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| bredren wrote:
| If you need to feed multiple files to chatgpt or another LLM,
| this makes it way easier than manually copy and pasting.
|
| This app shows you a file modal. Use Shift or Option keys to
| select multiple text files across one or more directories.
|
| All of the selected files will be concatenated for easy select
| all / paste into your LLM conversation.
|
| Output format of selected files is: ###
| `[filepath]` [file contents] ### `[filepath]`
| ... and so on. - Output is in a text field for easy
| copy-pasta. - File path starts at the common parent of all
| selected files
| teruakohatu wrote:
| It looks very useful. Are you going to release a binary or put
| it up on brew?
| bredren wrote:
| [delayed]
| reidbarber wrote:
| Nice! I made something similar but for the browser recently:
| https://files2prompt.com
|
| I think there some CLI tools out there as well.
| causal wrote:
| This kind of reflects the fact that a lot of working with LLMs is
| just organizing text, and prompts can become a real engineering
| problem when you are orchestrating pipelines of dozens or more
| files with completions at various points with context windows of
| 100K tokens or more.
|
| I've not found a satisfying framework yet, generally find raw
| Python best. But I still spend too much time on boilerplate and
| tweaking formatting or samplers and chunking for context windows.
|
| If anyone knows of a better tool for abstracting that away
| (LangChain is not it IMO) please let me know.
| stavros wrote:
| DSPy?
___________________________________________________________________
(page generated 2024-05-01 23:00 UTC)