v1

latestOpenAPI 3.0.3GPL-3.02026-07-177978150.2 KB
nl_search_models

Create a NL search model

Create a new NL search model.

post/nl_search_models

Request body

model_namestring

Name of the NL model to use

api_keystring

API key for the NL model service

api_urlstring

Custom API URL for the NL model service

max_bytesinteger

Maximum number of bytes to process

temperaturenumber

Temperature parameter for the NL model

system_promptstring

System prompt for the NL model

top_pnumber

Top-p parameter for the NL model (Google-specific)

top_kinteger

Top-k parameter for the NL model (Google-specific)

stop_sequencesstring[]

Stop sequences for the NL model (Google-specific)

api_versionstring

API version for the NL model service

project_idstring

Project ID for GCP Vertex AI

access_tokenstring

Access token for GCP Vertex AI

refresh_tokenstring

Refresh token for GCP Vertex AI

client_idstring

Client ID for GCP Vertex AI

client_secretstring

Client secret for GCP Vertex AI

regionstring

Region for GCP Vertex AI

max_output_tokensinteger

Maximum output tokens for GCP Vertex AI

account_idstring

Account ID for Cloudflare-specific models

idstring

Optional ID for the NL search model

Response

NL search model successfully created

model_namestring

Name of the NL model to use

api_keystring

API key for the NL model service

api_urlstring

Custom API URL for the NL model service

max_bytesinteger

Maximum number of bytes to process

temperaturenumber

Temperature parameter for the NL model

system_promptstring

System prompt for the NL model

top_pnumber

Top-p parameter for the NL model (Google-specific)

top_kinteger

Top-k parameter for the NL model (Google-specific)

stop_sequencesstring[]

Stop sequences for the NL model (Google-specific)

api_versionstring

API version for the NL model service

project_idstring

Project ID for GCP Vertex AI

access_tokenstring

Access token for GCP Vertex AI

refresh_tokenstring

Refresh token for GCP Vertex AI

client_idstring

Client ID for GCP Vertex AI

client_secretstring

Client secret for GCP Vertex AI

regionstring

Region for GCP Vertex AI

max_output_tokensinteger

Maximum output tokens for GCP Vertex AI

account_idstring

Account ID for Cloudflare-specific models

idstring required

ID of the NL search model