OrganiksAiAssistant combines Compose Multiplatform app(Android, Desktop) + Gemini AI with the aim of making Artificial Intelligence accessible to the "common mwananchi"(common man) involved in Agriculture with a special interest to the Youths in Africa and the world.
The AI Assistant is aimed at becoming part of the OrganiksKMP project to help it in reaching its aim of empowering young farmers in Agriculture to get a competitive advantage.
You can either use IntelliJ IDEA or Android Studio.
For Gemini AI Assistant.
You can get your key here Google AI Studio and replace it in GeminiService.kt file You can get Gemini API Docs here Gemini API Docs
The app is shared between Android, Desktop with Compose Multiplatform and Server with Ktor within the same project.
- Kotlin Multiplatform - The Kotlin Multiplatform technology is designed to simplify the development of cross-platform projects.
- Compose Multiplatform - a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
- Ktor Server - Ktor is an asynchronous framework for creating microservices, web applications.
- Ktor Client - a multiplatform asynchronous HTTP client, which allows you to make requests and handle responses.
- Gemini AI - a multi-modal large language model(LLM) developed by Google DeepMind.
- Calf Multiplatform File Picker - Calf is a library that allows you to easily create adaptive UIs for your Compose Multiplatform apps.
To run the application on android device/emulator:
- open project in Android Studio and run imported android run configuration
Run the desktop application: ./gradlew :desktop:run
Copyright (c) 2024 Aricha Samson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.