修改为东南天坐标系
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Baseten Embedding Function Schema",
|
||||
"description": "Schema for the Baseten embedding function configuration",
|
||||
"version": "1.0.0",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"api_base": {
|
||||
"type": "string",
|
||||
"description": "The Baseten URL of the deployment"
|
||||
},
|
||||
"api_key_env_var": {
|
||||
"type": "string",
|
||||
"description": "Environment variable name that contains your API key for the Baseten API"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"api_base",
|
||||
"api_key_env_var"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "BM25 Embedding Function Schema",
|
||||
"description": "Schema for the BM25 sparse embedding function configuration",
|
||||
"version": "1.0.0",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"task": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"document",
|
||||
"query"
|
||||
],
|
||||
"description": "Task to perform, can be 'document' or 'query'"
|
||||
},
|
||||
"query_config": {
|
||||
"type": "object",
|
||||
"description": "Configuration for the query",
|
||||
"properties": {
|
||||
"task": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"document",
|
||||
"query"
|
||||
],
|
||||
"description": "Task to perform for query embedding"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"cache_dir": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "The path to the cache directory"
|
||||
},
|
||||
"k": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"description": "The k parameter in the BM25 formula. Defines the saturation of the term frequency"
|
||||
},
|
||||
"b": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"description": "The b parameter in the BM25 formula. Defines the importance of the document length"
|
||||
},
|
||||
"avg_len": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
],
|
||||
"description": "The average length of the documents in the corpus"
|
||||
},
|
||||
"language": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "Specifies the language for the stemmer"
|
||||
},
|
||||
"token_max_length": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"description": "The maximum length of the tokens"
|
||||
},
|
||||
"disable_stemmer": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
],
|
||||
"description": "Disable the stemmer"
|
||||
},
|
||||
"specific_model_path": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "The path to the specific model"
|
||||
},
|
||||
"kwargs": {
|
||||
"type": "object",
|
||||
"description": "Additional arguments to pass to the BM25 model",
|
||||
"additionalProperties": {
|
||||
"type": [
|
||||
"string",
|
||||
"integer",
|
||||
"number",
|
||||
"boolean",
|
||||
"array",
|
||||
"object"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,92 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Fastembed Sparse Embedding Function Schema",
|
||||
"description": "Schema for the Fastembed sparse embedding function configuration",
|
||||
"version": "1.0.0",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"model_name": {
|
||||
"type": "string",
|
||||
"description": "Identifier of the Fastembed model. List of commonly used models: Qdrant/bm25, prithivida/Splade_PP_en_v1, Qdrant/minicoil-v1"
|
||||
},
|
||||
"task": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"document",
|
||||
"query"
|
||||
],
|
||||
"description": "Task to perform, can be 'document' or 'query'"
|
||||
},
|
||||
"query_config": {
|
||||
"type": "object",
|
||||
"description": "Configuration for the query",
|
||||
"properties": {
|
||||
"task": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"document",
|
||||
"query"
|
||||
],
|
||||
"description": "Task to perform for query embedding"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"cache_dir": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "The path to the cache directory"
|
||||
},
|
||||
"threads": {
|
||||
"type": [
|
||||
"integer",
|
||||
"null"
|
||||
],
|
||||
"description": "The number of threads to use for the model"
|
||||
},
|
||||
"cuda": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
],
|
||||
"description": "Whether to use CUDA"
|
||||
},
|
||||
"device_ids": {
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
],
|
||||
"description": "The device IDs to use for the model",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"lazy_load": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
],
|
||||
"description": "Whether to lazy load the model"
|
||||
},
|
||||
"kwargs": {
|
||||
"type": "object",
|
||||
"description": "Additional arguments to pass to the model",
|
||||
"additionalProperties": {
|
||||
"type": [
|
||||
"string",
|
||||
"integer",
|
||||
"number",
|
||||
"boolean",
|
||||
"array",
|
||||
"object"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"model_name"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Google GenAI Embedding Function Schema",
|
||||
"description": "Schema for the Google GenAI embedding function configuration",
|
||||
"version": "1.0.0",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"model_name": {
|
||||
"type": "string",
|
||||
"description": "The name of the model to use for text embeddings"
|
||||
},
|
||||
"vertexai": {
|
||||
"type": [
|
||||
"boolean",
|
||||
"null"
|
||||
],
|
||||
"description": "Whether to use Vertex AI"
|
||||
},
|
||||
"project": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "The Google Cloud project ID (required for Vertex AI)"
|
||||
},
|
||||
"location": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"description": "The Google Cloud location/region (required for Vertex AI)"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"model_name"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "HuggingFace Sparse Embedding Function Schema",
|
||||
"description": "Schema for the HuggingFace sparse embedding function configuration",
|
||||
"version": "1.0.0",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"model_name": {
|
||||
"type": "string",
|
||||
"description": "Identifier of the Huggingface SparseEncoder model. Some common models: prithivida/Splade_PP_en_v1, naver/splade-cocondenser-ensembledistil, naver/splade-v3"
|
||||
},
|
||||
"device": {
|
||||
"type": "string",
|
||||
"description": "Device used for computation"
|
||||
},
|
||||
"task": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"document",
|
||||
"query"
|
||||
],
|
||||
"description": "Task to perform, can be 'document' or 'query'"
|
||||
},
|
||||
"query_config": {
|
||||
"type": "object",
|
||||
"description": "Configuration for the query",
|
||||
"properties": {
|
||||
"task": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"document",
|
||||
"query"
|
||||
],
|
||||
"description": "Task to perform for query embedding"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"kwargs": {
|
||||
"type": "object",
|
||||
"description": "Additional arguments to pass to the Splade model",
|
||||
"additionalProperties": {
|
||||
"type": [
|
||||
"string",
|
||||
"integer",
|
||||
"number",
|
||||
"boolean",
|
||||
"array",
|
||||
"object"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"model_name",
|
||||
"device"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Nomic Embedding Function Schema",
|
||||
"description": "Schema for the Nomic embedding function configuration",
|
||||
"version": "1.0.0",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"model": {
|
||||
"type": "string",
|
||||
"description": "Parameter model for the Nomic embedding function"
|
||||
},
|
||||
"api_key_env_var": {
|
||||
"type": "string",
|
||||
"description": "Parameter api_key_env_var for the Nomic embedding function"
|
||||
},
|
||||
"task_type": {
|
||||
"type": "string",
|
||||
"description": "Parameter task_type for the Nomic embedding function"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user