You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| model_provider | enum | yes | - | The model provider for embedding. Options may include `QIANFAN`, `OPENAI`, etc. |
16
-
| api_key | string | yes | - | The API key required to authenticate with the embedding service. |
17
-
| secret_key | string | yes | - | The secret key required for additional authentication with the embedding service. |
18
-
| single_vectorized_input_number | int | no | 1 | The number of inputs vectorized in one request. Default is 1. |
19
-
| vectorization_fields | map | yes | - | A mapping between input fields and their corresponding output vector fields. |
20
-
| model | string | yes | - | The specific model to use for embedding (e.g: `text-embedding-3-small` for OPENAI). |
21
-
| api_path | string | no | - | The API endpoint for the embedding service. Typically provided by the model provider. |
22
-
| dimension | int | no | - | TThe vector dimension defaults to 2048. The Embedding-3 model supports custom vector dimensions, and it is recommended to choose dimensions of 256, 512, 1024, or 2048. |
23
-
| oauth_path | string | no | - | The API endpoint for the oauth service. |
24
-
| custom_config | map | no || Custom configurations for the model. |
25
-
| custom_response_parse | string | no || Specifies how to parse the response from the model using JsonPath. Example: `$.choices[*].message.content`. |
26
-
| custom_request_headers | map | no || Custom headers for the request to the model. |
27
-
| custom_request_body | map | no || Custom body for the request. Supports placeholders like `${model}`, `${input}`. |
13
+
| Name | Type | Required | Default Value | Description |
| model_provider | enum | yes | - | The model provider for embedding. Options may include `AMAZON`, `QIANFAN`, `OPENAI`, etc. |
16
+
| api_key | string | yes | - | The API key required to authenticate with the embedding service. |
17
+
| secret_key | string | yes | - | The secret key required for additional authentication with the embedding service. |
18
+
| aws_region | string | no || AWS Region. Required for use Amazon Bedrock model. |
19
+
| single_vectorized_input_number | int | no | 1 | The number of inputs vectorized in one request. Default is 1. |
20
+
| vectorization_fields | map | yes | - | A mapping between input fields and their corresponding output vector fields. |
21
+
| model | string | yes | - | The specific model to use for embedding (e.g: `text-embedding-3-small` for OPENAI). |
22
+
| api_path | string | no | - | The API endpoint for the embedding service. Typically provided by the model provider. |
23
+
| dimension | int | no | - | TThe vector dimension defaults to 2048. The Embedding-3 model supports custom vector dimensions, and it is recommended to choose dimensions of 256, 512, 1024, or 2048. |
24
+
| oauth_path | string | no | - | The API endpoint for the oauth service. |
25
+
| custom_config | map | no || Custom configurations for the model. |
26
+
| custom_response_parse | string | no || Specifies how to parse the response from the model using JsonPath. Example: `$.choices[*].message.content`. |
27
+
| custom_request_headers | map | no || Custom headers for the request to the model. |
28
+
| custom_request_body | map | no || Custom body for the request. Supports placeholders like `${model}`, `${input}`. |
28
29
29
30
### model_provider
30
31
31
-
The providers for generating embeddings include common options such as `DOUBAO`, `QIANFAN`, and `OPENAI`. Additionally,
32
+
The providers for generating embeddings include common options such as `AMAZON`, `DOUBAO`, `QIANFAN`, and `OPENAI`. Additionally,
32
33
you can choose `CUSTOM` to implement requests and retrievals for custom embedding models.
0 commit comments