mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-06-27 02:30:08 +00:00

Closes #1781. - Adds a Weaviate destination connector - The connector receives a host for the weaviate instance and a weaviate class name. - Defines a weaviate schema for json elements. - Defines the pre-processing to conform unstructured's schema to the proposed weaviate schema.
14 lines
297 B
Bash
Executable File
14 lines
297 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
SCRIPT_DIR=$(dirname "$(realpath "$0")")
|
|
|
|
# Create the Weaviate instance
|
|
docker compose version
|
|
docker compose -f "$SCRIPT_DIR"/docker-compose.yml up --wait
|
|
docker compose -f "$SCRIPT_DIR"/docker-compose.yml ps
|
|
|
|
echo "Instance is live."
|
|
"$SCRIPT_DIR"/create_schema.py
|