Skip to main content

socaity-schemas

Shared Pydantic models for APIPod services and the socaity product APIs. One definition, used on both sides of the wire, so a service and a client stay on the same field names.

Import the module that defines the type. The package root does not re-export symbols.

public is what anyone calling a service needs:

  • public.inference.language: chat, completion, embedding, tools, usage, and stream chunks.
  • public.inference.generation: image, video, audio, vision, and 3D.
  • public.inference.media: FileModel and its typed subclasses.
  • public.providers: Socaity, RunPod, and Replicate job envelopes, plus the StreamingResponse sentinel.
  • public.spec.address: ServiceAddress variants and URL helpers.
  • public.spec.endpoint: parameters, Endpoint, and ServiceContract.

platform is the socaity product:

  • platform.catalog: Service (category, endpoint meta, ServiceDetails), hosting (Deployment, ContainerConfig, ServiceConnector), AIModel, and public pricing.
  • platform.jobs: Job and Project.
  • platform.conversations: chat transcript and the interrupt inbox.
  • platform.workflows: the workflow document and the catalog (revision, run, trace, upsert, estimate).
  • platform.account: User, ApiKeyView, and billing (Balance, Purchase, Subscription, SpendBreakdown).
  • platform.credentials, platform.files, platform.context, platform.agent.
from socaity_schemas.public.inference.language import ChatCompletionRequest
from socaity_schemas.public.spec.endpoint import ServiceContract
from socaity_schemas.platform.catalog.service import Service
from socaity_schemas.platform.catalog.model import AIModel

The inference shapes follow the OpenAI API so OpenAI-compatible clients work without translation. That is the wire format only. Any provider that matches the shape is a valid backend.

Install

pip install socaity-schemas

Apache-2.0.

Metadata

Release files for socaity-schemas 0.1.13

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

Source distribution (sdist)

Source distribution for socaity-schemas 0.1.13
File Size Uploaded Provenance Actions
socaity_schemas-0.1.13.tar.gz 44.0 kB Without provenance Details for socaity_schemas-0.1.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for socaity-schemas 0.1.13
File Interpreter ABI Platform Actions
socaity_schemas-0.1.13-py3-none-any.whl Python 3 none any Details for socaity_schemas-0.1.13-py3-none-any.whl

Total release size: 100.3 kB

Release files / socaity_schemas-0.1.13.tar.gz

Download URL socaity_schemas-0.1.13.tar.gz
Size 44.0 kB
Tags Source
SHA-256 checksum
How to use checksums
877ae7cd71841a0e3485bb4c8ef0e4041672b157db1a80b3564532ff491af7ea
BLAKE2b-256 checksum
How to use checksums
7bc057dd7ee5ec3da3d21e80404b26d4880fe9e28465e4a6eee31a3d7db06d2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / socaity_schemas-0.1.13-py3-none-any.whl

Download URL socaity_schemas-0.1.13-py3-none-any.whl
Size 56.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a01e3655c20c92c2b21a2f8bfe10b9c38f7d9292eb833546255896514b872047
BLAKE2b-256 checksum
How to use checksums
c674881d07ae7b5b863b9d1b5e55fa4fa72f0c843487f8c62c19c5d50b875170
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for socaity-schemas 0.1.13

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