BAML-generated types and client for coach-app boundary contracts
Project description
coach-app-baml-client
BAML-generated Pydantic models and client for coach-app boundary contracts.
Installation
pip install coach-app-baml-client
Or for development:
pip install -e ".[dev]"
Usage
from coach_app_baml_client.types import (
ChatRequest,
ChatResponse,
EventEnvelope,
EventType,
MessageRole,
ScheduledMessage,
MessageStatus,
)
# Create a chat request
request = ChatRequest(
message="Hello",
conversationId="conv-123",
conversationHistory=[],
)
# Parse an event envelope
envelope = EventEnvelope(
type=EventType.MESSAGE_RECEIVED,
meta=EventMeta(
timestamp="2024-01-01T00:00:00Z",
contractsVersion="1.0.0",
),
payload={"content": "Hello"},
)
Generated Code
The baml_client/ directory contains BAML-generated code. Do not edit these files directly.
To regenerate:
# From repo root
baml-cli generate
Version
This package version corresponds to the contracts version. Both Python and TypeScript packages are released together with the same version number.
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
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 coach_app_baml_client-2.1.0.tar.gz.
File metadata
- Download URL: coach_app_baml_client-2.1.0.tar.gz
- Upload date:
- Size: 77.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2a9ead3da81ddbc1dc88658e4c3b794fceab3204826b2babbe4945e43c53a8a
|
|
| MD5 |
4c6ec86574146d07c9a59a54474e3774
|
|
| BLAKE2b-256 |
6b6bcd82f9cd3f788a4f6ba11b41c03faa10977320c584f76aee5a903eedb4bc
|
Provenance
The following attestation bundles were made for coach_app_baml_client-2.1.0.tar.gz:
Publisher:
release.yml on Frontierstrategies-ai/coach-app-contracts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coach_app_baml_client-2.1.0.tar.gz -
Subject digest:
e2a9ead3da81ddbc1dc88658e4c3b794fceab3204826b2babbe4945e43c53a8a - Sigstore transparency entry: 836061417
- Sigstore integration time:
-
Permalink:
Frontierstrategies-ai/coach-app-contracts@469f0e3fc8bfc8b143d3d5caafb2f4a9a5b35a25 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/Frontierstrategies-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@469f0e3fc8bfc8b143d3d5caafb2f4a9a5b35a25 -
Trigger Event:
push
-
Statement type:
File details
Details for the file coach_app_baml_client-2.1.0-py3-none-any.whl.
File metadata
- Download URL: coach_app_baml_client-2.1.0-py3-none-any.whl
- Upload date:
- Size: 83.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6fc61bec44c4fe5f3318f13345b1d9532d87ddfb46914ba48fbb9c40d81b3fb
|
|
| MD5 |
5bc1329a0e169f8794142da886535307
|
|
| BLAKE2b-256 |
8e73cd5167910c99a594a0344702ec1076f7c376e905cb0b59b37155595acd9a
|
Provenance
The following attestation bundles were made for coach_app_baml_client-2.1.0-py3-none-any.whl:
Publisher:
release.yml on Frontierstrategies-ai/coach-app-contracts
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
coach_app_baml_client-2.1.0-py3-none-any.whl -
Subject digest:
b6fc61bec44c4fe5f3318f13345b1d9532d87ddfb46914ba48fbb9c40d81b3fb - Sigstore transparency entry: 836061418
- Sigstore integration time:
-
Permalink:
Frontierstrategies-ai/coach-app-contracts@469f0e3fc8bfc8b143d3d5caafb2f4a9a5b35a25 -
Branch / Tag:
refs/tags/v2.1.0 - Owner: https://github.com/Frontierstrategies-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@469f0e3fc8bfc8b143d3d5caafb2f4a9a5b35a25 -
Trigger Event:
push
-
Statement type: