A manual implementation of the OpenAI API based on its docs in pure Rust.
- Authentication
- Models
- Completions
- Chat
- Edits
- Images
- Embeddings
- Audio
- Files
- Fine-tunes
- Moderations
- Engines
- Implement all of functionality
- Refactor code:
- Maybe try to improve the security of storing the api key in memory by using cryptography, not sure
- Readability
- Performance
- Type security (have some ideas for using nutype for specific values and maybe subtyping for requests)
- Error handling
- Docs
- Add tests
- Better examples (potentially with gui)