Portfolio / Private AI assistant

  • Python
  • Local AI model
  • Your documents

Private AI assistant

Your own GPT-style assistant that runs on your own computer, knows your documents, and never sends anything to an outside AI company. Ask it a question, and it answers from your files and shows where the answer came from.

Ask it something. It only knows what’s in your documents, which is exactly the point.

A real-life example

Meet Kim, who runs a home services company with 12 employees.

The same questions come up every day: how much PTO do I get, what do we charge for this, can the customer get their deposit back? The answers are buried in a handbook, a price list and a policy doc. Kim would love an AI assistant, but doesn’t want customer and employee details going to a third-party AI service.

Example scenario: the people and businesses on this page are made up.

Before

  • The same questions, asked every day
  • Answers buried in long documents
  • New hires interrupting the owner constantly
  • Worry about putting private info into outside AI tools

After

  • Instant answers from the company’s own documents
  • Every answer shows its source
  • "I don’t know" instead of a made-up answer
  • Everything stays on the company’s own computer

Try it yourself

Private Assistant · runs on this computer🔒 Offline · nothing leaves this machine Sample data

A browser simulation using simple search over sample documents. The real app runs an open-source AI model locally (for example through Ollama), so your data never leaves your machine.

What it’s worth

What this could be worth to you

Every question it answers is one the owner or manager doesn’t have to stop and answer.

Example numbers to start you off. Move the sliders to match your business. These are estimates, not a guarantee or financial advice; your results depend on your situation.

Hours back per year
Value of that time
Total value per year
Pays for itself in
3-year value, after the cost

The problem

AI assistants are useful, but most send what you type to an outside company. For employee records, customer details or internal pricing, that’s often not acceptable.

The solution

A Python app that runs an open-source language model on your own computer or server. It reads your documents, finds the passages relevant to a question, and answers from those passages only, with the source shown, so it stays accurate and private.

How it's built

  1. InstallRun an open-source model locally on your own machine.
  2. LoadAdd your handbooks, price lists, policies and SOPs.
  3. IndexSplit documents into searchable passages.
  4. AnswerFind the right passage and answer from it.
  5. CiteShow which document each answer came from.

A simplified version with a local model:

import ollama

def ask(question, passages):
    best = search(passages, question, top_k=3)   # find the relevant parts of your docs
    context = "\n\n".join(p.text for p in best)
    reply = ollama.chat(model="llama3.1", messages=[
        {"role": "system", "content": "Answer only from the context. If it isn't there, say you don't know."},
        {"role": "user", "content": f"Context:\n{context}\n\nQuestion: {question}"}])
    return reply["message"]["content"], [p.source for p in best]

What it makes possible

  • Fewer interruptions, faster answers
  • Private by design: nothing leaves your machine
  • No per-user subscription to an AI service

Skills shown

  • Python
  • Local AI models
  • Document search
  • Privacy by design
Want this for your business?

Want an assistant that knows your business?

I’ll set it up on your own computer with your documents.

Starting prices are for smaller projects. Bigger or more complex jobs are priced by scope: how much there is and how long it takes.