Skip to content

Commit

Permalink
add strategy to ElasticSearchStore
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisoSouza committed May 20, 2024
1 parent 4785bac commit 5a0c2ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def __init__(self, config: AppConfig):
es_url=config.es_url,
index_name=config.content_base_index_name,
embedding=self.embeddings,
strategy=ElasticsearchStore.ExactRetrievalStrategy()
)
self.content_base_vectorstore.client = Elasticsearch(
hosts=config.es_url, timeout=int(config.es_timeout)
Expand Down

0 comments on commit 5a0c2ac

Please sign in to comment.