doc: improve embedding functions documentation (#983)

Got some user feedback that the `implicit` / `explicit` distinction is
confusing.
Instead I was thinking we would just deprecate the `with_embeddings` API
and then organize working with embeddings into 3 buckets:

1. manually generate embeddings
2. use a provided embedding function
3. define your own custom embedding function
This commit is contained in:
Chang She
2024-02-17 10:39:28 -08:00
committed by GitHub
parent e0277383a5
commit 6f8cf1e068
9 changed files with 241 additions and 189 deletions

View File

@@ -23,10 +23,8 @@ from multiprocessing import Pool
import lance
import pyarrow as pa
from datasets import load_dataset
from PIL import Image
from transformers import CLIPModel, CLIPProcessor, CLIPTokenizerFast
import lancedb
MODEL_ID = "openai/clip-vit-base-patch32"