aidapter 0.0.2

Unified AI provider adapter for Rust
Documentation

AI Adapter

A unified Rust library for accessing multiple AI service providers through a standardized interface.

Features

  • Unified API: Consistent interface across different AI providers
  • Provider Support: OpenAI, Anthropic, DeepSeek, Google Gemini, Ollama
  • Standardized Data Structures: Normalized request/response formats

Supported Providers

Provider Chat Embeddings Model List
OpenAI
Anthropic
Google Gemini

Architecture

  • providers: Provider-specific implementations

Compatible with OpenAI API

DeepSeek AI provider implementation

API Reference: https://api-docs.deepseek.com/ Model Names: https://api-docs.deepseek.com/quick_start/pricing

Ollama provider implementation

API Reference: https://github.com/ollama/ollama/blob/main/docs/api.md Model Names: https://ollama.com/library Compatibility: https://github.com/ollama/ollama/blob/main/docs/openai.md

License

MIT