{"id":3108,"date":"2024-01-30T11:51:04","date_gmt":"2024-01-30T11:51:04","guid":{"rendered":"https:\/\/denayer.com\/blog\/?p=3108"},"modified":"2024-02-03T10:21:36","modified_gmt":"2024-02-03T10:21:36","slug":"upgrading_embeddings","status":"publish","type":"post","link":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/","title":{"rendered":"OpenAI updates are not plug and play"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_row _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; custom_margin=&#8221;-1px|auto||auto||&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.23.1&#8243; _module_preset=&#8221;default&#8221; global_colors_info=&#8221;{}&#8221;][et_pb_text _builder_version=&#8221;4.23.4&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;0px|||||&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<p>&#x1f195; The new OpenAI embedding models are cheaper and better &#8211; what&#8217;s not to love? Well, let&#8217;s dig a bit deeper. &#x1f914;<\/p>\n<p>&#x1f50d; What exactly are embedding models?\u00a0For each paragraph in your documents, these models create a numerical representation of its meaning. We then use them for efficient searching within documents or for grouping similar documents together (a process known as clustering).<\/p>\n<p>&#x1f31f;\u00a0The new models excel at capturing the essence of text:<\/p>\n<ul>\n<li>The smaller model is not only more cost-effective but also superior in understanding meaning compared to its predecessor.<\/li>\n<li>There&#8217;s also a new, larger model that is even better at capturing meaning.<\/li>\n<\/ul>\n<p>&#x1f9e0; So, using the new models seems like a no-brainer, right?<\/p>\n<p>&#x26a0;&#xfe0f;\u00a0Here is the catch:\u00a0when switching to a different model, you must recreate the embeddings for all the paragraphs of all your documents. This might be low-cost, but<\/p>\n<ul>\n<li>it can be time-consuming if you&#8217;re dealing with millions of documents and<\/li>\n<li>your application will behave differently so you need to test. &#x1f4da;<\/li>\n<\/ul>\n<p>&#x1f449; This also points to a more long term challenge of evolving our AI systems. What happens when OpenAI stops supporting the embedding you have chosen? Which begs the questions: wouldn\u2019t it be better to take control of the embeddings by running our own model? Unfortunately it is not clear that there is an open source of the same quality as OpenAI. yet\u2026<\/p>\n<p>[\/et_pb_text][et_pb_image src=&#8221;http:\/\/denayer.com\/blog\/wp-content\/uploads\/2024\/01\/embeddings.png&#8221; alt=&#8221;The End is Never Near&#8221; title_text=&#8221;embeddings&#8221; _builder_version=&#8221;4.23.4&#8243; _module_preset=&#8221;default&#8221; hover_enabled=&#8221;0&#8243; global_colors_info=&#8221;{}&#8221; sticky_enabled=&#8221;0&#8243;][\/et_pb_image][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new OpenAI embedding models are cheaper and better &#8211; what&#8217;s not to love? Well, let&#8217;s dig a bit deeper. <\/p>\n","protected":false},"author":1,"featured_media":3112,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[34],"tags":[],"class_list":["post-3108","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"The new OpenAI embedding models are cheaper and better - what&#039;s not to love? Well, let&#039;s dig a bit deeper.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Wouter Denayer\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/denayer.com\/blog\/upgrading_embeddings\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Wouter&#039;s blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"OpenAI updates are not plug and play | Wouter Denayer_\" \/>\n\t\t<meta property=\"og:description\" content=\"The new OpenAI embedding models are cheaper and better - what&#039;s not to love? Well, let&#039;s dig a bit deeper.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/denayer.com\/blog\/upgrading_embeddings\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-01-30T11:51:04+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-02-03T10:21:36+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"OpenAI updates are not plug and play | Wouter Denayer_\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The new OpenAI embedding models are cheaper and better - what&#039;s not to love? Well, let&#039;s dig a bit deeper.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#article\",\"name\":\"OpenAI updates are not plug and play | Wouter Denayer_\",\"headline\":\"OpenAI updates are not plug and play\",\"author\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/author\\\/wouterd\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/denayer.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/embeddings.png\",\"width\":1024,\"height\":1024,\"caption\":\"embeddings\"},\"datePublished\":\"2024-01-30T11:51:04+00:00\",\"dateModified\":\"2024-02-03T10:21:36+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#webpage\"},\"articleSection\":\"artificial intelligence\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/denayer.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/category\\\/ai\\\/#listItem\",\"name\":\"artificial intelligence\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/category\\\/ai\\\/#listItem\",\"position\":2,\"name\":\"artificial intelligence\",\"item\":\"https:\\\/\\\/denayer.com\\\/blog\\\/category\\\/ai\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#listItem\",\"name\":\"OpenAI updates are not plug and play\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#listItem\",\"position\":3,\"name\":\"OpenAI updates are not plug and play\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/category\\\/ai\\\/#listItem\",\"name\":\"artificial intelligence\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/#organization\",\"name\":\"Wouter Denayer_\",\"url\":\"https:\\\/\\\/denayer.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/author\\\/wouterd\\\/#author\",\"url\":\"https:\\\/\\\/denayer.com\\\/blog\\\/author\\\/wouterd\\\/\",\"name\":\"Wouter Denayer\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#authorImage\",\"url\":\"http:\\\/\\\/denayer.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/Wouter-Denayer_avatar_1402952138-96x96.jpg\",\"width\":96,\"height\":96,\"caption\":\"Wouter Denayer\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#webpage\",\"url\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/\",\"name\":\"OpenAI updates are not plug and play | Wouter Denayer_\",\"description\":\"The new OpenAI embedding models are cheaper and better - what's not to love? Well, let's dig a bit deeper.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/author\\\/wouterd\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/author\\\/wouterd\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/denayer.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/embeddings.png\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#mainImage\",\"width\":1024,\"height\":1024,\"caption\":\"embeddings\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/upgrading_embeddings\\\/#mainImage\"},\"datePublished\":\"2024-01-30T11:51:04+00:00\",\"dateModified\":\"2024-02-03T10:21:36+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/denayer.com\\\/blog\\\/\",\"name\":\"Wouter's blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/denayer.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"OpenAI updates are not plug and play | Wouter Denayer_","description":"The new OpenAI embedding models are cheaper and better - what's not to love? Well, let's dig a bit deeper.","canonical_url":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#article","name":"OpenAI updates are not plug and play | Wouter Denayer_","headline":"OpenAI updates are not plug and play","author":{"@id":"https:\/\/denayer.com\/blog\/author\/wouterd\/#author"},"publisher":{"@id":"https:\/\/denayer.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/denayer.com\/blog\/wp-content\/uploads\/2024\/01\/embeddings.png","width":1024,"height":1024,"caption":"embeddings"},"datePublished":"2024-01-30T11:51:04+00:00","dateModified":"2024-02-03T10:21:36+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#webpage"},"isPartOf":{"@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#webpage"},"articleSection":"artificial intelligence"},{"@type":"BreadcrumbList","@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/denayer.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/denayer.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/denayer.com\/blog\/category\/ai\/#listItem","name":"artificial intelligence"}},{"@type":"ListItem","@id":"https:\/\/denayer.com\/blog\/category\/ai\/#listItem","position":2,"name":"artificial intelligence","item":"https:\/\/denayer.com\/blog\/category\/ai\/","nextItem":{"@type":"ListItem","@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#listItem","name":"OpenAI updates are not plug and play"},"previousItem":{"@type":"ListItem","@id":"https:\/\/denayer.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#listItem","position":3,"name":"OpenAI updates are not plug and play","previousItem":{"@type":"ListItem","@id":"https:\/\/denayer.com\/blog\/category\/ai\/#listItem","name":"artificial intelligence"}}]},{"@type":"Organization","@id":"https:\/\/denayer.com\/blog\/#organization","name":"Wouter Denayer_","url":"https:\/\/denayer.com\/blog\/"},{"@type":"Person","@id":"https:\/\/denayer.com\/blog\/author\/wouterd\/#author","url":"https:\/\/denayer.com\/blog\/author\/wouterd\/","name":"Wouter Denayer","image":{"@type":"ImageObject","@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#authorImage","url":"http:\/\/denayer.com\/blog\/wp-content\/uploads\/2014\/06\/Wouter-Denayer_avatar_1402952138-96x96.jpg","width":96,"height":96,"caption":"Wouter Denayer"}},{"@type":"WebPage","@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#webpage","url":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/","name":"OpenAI updates are not plug and play | Wouter Denayer_","description":"The new OpenAI embedding models are cheaper and better - what's not to love? Well, let's dig a bit deeper.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/denayer.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#breadcrumblist"},"author":{"@id":"https:\/\/denayer.com\/blog\/author\/wouterd\/#author"},"creator":{"@id":"https:\/\/denayer.com\/blog\/author\/wouterd\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/denayer.com\/blog\/wp-content\/uploads\/2024\/01\/embeddings.png","@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#mainImage","width":1024,"height":1024,"caption":"embeddings"},"primaryImageOfPage":{"@id":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/#mainImage"},"datePublished":"2024-01-30T11:51:04+00:00","dateModified":"2024-02-03T10:21:36+00:00"},{"@type":"WebSite","@id":"https:\/\/denayer.com\/blog\/#website","url":"https:\/\/denayer.com\/blog\/","name":"Wouter's blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/denayer.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Wouter's blog","og:type":"article","og:title":"OpenAI updates are not plug and play | Wouter Denayer_","og:description":"The new OpenAI embedding models are cheaper and better - what's not to love? Well, let's dig a bit deeper.","og:url":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/","article:published_time":"2024-01-30T11:51:04+00:00","article:modified_time":"2024-02-03T10:21:36+00:00","twitter:card":"summary","twitter:title":"OpenAI updates are not plug and play | Wouter Denayer_","twitter:description":"The new OpenAI embedding models are cheaper and better - what's not to love? Well, let's dig a bit deeper."},"aioseo_meta_data":{"post_id":"3108","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2024-01-30 11:47:59","updated":"2024-01-30 12:14:13","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/denayer.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/denayer.com\/blog\/category\/ai\/\" title=\"artificial intelligence\">artificial intelligence<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tOpenAI updates are not plug and play\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/denayer.com\/blog"},{"label":"artificial intelligence","link":"https:\/\/denayer.com\/blog\/category\/ai\/"},{"label":"OpenAI updates are not plug and play","link":"https:\/\/denayer.com\/blog\/upgrading_embeddings\/"}],"_links":{"self":[{"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/posts\/3108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/comments?post=3108"}],"version-history":[{"count":0,"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/posts\/3108\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/media\/3112"}],"wp:attachment":[{"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/media?parent=3108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/categories?post=3108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/denayer.com\/blog\/wp-json\/wp\/v2\/tags?post=3108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}