Meilisearch JS
    Preparing search index...

    Type Alias EmbedderFragments

    EmbedderFragments: Record<string, { value: RecordAny }>

    Indexing or search fragments

    const fragments: EmbedderFragments = {
    textAndPoster: {
    value: {
    content: [
    {
    type: "text",
    text: "A movie titled {{doc.title}} whose description starts with {{doc.overview|truncatewords:20}}.",
    },
    {
    type: "image_url",
    image_url: "{{doc.poster}}",
    },
    ],
    },
    },
    };