h2ogpt README

The project's README from github.com/h2oai/h2ogpt. As one markdown file: README.md.

h2oGPT

Turn ★ into ⭐ (top-right corner) if you like the project!

Query and summarize your documents or just chat with local private GPT LLMs using h2oGPT, an Apache V2 open-source project.

Check out a long CoT Open-o1 open 🍓strawberry🍓 project: https://github.com/pseudotensor/open-strawberry

Try Enterprise Version for Free

Enterprise h2oGPTe

Video Demo

https://github.com/h2oai/h2ogpt/assets/2249614/2f805035-2c85-42fb-807f-fd0bca79abc6

img-small.png YouTube 4K Video

Features

Get Started

GitHub license Linux macOS Windows Docker

Install h2oGPT

Docker is recommended for Linux, Windows, and MAC for full capabilities. Linux Script also has full capability, while Windows and MAC scripts have less capabilities than using Docker.


Collab Demos

Resources

Docs Guide

Development

Acknowledgements

Why H2O.ai?

Our Makers at H2O.ai have built several world-class Machine Learning, Deep Learning and AI platforms:

We also built platforms for deployment and monitoring, and for data wrangling and governance:

Many of our customers are creating models and deploying them enterprise-wide and at scale in the H2O AI Cloud:

We are proud to have over 25 (of the world's 280) Kaggle Grandmasters call H2O home, including three Kaggle Grandmasters who have made it to world #1.

Disclaimer

Please read this disclaimer carefully before using the large language model provided in this repository. Your use of the model signifies your agreement to the following terms and conditions.

By using the large language model provided in this repository, you agree to accept and comply with the terms and conditions outlined in this disclaimer. If you do not agree with any part of this disclaimer, you should refrain from using the model and any content generated by it.

Star History

Star History Chart

h2ogpt (h2oai/h2ogpt)

llamacpp
Searching Database…

11.9K ·GitHub
archived
What is this?h2oGPT is an open-source private chat application that lets you query and summarize your own documents or just chat with local LLMs, with no data leaving your machine.
Is this a library, or a full application?It is a complete application: a Gradio-based chat UI plus a CLI, with an OpenAI-compliant API server built in, not just a library you import.
How do I get it running?Docker is the recommended way to get full capabilities on Linux, Windows and macOS; there are also native install scripts per OS with fewer features than Docker.
What backends and models does it need to actually run an LLM?It is written in Python and works with many backends: oLLaMa, HF TGI, vLLM, llama.cpp/GGML, GPT4ALL, Gradio, ExLLaMa, Replicate, or hosted APIs like OpenAI, Azure, Anthropic, MistralAI, Google and Groq.
Is this still actively maintained?GitHub flags the repository as archived, so while it is feature-rich, it is no longer being actively developed; also note the project's disclaimer that LLM output can be biased or incorrect and should be used at your own risk.
Which operating systems does it run on?It officially supports Linux, macOS and Windows, with Docker as the install method for full feature parity across all three.
Does my document data stay local?Yes, h2oGPT builds a private, offline database of your documents (PDFs, Word, images, video frames, audio, code, etc.) so content is processed and queried locally.
What document and media types can h2oGPT ingest?It can parse PDFs, Excel, Word docs, images, video frames, YouTube videos, audio, code, plain text and Markdown for document Q&A.
Can h2oGPT replace the OpenAI API server?Yes, it runs an OpenAI-compliant proxy server so existing OpenAI client code can point at h2oGPT for chat/completions, embeddings, TTS, STT and image generation.
Does it support voice input and output?Speech-to-text uses Whisper and text-to-speech uses Microsoft SpeechT5 or an MPL2-licensed engine with voice cloning, both with streaming audio.
What image generation models are built in?Stable Diffusion variants (SDXL-turbo, SDXL, SD3), PlaygroundAI (playv2), and Flux are supported for image generation.
Creator
h2oai
Size
53.4 MB
Stars
11.9K
Age
3y
Commits · 90 Days