Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion business_objects/embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def get_match_record_ids_to_qdrant_ids_with_max_score(
query = f"""
{__generate_with_table_union_query(qdrant_results)}

SELECT et.record_id::TEXT id, MAX(s.score) score
SELECT et.record_id::TEXT id, MIN(s.score) score
FROM embedding_tensor et
INNER JOIN scores s
ON et.id = s.id
Expand Down
2 changes: 0 additions & 2 deletions enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,7 @@ class AgreementType(Enum):


class EmbeddingPlatform(Enum):
PYTHON = "python"
HUGGINGFACE = "huggingface"
COHERE = "cohere"
OPENAI = "openai"
AZURE = "azure"

Expand Down