Skip to main content
Open on GitHub

Writer, Inc.

All functionality related to Writer

This page covers how to use the Writer ecosystem within LangChain. For further information see Writer docs. Palmyra is a Large Language Model (LLM) developed by Writer, Inc.

The Writer API is powered by a diverse set of Palmyra sub-models with different capabilities and price points.

Installation and Setupโ€‹

Install the integration package with

pip install langchain-writer

Get an Writer API key and set it as an environment variable (WRITER_API_KEY)

Chat modelโ€‹

from langchain_writer import ChatWriter

See details.

PDF Parserโ€‹

from langchain_writer.pdf_parser import PDFParser

See details.

Text splitterโ€‹

from langchain_writer.text_splitter import WriterTextSplitter

See details.

Tools callingโ€‹

Functionsโ€‹

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

Graphsโ€‹

from langchain_writer.tools import GraphTool

See details.

Writer-specific remotely invoking tool


Was this page helpful?