View source: R/embed-databricks.R
| embed_databricks | R Documentation |
embed_databricks() gets embeddings for text using a model hosted in a
Databricks workspace. It relies on the ellmer package for managing
Databricks credentials. See ellmer::chat_databricks for more on
supported modes of authentication.
embed_databricks(
x,
workspace = databricks_workspace(),
model = "databricks-bge-large-en",
batch_size = 512L
)
x |
x can be:
|
workspace |
The URL of a Databricks workspace, e.g.
|
model |
The name of a text embedding model. |
batch_size |
split |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.