MCPcopy Create free account
hub / github.com/fontsource/fontsource / BGEM3InputQueryAndContexts

Interface BGEM3InputQueryAndContexts

website/worker-configuration.d.ts:3169–3187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3167 requests: (BGEM3InputQueryAndContexts1 | BGEM3InputEmbedding1)[];
3168};
3169interface BGEM3InputQueryAndContexts {
3170 /**
3171 * A query you wish to perform against the provided contexts. If no query is provided the model with respond with embeddings for contexts
3172 */
3173 query?: string;
3174 /**
3175 * List of provided contexts. Note that the index in this array is important, as the response will refer to it.
3176 */
3177 contexts: {
3178 /**
3179 * One of the provided context content
3180 */
3181 text?: string;
3182 }[];
3183 /**
3184 * When provided with too long context should the model error out or truncate the context to fit?
3185 */
3186 truncate_inputs?: boolean;
3187}
3188interface BGEM3InputEmbedding {
3189 text: string | string[];
3190 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected