Skip to content

Chat with MLX is a high-performance macOS application that connects your local documents to a personalized large language model (LLM).

License

Notifications You must be signed in to change notification settings

kingler/mlx-chat-app

 
 

Repository files navigation

Chat with MLX is a high-performance macOS application that connects your local documents to a personalized large language model (LLM). By leveraging retrieval-augmented generation (RAG), open source LLMs, and MLX for accelerated machine learning on Apple silicon, you can efficently search, query, and interact with your documents without information ever leaving your device.

Our high-level features include:

  • Query: load and search with document-specific prompts
  • Converse: switch model interaction modes (converse vs. assist) in real time
  • Instruct: provide personalization and response tuning

Installation and Setup

⚠️ Preliminary Steps: we are working to release with correct packaging (pyinstaller & electron-builder) and authentication (Apple codesign). In the interium, please clone and run in development by first setting up authentication and requirements.

First, setup huggingface access tokens to download models (request access to google/gemma-7b-it), then

huggingface-cli login

Then download the npm/python requirements

cd app && npm install
pip install -r server/requirements.txt

Finally, start the application

cd app && npm run dev

Contributions

All contributions are welcome. Please take a look at contributing guide.

About

Chat with MLX is a high-performance macOS application that connects your local documents to a personalized large language model (LLM).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 63.2%
  • TypeScript 29.1%
  • JavaScript 5.2%
  • CSS 1.9%
  • Other 0.6%