feat: always enable embeddings part

This commit is contained in:
arkohut 2024-10-25 11:15:07 +08:00
parent a3cacb02e9
commit cc24ccf11e
2 changed files with 0 additions and 2 deletions

View File

@ -36,7 +36,6 @@ class OCRSettings(BaseModel):
class EmbeddingSettings(BaseModel):
enabled: bool = True
num_dim: int = 768
# will be ignored if use_local is True
endpoint: str = "http://localhost:11434/api/embed"

View File

@ -33,7 +33,6 @@ ocr:
# using local embedding
embedding:
enabled: true
# this is not used if use_local is true
endpoint: http://localhost:11434/api/embed
model: arkohut/jina-embeddings-v2-base-zh