[DOCS][PYTHON] Update embeddings API docs & Example (#516)

This PR adds an overview of embeddings docs:
- 2 ways to vectorize your data using lancedb - explicit & implicit
- explicit - manually vectorize your data using `wit_embedding` function
- Implicit - automatically vectorize your data as it comes by ingesting
your embedding function details as table metadata
- Multi-modal example w/ disappearing embedding function
This commit is contained in:
Ayush Chaurasia
2023-10-13 19:26:07 -07:00
committed by Weston Pace
parent 2b341f3482
commit 1c42894918
13 changed files with 1242 additions and 15 deletions

View File

@@ -21,5 +21,6 @@ from .functions import (
OpenClipEmbeddings,
SentenceTransformerEmbeddings,
TextEmbeddingFunction,
register,
)
from .utils import with_embeddings

View File

@@ -150,7 +150,7 @@ class Table(ABC):
@abstractmethod
def schema(self) -> pa.Schema:
"""The [Arrow Schema](https://arrow.apache.org/docs/python/api/datatypes.html#) of
this [Table](Table)
this Table
"""
raise NotImplementedError