llm/docs
Simon Willison f740a5cbbd
Fragments (#859)
* WIP fragments: schema plus reading but not yet writing, refs #617
* Unique index on fragments.alias, refs #617
* Fragments are now persisted, added basic CLI commands
* Fragment aliases work now, refs #617
* Improved help for -f/--fragment
* Support fragment hash as well
* Documentation for fragments
* Better non-JSON display of llm fragments list
* llm fragments -q search option
* _truncate_string is now truncate_string
* Use condense_json to avoid duplicate data in JSON in DB, refs #617
* Follow up to 3 redirects for fragments
* Python API docs for fragments= and system_fragments=
* Fragment aliases cannot contain a : - this is to ensure we can add custom fragment loaders later on, refs https://github.com/simonw/llm/pull/859#issuecomment-2761534692
* Use template fragments when running prompts
* llm fragments show command plus llm fragments group tests
* Tests for fragments family of commands
* Test for --save with fragments
* Add fragments tables to docs/logging.md
* Slightly better llm fragments --help
* Handle fragments in past conversations correctly
* Hint at llm prompt --help in llm --help, closes #868
* llm logs -f filter plus show fragments in llm logs --json
* Include prompt and system fragments in llm logs -s
* llm logs markdown fragment output and tests, refs #617
2025-04-05 17:22:37 -07:00
..
_templates Custom title for docs homepage, closes #105 2023-07-12 12:20:16 -07:00
embeddings llm similar -p/--plain option, closes #853 2025-03-28 00:36:08 -07:00
plugins register_template_loaders plugin hook, closes #809 2025-03-21 16:46:44 -07:00
.gitignore Multi-page docs using Markdown and Sphinx, refs #21 2023-06-15 17:51:12 +01:00
aliases.md Assign gpt-4.5 default alias, refs #795 2025-02-27 14:51:09 -08:00
changelog.md register_template_loaders plugin hook, closes #809 2025-03-21 16:46:44 -07:00
conf.py Fix a warning about _static in docs builds 2023-07-10 21:45:07 -07:00
contributing.md Syntax highlighting for docs/contributing.md 2024-01-26 12:05:58 -08:00
help.md Fragments (#859) 2025-04-05 17:22:37 -07:00
index.md Link to two more blog entries 2025-03-25 19:30:48 -07:00
logging.md Fragments (#859) 2025-04-05 17:22:37 -07:00
Makefile Multi-page docs using Markdown and Sphinx, refs #21 2023-06-15 17:51:12 +01:00
openai-models.md Extra OpenAI docs including mention of PDFs, closes #834 2025-03-25 19:30:42 -07:00
other-models.md Support vision and audio for extra-openai-models.yaml (#843) 2025-03-22 16:14:18 -07:00
python-api.md Fragments (#859) 2025-04-05 17:22:37 -07:00
related-tools.md Reference IDs 2023-09-05 14:22:33 -07:00
requirements.txt Bump the python-packages group with 1 update (#279) 2023-10-24 14:07:18 -07:00
schemas.md Recommend top level object, not array for schemas 2025-02-28 08:15:02 -08:00
setup.md llm-claude-3 is now called llm-anthropic 2025-02-01 22:08:19 -08:00
templates.md Allow -t to take a URL to a template, closes #856 2025-03-27 20:36:58 -07:00
usage.md Fragments (#859) 2025-04-05 17:22:37 -07:00