File tree Expand file tree Collapse file tree 8 files changed +69
-13
lines changed
schemas/embedding_functions Expand file tree Collapse file tree 8 files changed +69
-13
lines changed Original file line number Diff line number Diff line change 1818 "description" : " The environment variable name that contains your API key for the Cloudflare Workers AI API"
1919 },
2020 "gateway_id" : {
21- "type" : " string" ,
21+ "type" : [
22+ " string" ,
23+ " null"
24+ ],
2225 "description" : " The ID of the Cloudflare AI Gateway to use for a more customized solution"
2326 }
2427 },
Original file line number Diff line number Diff line change 1010 "description" : " The URL of the HuggingFace Embedding Server"
1111 },
1212 "api_key_env_var" : {
13- "type" : " string" ,
13+ "type" : [
14+ " string" ,
15+ " null"
16+ ],
1417 "description" : " The environment variable name that contains your API key for the HuggingFace API"
1518 }
1619 },
Original file line number Diff line number Diff line change 1414 "description" : " Parameter device for the instructor embedding function"
1515 },
1616 "instruction" : {
17- "type" : " string" ,
17+ "type" : [
18+ " string" ,
19+ " null"
20+ ],
1821 "description" : " Parameter instruction for the instructor embedding function"
1922 }
2023 },
Original file line number Diff line number Diff line change 1414 "description" : " Parameter api_key_env_var for the jina embedding function"
1515 },
1616 "task" : {
17- "type" : " string" ,
17+ "type" : [
18+ " string" ,
19+ " null"
20+ ],
1821 "description" : " Parameter task for the jina embedding function"
1922 },
2023 "late_chunking" : {
21- "type" : " boolean" ,
24+ "type" : [
25+ " boolean" ,
26+ " null"
27+ ],
2228 "description" : " Parameter late_chunking for the jina embedding function"
2329 },
2430 "truncate" : {
25- "type" : " boolean" ,
31+ "type" : [
32+ " boolean" ,
33+ " null"
34+ ],
2635 "description" : " Parameter truncate for the jina embedding function"
2736 },
2837 "dimensions" : {
29- "type" : " integer" ,
38+ "type" : [
39+ " integer" ,
40+ " null"
41+ ],
3042 "description" : " Parameter dimensions for the jina embedding function"
3143 },
3244 "embedding_type" : {
33- "type" : " string" ,
45+ "type" : [
46+ " string" ,
47+ " null"
48+ ],
3449 "description" : " Parameter embedding_type for the jina embedding function"
3550 },
3651 "normalized" : {
37- "type" : " boolean" ,
52+ "type" : [
53+ " boolean" ,
54+ " null"
55+ ],
3856 "description" : " Parameter normalized for the jina embedding function"
57+ },
58+ "query_config" : {
59+ "type" : [
60+ " object" ,
61+ " null"
62+ ],
63+ "description" : " Parameter query_config for the jina embedding function"
3964 }
4065 },
4166 "required" : [
Original file line number Diff line number Diff line change 1616 "task_type" : {
1717 "type" : " string" ,
1818 "description" : " Parameter task_type for the Nomic embedding function"
19+ },
20+ "query_config" : {
21+ "type" : [
22+ " object" ,
23+ " null"
24+ ],
25+ "description" : " Parameter query_config for the Nomic embedding function"
1926 }
20- }
27+ },
28+ "required" : [
29+ " model" ,
30+ " api_key_env_var" ,
31+ " task_type"
32+ ],
33+ "additionalProperties" : false
2134}
Original file line number Diff line number Diff line change 66 "type" : " object" ,
77 "properties" : {
88 "preferred_providers" : {
9- "type" : " array" ,
9+ "type" : [
10+ " array" ,
11+ " null"
12+ ],
1013 "items" : {
1114 "type" : " string"
1215 },
Original file line number Diff line number Diff line change 1414 "description" : " Parameter checkpoint for the open_clip embedding function"
1515 },
1616 "device" : {
17- "type" : " string" ,
17+ "type" : [
18+ " string" ,
19+ " null"
20+ ],
1821 "description" : " Parameter device for the open_clip embedding function"
1922 }
2023 },
Original file line number Diff line number Diff line change 1414 "description" : " Parameter api_key_env_var for the voyageai embedding function"
1515 },
1616 "input_type" : {
17- "type" : " string" ,
17+ "type" : [
18+ " string" ,
19+ " null"
20+ ],
1821 "description" : " Parameter input_type for the voyageai embedding function"
1922 },
2023 "truncation" : {
You can’t perform that action at this time.
0 commit comments