Skip to content

Custom Siri Integration with locally running LLMs using Ollama and Langchain

Notifications You must be signed in to change notification settings

geraldaddey/siri-gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation


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.

About

Custom Siri Integration with locally running LLMs using Ollama and Langchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages