File size: 939 Bytes
acc4ffe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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).

`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/*