ingest flow works multi-embedding
This commit is contained in:
parent
59f45a2db7
commit
12ae6d3fb1
3 changed files with 94 additions and 71 deletions
File diff suppressed because one or more lines are too long
|
|
@ -21,10 +21,13 @@ openrag_user_role:
|
||||||
allowed_actions:
|
allowed_actions:
|
||||||
- crud
|
- crud
|
||||||
- create_index
|
- create_index
|
||||||
|
- indices:admin/mappings/get
|
||||||
|
- indices:admin/mappings/put
|
||||||
|
- indices:admin/exists
|
||||||
|
- indices:admin/get
|
||||||
dls: >
|
dls: >
|
||||||
{"bool":{"should":[
|
{"bool":{"should":[
|
||||||
{"term":{"owner":"${user.name}"}},
|
{"term":{"owner":"${user.name}"}},
|
||||||
{"term":{"allowed_users":"${user.name}"}},
|
{"term":{"allowed_users":"${user.name}"}},
|
||||||
{"bool":{"must_not":{"exists":{"field":"owner"}}}}
|
{"bool":{"must_not":{"exists":{"field":"owner"}}}}
|
||||||
],"minimum_should_match":1}}
|
],"minimum_should_match":1}}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -268,7 +268,7 @@ class SearchService:
|
||||||
"document_types": {"terms": {"field": "mimetype", "size": 10}},
|
"document_types": {"terms": {"field": "mimetype", "size": 10}},
|
||||||
"owners": {"terms": {"field": "owner_name.keyword", "size": 10}},
|
"owners": {"terms": {"field": "owner_name.keyword", "size": 10}},
|
||||||
"connector_types": {"terms": {"field": "connector_type", "size": 10}},
|
"connector_types": {"terms": {"field": "connector_type", "size": 10}},
|
||||||
"embedding_models": {"terms": {"field": "embedding_model", "size": 10}},
|
"embedding_models": {"terms": {"field": "embedding_model.keyword", "size": 10}},
|
||||||
},
|
},
|
||||||
"_source": [
|
"_source": [
|
||||||
"filename",
|
"filename",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue