Who Let The Dogs Out 🐾 on Nostr: local-LLM-with-RAG This project is an experimental sandbox for testing out ideas ...
local-LLM-with-RAG
This project is an experimental sandbox for testing out ideas related to running local Large Language Models (LLMs) with Ollama and Pydantic AI to perform agentic Retrieval-Augmented Generation (RAG) for answering questions based on your documents.
The agent can decide when and how to search documents, unlike fixed RAG pipelines.
We use Ollama to create embeddings with nomic-embed-text stored in LanceDB for vector search.
**Technologies Used**:
- Pydantic AI: Type-safe agent framework with tool calling
- Ollama: Platform for running Large Language Models locally
- LanceDB: Vector database for storing and retrieving embeddings
- MarkItDown: Microsoft's document converter for PDF, Office files, and more
- Streamlit: Web framework for interactive applications
- UV: Fast Python package installer and resolver
https://github.com/amscotti/local-LLM-with-RAG#ai #LLM #RAG
Published at
2026-10-03 11:47:29 UTCEvent JSON
{
"id": "65e1296ccd5b16300a3a081d298f51aaf7e6c79c6c824453083f77dce168b59e",
"pubkey": "758c17dd844b7702107be6aa2045c6a9b1f27c1014a5fdbcdf9829dd70b17e82",
"created_at": 1791028049,
"kind": 1,
"tags": [
[
"t",
"ai"
],
[
"t",
"LLM"
],
[
"t",
"rag"
],
[
"imeta",
"url https://mastodon.ml/system/media_attachments/files/117/376/805/562/684/766/original/dd58994c8d78dad7.png",
"m image/png",
"dim 1570x1281",
"blurhash U14Uvn}]v$%N}t]Q,qsme8wH%1aJKjKPT0WW"
],
[
"proxy",
"https://mastodon.ml/users/ashed/statuses/117376814252928595",
"activitypub"
]
],
"content": "local-LLM-with-RAG\n\nThis project is an experimental sandbox for testing out ideas related to running local Large Language Models (LLMs) with Ollama and Pydantic AI to perform agentic Retrieval-Augmented Generation (RAG) for answering questions based on your documents. \nThe agent can decide when and how to search documents, unlike fixed RAG pipelines. \nWe use Ollama to create embeddings with nomic-embed-text stored in LanceDB for vector search.\n\n**Technologies Used**:\n\n- Pydantic AI: Type-safe agent framework with tool calling\n- Ollama: Platform for running Large Language Models locally\n- LanceDB: Vector database for storing and retrieving embeddings\n- MarkItDown: Microsoft's document converter for PDF, Office files, and more\n- Streamlit: Web framework for interactive applications\n- UV: Fast Python package installer and resolver\n\nhttps://github.com/amscotti/local-LLM-with-RAG\n\n#ai #LLM #RAG\n\nhttps://mastodon.ml/system/media_attachments/files/117/376/805/562/684/766/original/dd58994c8d78dad7.png",
"sig": "63972adf14928430ed8e9a9821e59753322953c8262ed494ba4178bc9070a955b8a76b6110fca03f637a17700873b74306074b8e16bf8b69b0a34981968faea5"
}