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.15.tar.gz (56.2 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.15-py3-none-any.whl (151.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hindsight_client-0.0.15.tar.gz
  • Upload date:
  • Size: 56.2 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.15.tar.gz
Algorithm Hash digest
SHA256 e137a327964f5c15d7ca8a5b67741897f4b4e5bc656ee3fa263bd48c4af849e8
MD5 0c4d803bc885406f93d6d2b5417df5c2
BLAKE2b-256 8fad60de1b52d349b70bea4353abddb967d1fb0149ad06edc4bafbab00ae02c6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hindsight_client-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 33b198c989154506e4fa15bb46230f0b26f3b12dc8922e5764beb8aff61c6897
MD5 22c4377e9de6b77f5ed69fac680127eb
BLAKE2b-256 f4bf73dcad28f4cceda3d61ba5be8af0b8fc016c1809aef920076c2d87931732

See more details on using hashes here.

Provenance

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