README banner

This commit is contained in:
Chris Latimer 2025-12-10 23:59:53 -05:00
parent f7e8b1097b
commit f813a807e7
2 changed files with 10 additions and 12 deletions

View file

@ -1,8 +1,8 @@
<div align="center"> <div align="center">
# Hindsight ![Hindsight Banner](./hindsight-docs/static/img/banner.webp)
**Agent Memory that Works Like Human Memory** [Documentation](https://vectorize-io.github.io/hindsight) • [Paper](#coming-soon) • [Examples](https://github.com/vectorize-io/hindsight-cookbook)
[![CI](https://github.com/vectorize-io/hindsight/actions/workflows/test.yml/badge.svg)](https://github.com/vectorize-io/hindsight/actions/workflows/test.yml) [![CI](https://github.com/vectorize-io/hindsight/actions/workflows/test.yml/badge.svg)](https://github.com/vectorize-io/hindsight/actions/workflows/test.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@ -10,7 +10,6 @@
[![npm](https://img.shields.io/npm/v/@vectorize-io/hindsight-client)](https://www.npmjs.com/package/@vectorize-io/hindsight-client) [![npm](https://img.shields.io/npm/v/@vectorize-io/hindsight-client)](https://www.npmjs.com/package/@vectorize-io/hindsight-client)
[![Slack Community](https://img.shields.io/badge/Slack-Join%20Community-4A154B?logo=slack)](https://join.slack.com/t/hindsight-space/shared_invite/zt-3klo21kua-VUCC_zHP5rIcXFB1_5yw6A) [![Slack Community](https://img.shields.io/badge/Slack-Join%20Community-4A154B?logo=slack)](https://join.slack.com/t/hindsight-space/shared_invite/zt-3klo21kua-VUCC_zHP5rIcXFB1_5yw6A)
[Documentation](https://vectorize-io.github.io/hindsight) • [Paper](#coming-soon) • [Examples](https://github.com/vectorize-io/hindsight-cookbook)
</div> </div>
@ -76,19 +75,18 @@ npm install @vectorize-io/hindsight-client
Python example: Python example:
```python ```python
from hindsight import HindsightClient from hindsight_client import Hindsight
client = HindsightClient(base_url="http://localhost:8888") client = Hindsight(base_url="http://localhost:8888")
# Store # Retain: Store information
client.retain(bank_id="my-agent", content="Alice works at Google as a software engineer") client.retain(bank_id="my-bank", content="Alice works at Google as a software engineer")
# Query # Recall: Search memories
results = client.recall(bank_id="my-agent", query="What does Alice do?") client.recall(bank_id="my-bank", query="What does Alice do?")
# Reflect # Reflect: Generate disposition-aware response
response = client.reflect(bank_id="my-agent", query="Tell me about Alice") client.reflect(bank_id="my-bank", query="Tell me about Alice")
print(response.text)
``` ```
### Python (embedded, no Docker) ### Python (embedded, no Docker)

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB