| 3167 | requests: (BGEM3InputQueryAndContexts1 | BGEM3InputEmbedding1)[]; |
| 3168 | }; |
| 3169 | interface 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 | } |
| 3188 | interface BGEM3InputEmbedding { |
| 3189 | text: string | string[]; |
| 3190 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected