We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d47e210 commit cf6a149Copy full SHA for cf6a149
core/src/commonMain/kotlin/com/xebia/functional/xef/llm/Embeddings.kt
@@ -18,7 +18,9 @@ interface Embeddings : LLM {
18
else
19
texts
20
.chunked(chunkSize ?: 400)
21
- .parMap { createEmbeddings(EmbeddingRequest(modelType.name, it, requestConfig.user.id)).data }
+ .parMap {
22
+ createEmbeddings(EmbeddingRequest(modelType.name, it, requestConfig.user.id)).data
23
+ }
24
.flatten()
25
26
suspend fun embedQuery(text: String, requestConfig: RequestConfig): List<Embedding> =
0 commit comments