<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/claude-opus-4-rag-build-an-ai-app-with-embeddings-knowledge-graphs-mvp-unplugged-hfudqwg1l" -->

---
title: Claude Opus 4 + RAG: Build an AI App with Embeddings &amp;...
description: Michael, a Microsoft MVP, demonstrates AI Story Builders — an open-source app for writing novels with AI assistance. The app structures stories around...
canonical: https://daily.dev/posts/claude-opus-4-rag-build-an-ai-app-with-embeddings-knowledge-graphs-mvp-unplugged-hfudqwg1l
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Claude Opus 4 + RAG: Build an AI App with Embeddings &amp; Knowledge Graphs | MVP Unplugged | daily.dev
og:description: Michael, a Microsoft MVP, demonstrates AI Story Builders — an open-source app for writing novels with AI assistance. The app structures stories around...
og:url: https://daily.dev/posts/claude-opus-4-rag-build-an-ai-app-with-embeddings-knowledge-graphs-mvp-unplugged-hfudqwg1l
og:image: https://api.daily.dev/og/posts/HFUdqWg1l.png
og:image:alt: Claude Opus 4 + RAG: Build an AI App with Embeddings &amp; Knowledge Graphs | MVP Unplugged
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Claude Opus 4 + RAG: Build an AI App with Embeddings & Knowledge Graphs | MVP Unplugged

**[Microsoft Developer](https://daily.dev/sources/microsoftdeveloper)** · 23 min read · 0 upvotes · 0 comments

## Summary

Michael, a Microsoft MVP, demonstrates AI Story Builders — an open-source app for writing novels with AI assistance. The app structures stories around timeline, location, and character data stored in text files, using embeddings and cosine similarity (RAG) to surface relevant context for Claude Opus 4 to write one paragraph at a time. A new feature adds knowledge graphs exposed as AI tools, enabling richer querying of story elements beyond what plain RAG can surface, and allowing the AI to update story files based on identified inconsistencies.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=W_s_X_kj3vg>

## Similar posts on daily.dev

- [Opus 4.5 is going to change everything](https://daily.dev/posts/opus-4-5-is-going-to-change-everything-x6ymvhmnl) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#claude](https://daily.dev/tags/claude), [#rag](https://daily.dev/tags/rag), [#embeddings](https://daily.dev/tags/embeddings)

[View this post on daily.dev](https://daily.dev/posts/claude-opus-4-rag-build-an-ai-app-with-embeddings-knowledge-graphs-mvp-unplugged-hfudqwg1l)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Claude Opus 4 + RAG: Build an AI App with Embeddings & Knowledge Graphs | MVP Unplugged","url":"https://daily.dev/posts/claude-opus-4-rag-build-an-ai-app-with-embeddings-knowledge-graphs-mvp-unplugged-hfudqwg1l","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/claude-opus-4-rag-build-an-ai-app-with-embeddings-knowledge-graphs-mvp-unplugged-hfudqwg1l"},"datePublished":"2026-07-14T16:18:01.845Z","dateModified":"2026-07-14T16:18:20.697Z","description":"Michael, a Microsoft MVP, demonstrates AI Story Builders — an open-source app for writing novels with AI assistance. The app structures stories around...","image":"https://i.ytimg.com/vi/W_s_X_kj3vg/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/W_s_X_kj3vg/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Microsoft Developer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Microsoft Developer","logo":"https://media.daily.dev/image/upload/s--xZzU3zUq--/f_auto/v1746714872/logos/microsoftdeveloper","url":"https://daily.dev/sources/microsoftdeveloper"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/claude-opus-4-rag-build-an-ai-app-with-embeddings-knowledge-graphs-mvp-unplugged-hfudqwg1l","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"claude,rag,embeddings","timeRequired":"PT23M","video":{"@type":"VideoObject","name":"Claude Opus 4 + RAG: Build an AI App with Embeddings & Knowledge Graphs | MVP Unplugged","description":"Michael, a Microsoft MVP, demonstrates AI Story Builders — an open-source app for writing novels with AI assistance. The app structures stories around...","thumbnailUrl":"https://i.ytimg.com/vi/W_s_X_kj3vg/sddefault.jpg","uploadDate":"2026-07-14T16:18:01.845Z","duration":"PT23M","url":"https://api.daily.dev/r/HFUdqWg1l","embedUrl":"https://www.youtube.com/embed/W_s_X_kj3vg"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Microsoft Developer","item":"https://daily.dev/sources/microsoftdeveloper"},{"@type":"ListItem","position":3,"name":"Claude Opus 4 + RAG: Build an AI App with Embeddings & Knowledge Graphs | MVP Unplugged"}]}
```

