Metadata stored with each note embedding in the vector service. Includes the full entity to avoid re-loading from database.

interface NoteEmbeddingMetadata {
    agentId: string;
    companyId: string;
    id: string;
    noteEntity: AIAgentNoteEntity;
    noteText: string;
    type: string;
    userId: string;
}

Properties

agentId: string
companyId: string
id: string
noteEntity: AIAgentNoteEntity
noteText: string
type: string
userId: string