mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-28 08:31:25 +00:00 
			
		
		
		
	model-conversion : add missing curl script [no ci] (#15761)
This commit adds a curl script to the model-conversion examples which is currently missing. This script is required for the running the embedding server targets to test llama-server embeddings functionality.
This commit is contained in:
		
							
								
								
									
										6
									
								
								examples/model-conversion/scripts/utils/curl-embedding-server.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										6
									
								
								examples/model-conversion/scripts/utils/curl-embedding-server.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| #!/bin/bash | ||||
| curl --request POST \ | ||||
|     --url http://localhost:8080/embedding \ | ||||
|     --header "Content-Type: application/json" \ | ||||
|     --data '{"input": "Hello world today"}' \ | ||||
|     --silent | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Bevenius
					Daniel Bevenius