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.dev.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hindsight_client-0.0.14.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.14.tar.gz
Algorithm Hash digest
SHA256 bb5ef893522c07e082fbc3da705de4613dbf5df8efa0387ddffebe7f6c7505d1
MD5 e21ac568be0474da1ca00b3efecd86b5
BLAKE2b-256 ccb36d0413d23844b1fd9775f4eaac200d0015cc5ffe47f82d274df9b80a6031

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hindsight_client-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 95959f0f00c9760c8723994862e9b9b67540491df6dde2dc09c6d080793b36a1
MD5 4ffb14885c39c92aa5630cca0dcd60a2
BLAKE2b-256 65d94300640cf6fdba1dd76d49130706007445da224c75027d579f0e977775a3

See more details on using hashes here.

Provenance

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