feat: add RAG_EMBEDDING_OPENAI_BATCH_SIZE to batch multiple embeddings

This commit is contained in:
Jun Siang Cheah
2024-06-02 15:34:31 +01:00
parent 207e25035a
commit 0cb8163321
39 changed files with 112 additions and 19 deletions

View File

@@ -415,6 +415,7 @@ export const getEmbeddingConfig = async (token: string) => {
type OpenAIConfigForm = {
key: string;
url: string;
batch_size: number;
};
type EmbeddingModelUpdateForm = {