Skip to content

Releases: aiaccess/ai-access

Released version 0.1.0

22 Apr 03:14
@dg dg
Compare
Choose a tag to compare

We're excited to announce the first release of AI Access for PHP, a unified library providing access to various AI models through a single, consistent PHP interface.

Supported Providers

  • OpenAI: ChatGPT models with complete API support
  • Anthropic: Claude models with conversation capabilities
  • Google: Gemini models with chat and embedding features
  • DeepSeek: Chat functionality with DeepSeek models
  • xAI: Grok models support

Key Features

  • Chat Interface: Consistent messaging API across all providers
  • Conversation History: Built-in history management for multi-turn conversations
  • Batch Processing: Asynchronous batch requests for OpenAI and Claude
  • Embeddings: Vector embeddings for OpenAI and Gemini providers
  • System Instructions: Control model behavior with system prompts
  • Configurable Model Options: Fine-tune model parameters for each provider
  • Robust Error Handling: Standardized exception handling across providers

Requirements

  • PHP 8.1 or later
  • Composer for installation

This initial release focuses on providing a solid foundation with a unified API that makes it easy to switch between different AI providers while maintaining consistent code structure.