diff --git a/schemas/embedding_functions/cloudflare_workers_ai.json b/schemas/embedding_functions/cloudflare_workers_ai.json index 90530532265..74206a465bc 100644 --- a/schemas/embedding_functions/cloudflare_workers_ai.json +++ b/schemas/embedding_functions/cloudflare_workers_ai.json @@ -18,7 +18,10 @@ "description": "The environment variable name that contains your API key for the Cloudflare Workers AI API" }, "gateway_id": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The ID of the Cloudflare AI Gateway to use for a more customized solution" } }, diff --git a/schemas/embedding_functions/huggingface_server.json b/schemas/embedding_functions/huggingface_server.json index b3fb7969049..47c0764cfc3 100644 --- a/schemas/embedding_functions/huggingface_server.json +++ b/schemas/embedding_functions/huggingface_server.json @@ -10,7 +10,10 @@ "description": "The URL of the HuggingFace Embedding Server" }, "api_key_env_var": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "The environment variable name that contains your API key for the HuggingFace API" } }, diff --git a/schemas/embedding_functions/instructor.json b/schemas/embedding_functions/instructor.json index 471cbfe93f4..6248b286ff2 100644 --- a/schemas/embedding_functions/instructor.json +++ b/schemas/embedding_functions/instructor.json @@ -14,7 +14,10 @@ "description": "Parameter device for the instructor embedding function" }, "instruction": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "Parameter instruction for the instructor embedding function" } }, diff --git a/schemas/embedding_functions/jina.json b/schemas/embedding_functions/jina.json index e9a9d9dfa41..8635413d234 100644 --- a/schemas/embedding_functions/jina.json +++ b/schemas/embedding_functions/jina.json @@ -14,28 +14,53 @@ "description": "Parameter api_key_env_var for the jina embedding function" }, "task": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "Parameter task for the jina embedding function" }, "late_chunking": { - "type": "boolean", + "type": [ + "boolean", + "null" + ], "description": "Parameter late_chunking for the jina embedding function" }, "truncate": { - "type": "boolean", + "type": [ + "boolean", + "null" + ], "description": "Parameter truncate for the jina embedding function" }, "dimensions": { - "type": "integer", + "type": [ + "integer", + "null" + ], "description": "Parameter dimensions for the jina embedding function" }, "embedding_type": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "Parameter embedding_type for the jina embedding function" }, "normalized": { - "type": "boolean", + "type": [ + "boolean", + "null" + ], "description": "Parameter normalized for the jina embedding function" + }, + "query_config": { + "type": [ + "object", + "null" + ], + "description": "Parameter query_config for the jina embedding function" } }, "required": [ diff --git a/schemas/embedding_functions/onnx_mini_lm_l6_v2.json b/schemas/embedding_functions/onnx_mini_lm_l6_v2.json index 1d4ee60e1a0..4b80ca041a7 100644 --- a/schemas/embedding_functions/onnx_mini_lm_l6_v2.json +++ b/schemas/embedding_functions/onnx_mini_lm_l6_v2.json @@ -6,7 +6,10 @@ "type": "object", "properties": { "preferred_providers": { - "type": "array", + "type": [ + "array", + "null" + ], "items": { "type": "string" }, diff --git a/schemas/embedding_functions/open_clip.json b/schemas/embedding_functions/open_clip.json index b9121dbc382..81473c012b9 100644 --- a/schemas/embedding_functions/open_clip.json +++ b/schemas/embedding_functions/open_clip.json @@ -14,7 +14,10 @@ "description": "Parameter checkpoint for the open_clip embedding function" }, "device": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "Parameter device for the open_clip embedding function" } }, diff --git a/schemas/embedding_functions/voyageai.json b/schemas/embedding_functions/voyageai.json index 2283a19dca3..a7df2ebdcae 100644 --- a/schemas/embedding_functions/voyageai.json +++ b/schemas/embedding_functions/voyageai.json @@ -14,7 +14,10 @@ "description": "Parameter api_key_env_var for the voyageai embedding function" }, "input_type": { - "type": "string", + "type": [ + "string", + "null" + ], "description": "Parameter input_type for the voyageai embedding function" }, "truncation": {