(inputs: ReadonlyArray<string>, options?: {
readonly concurrency?: Types.Concurrency | undefined
})
| 243 | } |
| 244 | |
| 245 | const embedMany = (inputs: ReadonlyArray<string>, options?: { |
| 246 | readonly concurrency?: Types.Concurrency | undefined |
| 247 | }) => |
| 248 | Effect.forEach(inputs, embed, { |
| 249 | batching: true, |
| 250 | concurrency: options?.concurrency |
| 251 | }) |
| 252 | |
| 253 | return EmbeddingModel.of({ |
| 254 | embed: (input) => |
no test coverage detected