# Capability Unit

When you are sending queries in ChatGPT, you are basically sending queries to a large language model with a pre-defined prompt. In langtorch, we call it "**capability unit**" or in real life, it is roughly equal to "**a** **task**", i.e. performing a Q\&A task.

<img src="https://3355499151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFHwk9l6ur51Trh9i2JLs%2Fuploads%2FyU3311QMyYowROeB47Fb%2Ffile.excalidraw.svg?alt=media&#x26;token=e5a8b360-9c9d-4105-bfec-9164deee6411" alt="" class="gitbook-drawing">

However, **LLM is NOT ALWAYS** [_**all you need**_](https://arxiv.org/abs/1706.03762) [😂](https://emojipedia.org/face-with-tears-of-joy/) and sometimes, you don't even bother using a LLM. For example, involving LLM when **calculating (1287652 \* 2372837) / 7.8765 + 9876** is not a good idea even with GPT-4 and the famous magic "[Let's think step by step](https://arxiv.org/pdf/2205.11916.pdf)".

<figure><img src="https://3355499151-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFHwk9l6ur51Trh9i2JLs%2Fuploads%2FH1CcydVSL4WR6C5Bibvk%2FWX20230409-130346.png?alt=media&#x26;token=319ea01c-cb8e-4983-be9f-1aa6fca4f6c8" alt=""><figcaption></figcaption></figure>

The true label is 387911938870 if you are curious.

For cases like this, a calculator function is preferable.&#x20;

We also have built-in support for functions.

To make it simple with our langtorch jargon,&#x20;

**The capability unit is ONE OF:**

1. **Prompt Template + Model**&#x20;
2. **Functions**
