diff --git a/test_unstructured_ingest/dest/astra.sh b/test_unstructured_ingest/dest/astra.sh index 1f043d36fe..36129c3a9f 100755 --- a/test_unstructured_ingest/dest/astra.sh +++ b/test_unstructured_ingest/dest/astra.sh @@ -56,7 +56,7 @@ PYTHONPATH=. ./unstructured/ingest/main.py \ --api-endpoint "$ASTRA_DB_ENDPOINT" \ --collection-name "$COLLECTION_NAME" \ --embedding-dimension "$EMBEDDING_DIMENSION" \ - --requested-indexing-policy '{"deny": "metadata"}' + --requested-indexing-policy '{"deny": ["metadata"]}' python "$SCRIPT_DIR"/python/test-ingest-astra-output.py \ --token "$ASTRA_DB_TOKEN" \ diff --git a/unstructured/ingest/cli/cmds/astra.py b/unstructured/ingest/cli/cmds/astra.py index 9f79c4cdfa..947ee35a4a 100644 --- a/unstructured/ingest/cli/cmds/astra.py +++ b/unstructured/ingest/cli/cmds/astra.py @@ -56,7 +56,7 @@ def get_cli_options() -> t.List[click.Option]: default=None, type=Dict(), help="The indexing policy to use for the collection." - 'example: \'{"deny": "metadata"}\' ', + 'example: \'{"deny": ["metadata"]}\' ', ), ] return options