mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-10 13:07:15 +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):
|
class EmbeddingSettings(BaseModel):
|
||||||
enabled: bool = True
|
|
||||||
num_dim: int = 768
|
num_dim: int = 768
|
||||||
# will be ignored if use_local is True
|
# will be ignored if use_local is True
|
||||||
endpoint: str = "http://localhost:11434/api/embed"
|
endpoint: str = "http://localhost:11434/api/embed"
|
||||||
|
@ -33,7 +33,6 @@ ocr:
|
|||||||
|
|
||||||
# using local embedding
|
# using local embedding
|
||||||
embedding:
|
embedding:
|
||||||
enabled: true
|
|
||||||
# this is not used if use_local is true
|
# this is not used if use_local is true
|
||||||
endpoint: http://localhost:11434/api/embed
|
endpoint: http://localhost:11434/api/embed
|
||||||
model: arkohut/jina-embeddings-v2-base-zh
|
model: arkohut/jina-embeddings-v2-base-zh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user