Closed bigben80 closed 3 weeks ago
err=ValidationException('An error occurred (ValidationException) when calling the CreateKnowledgeBase operation: The knowledge base storage configuration provided is invalid... The OpenSearch Serverless engine type associated with your vector index is invalid. Recreate your vector index with one of the following valid engine types: FAISS. Then retry your request.'), type(err)=<class 'botocore.errorfactory.ValidationException'>
I have faced the same error and as per knowledge base index ; "engine": "nmslib", has to be changed to "engine": "faiss", please make this change ASAP
Closing this issue, as it has been fixed.
hi,
According to the bedrock knowledge base document website, now the vector index should choose "faiss" as engine.
If still use the "nmslib" engine as written in the sample code, user will get error like this:
[ERROR] ValidationException: An error occurred (ValidationException) when calling the CreateKnowledgeBase operation: The knowledge base storage configuration provided is invalid... The OpenSearch Serverless engine type associated with your vector index is invalid. Recreate your vector index with one of the following valid engine types: FAISS. Then retry your request.