pond918 commited on
Commit
ed7c1cd
·
1 Parent(s): 31c57f0
Files changed (1) hide show
  1. README.md +11 -1
README.md CHANGED
@@ -35,10 +35,20 @@ curl -X POST -H 'Content-type: application/json' --data '{ "data": ["Jill111", {
35
  curl -X POST -H 'Content-type: application/json' --data '{ "data": [{"goal": "for test", "skills": [ "for test skills 10 chars least." ] }, 3] }' http://127.0.0.1:7860/run/predict_1
36
  ```
37
 
 
 
 
 
 
 
38
  ## online test
39
 
40
  ```shell
41
  curl -X POST -H 'Content-type: application/json' -H 'Authorization: Bearer xxxxxxx' --data '{ "data": ["Jill1", { "meta": {"id":"Jill1", "nick":"erer"}, "content": {"goal": "for test", "skills": [ "for test skills 10 chars least." ] } }] }' https://thisis-it-chatroles-vdb.hf.space/run/predict
42
  curl -X POST -H 'Content-type: application/json' -H 'Authorization: Bearer xxxxxxx' --data '{ "data": [{"goal": "for test", "skills": [ "for test skills 10 chars least." ] }, 3] }' https://thisis-it-chatroles-vdb.hf.space/run/predict_1
43
 
44
- ```
 
 
 
 
 
35
  curl -X POST -H 'Content-type: application/json' --data '{ "data": [{"goal": "for test", "skills": [ "for test skills 10 chars least." ] }, 3] }' http://127.0.0.1:7860/run/predict_1
36
  ```
37
 
38
+ ### embed text array to vectors
39
+
40
+ ```shell
41
+ curl -X POST -H 'Content-type: application/json' --data '{ "data": [["Jill","haha"]] }' https://127.0.0.1:7860/run/predict_2
42
+ ```
43
+
44
  ## online test
45
 
46
  ```shell
47
  curl -X POST -H 'Content-type: application/json' -H 'Authorization: Bearer xxxxxxx' --data '{ "data": ["Jill1", { "meta": {"id":"Jill1", "nick":"erer"}, "content": {"goal": "for test", "skills": [ "for test skills 10 chars least." ] } }] }' https://thisis-it-chatroles-vdb.hf.space/run/predict
48
  curl -X POST -H 'Content-type: application/json' -H 'Authorization: Bearer xxxxxxx' --data '{ "data": [{"goal": "for test", "skills": [ "for test skills 10 chars least." ] }, 3] }' https://thisis-it-chatroles-vdb.hf.space/run/predict_1
49
 
50
+ ```
51
+
52
+ ### gradio interface
53
+
54
+ https://huggingface.co/spaces/thisis-it/chatroles-vdb