|
@@ -573,13 +573,13 @@ class DatasetRetrievalSettingMockApi(Resource):
|
|
|
@account_initialization_required
|
|
|
def get(self, vector_type):
|
|
|
match vector_type:
|
|
|
- case VectorType.MILVUS | VectorType.RELYT | VectorType.PGVECTOR | VectorType.TIDB_VECTOR | VectorType.CHROMA | VectorType.TENCENT:
|
|
|
+ case VectorType.MILVUS | VectorType.RELYT | VectorType.TIDB_VECTOR | VectorType.CHROMA | VectorType.TENCENT | VectorType.PGVECTO_RS:
|
|
|
return {
|
|
|
'retrieval_method': [
|
|
|
RetrievalMethod.SEMANTIC_SEARCH.value
|
|
|
]
|
|
|
}
|
|
|
- case VectorType.QDRANT | VectorType.WEAVIATE | VectorType.OPENSEARCH| VectorType.ANALYTICDB | VectorType.MYSCALE | VectorType.ORACLE | VectorType.ELASTICSEARCH:
|
|
|
+ case VectorType.QDRANT | VectorType.WEAVIATE | VectorType.OPENSEARCH | VectorType.ANALYTICDB | VectorType.MYSCALE | VectorType.ORACLE | VectorType.ELASTICSEARCH | VectorType.PGVECTOR:
|
|
|
return {
|
|
|
'retrieval_method': [
|
|
|
RetrievalMethod.SEMANTIC_SEARCH.value,
|