mirror of
				https://github.com/Unstructured-IO/unstructured.git
				synced 2025-10-31 01:54:25 +00:00 
			
		
		
		
	 950e5d68f9
			
		
	
	
		950e5d68f9
		
			
		
	
	
	
	
		
			
			- Adds a destination connector to upload processed output into a PostgreSQL/Sqlite database instance. - Users are responsible to provide their instances. This PR includes a couple of configuration examples. - Defines the scripts required to setup a PostgreSQL instance with the unstructured elements schema. - Validates postgres/pgvector embedding storage and retrieval --------- Co-authored-by: potter-potter <david.potter@gmail.com>
		
			
				
	
	
		
			18 lines
		
	
	
		
			344 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			344 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| unstructured-ingest \
 | |
|   local \
 | |
|   --input-path example-docs/fake-memo.pdf \
 | |
|   --anonymous \
 | |
|   --output-dir local-output-to-mongo \
 | |
|   --num-processes 2 \
 | |
|   --verbose \
 | |
|   --strategy fast \
 | |
|   sql \
 | |
|   --db-type postgresql \
 | |
|   --username postgres \
 | |
|   --password test \
 | |
|   --host localhost \
 | |
|   --port 5432 \
 | |
|   --database elements
 |