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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hindsight_client-0.0.18.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.18.tar.gz
Algorithm Hash digest
SHA256 d942e087ca4758a13137995871aae6f08f0c3404a152d8e6ac0b116952480ae0
MD5 d934c21f17a8181d896d6e7fbc8fb668
BLAKE2b-256 a7a28585600d50be8700eb598f8919c547e87a17a2cc0044a7b4344844bb7851

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hindsight_client-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 7a6b1e9b414f9e7f2581881398978d2498dfc3fe3cea7e19953afd76adad4c7f
MD5 a3a940e3500883b8b184ce4e0a268c73
BLAKE2b-256 f2d4e8b00c41a05e09b9943e4bf23320b5282a2426ed35282e2f5d0d68240fbf

See more details on using hashes here.

Provenance

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