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

interface ExampleEmbeddingMetadata {
    agentId: string;
    companyId: string;
    exampleEntity: AIAgentExampleEntity;
    exampleInput: string;
    exampleOutput: string;
    id: string;
    successScore: number;
    type: string;
    userId: string;
}

Properties

agentId: string
companyId: string
exampleEntity: AIAgentExampleEntity
exampleInput: string
exampleOutput: string
id: string
successScore: number
type: string
userId: string