(improvement)(chat) Enhancing the capability of embedding with LLM-based secondary judgment. (#2096)

This commit is contained in:
mislayming
2025-02-24 12:55:39 +08:00
committed by GitHub
parent b5aa6e046e
commit f9198cb8e0
7 changed files with 240 additions and 70 deletions

View File

@@ -1,10 +1,6 @@
package com.tencent.supersonic.headless.api.pojo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.*;
import java.io.Serializable;
@@ -21,6 +17,7 @@ public class SchemaElementMatch implements Serializable {
private String word;
private Long frequency;
private boolean isInherited;
private boolean llmMatched;
public boolean isFullMatched() {
return 1.0 == similarity;