Skip to main content
Narrator is Slide’s conversation persistence and storage system. While it integrates seamlessly with Tyler agents, you can also use Narrator independently for any application that needs to manage conversations and files.

Why Use Narrator Standalone?

  • Add conversation history to existing AI applications
  • Manage chat threads across multiple sessions
  • Store and retrieve file attachments
  • Switch between storage backends easily
  • No dependency on Tyler or other Slide packages

Quick Start

Installation

Basic usage

Storage Backends

In-Memory Storage

Perfect for testing and temporary conversations:

SQLite Storage

Great for local applications and development:

PostgreSQL Storage

For production applications with multiple users:

Thread Management

Creating Threads

Managing Messages

Thread Operations

File Storage

Setting Up File Storage

Working with Attachments

Integration Examples

With OpenAI

With LangChain

With Custom AI Systems

Advanced patterns

Thread Archival

Export/Import

Performance tips

1. Connection Pooling

2. Batch Operations

3. Lazy Loading

Migration Guide

From File-based Storage

Next steps

Conversation Persistence

Advanced persistence patterns

API Reference

Complete API documentation

Tyler Integration

Use with Tyler agents

Examples

See more examples