Coder Social home page Coder Social logo

jaytoday / prem-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bit-gpt/app

0.0 0.0 0.0 5.73 MB

Prem provides a unified environment to develop AI applications and deploy AI models on your infrastructure

Home Page: https://premai.io

License: MIT License

Shell 0.68% JavaScript 0.62% Rust 2.97% TypeScript 82.71% CSS 12.71% HTML 0.24% Dockerfile 0.07%

prem-app's Introduction

Logo

πŸ€– Prem - Self Sovereign AI Infrastructure

Version Release Twitter Discord

Prem provides a unified environment to develop AI applications and deploy AI models on your infrastructure. Abstracting away all technical complexities for AI deployment and ushering in a new era of privacy-centric AI applicationsβ€Š-β€Šusers can finally retain control and ownership of their models.

πŸš€ Getting started

Demo

ScreenStudio1App.mp4

Install on Linux

Install everything needed to run Prem on Ubuntu/Debian server

wget -q https://get.prem.ninja/install.sh -O install.sh; sudo bash ./install.sh

If you encounter issues or you want to build the Prem App docker image inside your Linux server

CPU

git clone https://github.com/premAI-io/prem-app.git
cd ./prem-app
docker-compose up -d

GPU (Nvidia)

git clone https://github.com/premAI-io/prem-app.git
cd ./prem-app
docker-compose up -f docker-compose.yml -f docker-compose.gpu.yml -d

Product Roadmap

The AI services expose an HTTP API interface, standardized for their interface type. For example, all models of type Chat expose the OpenAI API for easy of integration of existing tool and AI app ecosystem. Each service we support it's published on the Prem Registry.

Anyone can prepare, package and publish an AI service on Prem. Instructions coming soon.

Interfaces

  • πŸ˜ƒ Chat
  • πŸ“• Embedding
  • πŸ›οΈ Vector Store
  • 🎨 Diffuser
  • πŸ’» Coder
  • 🎡 Text to Audio
  • 🎡 Audio to Text
  • πŸ“· Vision
  • πŸ“– Summary
  • πŸ–ΌοΈ Upscaler
  • πŸ“Ή Video

Contributing

Run the app with Tauri

Make sure to remove any value in the .env file.

npm i
npm run tauri dev

Run the app with React

# run the daemon
docker-compose up -d premd

# copy .env.example file in .env
cp .env.example

npm i
npm run dev

Environment Variables

  • VITE_BACKEND_URL : destination of the premd
  • VITE_DESTINATION : browser | desktop
  • IS_PACKAGED : true | false used for server packaging.

Contributing to Prem Daemon

Running the Daemon locally

git clone https://github.com/premAI-io/prem-daemon.git
cd ./prem-daemon

# create a python virtual environment and activate it
virtualenv venv -p=3.10
source ./venv/bin/activate

# install the necessary dependencies
pip install -r requirements.txt

# configure pre-commit hooks
pre-commit install

# run the webserver
cp .env.example .env
python main.py

Mock Registry

In order to use the mock registry, you can specify the REGISTRY_URL environment variable as following:

PREM_REGISTRY_URL=https://raw.githubusercontent.com/premAI-io/prem-daemon/main/resources/mocks/manifests.json

The mock registry is not fully tested. Few interfaces could be broken.

Running the test cases

pytest

Release Checklist

  • Create a tag with the new version in prem-daemon
  • Update the version in prem-box here
  • Create a tag with the new version in prem-app
  • Update the version in prem-box here

Acknowledgments

Thank You ❀️

prem-app's People

Contributors

filopedraz avatar hardik-rl avatar jigneshsolanki avatar tiero avatar jigneshradicalloop avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.