langchain/libs/partners/databricks/langchain_databricks
Yuki Watanabe c7a8af2e75
databricks: add vector search and embeddings (#25648)
### Summary

Add `DatabricksVectorSearch` and `DatabricksEmbeddings` classes to the
`langchain-databricks` partner packages. Core functionality is
unchanged, but the vector search class is largely refactored for
readability and maintainability.

This PR does not add integration tests yet. This will be added once the
Databricks test workspace is ready.

Tagging @efriis as POC


### Tracker
[] Create a package and imgrate ChatDatabricks
[✍️] Migrate DatabricksVectorSearch, DatabricksEmbeddings, and their
docs
~[ ] Migrate UCFunctionToolkit and its doc~
[ ] Add provider document and update README.md
[ ] Add integration tests and set up secrets (after moved to an external
package)
[ ] Add deprecation note to the community implementations.

---------

Signed-off-by: B-Step62 <yuki.watanabe@databricks.com>
Co-authored-by: Erick Friis <erick@langchain.dev>
2024-08-24 00:40:21 +00:00
..
__init__.py databricks: add vector search and embeddings (#25648) 2024-08-24 00:40:21 +00:00
chat_models.py databricks: add vector search and embeddings (#25648) 2024-08-24 00:40:21 +00:00
embeddings.py databricks: add vector search and embeddings (#25648) 2024-08-24 00:40:21 +00:00
py.typed databricks: Add partner package directory and ChatDatabricks implementation (#25430) 2024-08-21 17:19:28 -07:00
utils.py databricks: add vector search and embeddings (#25648) 2024-08-24 00:40:21 +00:00
vectorstores.py databricks: add vector search and embeddings (#25648) 2024-08-24 00:40:21 +00:00