mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 03:05:25 +00:00
feat: always enable embeddings part
This commit is contained in:
parent
a3cacb02e9
commit
cc24ccf11e
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user