Aktywne Wpisy

Leonia +131
Kto jadł za dzieciaka łyżeczką, daje plusa.
#jedzeniewproszku
#jedzeniewproszku
źródło: cremona
Pobierz
annlupin +22
drugi dzień ustawiania kąkutera zakończony poustawiane wszystko oprócz kolorków klawiatury wgl dobrze że mie łindołs tego asystenta dał teraz bo ta 11 upośledzona jest a co uwas





Fajne narzędzie. Code2prompt. Generuje ono prompty LLM z Twojej bazy kodu, w tym drzewo źródłowe, zawartość plików i liczbę tokenów, z konfigurowalnymi szablonami Handlebars i filtrowaniem plików.
https://github.com/mufeedvh/code2prompt
Krótki opis:
ou can run this tool on the entire directory and it would generate a well-formatted Markdown prompt detailing the source tree structure, and all the code. You can then upload this document to either GPT or Claude models with higher context windows and ask it to:
Quickly generate LLM prompts from codebases of any size.
Customize prompt generation with Handlebars templates. (See the default template)
Respects .gitignore.
Filter and exclude files using glob patterns.
Display the token count of the generated prompt. (See Tokenizers for more details)
Optionally include Git diff output (staged files) in the generated prompt.
Automatically copy the generated prompt to the clipboard.
Save the generated prompt to an output file.
Exclude files and folders by name or path.
Add line numbers to source code blocks.
źródło: image
Pobierz