Durable OpenAI Responses adapter for the MemoFlow Python SDK
Project description
MemoFlow OpenAI adapter for Python
This optional package connects an injected asynchronous OpenAI Responses client to MemoFlow's durable AI invocation, budget, tool-effect, and recorded-replay contracts. It deliberately does not install or pin the OpenAI package.
from memoflow_openai import OpenAIResponsesAdapter, OpenAIResponsesRun
adapter = OpenAIResponsesAdapter(openai_client)
response = await adapter.run(OpenAIResponsesRun(
request={"model": "your-approved-model", "input": "hello"},
budget=estimate,
recorded_replay_key="primary-model-turn",
))
Call the adapter only inside a server-backed MemoFlow activity. Provider exceptions or cancellation after request dispatch are recorded as uncertain outcomes and retain budget liability for reconciliation. Completed replay envelopes are bound to the complete initial Responses request and registered executor names/versions. Reusing a logical key for changed inputs fails before budget admission or provider dispatch.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file memoflow_openai-0.1.0.tar.gz.
File metadata
- Download URL: memoflow_openai-0.1.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0d646242f0140381200efe0e9dd784017367c73530607e0654df2e056c2300d
|
|
| MD5 |
1855802715a4376f6c1f7fa7e99e5905
|
|
| BLAKE2b-256 |
473a16acca48d7954a31779284c581e8d280dc11fcdcb2fda43fa4a73fa5c0f2
|
Provenance
The following attestation bundles were made for memoflow_openai-0.1.0.tar.gz:
Publisher:
publish-python.yml on evigasoft/memoflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memoflow_openai-0.1.0.tar.gz -
Subject digest:
d0d646242f0140381200efe0e9dd784017367c73530607e0654df2e056c2300d - Sigstore transparency entry: 2180161508
- Sigstore integration time:
-
Permalink:
evigasoft/memoflow@28e7979a71427780a3a95b93d3443cee50ce4e34 -
Branch / Tag:
refs/tags/python-openai-v0.1.0 - Owner: https://github.com/evigasoft
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@28e7979a71427780a3a95b93d3443cee50ce4e34 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file memoflow_openai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: memoflow_openai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
517d186431923c251eef89a7c924e74bc0472065966b9f082717e3579b773525
|
|
| MD5 |
547649c85987901e1980b150aa210d2d
|
|
| BLAKE2b-256 |
8e4c95ee1cba5ed1c73ad8624107e6c37b17882fdb0991d699e083b098bf5903
|
Provenance
The following attestation bundles were made for memoflow_openai-0.1.0-py3-none-any.whl:
Publisher:
publish-python.yml on evigasoft/memoflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
memoflow_openai-0.1.0-py3-none-any.whl -
Subject digest:
517d186431923c251eef89a7c924e74bc0472065966b9f082717e3579b773525 - Sigstore transparency entry: 2180161772
- Sigstore integration time:
-
Permalink:
evigasoft/memoflow@28e7979a71427780a3a95b93d3443cee50ce4e34 -
Branch / Tag:
refs/tags/python-openai-v0.1.0 - Owner: https://github.com/evigasoft
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-python.yml@28e7979a71427780a3a95b93d3443cee50ce4e34 -
Trigger Event:
workflow_dispatch
-
Statement type: