Sign inSign up

mentterlabs/fourthchat

By mentterlabs

•Updated 7 months ago

FourthChat is an open-source, self-hosted platform to build your own AI assistant with frontend.

Image
Machine learning & AI
Web servers
1

996

mentterlabs/fourthchat repository overview

⁠FourthChat

The Open Source, Self-Hosted AI Assistant Platform.

FourthChat Cover

FourthChat is an open-source platform to build your own AI assistant with a frontend. You can upload files, store them in a vector database, and chat with your data using your own API keys.

⁠Quick Start

Run FourthChat instantly with Docker:

docker run -p 3000:3000 \
  -e POSTGRES_URL="postgresql://user:[email protected]:5432/fourthchat" \
  -e QDRANT_URL="http://host.docker.internal:6333" \
  -e AUTH_SECRET="your-secure-random-secret" \
  mentterlabs/fourthchat:latest
⁠Environment Variables
VariableDescriptionExample
POSTGRES_URLConnection string for your PostgreSQL database.postgresql://user:pass@host:5432/db
QDRANT_URLURL for your Qdrant vector database.http://host:6333
AUTH_SECRET32+ char secret for session encryption.openssl rand -base64 32

Note on host.docker.internal: Use this hostname if your database services are running on the host machine (outside Docker). If they are in another container, use that container's name or IP.

⁠External Services

This image requires:

  1. PostgreSQL: For storing user data and conversations.
  2. Qdrant: For storing vector embeddings of your files.

You can run these locally or use managed services.

Tag summary

Content type

Image

Digest

sha256:696af9448…

Size

282.7 MB

Last updated

7 months ago

docker pull mentterlabs/fourthchat