Build a Knowledge Graph from Meeting Notes with Neo4j

Build a self-updating Neo4j knowledge graph from meeting notes with CocoIndex v1: LLM-extracted decisions, tasks, and owners, with embedding-based dedupe.

TutorialUpdated 7 min read
Turn meeting notes into a Neo4j graph. Three notes name one person as Sarah, Sarah Chen and S. Chen; after entity resolution, one Person node, Sarah Chen, is linked to three Meeting nodes by ATTENDED and to two Task nodes by ASSIGNED_TO.
Enlarge cover

Build a Knowledge Graph from Meeting Notes with Neo4j

Zoom in to see details.

Turn meeting notes into a Neo4j graph. Three notes name one person as Sarah, Sarah Chen and S. Chen; after entity resolution, one Person node, Sarah Chen, is linked to three Meeting nodes by ATTENDED and to two Task nodes by ASSIGNED_TO.

This post builds a Neo4j graph of meetings, people and tasks from Markdown meeting notes in Google Drive. Each update re-extracts only the notes that changed. An agent can then answer “Who attended the budget planning meetings?” or “What tasks did Sarah get assigned across every meeting?” with one Cypher query over every note.

The pipeline is the meeting_notes_graph_neo4j example. It splits each note into meetings, extracts structure with an LLM, merges the different spellings of a person’s name with embedding-based entity resolution, and writes the graph to Neo4j.

The basics (Neo4j as a target, nodes keyed by a primary key, a two-phase build) are covered in Build a knowledge graph from documents. This post focuses on what meeting notes add: one file holds several meetings, and the same person appears under several names.

The code uses the Neo4j node and relationship API from CocoIndex 1.1.0 (mount_node_target, mount_relationship_target, declare_relationship), the same as the example on GitHub. If your code still calls the deprecated mount_table_target and mount_relation_target, the Neo4j connector docs map each old name to its replacement.

Why an agent needs a graph of its meetings

  • Questions span every meeting"What is Sarah assigned to?" needs every ASSIGNED_TO relationship in the corpus. Top-k vector search returns the few chunks that rank highest, not a complete list.
  • One person, one nodeNotes write "Sarah", "Sarah Chen" and "S. Chen". If each spelling is a separate node, a query by name returns part of the answer.
  • Notes change after the meetingOwners get reassigned and names get corrected. The graph has to follow the edit, or the agent reports the old owner.
  • An edit re-extracts only what changedLLM extraction is memoized per meeting section. Editing a note re-extracts only its changed sections; every other note reuses its cached result.

Three spellings, one Person node

The demo runs the post’s pipeline on 3 sample notes. Move the threshold to change which name pairs become candidates, ask the LLM to confirm them, then edit one note and see what the next update writes.

Entity resolution, live

Illustrative notes, scores and LLM verdicts
2026-03-02.md

## Budget planning

Organizer: Sarah

Attendees: Alex

Action: Draft Q2 budget

Owner: Sarah

2026-03-09.md

## Launch review

Organizer: Sarah Chen

Attendees: Alex

Action: Book launch venue

Owner: Alex

2026-03-16.md

## Vendor sync

Organizer: S. Chen

Attendees: Alex

Action: Renew vendor contract

Owner: S. Chen

Phase 2: candidate pairs
0.70

Pairs at or above it go to the LLM. max_distance=0.30, the example's default.

  • Sarah / Sarah Chen0.86candidate
  • S. Chen / Sarah Chen0.79candidate
  • Sarah / S. Chen0.66
  • Alex / Sarah0.52
Neo4j

Scroll sideways to see the whole graph.

  • Budget planning2026-03-02
  • Launch review2026-03-09
  • Vendor sync2026-03-16
  • Sarah
  • Sarah Chen
  • S. Chen
  • Alex
  • Draft Q2 budget
  • Book launch venue
  • Renew vendor contract

10 nodes (4 Person, 3 Meeting, 3 Task), 12 relationships (DECIDED, Meeting to Task, not drawn).

    MATCH (:Person {name: "Sarah Chen"})-[:ASSIGNED_TO]->(t:Task) RETURN t.description
    (no rows)

    Before resolution, each spelling is its own Person node, so the query finds no tasks. Ask the LLM about the pairs, then edit a note.

    At the default threshold of 0.70, the 2 pairs that contain “Sarah Chen” become candidates and the LLM confirms both, so “Sarah” and “S. Chen” fold into one Person node. Each ATTENDED and ASSIGNED_TO relationship that pointed at an old spelling now points at Sarah Chen. A lower threshold sends more pairs to the LLM, including pairs such as Alex and Sarah that it rejects; a higher one leaves “S. Chen” as a separate person.

    The edit shows the incremental side. Only the changed note goes back to the LLM. The set of raw names is the same, so resolution is a cache hit, and Neo4j receives one deleted and one created ASSIGNED_TO relationship.

    The graph: 3 node labels, 3 relationship types

    The dataclasses in main.py map to Neo4j. Meeting (key id, plus note_file, time and note), Person (key name) and Task (key description) become node labels through mount_node_target. ATTENDED runs from Person to Meeting and carries is_organizer from the AttendedRel record; DECIDED runs from Meeting to Task; ASSIGNED_TO runs from Person to Task. All three are mounted with mount_relationship_target.
    Dataclasses become nodes and relationshipsEnlarge

    Dataclasses become nodes and relationships

    Zoom in to see details.

    The dataclasses in main.py map to Neo4j. Meeting (key id, plus note_file, time and note), Person (key name) and Task (key description) become node labels through mount_node_target. ATTENDED runs from Person to Meeting and carries is_organizer from the AttendedRel record; DECIDED runs from Meeting to Task; ASSIGNED_TO runs from Person to Task. All three are mounted with mount_relationship_target.

    Nodes

    • Meeting: one per meeting section, with its date and notes
    • Person: one per canonical person (organizer, participant, or task assignee)
    • Task: an action item decided in a meeting

    Relationships

    • ATTENDED: Person → Meeting, with an is_organizer property
    • DECIDED: Meeting → Task
    • ASSIGNED_TO: Person → Task

    The target state docs explain how CocoIndex reconciles declared nodes and relationships with what is already in the database.

    Define the pipeline

    The whole example is one main.py with a coco.App:

    main.py
    import cocoindex as coco
    from cocoindex.connectors import google_drive, neo4j
    from cocoindex.ops.entity_resolution import ResolvedEntities, resolve_entities
    from cocoindex.ops.entity_resolution.llm_resolver import LlmPairResolver
    from cocoindex.ops.sentence_transformers import SentenceTransformerEmbedder
    from cocoindex.resources.id import IdGenerator
    
    app = coco.App(coco.AppConfig(name="MeetingNotesGraphNeo4j"), app_main)

    Shared resources

    The lifespan provides the Neo4j connection, the two LLM model names and the embedder, and code reads them with coco.use_context. This is the same pattern as the documents post, with two additions for entity resolution: a resolution model and an embedder.

    main.py
    KG_DB = coco.ContextKey[neo4j.ConnectionFactory]("kg_db")
    LLM_MODEL = coco.ContextKey[str]("llm_model", detect_change=True)
    RESOLUTION_LLM_MODEL = coco.ContextKey[str]("resolution_llm_model", detect_change=True)
    EMBEDDER = coco.ContextKey[SentenceTransformerEmbedder]("embedder", detect_change=True)
    
    @coco.lifespan
    async def coco_lifespan(builder: coco.EnvironmentBuilder) -> AsyncIterator[None]:
        kg_db = neo4j.ConnectionFactory(
            uri=os.environ.get("NEO4J_URI", "bolt://localhost:7687"),
            auth=(
                os.environ.get("NEO4J_USER", "neo4j"),
                os.environ.get("NEO4J_PASSWORD", "cocoindex"),
            ),
            database=os.environ.get("NEO4J_DATABASE", "neo4j"),
        )
        builder.provide(KG_DB, kg_db)
        builder.provide(LLM_MODEL, os.environ.get("LLM_MODEL", "openai/gpt-5-mini"))
        builder.provide(
            RESOLUTION_LLM_MODEL,
            os.environ.get("RESOLUTION_LLM_MODEL", "openai/gpt-5-mini"),
        )
        builder.provide(
            EMBEDDER,
            SentenceTransformerEmbedder("Snowflake/snowflake-arctic-embed-xs"),
        )
        yield
        await kg_db.close()

    detect_change=True means that swapping a model or the embedder re-runs only the steps that use it.

    Node and relationship schemas

    Node rows are plain dataclasses. The primary key of each becomes the node’s identity in Neo4j, so a re-run updates the existing node instead of adding a second one:

    main.py
    @dataclass
    class Meeting:
        id: int
        note_file: str
        time: datetime.date
        note: str
    
    @dataclass
    class Person:
        name: str  # canonical
    
    @dataclass
    class Task:
        description: str
    
    @dataclass
    class AttendedRel:
        is_organizer: bool

    AttendedRel holds the properties of an ATTENDED relationship. DECIDED and ASSIGNED_TO have no properties, so they are declared without a record. A relationship without a record key gets an id derived from its two endpoints, so there is one relationship per endpoint pair. The schema figure above shows the mapping.

    The extraction schema

    The LLM’s output schema is a set of Pydantic models. instructor passes them as the response schema, so the model returns data that matches these types:

    main.py
    class ExtractedPerson(pydantic.BaseModel):
        name: str = pydantic.Field(
            description="Full name of the person, as written in the note."
        )
    
    class ExtractedTask(pydantic.BaseModel):
        description: str = pydantic.Field(
            description="Concise, standalone description of the task or action item."
        )
        assigned_to: list[ExtractedPerson] = pydantic.Field(default_factory=list)
    
    class ExtractedMeeting(pydantic.BaseModel):
        time: datetime.date
        note: str
        organizer: ExtractedPerson
        participants: list[ExtractedPerson] = pydantic.Field(default_factory=list)
        tasks: list[ExtractedTask] = pydantic.Field(default_factory=list)

    Split, then extract

    A single note file often holds several meetings. _split_meetings breaks the text at Markdown headings (# or ##) so each section becomes one meeting:

    main.py
    _HEADING_RE = re.compile(r"\n\n##?\s+")
    
    def _split_meetings(text: str) -> list[str]:
        parts = _HEADING_RE.split("\n\n" + text)
        return [p.strip() for p in parts if p.strip()]

    Each section goes to extract_meeting, which calls the model through LiteLLM and instructor. The model comes from the LLM_MODEL context (default openai/gpt-5-mini). With memo=True, the result is cached, so a section whose text and model are unchanged is not sent to the LLM again:

    main.py
    @coco.fn(memo=True)
    async def extract_meeting(section_text: str) -> ExtractedMeeting:
        client = instructor.from_litellm(litellm.acompletion, mode=instructor.Mode.JSON)
        result = await client.chat.completions.create(
            model=coco.use_context(LLM_MODEL),
            response_model=ExtractedMeeting,
            messages=[
                {"role": "system", "content": EXTRACT_PROMPT},
                {"role": "user", "content": section_text},
            ],
        )
        return ExtractedMeeting.model_validate(result.model_dump())

    Three phases

    A Person node needs a canonical name, and a canonical name needs every raw name in the corpus. So the pipeline runs in three phases: phase 1 extracts each file and declares what it can on its own, phase 2 resolves person names across all files, and phase 3 declares the Person nodes and the relationships that touch people.

    Three phases. Phase 1 runs once per file and is memoized: it splits the note at headings, extracts each meeting with an LLM, declares Meeting and Task nodes and DECIDED relationships, and returns the raw person names. Phase 2 runs once over the whole corpus and is memoized on the set of names: embedding similarity of at least 0.70 proposes pairs, an LLM confirms the matches, and Sarah and S. Chen fold into Sarah Chen. Phase 3 declares one Person node per canonical name and the ATTENDED and ASSIGNED_TO relationships. Phases 1 and 3 write to Neo4j, which receives only the difference from the last run.
    Extract per file, resolve names once, then declare peopleEnlarge

    Extract per file, resolve names once, then declare people

    Zoom in to see details.

    Three phases. Phase 1 runs once per file and is memoized: it splits the note at headings, extracts each meeting with an LLM, declares Meeting and Task nodes and DECIDED relationships, and returns the raw person names. Phase 2 runs once over the whole corpus and is memoized on the set of names: embedding similarity of at least 0.70 proposes pairs, an LLM confirms the matches, and Sarah and S. Chen fold into Sarah Chen. Phase 3 declares one Person node per canonical name and the ATTENDED and ASSIGNED_TO relationships. Phases 1 and 3 write to Neo4j, which receives only the difference from the last run.

    Phase 1: per-file extraction

    process_file reads a Drive file, splits it, and for each meeting declares a Meeting node, its Task nodes and a DECIDED relationship to each task. Meeting IDs come from an IdGenerator keyed on the meeting date. Person names are not resolved yet, so the raw names go into a MeetingExtraction that the function returns for the later phases:

    main.py
    @coco.fn(memo=True)
    async def process_file(
        file: google_drive.DriveFile,
        meeting_table: neo4j.NodeTarget[Meeting],
        task_table: neo4j.NodeTarget[Task],
        decided_rel: neo4j.RelationshipTarget[Any],
    ) -> list[MeetingExtraction]:
        text = await file.read_text()
        note_file = file.file_path.path.as_posix()
        id_generator = IdGenerator()
        extractions = []
        for section in _split_meetings(text):
            extracted = await extract_meeting(section)
            meeting_id = await id_generator.next_id(extracted.time)
    
            meeting_table.declare_record(
                row=Meeting(
                    id=meeting_id,
                    note_file=note_file,
                    time=extracted.time,
                    note=extracted.note,
                )
            )
    
            for task in extracted.tasks:
                task_table.declare_record(row=Task(description=task.description))
                decided_rel.declare_relationship(from_id=meeting_id, to_id=task.description)
    
            extractions.append(
                MeetingExtraction(
                    meeting_id=meeting_id,
                    organizer=extracted.organizer.name,
                    participants=[p.name for p in extracted.participants],
                    task_assignees=[
                        (t.description, [a.name for a in t.assigned_to])
                        for t in extracted.tasks
                    ],
                )
            )
        return extractions

    Phase 2: person entity resolution

    The same person shows up under different names across files: “Sarah” in one note, “Sarah Chen” in another. If the graph has one Person node per raw string, a query by name misses the relationships attached to the other spellings.

    _resolve_persons calls resolve_entities. It embeds every raw name, finds candidates whose cosine similarity is at least 0.70 (the default max_distance=0.3), and asks LlmPairResolver whether a name matches one of its candidates and which spelling should be canonical. The result maps every raw name to a canonical one:

    main.py
    @coco.fn(memo=True)
    async def _resolve_persons(raw_persons: set[str]) -> ResolvedEntities:
        return await resolve_entities(
            entities=raw_persons,
            embedder=coco.use_context(EMBEDDER),
            resolve_pair=LlmPairResolver(model=coco.use_context(RESOLUTION_LLM_MODEL)),
        )

    ResolvedEntities.canonicals() returns the deduplicated names, and .canonical_of(raw_name) returns the canonical name for a raw one. “Sarah” and “Sarah Chen” then map to a single Person node. The function is memoized on the set of names, so an update that adds no new name does not call the embedder or the LLM. The podcast knowledge graph post applies the same resolution to several entity types at once (people, organizations and technologies).

    Phase 3: canonical people and their relationships

    With names resolved, create_person_relations declares one Person node per canonical name, then the relationships that touch people. ATTENDED merges organizer and participants, so a person listed as both gets one relationship with is_organizer=True. ASSIGNED_TO is declared once per canonical person and task:

    main.py
    @coco.fn
    async def create_person_relations(
        meetings: list[MeetingExtraction],
        persons: ResolvedEntities,
        person_table: neo4j.NodeTarget[Person],
        attended_rel: neo4j.RelationshipTarget[Any],
        assigned_rel: neo4j.RelationshipTarget[Any],
    ) -> None:
        for canonical_name in persons.canonicals():
            person_table.declare_record(row=Person(name=canonical_name))
    
        for m in meetings:
            attendees: dict[str, bool] = {persons.canonical_of(m.organizer): True}
            for p in m.participants:
                attendees.setdefault(persons.canonical_of(p), False)
    
            for canonical, is_organizer in attendees.items():
                attended_rel.declare_relationship(
                    from_id=canonical,
                    to_id=m.meeting_id,
                    record=AttendedRel(is_organizer=is_organizer),
                )
    
            for task_desc, assignees in m.task_assignees:
                seen: set[str] = set()
                for raw in assignees:
                    canonical = persons.canonical_of(raw)
                    if canonical in seen:
                        continue
                    seen.add(canonical)
                    assigned_rel.declare_relationship(from_id=canonical, to_id=task_desc)

    Wiring it together

    app_main mounts the 3 node targets and the 3 relationship targets, then runs the phases. Each node target takes a TableSchema and a primary key. The relationship targets have no schema, so each relationship’s id comes from its endpoints. Each Drive file is processed in its own processing component, so change detection works per file:

    main.py
    @coco.fn
    async def app_main() -> None:
        meeting_table = await neo4j.mount_node_target(
            KG_DB, "Meeting",
            await neo4j.TableSchema.from_class(Meeting, primary_key="id"),
            primary_key="id",
        )
        person_table = await neo4j.mount_node_target(
            KG_DB, "Person",
            await neo4j.TableSchema.from_class(Person, primary_key="name"),
            primary_key="name",
        )
        task_table = await neo4j.mount_node_target(
            KG_DB, "Task",
            await neo4j.TableSchema.from_class(Task, primary_key="description"),
            primary_key="description",
        )
    
        attended_rel = await neo4j.mount_relationship_target(
            KG_DB, "ATTENDED", person_table, meeting_table
        )
        decided_rel = await neo4j.mount_relationship_target(
            KG_DB, "DECIDED", meeting_table, task_table
        )
        assigned_rel = await neo4j.mount_relationship_target(
            KG_DB, "ASSIGNED_TO", person_table, task_table
        )
    
        # Phase 1: per-file extraction
        source = google_drive.GoogleDriveSource(
            service_account_credential_path=os.environ["GOOGLE_SERVICE_ACCOUNT_CREDENTIAL"],
            root_folder_ids=[
                f.strip()
                for f in os.environ["GOOGLE_DRIVE_ROOT_FOLDER_IDS"].split(",")
                if f.strip()
            ],
        )
        file_coros = []
        async for path_key, file in source.items():
            file_coros.append(
                coco.use_mount(
                    coco.component_subpath("file", path_key),
                    process_file, file, meeting_table, task_table, decided_rel,
                )
            )
        per_file = list(await asyncio.gather(*file_coros))
        all_meetings = [m for ms in per_file for m in ms]
    
        # Phase 2: person entity resolution
        raw_persons: set[str] = set()
        for m in all_meetings:
            raw_persons.add(m.organizer)
            raw_persons.update(m.participants)
            for _task_desc, assignees in m.task_assignees:
                raw_persons.update(assignees)
        persons = await coco.use_mount(
            coco.component_subpath("resolve_persons"), _resolve_persons, raw_persons
        )
    
        # Phase 3: declare Person nodes + person-touching relationships
        await coco.mount(
            coco.component_subpath("person_relations"),
            create_person_relations,
            all_meetings, persons, person_table, attended_rel, assigned_rel,
        )

    When a component finishes, CocoIndex compares the nodes and relationships it declared with the ones from the previous run and writes only the difference: it inserts new items, updates changed ones, and deletes items whose source file is gone. Phase 3 is not memoized, so it runs on every update, but an update that changes one assignment still writes one relationship deletion and one insertion, as in the demo above.

    Run

    Prerequisites

    • Neo4j 5.18 or later, running locally. With Docker:

      sh
      docker run -d -p 7474:7474 -p 7687:7687 -e NEO4J_AUTH=neo4j/cocoindex --name cocoindex-neo4j neo4j:5.26-community

      The pipeline connects to bolt://localhost:7687 as neo4j with password cocoindex. See the Neo4j connector docs for other settings.

    • An OpenAI API key (OPENAI_API_KEY). Extraction and resolution both default to openai/gpt-5-mini.

    • Google Drive service-account credentials. Create a Google Cloud service account, download its JSON key, share the source folders with the service-account email, and collect the folder IDs. See Setup for Google Drive.

    Set the environment variables (GOOGLE_DRIVE_ROOT_FOLDER_IDS takes a comma-separated list):

    sh
    export OPENAI_API_KEY=sk-...
    export GOOGLE_SERVICE_ACCOUNT_CREDENTIAL=/absolute/path/to/service_account.json
    export GOOGLE_DRIVE_ROOT_FOLDER_IDS=folderId1,folderId2

    Build the graph

    From the example folder:

    sh
    pip install -e .
    cocoindex update main

    The example’s pyproject.toml requires CocoIndex 1.1.0 or later, the first release with the node and relationship API.

    The source scans Drive once per update, so run cocoindex update main again to pick up later changes. For continuous updates, wrap the scanning processor with coco.auto_refresh, mount that component, and enable live mode with cocoindex update -L main. The -L flag alone does not turn this scan into a watcher.

    Browse the graph

    Open Neo4j Browser at localhost:7474, sign in as neo4j / cocoindex, and run Cypher:

    cypher
    // All relationships
    MATCH p=()-->() RETURN p
    
    // Who attended which meetings (including organizer)
    MATCH (p:Person)-[:ATTENDED]->(m:Meeting)
    RETURN p, m
    
    // Tasks decided in meetings
    MATCH (m:Meeting)-[:DECIDED]->(t:Task)
    RETURN m, t
    
    // Everything one person was assigned, by meeting date
    MATCH (p:Person {name: "Sarah Chen"})-[:ASSIGNED_TO]->(t:Task)<-[:DECIDED]-(m:Meeting)
    RETURN m.time, t.description
    ORDER BY m.time
    Neo4j Browser after MATCH p=()-->() RETURN p on a set of sample notes: 12 nodes (3 Meeting, 3 Person, 6 Task) and 20 relationships (8 ATTENDED, 6 ASSIGNED_TO, 6 DECIDED).
    Neo4j Browser: 12 nodes and 20 relationships from sample notes (captured with an earlier version of the example)Enlarge

    Neo4j Browser: 12 nodes and 20 relationships from sample notes (captured with an earlier version of the example)

    Zoom in to see details.

    Neo4j Browser after MATCH p=()-->() RETURN p on a set of sample notes: 12 nodes (3 Meeting, 3 Person, 6 Task) and 20 relationships (8 ATTENDED, 6 ASSIGNED_TO, 6 DECIDED).

    Where else this applies

    The same pattern (ingest, split, extract, resolve entities, build the graph) fits text where the entities and their relationships matter more than the raw text:

    • Research papers: a graph of concepts, authors, and citations across a repository, updated as papers are added or revised.
    • Support tickets: issues, solutions, customers, and recurring patterns across a large, frequently edited ticket base.
    • Compliance documents: requirements extracted from policies, so you can trace which obligations a policy change affects.
    • Competitive intelligence: companies, products, and market moves extracted from public filings and news.

    Source

    The full example is examples/meeting_notes_graph_neo4j in the CocoIndex repo. FalkorDB and SurrealDB versions of the same pipeline sit next to it in examples/.

    Frequently asked questions

    How do I build a knowledge graph from meeting notes?

    The v1 example reads Markdown notes from Google Drive, splits each file into meeting sections, and uses an LLM to extract dates, organizers, participants, and tasks. It declares meeting and task nodes, resolves variant person names to canonical names, then declares people and their relationships in Neo4j. You can query who attended each meeting or who was assigned a task. See Three phases.

    How do I extract structured data from meeting notes with an LLM?

    Define Pydantic models for ExtractedPerson, ExtractedTask, and ExtractedMeeting. The example's extract_meeting function uses Instructor with LiteLLM and passes response_model=ExtractedMeeting to the completion call. Instructor validates the returned structure against the schema. The function is decorated with @coco.fn(memo=True) so its result can be reused when the section and tracked dependencies are unchanged. See The extraction schema and Split, then extract.

    How does CocoIndex avoid reprocessing unchanged documents?

    Each Drive file is processed in its own component, and both file processing and meeting extraction are memoized. On a later update, CocoIndex reuses valid cached results for unchanged files and sections. The extraction model is a tracked context value, so changing it can invalidate those results. If extracted person names change, the shared entity-resolution and relationship phases may also need to run. See Phase 1: per-file extraction and Shared resources.

    How do I split a document containing multiple meetings into separate meetings?

    The example uses a Python helper, _split_meetings, with re.compile(r"\n\n##?\s+"). It prepends two newlines so a heading at the start of the file can match, splits at level-one or level-two Markdown headings after a blank line, strips surrounding whitespace, and drops empty pieces. The separator removes the heading marker; the heading text stays with the following meeting section. See Split, then extract.

    How does CocoIndex deduplicate nodes when exporting to Neo4j?

    The example mounts Neo4j node targets with explicit primary keys: Meeting.id, Person.name, and Task.description. Meeting IDs come from IdGenerator. Person names first pass through embedding-based entity resolution and an LLM pair resolver, so the graph uses the chosen canonical names. Relationship ids are derived from their endpoint IDs, and target reconciliation updates existing records instead of creating another record with the same key. See Node and relationship schemas, Phase 2: person entity resolution, and Wiring it together.

    How much does incremental processing reduce LLM costs for a knowledge graph pipeline?

    Valid cached extractions avoid LLM calls for unchanged meeting sections. The savings depend on how much text changes, which cached results are invalidated, model pricing, and any entity-resolution calls required by new names. The article does not provide a cost benchmark or a fixed percentage reduction. See Why an agent needs a graph of its meetings and Split, then extract.

    What else can this meeting-notes knowledge graph pattern be used for?

    The article suggests research-paper analysis, support-ticket analysis, compliance documents, and competitive intelligence. The shared pattern is to ingest text, split it, extract structured facts, resolve entities, and build a graph that can be updated as the source changes. The schema and extraction prompt need to match the domain. See Where else this applies.

    Can the meeting notes knowledge graph update in real time?

    The shown code scans Drive during each update; run cocoindex update main again to pick up later edits. Continuous updates require both live mode and a component that watches for changes or refreshes periodically. For this scanning pattern, one option is to mount a processor wrapped with coco.auto_refresh, then use cocoindex update -L main. The live flag alone does not turn the example's scan into a watcher. See Build the graph and the live-mode documentation.

    Build fresh context for your agents.

    CocoIndex keeps derived data in sync with its sources. Only what changed re-runs.