MCPcopy Create free account
hub / github.com/idosal/git-mcp / BGEM3InputQueryAndContexts

Interface BGEM3InputQueryAndContexts

worker-configuration.d.ts:2948–2966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2946}
2947type Ai_Cf_Baai_Bge_M3_Input = BGEM3InputQueryAndContexts | BGEM3InputEmbedding;
2948interface BGEM3InputQueryAndContexts {
2949 /**
2950 * A query you wish to perform against the provided contexts. If no query is provided the model with respond with embeddings for contexts
2951 */
2952 query?: string;
2953 /**
2954 * List of provided contexts. Note that the index in this array is important, as the response will refer to it.
2955 */
2956 contexts: {
2957 /**
2958 * One of the provided context content
2959 */
2960 text?: string;
2961 }[];
2962 /**
2963 * When provided with too long context should the model error out or truncate the context to fit?
2964 */
2965 truncate_inputs?: boolean;
2966}
2967interface BGEM3InputEmbedding {
2968 text: string | string[];
2969 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected