mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
440c98e24b
## Background fixes #2695 ## Changes The `add_text` method uses the internal embedding function if one was passes to the `Weaviate` constructor. NOTE: the latest merge on the `Weaviate` class made the specification of a `weaviate_api_key` mandatory which might not be desirable for all users and connection methods (for example weaviate also support Embedded Weaviate which I am happy to add support to here if people think it's desirable). I wrapped the fetching of the api key into a try catch in order to allow the `weaviate_api_key` to be unspecified. Do let me know if this is unsatisfactory. ## Test Plan added test for `add_texts` method. |
||
---|---|---|
.. | ||
test_elasticsearch | ||
test_pinecone | ||
test_weaviate |