Skip to main content

Tensorheart Memory Documentation

Welcome to the Tensorheart Memory documentation. The Tensorheart Memory API provides intelligent memory storage and retrieval for AI applications.

What is Tensorheart Memory?

The Tensorheart Memory API enables your AI applications to:

  • Store memories - Save important information with metadata
  • Query memories - Find relevant memories for a given context
  • Generate answers - Get answers based on stored memories
  • Extract memories - Automatically extract memories from conversations

Quick Example

# Store a memory
curl -X POST https://api.memory.tensorheart.com/v1/memories \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "User prefers dark mode interfaces"}'

# Query memories
curl -X POST https://api.memory.tensorheart.com/v1/query \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"context": "What are the users UI preferences?"}'

Getting Started

🚀 Quickstart

Get up and running in 5 minutes.

📖 API Reference

Complete endpoint documentation.

Key Features

FeatureDescription
Ranked QueriesRetrieve memories ranked by relevance
Multi-tenantSecure isolation between organizations
Real-time UsageMonitor API usage and costs in real-time
ExtensibleCustom metadata, webhooks, and integrations

SDKs

Install our official SDKs:

# Python
pip install tensorheart-memory

# JavaScript
npm install @tensorheart/memory

Need Help?