Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 1.17 KB

README.md

File metadata and controls

30 lines (25 loc) · 1.17 KB


Siri GPT

Author: Gerald Kweku Addey

Introduction

Siri-GPT is an Apple shortcut that provides access to locally running Large Language Models (LLMs) through Siri or the shortcut UI on any Apple device connected to the same network as your host machine. It utilizes Langchain and Ollama.

Installation

  1. Install Ollama for your machine. You need to run ollama serve in the terminal to start the server.
  2. Install Langchain and Flask, then run the app:
    pip install --upgrade --quiet  langchain langchain-openai
    pip install flask
    Run the Flask app on your machine:
    python3 app.py
  3. On your Apple device, download the shortcut from here.
  4. Run the shortcut through Siri or the Shortcuts app. The first time you run the shortcut, you will be asked to enter your ip address and the port number.