Skip to content
/ aidapter Public

A unified Rust library for accessing multiple AI service providers through a standardized interface.统一多个AI服务供应商接口的Rust库,提供标准化的API访问方式。

Notifications You must be signed in to change notification settings

fn-a/aidapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A unified Rust library for accessing multiple AI service providers through a standardized interface.统一多个AI服务供应商接口的Rust库,提供标准化的API访问方式。

Topics

Resources

Stars

Watchers

Forks

Languages