ztimson 2e28ffd152
All checks were successful
Publish Library / Build NPM Project (push) Successful in 21s
Publish Library / Tag Version (push) Successful in 7s
init
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00
2025-10-28 22:18:11 -04:00


Logo

@ztimson/ai-utils

AI Utility Library - Unified interface for multiple AI providers

Version Pull Requests Issues



Table of Contents

About

A TypeScript library that provides a unified interface for working with multiple AI providers, making it easy to integrate various AI capabilities into your applications.

Features

  • Multi-Provider LLM Support: Seamlessly work with OpenAI, Anthropic (Claude), and Self-hosted (Ollama) models
  • Audio Speech Recognition (ASR): Convert audio to text using Whisper models
  • Optical Character Recognition (OCR): Extract text from images using Tesseract
  • Semantic Similarity: Compare text similarity using tensor-based cosine similarity
  • Provider Abstraction: Switch between AI providers without changing your code

Built With

Anthropic OpenAI Ollama TensorFlow Tesseract TypeScript Whisper

Setup

Production

Prerequisites

Instructions

  1. Install the package: npm i @ztimson/ai-utils

Development

Prerequisites

Instructions

  1. Install the dependencies: npm i
  2. Build library: npm build
  3. Run unit tests: npm test

Documentation

Available Here

License

Copyright © 2023 Zakary Timson | Available under MIT Licensing

See the license for more information.

Description
Unified interface for multiple AI providers
Readme 74 KiB
Languages
TypeScript 100%