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

# Overview of Corti Text Generation

> Learn about the text generation endpoints in the Corti API

Corti text generation LLMs are specifically designed for use in the healthcare domain. The API endpoints detailed below provide access to different text generation functionality. Selecting the right endpoint is important based on your needs and use case.

<Tip>
  Please review the [languages page](/about/languages/) to learn more about languages supported per endpoint and language code to use in API requests.
</Tip>

## Corti Text Generation Endpoints

<Columns cols={2}>
  <Card title="Streams" href="/textgen/facts_realtime" icon="radio-tower">
    Real-time fact extraction to power intelligent ambient documentation and decision support workflows
  </Card>

  <Card title="FactsR™" href="/textgen/facts_async" icon="list-tree">
    Stateless REST endpoint to extract facts from text input
  </Card>

  <Card title="Documents" href="/textgen/documents-standard" icon="file-text">
    Generate high-quality documents structured to your needs and based on either transcript, facts or other text input
  </Card>

  <Card title="Templates" href="/textgen/templates" icon="puzzle">
    Govern content, structure and style when generating documents
  </Card>
</Columns>

### Endpoint Functionality

|                        | <Tooltip tip="Generate Documents from Text Input">[Documents](/api-reference/documents/generate-document)</Tooltip> | <Tooltip tip="Real-time FactsR extraction">[Streams](/api-reference/streams/)</Tooltip> | <Tooltip tip="REST FactsR extraction">[Extract-Facts](/api-reference/facts/extract-facts)</Tooltip> |
| :--------------------- | :-----------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------: |
| **Connection**         |                                                         REST                                                        |                                           WSS                                           |                                                 REST                                                |
| **Data processing**    |                                                     Synchronous                                                     |                                       Synchronous                                       |                                             Synchronous                                             |
| **Architecture**       |                                                       Stateful                                                      |                                         Stateful                                        |                                              Stateless                                              |
| **Text Gen**           |                                                      Documents                                                      |                                          FactsR                                         |                                                FactsR                                               |
| **Based on Templates** |                                                         Yes                                                         |                                            No                                           |                                                  No                                                 |
| **Quality Assurance**  |                                                      Guardrails                                                     |                                        Refinement                                       |                                            `coming soon`                                            |

<br />

<Note>Please [contact us](https://help.corti.app) if you are interested in features that are not listed here, need help determining the best text generation endpoint for your needs, or have questions about how to configure your API requests.</Note>
