mirror of
				https://github.com/Unstructured-IO/unstructured.git
				synced 2025-11-04 12:03:15 +00:00 
			
		
		
		
	Original PR was #3069. Merged in to a feature branch to fix dependency and linting issues. Application code changes from the original PR were already reviewed and approved. ------------ Original PR description: Adding VoyageAI embeddings Voyage AI’s embedding models and rerankers are state-of-the-art in retrieval accuracy. --------- Co-authored-by: fzowl <160063452+fzowl@users.noreply.github.com> Co-authored-by: Liuhong99 <39693953+Liuhong99@users.noreply.github.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			356 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			356 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# python version must match lowest supported (3.9)
 | 
						|
major=3
 | 
						|
minor=9
 | 
						|
if ! python -c "import sys; assert sys.version_info.major == $major and sys.version_info.minor == $minor"; then
 | 
						|
  echo "python version not equal to expected $major.$minor: $(python --version)"
 | 
						|
  exit 1
 | 
						|
fi
 | 
						|
 | 
						|
pushd ./requirements || exit
 | 
						|
make clean
 | 
						|
make all
 | 
						|
popd || exit
 |