-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: LLMMultiWheel tool global annotation
- Loading branch information
1 parent
2678636
commit 3d7eca7
Showing
7 changed files
with
275 additions
and
168 deletions.
There are no files selected for viewing
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
64 changes: 64 additions & 0 deletions
64
packages/lb-components/src/components/LLMMultiWheelView/types.ts
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
|
||
export interface ITextList { | ||
textId?: string; | ||
title?: string | number; | ||
tip?: string; | ||
min?: number; | ||
max?: number; | ||
value?: string; | ||
isFillAnswer?: boolean; | ||
textControl?: boolean; | ||
isLaText?: boolean; | ||
} | ||
export interface IAnswerList { | ||
id: string; | ||
answer: string; | ||
newAnswer: string; | ||
indicatorScore: { | ||
[key: string]: number; | ||
}; | ||
indicatorDetermine: { | ||
[key: string]: boolean; | ||
}; | ||
tagList: { [key: string]: string[] }; | ||
} | ||
|
||
export interface IModelData { | ||
id: number; | ||
sort: Array<number[]>; | ||
answerList: IAnswerList[]; | ||
} | ||
|
||
export interface IModelResult { | ||
sort: Array<number[]>; | ||
answerSort: { [key: string]: number[] }; | ||
textAttribute: ITextList[]; | ||
modelData: IModelData[]; | ||
} | ||
|
||
export interface ISortData { | ||
newSort?: IAnswerSort[][]; | ||
waitSorts?: IWaitAnswerSort[]; | ||
} | ||
|
||
export interface IWaitAnswerSort { | ||
title: string; | ||
id: string; | ||
} | ||
|
||
export interface IPoint { | ||
x: number; | ||
y: number; | ||
} | ||
export interface ITagVertexPoint { | ||
bl: IPoint; | ||
br: IPoint; | ||
tl: IPoint; | ||
tr: IPoint; | ||
} | ||
export interface IAnswerSort { | ||
title: string; | ||
id: string; | ||
tagCenterPoint?: IPoint; | ||
tagVertexPoint?: ITagVertexPoint; | ||
} |
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.