DATABRICKS_HOST
and DATABRICKS_TOKEN
environment variables, respectively. See Authentication Documentation for how to get an access token.
databricks-langchain
package.
DatabricksVectorSearch
class support both use cases.
DatabricksVectorSearch
is a bit different depending on whether your index uses Databricks-managed embeddings or self-managed embeddings i.e. LangChain Embeddings object of your choice.
If you are using a delta-sync index with Databricks-managed embeddings:
add_documents
method is only supported for a direct-access index.
delete
method is only supported for a direct-access index.
columns
parameter when initializing the vector store.