gitwtfhub

wtf is linebot-multimodal-rag?

kkdai/linebot-multimodal-rag — explained in plain English

Analysis updated 2026-05-18

31PythonAudience · developerComplexity · 4/5Setup · hard

TL;DR

A LINE chat bot that turns uploaded files and photos into a searchable personal knowledge base.

Mindmap

mindmap
  root((LINE RAG Bot))
    What it does
      Upload files in LINE
      Search by text or photo
      Per user isolation
    Tech stack
      FastAPI
      Gemini File Search
      Google Cloud Storage
    Use cases
      Personal document search
      Photo based lookup
      Team knowledge base
    Audience
      Developers
      LINE bot builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Upload PDFs, text files, or images through LINE and search them later by asking questions.

REASON 2

Send a photo and find related documents already stored in your knowledge base.

REASON 3

Run a personal or team knowledge base entirely through a chat interface.

REASON 4

Query documents in one language even when they were uploaded in another.

What's in the stack?

PythonFastAPIGemini File Search APIGoogle Cloud Storage

How it stacks up

kkdai/linebot-multimodal-ragcoleam00/harness-engineering-democolor4-alt/citecheck
Stars313131
LanguagePythonPythonPython
Setup difficultyhardmoderateeasy
Complexity4/53/52/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · hard Time to first run · 1h+

Requires a GCP project with a GCS bucket, a LINE Messaging API channel, and a Gemini API key.

The README does not state a license.

Wtf does this do

This is a LINE Bot that turns your chat app into a personal knowledge base you can search with words or pictures. You upload documents, PDFs, text files, CSVs, images, directly inside LINE, and the bot stores them in a searchable index. Later, you type a question in plain language and the bot finds the relevant passages from your own uploaded files and answers you. You can also send a photo and ask the bot to search your knowledge base for related information. The system uses the Gemini File Search API to handle the heavy lifting of chunking, embedding, and indexing your files, so each user's data is kept separate, you only ever search your own uploads. The Python backend runs on FastAPI and is designed to be deployed to a cloud environment. The bot supports text files, PDFs, and images up to 100 MB, and can handle queries in multiple languages even if the stored documents are in a different language. Audio and video are not supported.

Yoink these prompts

Prompt 1
Explain how this LINE bot keeps each user's uploaded files separate from other users.
Prompt 2
Walk me through deploying linebot-multimodal-rag to Google Cloud Run.
Prompt 3
Show me how the Gemini File Search API handles chunking and embedding for this project.
Prompt 4
Help me set up the LINE webhook and environment variables for local development.

Frequently asked questions

wtf is linebot-multimodal-rag?

A LINE chat bot that turns uploaded files and photos into a searchable personal knowledge base.

What language is linebot-multimodal-rag written in?

Mainly Python. The stack also includes Python, FastAPI, Gemini File Search API.

What license does linebot-multimodal-rag use?

The README does not state a license.

How hard is linebot-multimodal-rag to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is linebot-multimodal-rag for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.