Skip to main content

maximem-synap-llamaindex

Synap memory for LlamaIndex: SynapRetriever, SynapChatMemory and synap_st_chat_message.

Deeper scope ladders

On an account whose scope ladder has more levels than customer and user, pass the level as scope_path (level key to value). It is sent with every fetch and every turn the object makes, and only when set.

path = {"customer": "acme", "team": "payments", "user": "dana"}
retriever = SynapRetriever(sdk, user_id="dana", customer_id="acme", scope_path=path)
memory = SynapChatMemory(sdk, conversation_id=conv_id, user_id="dana", customer_id="acme", scope_path=path)

maximem_synap.ScopeLadder.address(values) builds user_id, customer_id and scope_path from level values. Without scope_path nothing changes.

The server lets the path's user and customer values win over user_id / customer_id, so a user_id or customer_id that disagrees with the path raises SynapIntegrationError at construction, before any SDK call.

Needs a newer SDK. A path needs a maximem-synap release that has get_scope_ladder and scope_path on fetch, send_message and record_message (and scope on memories.create). With an older SDK, a turn that carries a path is dropped and an error is logged: it is never filed at a wider scope. Leave scope_path unset on an older SDK.

Metadata

Release files for maximem-synap-llamaindex 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maximem-synap-llamaindex 0.2.3
File Size Uploaded Provenance Actions
maximem_synap_llamaindex-0.2.3.tar.gz 24.4 kB Without provenance Details for maximem_synap_llamaindex-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for maximem-synap-llamaindex 0.2.3
File Interpreter ABI Platform Actions
maximem_synap_llamaindex-0.2.3-py3-none-any.whl Python 3 none any Details for maximem_synap_llamaindex-0.2.3-py3-none-any.whl

Total release size: 37.3 kB

Release files / maximem_synap_llamaindex-0.2.3.tar.gz

Download URL maximem_synap_llamaindex-0.2.3.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
44d944b95e300f13b94c01f99eeb9431253c1fb917d8e9b1ea80ad33fb07962a
BLAKE2b-256 checksum
How to use checksums
8f5cd5d0576284a7687fb9107c3657405ce635c317bb0a993771e91af40aa1c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release files / maximem_synap_llamaindex-0.2.3-py3-none-any.whl

Download URL maximem_synap_llamaindex-0.2.3-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b67c7c846a17a2dc08dacfa30750ad69be93d820146b211aa8b4b238f5c32b82
BLAKE2b-256 checksum
How to use checksums
cf67a26c5e9f7fbb9e8dbd3c768915f06cd08b8a7cf8f59d30579d8036bd84e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Security for maximem-synap-llamaindex 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page