| 2946 | } |
| 2947 | type Ai_Cf_Baai_Bge_M3_Input = BGEM3InputQueryAndContexts | BGEM3InputEmbedding; |
| 2948 | interface 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 | } |
| 2967 | interface BGEM3InputEmbedding { |
| 2968 | text: string | string[]; |
| 2969 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected