Skip to content

Commit

Permalink
tidy shell
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiseck3 committed Jul 16, 2024
1 parent a11d4ce commit 2cbf1fa
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test_unstructured_ingest/dest/milvus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ echo "Creating milvus instance"
docker compose -f scripts/milvus-test-helpers/docker-compose.yml up -d --wait-timeout 60
scripts/milvus-test-helpers/create_collection.py --db-name $DB_NAME


PYTHONPATH=. ./unstructured/ingest/main.py \
local \
--num-processes "$max_processes" \
Expand All @@ -55,7 +54,6 @@ PYTHONPATH=. ./unstructured/ingest/main.py \
--db-name $DB_NAME \
--collection-name $COLLECTION_NAME


sample_embeddings=$(cat "$WORK_DIR"/upload_stage/* | jq '.[0].embeddings')
expected_count=$(cat "$WORK_DIR"/upload_stage/* | jq 'length')

Expand All @@ -64,5 +62,3 @@ expected_count=$(cat "$WORK_DIR"/upload_stage/* | jq 'length')
--embeddings "$sample_embeddings" \
--collection-name $COLLECTION_NAME \
--count "$expected_count"


0 comments on commit 2cbf1fa

Please sign in to comment.