# TitanTakeoff

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/llms/titan_takeoff/TitanTakeoff)

Titan Takeoff API LLMs.

Titan Takeoff is a wrapper to interface with Takeoff Inference API for
generative text to text language models.

You can use this wrapper to send requests to a generative language model
and to deploy readers with Takeoff.

## Signature

```python
TitanTakeoff(
    self,
    base_url: str = 'http://localhost',
    port: int = 3000,
    mgmt_port: int = 3001,
    streaming: bool = False,
    models: List[ReaderConfig] = [],
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `base_url` | `str` | No | The base URL where the Takeoff Inference Server is listening. Defaults to `http://localhost`. (default: `'http://localhost'`) |
| `port` | `int` | No | What port is Takeoff Inference API listening on. Defaults to 3000. (default: `3000`) |
| `mgmt_port` | `int` | No | What port is Takeoff Management API listening on. Defaults to 3001. (default: `3001`) |
| `streaming` | `bool` | No | Whether you want to by default use the generate_stream endpoint over generate to stream responses. Defaults to False. In reality, this is not significantly different as the streamed response is buffered and returned similar to the non-streamed response, but the run manager is applied per token generated. (default: `False`) |
| `models` | `List[ReaderConfig]` | No | Any readers you'd like to spin up on. Defaults to []. (default: `[]`) |

## Extends

- `LLM`

## Constructors

```python
__init__(
    self,
    base_url: str = 'http://localhost',
    port: int = 3000,
    mgmt_port: int = 3001,
    streaming: bool = False,
    models: List[ReaderConfig] = [],
)
```

| Name | Type |
|------|------|
| `base_url` | `str` |
| `port` | `int` |
| `mgmt_port` | `int` |
| `streaming` | `bool` |
| `models` | `List[ReaderConfig]` |


## Properties

- `base_url`
- `port`
- `mgmt_port`
- `streaming`
- `client`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/llms/titan_takeoff.py#L45)