Skip to content

hoangvvo/llm-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

llm-sdk

Access the LLM API of different providers using a unified SDK.

Features

  • Supports multiple LLM providers: OpenAI, Anthropic, Google Gemini, Cohere, Mistral
  • Supports multi modalities (text, image, audio), including OpenAI newest audio generation capabilities.
  • Supports reporting the token usage and calculating cost of a request if given the model's pricing information.

Specification

The specification serves as the basis to implement the unified LLM SDK in different programming languages. The specification is expressed using JSON schema and can be found in schema.json.

Implementations in different programming languages should adhere to this specification but may adapt it to the idioms of the respective language or provide additional functionalities.

Implementations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published