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
- Go to http://localhost:5678/ to see the user interface.
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
- Go to http://localhost:5678/ to see the user interface.
2. Run your frontend
- Install the dependencies:
cd frontend
npm install
- Run the app:
npm run dev
- Go to http://localhost:3000/ to see the user interface. Use this address to develop the frontend.
References
- Next Template: https://github.com/shadcn-ui/next-template.
- PAutoBot: https://github.com/nrl-ai/pautobot.
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)
Built Distribution
p8hub-0.0.1-py3-none-any.whl
(587.7 kB
view hashes)