Skip to main content

Private AI Hub - Host your own Generative AI Services

Project description

Private AI Hub (P8Hub)

Host and use your own Generative AI Services. Keep everything private.

TODO

Some features that I want to add to this project:

  • Service management (start, stop, restart, delete).
  • General chatbot service with Ollama.
  • Document chat service with PrivateGPT.
  • Code generation / auto-completion service with LocalPilot.
  • Image generation service with InvokeAI.
  • Add documentation.
  • Add tests.
  • Desktop app.
  • Custom service.

I. Installation and Usage

1. Installation

  • Python 3.9 or higher.
  • Install p8hub:
pip install p8hub

2. Usage

  • Run the app:
python -m p8hub.app

or just:

p8hub

You can also run Private AI Hub publicly to your network or change the port with parameters. Example:

p8hub --host 0.0.0.0 --port 8080

II. Development

1. Clone the source code

git clone https://github.com/vietanhdev/p8hub
cd p8hub

2. Run your backend

  • Python 3.9 or higher.
  • To install from source, from p8hub source code directory, run:
pip install -e .
  • Run the app:
python -m p8hub.app

2. Run your frontend

  • Install the dependencies:
cd frontend
npm install
  • Run the app:
npm run dev

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

p8hub-0.0.1.tar.gz (579.4 kB view hashes)

Uploaded Source

Built Distribution

p8hub-0.0.1-py3-none-any.whl (587.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page