mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
8b9e02da9d
### Background Continuing to implement all the interface methods defined by the `VectorStore` class. This PR pertains to implementation of the `max_marginal_relevance_search` method. ### Changes - a `max_marginal_relevance_search` method implementation has been added in `weaviate.py` - tests have been added to the the new method - vcr cassettes have been added for the weaviate tests ### Test Plan Added tests for the `max_marginal_relevance_search` implementation ### Change Safety - [x] I have added tests to cover my changes
24 lines
542 B
YAML
24 lines
542 B
YAML
version: '3.4'
|
|
|
|
services:
|
|
weaviate:
|
|
command:
|
|
- --host
|
|
- 0.0.0.0
|
|
- --port
|
|
- '8080'
|
|
- --scheme
|
|
- http
|
|
image: semitechnologies/weaviate:1.18.2
|
|
ports:
|
|
- 8080:8080
|
|
restart: on-failure:0
|
|
environment:
|
|
QUERY_DEFAULTS_LIMIT: 25
|
|
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
|
|
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
|
|
DEFAULT_VECTORIZER_MODULE: 'text2vec-openai'
|
|
ENABLE_MODULES: 'text2vec-openai'
|
|
OPENAI_APIKEY: '${OPENAI_API_KEY}'
|
|
CLUSTER_HOSTNAME: 'node1'
|