Skip to main content

Python client for Hindsight - Semantic memory system with personality-driven thinking

Project description

Hindsight Python Client

Python client library for the Hindsight API.

Installation

pip install hindsight-client

Usage

from hindsight_client import Hindsight

client = Hindsight(base_url="http://localhost:8888")

# Retain information
client.retain(
    bank_id="my-bank",
    content="Alice works at Google in Mountain View."
)

# Recall memories
results = client.recall(
    bank_id="my-bank",
    query="Where does Alice work?"
)

# Reflect and get an opinion
response = client.reflect(
    bank_id="my-bank",
    query="What do you think about Alice's career?"
)

Documentation

For full documentation, visit hindsight.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hindsight_client-0.0.16.tar.gz (56.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hindsight_client-0.0.16-py3-none-any.whl (151.7 kB view details)

Uploaded Python 3

File details

Details for the file hindsight_client-0.0.16.tar.gz.

File metadata

  • Download URL: hindsight_client-0.0.16.tar.gz
  • Upload date:
  • Size: 56.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hindsight_client-0.0.16.tar.gz
Algorithm Hash digest
SHA256 77c0d83d9e5f72d0bdac43d08abd540e39454af15cc2b7aef63ced1b0a7b5156
MD5 3dad377a07f34c6d6c8dc9f5989a6e10
BLAKE2b-256 afa096ee18f5e6fa7ad90a990f5d98bdecb9d758b05e1fa734aafb059dbf7043

See more details on using hashes here.

Provenance

The following attestation bundles were made for hindsight_client-0.0.16.tar.gz:

Publisher: release.yml on vectorize-io/hindsight

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hindsight_client-0.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for hindsight_client-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 a1ae82890f6a332d4227bed719866fad7845b6e9a731b0e1500cf76bdec9a19f
MD5 445698610d05e84d7e9ad498953170d5
BLAKE2b-256 67fdf7a0fce4a625036f73bf513ac69597a16bf9b3f9729bfade538f31ffcbb4

See more details on using hashes here.

Provenance

The following attestation bundles were made for hindsight_client-0.0.16-py3-none-any.whl:

Publisher: release.yml on vectorize-io/hindsight

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page