BGEM3InputQueryAndContexts1
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:3812
Properties
Section titled “Properties”contexts
Section titled “contexts”contexts:
object[]
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:3820
List of provided contexts. Note that the index in this array is important, as the response will refer to it.
optionaltext:string
One of the provided context content
query?
Section titled “query?”
optionalquery:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:3816
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?”
optionaltruncate_inputs:boolean
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:3829
When provided with too long context should the model error out or truncate the context to fit?