> For the complete documentation index, see [llms.txt](https://docs.trycortex.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trycortex.ai/callable/blocks/models/language-model.md).

# Language Model

The Model Block accepts a specified prompt string and returns a Language Model completion as the result.

<figure><img src="https://3035252822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeiBCAl6qTuG0sZpeXLxC%2Fuploads%2Fa7DIl8JASJawQCyQPFuc%2FScreenshot%202023-07-18%20at%203.37.07%20PM.png?alt=media&amp;token=bb1c74ca-3f0e-4e0b-965a-8be2a249e4b7" alt=""><figcaption></figcaption></figure>

**Parameters:**

* **Prompt:** Enter your prompt to send to the configured model
* **Config:** Provides options for the type of LLM model and the temperature

{% hint style="info" %}
For the final model block in your callable, it must be named OUTPUT\_STREAM to stream the chat results in your copilot.
{% endhint %}

**Using Advanced Model Blocks:**

{% content-ref url="/pages/ky1043l79csEEB89gZPR" %}
[Utilizing Model Examples to Convert Text to JSON](/callable/use-cases/utilizing-model-examples-to-convert-text-to-json.md)
{% endcontent-ref %}
