Skip to main content

No project description provided

Project description

pharia-inference-sdk

Formerly the intelligence_layer/core package.

Overview

The pharia-inference-sdk provides essential functionality for the intelligence layer.

Installation

The SDK is published on PyPI.

To add the SDK as a dependency to an existing project managed, run

pip install pharia-inference-sdk

Usage

from pharia_inference_sdk.core.tracer import InMemoryTracer
from pharia_inference_sdk.core.model import Llama3InstructModel
from pharia_inference_sdk.connectors import LimitedConcurrencyClient

client = LimitedConcurrencyClient()
model = Llama3InstructModel(client=client)
tracer = InMemoryTracer()

prompt = "Hello, world!"

model.generate(prompt, tracer)

Contributing

We welcome contributions! Please see our Contributing Guide for details on how to set up the development environment and submit changes.

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

pharia_inference_sdk-0.1.4.tar.gz (36.2 kB view details)

Uploaded Source

Built Distribution

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

pharia_inference_sdk-0.1.4-py3-none-any.whl (44.4 kB view details)

Uploaded Python 3

File details

Details for the file pharia_inference_sdk-0.1.4.tar.gz.

File metadata

  • Download URL: pharia_inference_sdk-0.1.4.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.13

File hashes

Hashes for pharia_inference_sdk-0.1.4.tar.gz
Algorithm Hash digest
SHA256 06fac97355b7e705ed5e7c83e383ddb61e7d45b1307bc62b15219f5e0091ed04
MD5 575f009f51ac78a67c3edb83c8ec6005
BLAKE2b-256 d14147d0c7326145baffa49cd595cc1c44c17c373d47d60bab66569a925005d8

See more details on using hashes here.

File details

Details for the file pharia_inference_sdk-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pharia_inference_sdk-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 09688f13eab4cb108c9cb89262c17a4e3410e947ba0ddd5c25eda2c463f47f25
MD5 c61a12ddf0b537cc686178ac86b9ec6b
BLAKE2b-256 0b532aaebbe05d4b5cb878f2df937c35b0a63de695d5feeacb3401946b7c2b9a

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