> ## Documentation Index
> Fetch the complete documentation index at: https://docs.thesys.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Embed

> A LLM native endpoint that generates UI.

<Check> POST `https://api.thesys.dev/v1/embed/chat/completions` </Check>

* Drop in replacement for existing LLM endpoint that can be used
  to generate UI rather than text completions.
* Supports tool calling for fetching external data.
* Ability to steer semantic design via system prompts.
* Visual customization via [Crayon](https://crayonai.org)

## Request

Supports both [streaming](/api-reference/objects/streaming#request-body) and [non-streaming](/api-reference/objects/message#request-body) payloads.

## Response

Returns [streaming chunks](/api-reference/objects/streaming#sse-event-stream) in streaming mode
or a [message](/api-reference/objects/message#response) object in non-streaming mode.
