Skip to main content

ACACE LLM Adapter

A Language Model adapter module for the Adaptive Context-Aware Content Engine (ACACE).

Features

  • OpenAI API integration
  • Anthropic API integration
  • Unified interface for multiple LLM providers
  • Error handling and retries

Installation

pip install acace_llm_adapter

Usage

from acace_llm_adapter import LLMAdapter

# Initialize with your API keys
adapter = LLMAdapter(
    openai_api_key="your-openai-key",
    anthropic_api_key="your-anthropic-key"
)

# Generate content using OpenAI
response = adapter.generate(
    "Write a short story about a robot learning to paint.",
    provider="openai",
    model="gpt-4"
)

# Generate content using Anthropic
response = adapter.generate(
    "Write a short story about a robot learning to paint.",
    provider="anthropic",
    model="claude-3-opus-20240229"
)

License

MIT License

Metadata

Release files for acace_llm_adapter 0.1.0

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

Source distribution (sdist)

Source distribution for acace_llm_adapter 0.1.0
File Size Uploaded Provenance Actions
acace_llm_adapter-0.1.0.tar.gz 1.5 kB Without provenance Details for acace_llm_adapter-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acace_llm_adapter 0.1.0
File Interpreter ABI Platform Actions
acace_llm_adapter-0.1.0-py3-none-any.whl Python 3 none any Details for acace_llm_adapter-0.1.0-py3-none-any.whl

Total release size: 3.7 kB

Release files / acace_llm_adapter-0.1.0.tar.gz

Download URL acace_llm_adapter-0.1.0.tar.gz
Size 1.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bb3adb6acb9a861a5f5eb3d161a804b10d0b8edb421ca2413841a712de1cfb73
BLAKE2b-256 checksum
How to use checksums
f9912d31aab9ba83c587ccebf0c98bffb8f45ace69ffd72d49fd0fb915579ca3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.9.6 Darwin/24.3.0

Release files / acace_llm_adapter-0.1.0-py3-none-any.whl

Download URL acace_llm_adapter-0.1.0-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77b266613ef71c7574dbe6f3c86652201406259dd9aa9e6b1f0cec01c31a518e
BLAKE2b-256 checksum
How to use checksums
a649d69e7a03892158e091323f5d4d49f2376e79d955c55fee271ad7027c78e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.2 CPython/3.9.6 Darwin/24.3.0

Security for acace_llm_adapter 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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