langchain/docs/modules/llms/generic_how_to.rst

25 lines
939 B
ReStructuredText
Raw Normal View History

Generic Functionality
=====================
The examples here all address certain "how-to" guides for working with LLMs.
`LLM Serialization <./examples/llm_serialization.html>`_: A walkthrough of how to serialize LLMs to and from disk.
`LLM Caching <./examples/llm_caching.html>`_: Covers different types of caches, and how to use a cache to save results of LLM calls.
`Custom LLM <./examples/custom_llm.html>`_: How to create and use a custom LLM class, in case you have an LLM not from one of the standard providers (including one that you host yourself).
2023-01-23 07:37:01 +00:00
`Token Usage Tracking <./examples/token_usage_tracking.html>`_: How to track the token usage of various chains/agents/LLM calls.
`Fake LLM <./examples/fake_llm.html>`_: How to create and use a fake LLM for testing and debugging purposes.
.. toctree::
:maxdepth: 1
:glob:
:caption: Generic Functionality
:name: Generic Functionality
:hidden:
./examples/*