* Update huggingface endpoint api
Replace deprecated HuggingFace Embeddings class.
Signed-off-by: Dan Middleton <dan.middleton@intel.com>
* Change timeout strategy launching retriever
Use wait-for-it script rather than an arbitrarily determined sleep.
This should be more resilient to timing variances both saving time
vs unnecessarily long sleeps and avoiding spurious failures if
CI is slow causing a container to take longer than normal to start.
Signed-off-by: Dan Middleton <dan.middleton@intel.com>
* Supress irrelevant warning during docker build
This path warning during docker build is not relevant.
Signed-off-by: Dan Middleton <dan.middleton@intel.com>
* Fix Pinecone service using ServerlessSpec index
Pinecone requires a hosted index.
That index can be a ServerlessSpec instance at a CSP or a more expensive
PodSpec based instance also hosted at a CSP.
Signed-off-by: Dan Middleton <dan.middleton@intel.com>
* Recreate index each run
For CI we need the index to be removed so the tests can be rerun
from a clean state.
Signed-off-by: Dan Middleton <dan.middleton@intel.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Signed-off-by: Dan Middleton <dan.middleton@intel.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>