langchain/tests/integration_tests/vectorstores/cassettes
cs0lar 440c98e24b
Fix/issue 2695 (#3608)
## 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.
2023-04-26 21:45:03 -07:00
..
test_elasticsearch fix: some imports for integration tests (#2612) 2023-04-11 20:45:36 -07:00
test_pinecone feat: improve pinecone tests (#2806) 2023-04-13 21:49:31 -07:00
test_weaviate Fix/issue 2695 (#3608) 2023-04-26 21:45:03 -07:00