Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

cache

TypeScript AI Agent
  • Cache System - In-memory and persistent caching for agents Inspired by mastra’s cache module

Import

import { cache } from 'praisonai';

Classes

CacheConfig

TypeScript CacheConfig class

CacheEntry

TypeScript CacheEntry class

MemoryCache

TypeScript MemoryCache class

FileCache

TypeScript FileCache class

Functions

createMemoryCache()

Function definition.

createFileCache()

Function definition.

JS Cache CLI

JS Memory