#language-model #openai #api #api-integration #user-friendly #artificial-intelligence #interface

aionic

AIonic: A unified, user-friendly Rust library for seamless integration with various public Language Model APIs, such as openAI

7 releases

0.1.7 Aug 10, 2023
0.1.6 Aug 9, 2023

#24 in #api-integration

MIT license

1MB
2K SLoC

AIonic

AIonic logo

PRs welcome

AIonic is a Rust library designed to interface seamlessly with a range of public Language Model APIs, offering a streamlined, user-friendly experience. The name AIonic not only encapsulates our focus on AI, but also alludes to 'ionic bonds' — representing our mission to connect various elements of AI through a single interface. In a sense, just like ionic bonds facilitate the flow of electrons, AIonic promotes a seamless flow of data and functionality between different language models, all within the vibrant, performant world of Rust.

Examples

The examples/ folder houses a non exhaustive amount of API showcase examples. They can be tested by running cargo run --example <name> from the root directory of this project.

Status

The library is currently in very active development. We covered the following aspects:

  • openAI:
    • Chat
    • Images
    • Embeddings
    • Audio
    • Files
    • Fine-tunes
    • Moderations
  • Bard/PaLM2:
    • TODO
  • LLaMA:
    • TODO
  • Claude2:
    • TODO

Contributing

Contributions are welcome. Please open an issue to discuss your ideas before making large changes.

License

This project is licensed under the MIT License.

Dependencies

~18–32MB
~505K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy