bge_reranker_base
Creates, updates, deletes, gets or lists a bge_reranker_base resource.
Overview
| Name | bge_reranker_base |
| Type | Resource |
| Id | cloudflare.ai.bge_reranker_base |
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_bge_reranker_base | insert | account_id, query, contexts | queueRequest, tags | Runs inference on the @cf/baai/bge-reranker-base 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_bge_reranker_base
- Manifest
Runs inference on the @cf/baai/bge-reranker-base model.
INSERT INTO cloudflare.ai.bge_reranker_base (
contexts,
query,
top_k,
account_id,
queueRequest,
tags
)
SELECT
'{{ contexts }}' /* required */,
'{{ query }}' /* required */,
{{ top_k }},
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;
# Description fields are for documentation purposes
- name: bge_reranker_base
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the bge_reranker_base resource.
- name: contexts
description: |
List of provided contexts. Note that the index in this array is important, as the response will refer to it.
value:
- text: "{{ text }}"
- name: query
value: "{{ query }}"
description: |
A query you wish to perform against the provided contexts.
- name: top_k
value: {{ top_k }}
description: |
Number of returned results starting with the best score.
- name: queueRequest
value: "{{ queueRequest }}"
- name: tags
value: "{{ tags }}"