thank you for considering contributing to LLM.swift library. i hope that means you like using this library.
-
request features through issues. of course they have to be relavant to where LLM.swift is heading.
-
report bugs trough issues. provide a minimal code that can reproduce the bug that you've been experiencing. especially, since it's LLM, it's a good idea to:
- specify the model you've used,
- set a fixed seed when initializing,
- and to provide your device hardware details.
-
. while money has never been my driving force, i need some stability to keep supporting this. if you think that you can earn good enough amount of income using this library, or if you are already doing so, share some with me so i can keep helping you, even with some other new libraries.
-
promote this project. send a link to people who will be interested to, or share your project to others and let them know you are using this library. you and i both know this project is the best, but others don't know.
-
. it will draw more people. thus giving more reasons for me to maintain this.
-
create a PR if you are absolutely sure of the reasons behind it. when you do, make sure of these things:
- your changes should be minimal. as every PR needs to have a precise point instead of random changes everywhere.
- respect the code style. consistency matters a lot and i like my code style.
- there should not be any comments. i believe code that is readable without comments is the good code.
- best variable names are needed. we should be able to read the code as if we are reading the regular english text.
- function must not have a long body. generally, it should be fitted in a screen. if you think a certain function should have a long body, justify it.
- **avoid long lines as much as you can.
- commit messages should be clear. so i can review them swiftly.
- don't take it personally if your PR gets a rejection.
i'm a person of taste. it's not because i'm right and you're wrong, it's only because this is my project. if you don't like the way things are going here, you're always welcome to fork this and take it to whereever you want, and i think that's the beauty of open source projects we are all drawn to.