llm-integration

Community

Memoize OpenAI calls and transform chat formats.

Authoranhvth
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Memoized OpenAI client utilities optimize chat completion calls by caching responses to reduce API usage.

Core Features & Use Cases

  • Memoized OpenAI clients (MOpenAI, MAsyncOpenAI) that cache post requests to save costs and latency.
  • Chat format transformation utilities (transform_messages) to convert between ChatML, ShareGPT, text, and simulated transcripts.
  • Prompts preparation for local LLM inference and offline workflows.

Quick Start

Install speedy_utils and instantiate MOpenAI to begin memoizing chat completions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: llm-integration
Download link: https://github.com/anhvth/speedy_utils/archive/main.zip#llm-integration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.