langchain/tests/integration_tests/vectorstores/cassettes/test_weaviate
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
..
TestWeaviate.test_max_marginal_relevance_search_by_vector.yaml Fix/issue 2695 (#3608) 2023-04-26 21:45:03 -07:00
TestWeaviate.test_max_marginal_relevance_search_with_filter.yaml Fix/issue 2695 (#3608) 2023-04-26 21:45:03 -07:00
TestWeaviate.test_max_marginal_relevance_search.yaml Fix/issue 2695 (#3608) 2023-04-26 21:45:03 -07:00
TestWeaviate.test_similarity_search_with_metadata_and_filter.yaml Fix/issue 2695 (#3608) 2023-04-26 21:45:03 -07:00
TestWeaviate.test_similarity_search_with_metadata.yaml Fix/issue 2695 (#3608) 2023-04-26 21:45:03 -07:00
TestWeaviate.test_similarity_search_without_metadata.yaml Fix/issue 2695 (#3608) 2023-04-26 21:45:03 -07:00