edenai-apis  by edenai

SDK for unified access to multiple AI provider APIs

Created 2 years ago
458 stars

Top 66.1% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

This Python package provides a unified API to access and integrate various AI services from multiple providers, simplifying the process for developers by abstracting away individual API complexities. It targets developers looking to leverage a wide range of AI capabilities, such as text analysis, speech processing, and image recognition, without managing multiple vendor accounts and integrations.

How It Works

Eden AI APIs act as a middleware layer, connecting to numerous third-party AI service providers. It standardizes inputs and outputs across these providers, allowing users to switch between different AI models or vendors with minimal code changes. This approach simplifies development and enables easy comparison and selection of the best-performing AI services for specific tasks.

Quick Start & Requirements

  • Installation: pip install git+https://github.com/edenai/edenai-apis
  • Prerequisites: API keys/secrets for desired AI providers must be configured in JSON files (e.g., edenai_apis.api_keys.<provider_name>_settings_templates.json renamed to <provider_name>_settings.json).
  • Example Usage: See the README for Python code examples demonstrating synchronous and asynchronous API calls.

Highlighted Details

  • Unified API for numerous AI providers (e.g., Google, Microsoft, OpenAI, DeepL, AssemblyAI).
  • Supports both synchronous and asynchronous operations for various AI tasks.
  • Provides standardized responses alongside original provider responses for easier parsing.
  • Facilitates easy switching between AI providers for tasks like keyword extraction.

Maintenance & Community

  • Community contributions are encouraged via GitHub issues and a Discord server for discussions and support.
  • Information on adding new providers or features is available in the README.

Licensing & Compatibility

  • License: Apache License 2.0.
  • Compatibility: Permissive license suitable for commercial use and integration into closed-source projects.

Limitations & Caveats

The project relies on external AI providers, meaning availability and performance are subject to those providers. Users must manage their own API keys and associated costs for each service.

Health Check
Last Commit

1 week ago

Responsiveness

1 week

Pull Requests (30d)
6
Issues (30d)
0
Star History
4 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Jeffrey Morgan Jeffrey Morgan(Cofounder of Ollama), and
3 more.

modelfusion by vercel

0%
1k
TypeScript library for building AI applications
Created 2 years ago
Updated 1 year ago
Starred by Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), Elvis Saravia Elvis Saravia(Founder of DAIR.AI), and
15 more.

semantic-kernel by microsoft

0.3%
26k
SDK for building intelligent AI agents and multi-agent systems
Created 2 years ago
Updated 1 day ago
Feedback? Help us improve.