File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -671,29 +671,29 @@ See [OpenAI Embeddings API documentation](https://platform.openai.com/docs/api-r
671671
672672-  input as string
673673
674- ``` shell 
675- curl http://localhost:8080/v1/embeddings \
676- -H " Content-Type: application/json"   \
677- -H " Authorization: Bearer no-key"   \
678- -d ' {
679-         "input": "hello", 
680-         "model":"GPT-4", 
681-         "encoding_format": "float" 
682- }'  
683- ``` 
674+    ``` shell 
675+    curl http://localhost:8080/v1/embeddings \
676+    -H " Content-Type: application/json"   \
677+    -H " Authorization: Bearer no-key"   \
678+    -d ' {
679+            "input": "hello", 
680+            "model":"GPT-4", 
681+            "encoding_format": "float" 
682+    }' 
683+    ``` 
684684
685685-  ` input `  as string array
686686
687- ``` shell 
688- curl http://localhost:8080/v1/embeddings \
689- -H " Content-Type: application/json"   \
690- -H " Authorization: Bearer no-key"   \
691- -d ' {
692-         "input": ["hello", "world"], 
693-         "model":"GPT-4", 
694-         "encoding_format": "float" 
695- }'  
696- ``` 
687+    ``` shell 
688+    curl http://localhost:8080/v1/embeddings \
689+    -H " Content-Type: application/json"   \
690+    -H " Authorization: Bearer no-key"   \
691+    -d ' {
692+            "input": ["hello", "world"], 
693+            "model":"GPT-4", 
694+            "encoding_format": "float" 
695+    }' 
696+    ``` 
697697
698698### GET ` /slots ` : Returns the current slots processing state  
699699
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments