BGEM3InputQueryAndContexts
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:3680
Properties
Section titled “Properties”contexts
Section titled “contexts”contexts:
object
[]
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:3688
List of provided contexts. Note that the index in this array is important, as the response will refer to it.
optional
text:string
One of the provided context content
query?
Section titled “query?”
optional
query:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:3684
A query you wish to perform against the provided contexts. If no query is provided the model with respond with embeddings for contexts
truncate_inputs?
Section titled “truncate_inputs?”
optional
truncate_inputs:boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250823.0/node_modules/@cloudflare/workers-types/index.ts:3697
When provided with too long context should the model error out or truncate the context to fit?