7 releases
0.1.7 | Aug 10, 2023 |
---|---|
0.1.6 | Aug 9, 2023 |
#24 in #api-integration
1MB
2K
SLoC
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