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

# WRITER

All functionality related to WRITER

> This page covers how to use the [WRITER](https://writer.com/) ecosystem within LangChain. For further information see Writer [docs](https://dev.writer.com/home/introduction).
> [Palmyra](https://writer.com/blog/palmyra/) is a Large Language Model (LLM) developed by `WRITER`.
>
> The [Writer API](https://dev.writer.com/api-guides/introduction) is powered by a diverse set of Palmyra sub-models with different capabilities and price points.

## Installation and Setup

Install the integration package with

<CodeGroup>
  ```bash pip theme={null}
  pip install langchain-writer
  ```

  ```bash uv theme={null}
  uv add langchain-writer
  ```
</CodeGroup>

Get a WRITER API key and set it as an environment variable (`WRITER_API_KEY`)

## Chat model

```python theme={null}
from langchain_writer import ChatWriter
```

See [details](/oss/python/integrations/chat/writer).

## PDF Parser

```python theme={null}
from langchain_writer.pdf_parser import PDFParser
```

See [details](/oss/python/integrations/document_loaders/parsers/writer_pdf_parser).

## Text splitter

```python theme={null}
from langchain_writer.text_splitter import WriterTextSplitter
```

See [details](/oss/python/integrations/splitters/writer_text_splitter).

## Tools calling

### Functions

Support of basic function calls defined via dicts, Pydantic, python functions etc.

### Graphs

```python theme={null}
from langchain_writer.tools import GraphTool
```

See [details](/oss/python/integrations/tools/writer).

### Web search tool

```python theme={null}
from langchain_writer.tools import WebSearchTool
```

See [details](/oss/python/integrations/tools/writer).

### Translation tool

```python theme={null}
from langchain_writer.tools import TranslationTool
```

See [details](/oss/python/integrations/tools/writer).
