Skip to content

Latest commit

 

History

History
127 lines (82 loc) · 7.17 KB

README.md

File metadata and controls

127 lines (82 loc) · 7.17 KB
LLMS

LLMS

AI Horde Kotlin Kotlin Multiplatform Compose Multiplatform Ktor Swift Swift UI Android Studio Xcode Android iOS Linux Windows macOS

Discover the power of AI with our Kotlin Multiplatform app, where you can choose from many text and image models to boost your creativity. Pick the model that fits you, create unique texts or images, and keep everything safe and in sync on your devices

🌟 Features

⚠️ Note: New models provided by Horde AI will be added as they become available. This ensures that the app remains up-to-date with the latest advancements in AI technology.

📝 Text LLM Models

  • Default Model: The most advanced open source text model is chosen by default for generating text.
  • Selection: Choose from a diverse range of open-source text models.
  • Customization: Enhance your experience by setting the maximum token context (512 to 2048 tokens) and controlling the output length (from 16 to 128 tokens).

🖼️ Image Models

  • Default Model: The latest advanced generalistic image model is set as the default option for image generation.
  • Selection: Explore image models across categories like Generalist, Anime, Furry, and Artistic.
  • Customization: Generate images using text prompts or existing images. Adjust settings such as width, height, and apply specific filters like NSFW or exclude certain elements using negative prompts.

💾 Data Management

  • Storage: All generated texts and images are securely saved on your device.
  • Synchronization: Log in to synchronize your data across devices, ensuring no loss of data even if the app is uninstalled.

🤖 Horde AI Integration

Horde AI is a powerful, crowdsourced platform that combines a distributed cluster of image and text generation workers. For more details, visit their website.

To interact with the models provided by Horde AI, the application utilizes the Horde AI REST API. For more information on how to use this API, please visit the API documentation.

📚 Available Models

  • Text Models: Access a wide range of text models here.
  • Image Models: Explore image models across various categories here

🎮 Interactive Examples

⚠️ Note: The IDs shown in the videos are for demonstration purposes only. Please visit and sign up at Horde AI to create your own unique ID.

  • Chat with Llama 3-70B: How would you use AI to help you be more creative every day?
Screen-Recording-2024-04-27-at-04.45.09.mp4
  • Generate Image using AlbedoBase XL (SDXL): a dog takes a selfie in the forest, in the style of fisheye effects, somber mood, strong facial expression, tilt shif.
Screen-Recording-2024-04-29-at-02.33.32.mp4

🚧 Progress

Here we will display the progress of the project. Check back often to see updates!

🏗️ Architecture

User Interface

Kotlin Multiplatform

📦 Shared Module Libraries

  • Kotlinx Libraries: provide support for serialization, date time, immutable collections and coroutines.
  • KMP-ObservableViewModel : Library to use AndroidX/Kotlin ViewModels with SwiftUI.
  • KMP-NativeCoroutines : Library to use Kotlin Coroutines from Swift code in KMM apps.
  • Room : Abstraction layer over SQLite.
  • Datastore : Key-value storage.
  • Ktor: HTTP client for executing requests.
  • Koin: a dependency injection framework for Kotlin Multiplatform.

🤝 Contribution

We welcome contributions to our project! Please follow these guidelines when submitting changes:

  • Report bugs and feature requests by creating an issue on our GitHub repository.
  • Contribute code changes by forking the repository and creating a new branch.
  • Ensure your code follows our coding conventions.
  • Improve our documentation by submitting changes as a pull request.

Thank you for your interest in contributing to our project!

📜 License

Copyright 2024 Yassine Abou 
  
Licensed under the Apache License, Version 2.0 (the "License");  
you may not use this file except in compliance with the License.  
You may obtain a copy of the License at  
  
    http://www.apache.org/licenses/LICENSE-2.0  
  
Unless required by applicable law or agreed to in writing, software  
distributed under the License is distributed on an "AS IS" BASIS,  
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  
See the License for the specific language governing permissions and  
limitations under the License.