Skip to main content

Give your LLM persistent memory with a simple middleware pattern.

Project description

Aniate Engram Python SDK

Give your LLM persistent memory with a simple middleware pattern.

Installation

pip install aniate

Usage

from aniate import Engram

# 1. Initialize
engram = Engram(api_key="an_xxxxxxxx")

# 2. Create Memory
memory = engram.memory("my_knowledge")

# 3. Store knowledge
memory.store("Tesla was founded by Elon Musk")

# 4. Query with semantic search
results = memory.query("electric car companies", top_k=5)
print(results)

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

aniate-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aniate-0.1.0-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file aniate-0.1.0.tar.gz.

File metadata

  • Download URL: aniate-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for aniate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 90e267a523204250da1ff66388c0433de27af734a2618155fcf28926b6a7aa9b
MD5 705076ed3f1ae0cfca8211bc4f5b1615
BLAKE2b-256 8060ed4b1d4f7347bb749bf62732edc3ca7f89ad99df154fcb744a0446f72e25

See more details on using hashes here.

File details

Details for the file aniate-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: aniate-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for aniate-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 483f0a0d3796a6942aae9db7f75c1daa2d599725635d28ba27f5bc732ae5c2d8
MD5 94587a48cb0c504799d44544d9381dc3
BLAKE2b-256 11145130a596808f8f02285fa0821186cbcfb83cf32a68c015edf06a7b69c972

See more details on using hashes here.

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