feat: support opensearch approximate k-NN (#5322)
This commit is contained in:
parent
a651e7e2da
commit
d160d1ed02
16 changed files with 793 additions and 4 deletions
|
|
@ -503,7 +503,7 @@ class DatasetRetrievalSettingApi(Resource):
|
|||
'semantic_search'
|
||||
]
|
||||
}
|
||||
case VectorType.QDRANT | VectorType.WEAVIATE:
|
||||
case VectorType.QDRANT | VectorType.WEAVIATE | VectorType.OPENSEARCH:
|
||||
return {
|
||||
'retrieval_method': [
|
||||
'semantic_search', 'full_text_search', 'hybrid_search'
|
||||
|
|
@ -525,7 +525,7 @@ class DatasetRetrievalSettingMockApi(Resource):
|
|||
'semantic_search'
|
||||
]
|
||||
}
|
||||
case VectorType.QDRANT | VectorType.WEAVIATE:
|
||||
case VectorType.QDRANT | VectorType.WEAVIATE | VectorType.OPENSEARCH:
|
||||
return {
|
||||
'retrieval_method': [
|
||||
'semantic_search', 'full_text_search', 'hybrid_search'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue