AzureAISearchDocumentMetadata: {
    attributes?: {
        key: string;
        value: string;
    }[];
    embedding?: number[];
    source: string;
}

Azure AI Search options metadata schema. If yout want to add custom data, use the attributes property.