Add the prefered embedding model to the add_document interface

This commit is contained in:
Josako
2024-05-02 10:19:15 +02:00
parent 659588deab
commit 31250443c2
4 changed files with 18 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
from ..models.document import Document, DocumentLanguage, DocumentVersion
def add_document(file, name, language, valid_from):
def process_document(file, name, language, valid_from):