Skip to content

The agent engineering platform.

Update OpenCLIP docs (#14319)

Lance Martin29e993a5f2f5
diff --git a/docs/docs/integrations/text_embedding/open_clip.ipynb b/docs/docs/integrations/text_embedding/open_clip.ipynb
index eb5a2e4910..b55be7d258 100644
--- a/docs/docs/integrations/text_embedding/open_clip.ipynb
+++ b/docs/docs/integrations/text_embedding/open_clip.ipynb
@@ -92,7 +92,7 @@
"uri_house = \"/Users/rlm/Desktop/test/house.jpg\"\n",
"\n",
"# Embe images or text\n",
- "clip_embd = OpenCLIPEmbeddings()\n",
+ "clip_embd = OpenCLIPEmbeddings(model_name=\"ViT-g-14\", checkpoint=\"laion2b_s34b_b88k\")\n",
"img_feat_dog = clip_embd.embed_image([uri_dog])\n",
"img_feat_house = clip_embd.embed_image([uri_house])\n",
"text_feat_dog = clip_embd.embed_documents([\"dog\"])\n",