vectorization using py temporal service
This commit is contained in:
parent
3913ed83e8
commit
52330d751d
|
|
@ -1,3 +1,6 @@
|
|||
dip:
|
||||
runtime:
|
||||
mode: LEGACY
|
||||
|
||||
# Legacy / shared application properties
|
||||
# New-runtime-only properties are moved to application-new.yml.
|
||||
|
|
@ -48,10 +51,11 @@ ted:
|
|||
socket-timeout: 60000
|
||||
# Maximum retries on connection failure
|
||||
max-retries: 5
|
||||
|
||||
# Packages download configuration
|
||||
download:
|
||||
# Enable/disable automatic package download
|
||||
enabled: false
|
||||
enabled: true
|
||||
# User service-based camel route
|
||||
use-service-based: false
|
||||
# Base URL for TED Daily Packages
|
||||
|
|
@ -82,6 +86,7 @@ ted:
|
|||
delete-after-extraction: true
|
||||
# Prioritize current year first
|
||||
prioritize-current-year: false
|
||||
|
||||
# IMAP Mail configuration
|
||||
mail:
|
||||
# Enable/disable mail processing
|
||||
|
|
@ -118,6 +123,7 @@ ted:
|
|||
mime-input-pattern: .*\\.eml
|
||||
# Polling interval for MIME input directory (milliseconds)
|
||||
mime-input-poll-interval: 1000000
|
||||
|
||||
# solution brief processing
|
||||
solution-brief:
|
||||
# Enable/disable Solution Brief processing
|
||||
|
|
@ -153,7 +159,7 @@ ted:
|
|||
legacy:
|
||||
ted:
|
||||
vectorization:
|
||||
enabled: true
|
||||
enabled: false
|
||||
use-http-api: false
|
||||
api-url: http://localhost:8001
|
||||
model-name: intfloat/multilingual-e5-large
|
||||
|
|
|
|||
|
|
@ -39,18 +39,32 @@ dip:
|
|||
enabled: true
|
||||
jobs:
|
||||
enabled: true
|
||||
|
||||
default-document-model: e5-default
|
||||
default-query-model: e5-default
|
||||
|
||||
providers:
|
||||
|
||||
mock-default:
|
||||
type: mock
|
||||
dimensions: 16
|
||||
|
||||
external-e5:
|
||||
type: http-json
|
||||
base-url: http://172.20.240.18:8001
|
||||
connect-timeout: 5s
|
||||
read-timeout: 60s
|
||||
|
||||
vector-sync-e5:
|
||||
type: http-vector-sync
|
||||
base-url: http://localhost:8001
|
||||
connect-timeout: 5s
|
||||
read-timeout: 60s
|
||||
headers:
|
||||
X-Client: dip
|
||||
|
||||
models:
|
||||
|
||||
mock-search:
|
||||
provider-config-key: mock-default
|
||||
provider-model-key: mock-search
|
||||
|
|
@ -58,8 +72,9 @@ dip:
|
|||
distance-metric: COSINE
|
||||
supports-query-embedding-mode: true
|
||||
active: true
|
||||
|
||||
e5-default:
|
||||
provider-config-key: external-e5
|
||||
provider-config-key: vector-sync-e5
|
||||
provider-model-key: intfloat/multilingual-e5-large
|
||||
dimensions: 1024
|
||||
distance-metric: COSINE
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ server:
|
|||
|
||||
spring:
|
||||
profiles:
|
||||
active: new
|
||||
active: legacy
|
||||
|
||||
application:
|
||||
name: document-intelligence-platform
|
||||
|
|
|
|||
Loading…
Reference in New Issue