README banner
This commit is contained in:
parent
f7e8b1097b
commit
f813a807e7
2 changed files with 10 additions and 12 deletions
22
README.md
22
README.md
|
|
@ -1,8 +1,8 @@
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
# Hindsight
|

|
||||||
|
|
||||||
**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)
|
||||||
|
|
||||||
[](https://github.com/vectorize-io/hindsight/actions/workflows/test.yml)
|
[](https://github.com/vectorize-io/hindsight/actions/workflows/test.yml)
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
[](https://www.npmjs.com/package/@vectorize-io/hindsight-client)
|
[](https://www.npmjs.com/package/@vectorize-io/hindsight-client)
|
||||||
[](https://join.slack.com/t/hindsight-space/shared_invite/zt-3klo21kua-VUCC_zHP5rIcXFB1_5yw6A)
|
[](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)
|
||||||
|
|
|
||||||
BIN
hindsight-docs/static/img/banner.webp
Normal file
BIN
hindsight-docs/static/img/banner.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 74 KiB |
Loading…
Reference in a new issue