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.17.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.17-py3-none-any.whl (151.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hindsight_client-0.0.17.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.17.tar.gz
Algorithm Hash digest
SHA256 9f9ef399dcb18c9f682e01a5f6ae21826517852dd0e5943cc8eac3cdac9ceb55
MD5 8ece302bb27b3660cc6b19d57c5e044e
BLAKE2b-256 ba5c7da1d4504a11a8ddcad8c8bcf6dcf33ff1da934e04c8d935493da3bac58d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hindsight_client-0.0.17.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.17-py3-none-any.whl.

File metadata

File hashes

Hashes for hindsight_client-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 0ab41b5b37af95bd76c122587703f93e6ac976043d55581b89a29e15e193694b
MD5 2c45b5bf2cc276efbbfa93eb1aacb625
BLAKE2b-256 9a461166f6441ba22b451f03c480c997a69110ba29928e39d5b01c1bec6aedd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for hindsight_client-0.0.17-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