增加环绕侦察场景适配
This commit is contained in:
@@ -7,13 +7,17 @@
|
||||
"properties": {
|
||||
"model": {
|
||||
"type": "string",
|
||||
"enum": ["Qwen/Qwen3-Embedding-0.6B"],
|
||||
"enum": [
|
||||
"Qwen/Qwen3-Embedding-0.6B"
|
||||
],
|
||||
"description": "The specific Qwen model to use for embeddings"
|
||||
},
|
||||
"task": {
|
||||
"type": "string",
|
||||
"enum": ["nl_to_code"],
|
||||
"description": "The task for which embeddings are being generated"
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "The task for which embeddings are being generated. If null or empty, empty instructions will be used."
|
||||
},
|
||||
"instructions": {
|
||||
"type": "object",
|
||||
@@ -31,11 +35,16 @@
|
||||
"description": "Instructions for embedding queries"
|
||||
}
|
||||
},
|
||||
"required": ["documents", "query"],
|
||||
"required": [
|
||||
"documents",
|
||||
"query"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["nl_to_code"],
|
||||
"required": [
|
||||
"nl_to_code"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"api_key_env_var": {
|
||||
@@ -49,4 +58,4 @@
|
||||
"task"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,6 +16,11 @@
|
||||
"type": "string",
|
||||
"description": "Environment variable name that contains your API key for the Chroma Embedding API",
|
||||
"default": "CHROMA_API_KEY"
|
||||
},
|
||||
"include_tokens": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to store token labels in the sparse vector output",
|
||||
"default": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"include_tokens": {
|
||||
"type": "boolean",
|
||||
"description": "Whether to store token strings in the sparse vectors (default: true)"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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": [
|
||||
|
||||
@@ -6,7 +6,10 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"preferred_providers": {
|
||||
"type": "array",
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user