Catalog PyPI
PACKAGE EXPLORERView in registry

acace_llm_adapter

PyPI

LLM adapter utilities for ACACE

Versions collected1
Direct dependencies3From release 0.1.0
Last observed20 Oct, 17:49 UTC

README

Version 0.1.0 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.030 Apr 20253

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 17:49 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:63ba79027fb5f8cb87b27dc7dc8fb3a8aa65556e2df7d987f9fea1327e96393c