aidapter

Crates.ioaidapter
lib.rsaidapter
version0.0.2
created_at2025-11-26 14:10:06.046287+00
updated_at2026-01-10 03:08:36.078644+00
descriptionUnified AI provider adapter for Rust
homepage
repositoryhttps://github.com/fn-a/aidapter
max_upload_size
id1951455
size203,079
(fn-a)

documentation

README

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

Commit count: 5

cargo fmt