aws-samples / aws-genai-conversational-rag-reference

AWS Generative AI Conversational RAG Reference (Galileo)
https://aws-samples.github.io/aws-genai-conversational-rag-reference
Apache License 2.0
62 stars 19 forks source link

fix: Add missing parameter to Reset Vector Store Execution Flow #109

Closed nghiapt closed 3 months ago

nghiapt commented 3 months ago

Description

Adding an extra parameter needed in the samples in documentation for the execution to work

Does this PR introduce a breaking change?
No.

Related Issues/Discussion

https://github.com/aws-samples/aws-genai-conversational-rag-reference/issues/107

How Has This Been Tested?

Calling Step Function with:

{
  "VectorStoreManagement": {
    "PurgeData": true,
    "CreateIndexes": false
  }
}

will cause the execution to fail with:

Invalid path '$.VectorStoreManagement.CreateIndexes': The choice state's condition path references an invalid value.

IMPORTANT: Please review the CONTRIBUTING.md file for detailed contributing guidelines.