Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Jentic API Tools - LLM

Unified LLM provider abstraction for consistent LLM usage across the Jentic API Tools monorepo. Supports Anthropic Claude, AWS Bedrock, OpenAI, and Google Gemini behind a common interface.

Key Features

The package provides an LLMHelper facade that automatically selects the configured provider and model, with a light_mode option for cheaper operations. Under the hood, each provider implements the LLMProvider abstract base class with a synchronous call method. Response parsing utilities handle markdown fence stripping, JSON extraction, and success field parsing from canonical LLM payloads. A SemanticContextBuilder constructs structured context strings from OpenAPI specs for inclusion in prompts.

Dependencies

Internal: jentic.apitools.common. External: requests, boto3.

Installation

pip install jentic-apitools-llm

Quick Start

from jentic.apitools.llm import LLMHelper

helper = LLMHelper()  # Uses settings defaults
response = helper.call_llm("Summarize this API endpoint.")

# Light mode for cheaper operations
helper = LLMHelper(light_mode=True)
response = helper.call_llm("Quick summary.")

Testing

pytest tests -v

Metadata

Release files for jentic-apitools-llm 1.0.0a25

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

Source distribution (sdist)

Source distribution for jentic-apitools-llm 1.0.0a25
File Size Uploaded
jentic_apitools_llm-1.0.0a25.tar.gz 18.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jentic-apitools-llm 1.0.0a25
File Interpreter ABI Platform
jentic_apitools_llm-1.0.0a25-py3-none-any.whl Python 3 none any Details

Total release size: 43.8 kB

Release files / jentic_apitools_llm-1.0.0a25.tar.gz

Download URL jentic_apitools_llm-1.0.0a25.tar.gz
Size 18.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f51b10fbd01386b5dd8feb84d61e5a5d3474077bab8685a3928c83901d3e1d70
BLAKE2b-256 checksum
How to use checksums
616e32b0c1876a9b0a9cd5739062ae55910dcc5e96a531267b303318450500d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / jentic_apitools_llm-1.0.0a25-py3-none-any.whl

Download URL jentic_apitools_llm-1.0.0a25-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51a5f37fac64923628f627ba6715504baaff384e191ab23547f828cb599261a2
BLAKE2b-256 checksum
How to use checksums
3cc156b26961a1e889be2bf417e22b0989a829b16c4ae1deabe8af07051d89e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

1.0.0a25 This release

2 release files

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