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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hindsight_client-0.0.13.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.13.tar.gz
Algorithm Hash digest
SHA256 12fc4c09deb12fb152af90501f752b245e792fe53595436df1792d4fa752d413
MD5 83c32e04cffcb086536fa823227b8b81
BLAKE2b-256 43bddf45a4ff5d5454310719408a3e905894a05772219895137d216207cf811a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for hindsight_client-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 dfdc3ff1a7d762a80e07b126316f98289c64b5d4eada13236d6e43327978ab64
MD5 92a18d06783a7bd88fb559f5ea887f41
BLAKE2b-256 7001c4910d54ae77a14bebef7a3acd4623c4bd972d692f112c7bf904e16812ff

See more details on using hashes here.

Provenance

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