effect-io-ai

Package: @effect/ai
Module: Chat

Chat.layerPersisted

Creates a Layer new chat persistence service.

The provided store identifier will be used to indicate which “store” the backing persistence should load chats from.

Signature

declare const layerPersisted: (options: { readonly storeId: string; }) => Layer.Layer<Persistence, never, BackingPersistence>

Source

Since v1.0.0