Skip to content

Instantly share code, notes, and snippets.

@rpappalax
Created January 30, 2026 15:29
Show Gist options
  • Select an option

  • Save rpappalax/2e0ec94cb28f6efeb78a78036e103da1 to your computer and use it in GitHub Desktop.

Select an option

Save rpappalax/2e0ec94cb28f6efeb78a78036e103da1 to your computer and use it in GitHub Desktop.
app/retrieval/types.py
from __future__ import annotations
from dataclasses import dataclass
from typing import List
@dataclass(frozen=True)
class Note:
note_id: str
content: str
source: str | None = None
created_at: str | None = None
embedding: List[float] | None = None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment