Skip to content

Commit

Permalink
modify batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
laurasgkadri98 committed Sep 20, 2024
1 parent 731cdb0 commit 08d8c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/externalfunctions/dataextraction.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ func GenerateDocumentTree(documentName string, documentId string, documentChunks
}

// Send batch embedding request to LLM handler. Set max batch size to 1000.
maxBatchSize := 4
maxBatchSize := 100
err = dataExtractionProcessBatchEmbeddings(documentData, maxBatchSize)
if err != nil {
errMessage := fmt.Sprintf("Error in dataExtractionProcessBatchEmbeddings: %v", err)
Expand Down

0 comments on commit 08d8c88

Please sign in to comment.