llm/docs
Simon Willison cfb10f4afd
Log input tokens, output tokens and token details (#642)
* Store input_tokens, output_tokens, token_details on Response, closes #610
* llm prompt -u/--usage option
* llm logs -u/--usage option
* Docs on tracking token usage in plugins
* OpenAI default plugin logs usage
2024-11-19 20:21:59 -08:00
..
_templates Custom title for docs homepage, closes #105 2023-07-12 12:20:16 -07:00
embeddings Use 3-small in docs instead of ada-002 2024-07-18 12:23:49 -07:00
plugins Log input tokens, output tokens and token details (#642) 2024-11-19 20:21:59 -08:00
.gitignore Multi-page docs using Markdown and Sphinx, refs #21 2023-06-15 17:51:12 +01:00
aliases.md Show attachment types in llm models --options, closes #612 2024-11-05 22:49:26 -08:00
changelog.md Release 0.18 2024-11-17 12:31:48 -08: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 Log input tokens, output tokens and token details (#642) 2024-11-19 20:21:59 -08:00
index.md Docs for CLI attachments, refs #587 2024-10-28 15:41:34 -07:00
logging.md Log input tokens, output tokens and token details (#642) 2024-11-19 20:21:59 -08:00
Makefile Multi-page docs using Markdown and Sphinx, refs #21 2023-06-15 17:51:12 +01:00
openai-models.md Show attachment types in llm models --options, closes #612 2024-11-05 22:49:26 -08:00
other-models.md Allow passing of can_stream in openai_models.py (#600) 2024-11-05 23:04:13 -08:00
python-api.md llm.get_async_model(), llm.AsyncModel base class and OpenAI async models (#613) 2024-11-13 17:51:00 -08: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
setup.md Release 0.15 2024-07-18 12:31:14 -07:00
templates.md llm models and llm templates default to list, closes #167 2023-08-19 20:04:14 -07:00
usage.md audio/wav not audio/wave, refs #603 2024-11-12 21:43:07 -08:00