🎉 ai-infra v1.0 is here — Production-ready AI/LLM infrastructure
What's new
Nfrax Docs logoNfrax Docs

Infrastructure that just works. Ship products, not boilerplate.

Frameworks

  • svc-infra
  • ai-infra
  • fin-infra
  • robo-infra

Resources

  • Getting Started
  • What's New
  • Contributing

Community

  • GitHub

© 2026 nfrax. All rights reserved.

Nfrax Docs logoNfrax Docs
Start HereWhat's New
GitHub
ai-infra / API Reference

MemoryRecord

from ai_infra.llm.memory import MemoryRecord
View source
ai_infra.llm.memory
Extends:BaseModel

Portable representation of a durable memory item. The model is intentionally storage-neutral. Database IDs, workspace IDs, project IDs, conversation IDs, or application-specific fields should be carried in ``metadata`` rather than becoming SDK concepts.

Methods

On This Page

as_context_text