nonomni_bge_base_en_v1_5
Creates, updates, deletes, gets or lists a nonomni_bge_base_en_v1_5 resource.
Overview
| Name | nonomni_bge_base_en_v1_5 |
| Type | Resource |
| Id | cloudflare.ai.nonomni_bge_base_en_v1_5 |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
workers_ai_post_run_cf_baai_nonomni_bge_base_en_v1_5 | insert | account_id | queueRequest, tags | Runs inference on the @cf/baai/nonomni-bge-base-en-v1.5 model. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
queueRequest | string | |
tags | string |
INSERT examples
- workers_ai_post_run_cf_baai_nonomni_bge_base_en_v1_5
- Manifest
Runs inference on the @cf/baai/nonomni-bge-base-en-v1.5 model.
INSERT INTO cloudflare.ai.nonomni_bge_base_en_v1_5 (
pooling,
text,
requests,
account_id,
queueRequest,
tags
)
SELECT
'{{ pooling }}',
'{{ text }}',
'{{ requests }}',
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;
# Description fields are for documentation purposes
- name: nonomni_bge_base_en_v1_5
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the nonomni_bge_base_en_v1_5 resource.
- name: pooling
value: "{{ pooling }}"
description: |
The pooling method used in the embedding process. `cls` pooling will generate more accurate embeddings on larger inputs - however, embeddings created with cls pooling are not compatible with embeddings generated with mean pooling. The default pooling method is `mean` in order for this to not be a breaking change, but we highly suggest using the new `cls` pooling for better accuracy.
valid_values: ['mean', 'cls']
default: mean
- name: text
value: "{{ text }}"
description: |
The text to embed
- name: requests
description: |
Batch of the embeddings requests to run using async-queue
value:
- pooling: "{{ pooling }}"
text: "{{ text }}"
- name: queueRequest
value: "{{ queueRequest }}"
- name: tags
value: "{{ tags }}"