-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improvement][headless-chat]Optimize
HeuristicDataSetResolver
to pr…
…ioritize max similarity of dataset and metric.#1690
- Loading branch information
1 parent
5ba401a
commit 2c7758d
Showing
3 changed files
with
242 additions
and
126 deletions.
There are no files selected for viewing
7 changes: 5 additions & 2 deletions
7
...hat/src/main/java/com/tencent/supersonic/headless/chat/parser/llm/DataSetMatchResult.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
package com.tencent.supersonic.headless.chat.parser.llm; | ||
|
||
import lombok.Builder; | ||
import lombok.Data; | ||
|
||
@Data | ||
@Builder | ||
public class DataSetMatchResult { | ||
private Integer count = 0; | ||
private double maxSimilarity; | ||
private double maxMetricSimilarity; | ||
private double maxDatesetSimilarity; | ||
private double totalSimilarity; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.