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.
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.
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
Contributions are welcome. Please open an issue to discuss your ideas before making large changes.
This project is licensed under the MIT License.