Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Infiniflow Ragflow MemoryService

From Leeroopedia
Knowledge Sources
Domains Frontend, API, Memory
Last Updated 2026-02-12 06:00 GMT

Overview

Concrete frontend HTTP API client for conversation memory management operations in the RAGFlow frontend.

Description

The services/memory-service.ts module defines API endpoints for: listing memories, creating memories, updating memories, deleting memories, and fetching memory details. These support the conversational memory feature that enables agents to retain context across sessions.

Usage

Import these service functions in memory management pages and agent configuration where memory stores are referenced.

Code Reference

Source Location

Signature

export const listMemories: (params) => Promise<Response>;
export const createMemory: (data) => Promise<Response>;
export const updateMemory: (data) => Promise<Response>;
export const deleteMemory: (id: string) => Promise<Response>;

Import

import { listMemories, createMemory } from '@/services/memory-service';

I/O Contract

Inputs

Name Type Required Description
params object Varies Query parameters for listing
data object Yes Memory configuration for create/update

Outputs

Name Type Description
returns Promise<Response> API response with memory data

Usage Examples

import { createMemory } from '@/services/memory-service';
await createMemory({ name: 'Chat Memory', size_limit: 1024 * 1024 });

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment