# Language Model

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

<figure><img src="/files/9qnmqnNNUOVKKAjWYJ3R" 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trycortex.ai/callable/blocks/models/language-model.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
